Re: [E-devel] [patch] ecore_config getopt_long

2005-12-10 Thread Morten Nilsen
Morten Nilsen wrote: + fprintf(stderr, " -c, --file= config file\n"); + fprintf(stderr, " -k, --key= must be given for all commands except -a\n\n"); for consistency, and should probably be changed to FILE and KEY -- Morten :wq --

Re: [E-devel] [patch] ecore_config

2005-12-05 Thread Morten Nilsen
I just made a realization... + Ecore_Config_Bundle *t; + Ecore_Config_Prop *e; those two can be dropped, if this; + // Remove non-file data + t = __ecore_config_bundle_local; + while((e = t->data)) { + ecore_config_dst(e); + } is changed in

Re: [E-devel] [patch] ecore_config

2005-12-04 Thread Morten Nilsen
Morten Nilsen wrote: attached is a patch for entrance build_config.sh.in to use the new syntax of the ecore_config utility ... must be a bit too early in the morning.. sorry :P -- Morten :wq Index: data/config/build_config.sh.in ===

Re: [E-devel] [patch] ecore_config

2005-12-04 Thread Morten Nilsen
Morten Nilsen wrote: Here's a complete patch for the ecore_config tool; - implement list (heap sort with pathcmp) - tweak get, adding type - remove get_type (obsoleted by get tweak) - use getopt - add some checks - add del attached is a patch for entrance build_config.sh.in to use the new syn

Re: [E-devel] [patch] ecore_config

2005-12-04 Thread Morten Nilsen
Morten Nilsen wrote: Here's a complete patch for the ecore_config tool; - implement list (heap sort with pathcmp) - tweak get, adding type - remove get_type (obsoleted by get tweak) - use getopt - add some checks - add del find attached a patch against the previous one, that adds a check if c

Re: [E-devel] [patch] ecore_config list implementation

2005-11-06 Thread Morten Nilsen
Morten Nilsen wrote: Morten Nilsen wrote: I did some cleanup, and modified the switch from "ecore_config get" to format the list output ok, I moved my second code into ecore_config.c and did some mucking about in get(char *key) err.. seems I forgot to attach the patch :P Index: ecore_conf

Re: [E-devel] [patch] ecore_config list implementation

2005-11-06 Thread Morten Nilsen
Morten Nilsen wrote: I did some cleanup, and modified the switch from "ecore_config get" to format the list output ok, I moved my second code into ecore_config.c and did some mucking about in get(char *key) so now, ecore_config xx get key will print the type as well as the value non-numeric

Re: [E-devel] [patch] ecore_config list implementation

2005-11-05 Thread Morten Nilsen
Morten Nilsen wrote: Morten Nilsen wrote: Here you have my second patch - I've really wanted this functionality, so I decided to have a go at implementing it.. This patch also removes the theme path for "econfig" that is set by the init function (and any others it might set) before loading t

Re: [E-devel] [patch] ecore_config list implementation

2005-11-05 Thread Morten Nilsen
Morten Nilsen wrote: Here you have my second patch - I've really wanted this functionality, so I decided to have a go at implementing it.. This patch also removes the theme path for "econfig" that is set by the init function (and any others it might set) before loading the file I've written