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 --

[E-devel] [patch] ecore_config getopt_long

2005-12-10 Thread Morten Nilsen
Like I vaguely promised earlier, here's a patch for ecore_config util to use getopt_long, letting "the user" use --string rather than -s etc. Cheers, -- Morten :wq Index: ecore_config.c === RCS file: /cvsroot/enlightenment/e17/libs/

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

[E-devel] [patch] ecore_config

2005-12-04 Thread Morten Nilsen
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 Cheers, -- Morten Index: ecore_config.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

[E-devel] [patch] ecore_config list implementation

2005-11-05 Thread Morten Nilsen
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 Cheers, -- Morten Index: ecore_conf

[E-devel] [patch] Ecore_Config

2004-01-30 Thread dan sinclair
Hello, I managed to track down my ecore config problem (I was missing the config.db file). The attached patch adds some extra error checking to keep the system from segfaulting. (I created the patch with cvs diff -u if that isn't right please let me know the correct way) Thanks dan Index: ecor