vsc-common.git
13 years ago[remote] Add generic command and pack system to simplify user code.
Matthias Bolte [Sat, 18 Apr 2009 01:38:43 +0000 (03:38 +0200)]
[remote] Add generic command and pack system to simplify user code.

  * XML-RPC calls can be automatically generate from CLI commands.
  * Only an unpack function must be provided to handle the response
    of an XML-RPC call.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Unify case of user visible strings.
Matthias Bolte [Sat, 18 Apr 2009 01:32:24 +0000 (03:32 +0200)]
[cli] Unify case of user visible strings.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Read and write command history from and to a file.
Matthias Bolte [Sat, 18 Apr 2009 01:21:33 +0000 (03:21 +0200)]
[cli] Read and write command history from and to a file.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Remove data option type and add new tagged option concept.
Matthias Bolte [Fri, 17 Apr 2009 19:11:39 +0000 (21:11 +0200)]
[cli] Remove data option type and add new tagged option concept.

  * Supported option types are boolean, number and string. Boolean
    options are pure tags like '--no-color'. Number and string options
    maybe tagged like '--proxy-url http://example.com' or just pure
    values like 'username' or '42'.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[debian] Add .gitignore file for debian/ directory to ignore pkg related stuff.
Maximilian Wilhelm [Fri, 17 Apr 2009 05:08:42 +0000 (07:08 +0200)]
[debian] Add .gitignore file for debian/ directory to ignore pkg related stuff.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

13 years ago[cli] Fixed simple bug in 'vsc_cli_option_get_number()'.
Maximilian Wilhelm [Fri, 17 Apr 2009 05:06:47 +0000 (07:06 +0200)]
[cli] Fixed simple bug in 'vsc_cli_option_get_number()'.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

13 years ago[remote] Allow NULL as remote URL.
Matthias Bolte [Fri, 17 Apr 2009 01:22:45 +0000 (03:22 +0200)]
[remote] Allow NULL as remote URL.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[debian] Add libvscremote to the scripts.
Matthias Bolte [Fri, 17 Apr 2009 00:53:06 +0000 (02:53 +0200)]
[debian] Add libvscremote to the scripts.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoAdd libvscremote: XML-RPC based remote extension for libvsccli.
Matthias Bolte [Fri, 17 Apr 2009 00:35:38 +0000 (02:35 +0200)]
Add libvscremote: XML-RPC based remote extension for libvsccli.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Extend command function signature to take a command info.
Matthias Bolte [Thu, 16 Apr 2009 18:30:16 +0000 (20:30 +0200)]
[cli] Extend command function signature to take a command info.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Fix missing newline in help display when description is empty.
Matthias Bolte [Thu, 16 Apr 2009 16:11:33 +0000 (18:11 +0200)]
[cli] Fix missing newline in help display when description is empty.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[build] Allow optional config-user.mk file for per-user build config.
Matthias Bolte [Thu, 16 Apr 2009 14:14:15 +0000 (16:14 +0200)]
[build] Allow optional config-user.mk file for per-user build config.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoUpdate HACKING file.
Matthias Bolte [Thu, 16 Apr 2009 13:11:08 +0000 (15:11 +0200)]
Update HACKING file.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[debian] Fix spelling and descriptions.
Matthias Bolte [Thu, 16 Apr 2009 12:02:13 +0000 (14:02 +0200)]
[debian] Fix spelling and descriptions.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Fix parsing of commands with trailing whitespaces.
Matthias Bolte [Sat, 11 Apr 2009 13:59:30 +0000 (15:59 +0200)]
[cli] Fix parsing of commands with trailing whitespaces.

  * A trailing whitespace was parsed as empty command, resulting
    in a segfault when trying to execute it.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Add tab-completion for interactive mode.
Matthias Bolte [Sat, 11 Apr 2009 13:22:58 +0000 (15:22 +0200)]
[cli] Add tab-completion for interactive mode.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Add an option to disable output coloring.
Matthias Bolte [Fri, 10 Apr 2009 00:32:44 +0000 (02:32 +0200)]
[cli] Add an option to disable output coloring.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Add interactive mode.
Matthias Bolte [Fri, 10 Apr 2009 00:06:26 +0000 (02:06 +0200)]
[cli] Add interactive mode.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoRemove old name from Makefile header.
Matthias Bolte [Thu, 9 Apr 2009 18:30:14 +0000 (20:30 +0200)]
Remove old name from Makefile header.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoRemove unused code.
Matthias Bolte [Thu, 9 Apr 2009 18:18:34 +0000 (20:18 +0200)]
Remove unused code.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoFix broken parsing of malformed long option names as short names.
Matthias Bolte [Thu, 9 Apr 2009 17:43:20 +0000 (19:43 +0200)]
Fix broken parsing of malformed long option names as short names.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[cli] Add --verbose-errors to enable verbose error reporting.
Matthias Bolte [Thu, 9 Apr 2009 16:14:57 +0000 (18:14 +0200)]
[cli] Add --verbose-errors to enable verbose error reporting.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoAdd new error code for remote errors.
Matthias Bolte [Wed, 8 Apr 2009 23:33:21 +0000 (01:33 +0200)]
Add new error code for remote errors.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoAdded debian/ dir to build packages.
Maximilian Wilhelm [Mon, 6 Apr 2009 23:41:31 +0000 (01:41 +0200)]
Added debian/ dir to build packages.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

13 years ago[cli] Fix CFLAGS to use uninstalled libvscmisc headers.
Matthias Bolte [Mon, 6 Apr 2009 22:27:21 +0000 (00:27 +0200)]
[cli] Fix CFLAGS to use uninstalled libvscmisc headers.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoRemove some wrong assert's.
Matthias Bolte [Mon, 6 Apr 2009 14:41:43 +0000 (16:41 +0200)]
Remove some wrong assert's.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoAdd simple input parameter checks to every function.
Matthias Bolte [Sun, 5 Apr 2009 19:09:01 +0000 (21:09 +0200)]
Add simple input parameter checks to every function.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago[misc] Remove redundant error codes.
Matthias Bolte [Sun, 5 Apr 2009 17:54:49 +0000 (19:54 +0200)]
[misc] Remove redundant error codes.

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years agoMove common used/useable code from libvscmgmt to libvsc(cli|misc).
Matthias Bolte [Sun, 5 Apr 2009 17:21:49 +0000 (19:21 +0200)]
Move common used/useable code from libvscmgmt to libvsc(cli|misc).

Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

13 years ago.gitignore
root [Sun, 5 Apr 2009 13:18:44 +0000 (15:18 +0200)]
.gitignore