CVS log for libcfg+/src/cfg+.h
Up to [Platon] / libcfg+ / src
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.61 / (download) - [select for diffs], Sat Sep 12 04:04:49 2015 UTC (11 years, 1 month ago) by nepto
Changes since 1.60: +5 -5 lines Diff to previous 1.60 (unified)
Introduced release 0.7.0 (12-SEP-2015)
Updated:
- Platon Group name (Platon SDG is no longer used)
- copyright year (2015)
- library homepage URLs
- certain e-mail addresses
Revision 1.60 / (download) - [select for diffs], Mon Jan 12 06:03:08 2004 UTC (22 years, 9 months ago) by nepto
Changes since 1.59: +4 -4
lines Diff to previous 1.59 (unified)
Bumped copyright year to 2004, preparing to 0.6.2 release.
Revision 1.59 / (download) - [select for diffs], Fri Nov 7 17:26:48 2003 UTC (22 years, 11 months ago) by nepto
Changes since 1.58: +4 -4
lines Diff to previous 1.58 (unified)
Changed URL from www.platon.sk to platon.sk.
Revision 1.58 / (download) - [select for diffs], Sat Aug 16 14:03:02 2003 UTC (23 years, 2 months ago) by nepto
Changes since 1.57: +6 -4
lines Diff to previous 1.57 (unified)
Enumeration constants CFG_STRICT_LEFTOVERS and CFG_NORMAL_LEFTOVERS
are unused. Added Doxygen documentation note about this.
Revision 1.57 / (download) - [select for diffs], Mon Feb 17 17:12:07 2003 UTC (23 years, 8 months ago) by nepto
Changes since 1.56: +6 -6
lines Diff to previous 1.56 (unified)
Updated e-mail addresses.
Revision 1.56 / (download) - [select for diffs], Tue Jan 7 17:17:45 2003 UTC (23 years, 9 months ago) by rajo
Changes since 1.55: +4 -4
lines Diff to previous 1.55 (unified)
Typos correction.
Revision 1.55 / (download) - [select for diffs], Tue Jan 7 16:02:29 2003 UTC (23 years, 9 months ago) by nepto
Changes since 1.54: +4 -4
lines Diff to previous 1.54 (unified)
Increase copyright date.
Revision 1.54 / (download) - [select for diffs], Mon Oct 7 10:54:44 2002 UTC (24 years ago) by rajo
Changes since 1.53: +2 -2
lines Diff to previous 1.53 (unified)
Tag $Id$ changed to $Platon$.
Revision 1.53 / (download) - [select for diffs], Thu Sep 19 23:11:07 2002 UTC (24 years, 1 month ago) by nepto
Changes since 1.52: +3 -3
lines Diff to previous 1.52 (unified)
Changed Doxygen comment for CFG_END_OF_LIST constant.
Revision 1.52 / (download) - [select for diffs], Thu Sep 5 19:08:25 2002 UTC (24 years, 1 month ago) by nepto
Changes since 1.51: +86 -51
lines Diff to previous 1.51 (unified)
Added missing function comments/descriptions.
Constant CFG_EOF changed to CFG_EOT.
Better properties descriptions with proper default values now.
Code cleanup.
Revision 1.51 / (download) - [select for diffs], Tue Sep 3 19:53:03 2002 UTC (24 years, 1 month ago) by nepto
Changes since 1.50: +4 -3
lines Diff to previous 1.50 (unified)
Improved doxygen comment for cfg_parse() function.
Revision 1.50 / (download) - [select for diffs], Mon Sep 2 19:05:10 2002 UTC (24 years, 1 month ago) by nepto
Changes since 1.49: +25 -4
lines Diff to previous 1.49 (unified)
Added Doxygen help to cfg_add_properties_type() and
cfg_add_properties_str() functions.
Revision 1.49 / (download) - [select for diffs], Mon Sep 2 17:39:51 2002 UTC (24 years, 1 month ago) by nepto
Changes since 1.48: +5 -5
lines Diff to previous 1.48 (unified)
Sync.
Revision 1.48 / (download) - [select for diffs], Thu Aug 8 14:49:41 2002 UTC (24 years, 2 months ago) by rajo
Changes since 1.47: +34 -31
lines Diff to previous 1.47 (unified)
Folding improvements.
Added functions cfg_add_properties_str()
cfg_add_properties_type()
cfg_remove_properties_str()
cfg_remove_properties_type()
Functions not documented yet.
Revision 1.47 / (download) - [select for diffs], Mon Aug 5 19:23:20 2002 UTC (24 years, 2 months ago) by rajo
Changes since 1.46: +29 -3
lines Diff to previous 1.46 (unified)
Added functions:
int cfg_clear_properties(con, type, ...)
int cfg_add_properties(con, type, str, ...)
int cfg_remove_properties(con, type, str, ...)
Revision 1.46 / (download) - [select for diffs], Sun Aug 4 18:07:43 2002 UTC (24 years, 2 months ago) by rajo
Changes since 1.45: +8 -5
lines Diff to previous 1.45 (unified)
Fixed 'make test'.
Revision 1.45 / (download) - [select for diffs], Sat Aug 3 20:03:21 2002 UTC (24 years, 2 months ago) by rajo
Changes since 1.44: +33 -12
lines Diff to previous 1.44 (unified)
Added function cfg_add_properties(con, type, str, ...);
Revision 1.44 / (download) - [select for diffs], Thu Jul 18 22:16:30 2002 UTC (24 years, 3 months ago) by nepto
Changes since 1.43: +114 -56
lines Diff to previous 1.43 (unified)
Lubomir Host added to authors in Doxygen autogenerated documentation.
Added folding into main cfg+.h header file.
Various countext initialization functions implmented, to get backward
compatibility. They are:
- cfg_get_cmdline_context_argc()
- cfg_set_cmdline_context_argc()
- cfg_get_cmdline_context_pos()
- cfg_set_cmdline_context_pos()
- cfg_get_cfgfile_context_pos()
- cfg_set_cfgfile_context_pos()
Improvements.
Revision 1.43 / (download) - [select for diffs], Tue Jul 16 13:42:11 2002 UTC (24 years, 3 months ago) by nepto
Changes since 1.42: +65 -46
lines Diff to previous 1.42 (unified)
Important API changes.
All elements array members, bytes and lines in file) are counted from 0.
Appropriate changes in error message printing functions.
Move initialization stuff for command line parsing from
cfg_set_cmdline_context() function to cmdline parsing function to
analogical behaviour for line and file.
Context structure update (memebrs reorganization, new members, etc.).
Revision 1.42 / (download) - [select for diffs], Mon Jul 15 16:43:12 2002 UTC (24 years, 3 months ago) by jombik9
Changes since 1.41: +16 -6
lines Diff to previous 1.41 (unified)
Added full begin_pos and end_pos usage in command line parsing.
API methods cfg_(get|set)_cmdline_context() changes. Parameter argc
removed, begin_pos and end_pos added.
New macros cfg_(get|set)_cmdline_context_by_argc() created to get
backward compatibility. Please change your old
cfg_(get|set)_cmdline_context() calls to these new functions/macros.
Revision 1.41 / (download) - [select for diffs], Mon Jul 15 16:17:02 2002 UTC (24 years, 3 months ago) by jombik9
Changes since 1.40: +14 -12
lines Diff to previous 1.40 (unified)
Removed property argc from cfg_context structure.
Property begin_pos is now used for command line parsing.
Other appropriate properties changed from int (argc) to long (begin_pos).
Revision 1.40 / (download) - [select for diffs], Mon Jul 15 14:45:54 2002 UTC (24 years, 3 months ago) by rajo
Changes since 1.39: +3 -2
lines Diff to previous 1.39 (unified)
Headers update.
Revision 1.39 / (download) - [select for diffs], Sun Jun 23 16:43:47 2002 UTC (24 years, 3 months ago) by jombik9
Changes since 1.38: +4 -4
lines Diff to previous 1.38 (unified)
Properties handling stuff updated (bad handling of property clearing).
Fixed annoying sigfault as an implication of bad properties handling.
Revision 1.38 / (download) - [select for diffs], Sun Jun 23 10:48:46 2002 UTC (24 years, 3 months ago) by jombik9
Changes since 1.37: +58 -27
lines Diff to previous 1.37 (unified)
These real properties were added:
CFG_FILE_NORMAL_MULTI_VALS_SEPARATOR
CFG_FILE_LEFTOVER_MULTI_VALS_SEPARATOR
CFG_FILE_QUOTE_PREFIX
CFG_FILE_QUOTE_POSTFIX
+ appropriate _FILE_ equivalents
Various virtual properties added for setting up two or more real
properties in one function call:
CFG_QUOTE
CFG_LINE_QUOTE
CFG_FILE_QUOTE
CFG_QUOTE_PREFIX
CFG_QUOTE_POSTFIX
CFG_MULTI_VALS_SEPARATOR
CFG_FILE_MULTI_VALS_SEPARATOR
CFG_LINE_MULTI_VALS_SEPARATOR
CFG_NORMAL_MULTI_VALS_SEPARATOR
CFG_LEFTOVER_MULTI_VALS_SEPARATOR
CFG_OPTION_ARG_SEPARATOR
Default properties values update.
Improved internal functions split_multi_arg() and unquote_single_arg().
Revision 1.37 / (download) - [select for diffs], Thu May 30 22:29:45 2002 UTC (24 years, 4 months ago) by jombik9
Changes since 1.36: +127 -140
lines Diff to previous 1.36 (unified)
Special properties stuff completely rewritten from scratch.
Now it is possible to link applications agains our library.
Old code was removed, only in props.c was left commented.
New documentation texts for Doxygen.
Revision 1.36 / (download) - [select for diffs], Mon May 20 16:06:09 2002 UTC (24 years, 5 months ago) by jombik9
Changes since 1.35: +5 -5
lines Diff to previous 1.35 (unified)
Sync.
Revision 1.35 / (download) - [select for diffs], Sat May 11 14:54:58 2002 UTC (24 years, 5 months ago) by jombik9
Changes since 1.34: +8 -8
lines Diff to previous 1.34 (unified)
File positions constants updated.
Revision 1.34 / (download) - [select for diffs], Wed Apr 24 22:03:54 2002 UTC (24 years, 5 months ago) by jombik9
Changes since 1.33: +16 -7
lines Diff to previous 1.33 (unified)
Error handling stuff finished.
Function cfg_fprint_error() added.
Functions cfg_print_error() and cfg_get_error_str() modified.
Revision 1.33 / (download) - [select for diffs], Sun Apr 21 10:08:40 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.32: +11 -9
lines Diff to previous 1.32 (unified)
Neccessary building stuff changes.
Headers update.
Revision 1.32 / (download) - [select for diffs], Wed Apr 10 23:57:17 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.31: +17 -6
lines Diff to previous 1.31 (unified)
Error handling stuff improvements (new functions).
Protection against buffer overflowing.
Revision 1.31 / (download) - [select for diffs], Wed Apr 10 13:51:46 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.30: +10 -1
lines Diff to previous 1.30 (unified)
cfg_print_error() function started.
Revision 1.30 / (download) - [select for diffs], Mon Apr 8 20:57:35 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.29: +8 -2
lines Diff to previous 1.29 (unified)
* implement config file end_pos (in both modes, positions and line)
- line mode tested, works fine; position tests needed
* get_cur_opt_idx() will return number of line in config file context
- implemented; set CFG_FILE_LINE_USAGE flag to use line arithemtic
User documentation: first chapter.
Revision 1.29 / (download) - [select for diffs], Sun Apr 7 16:42:33 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.28: +2 -2
lines Diff to previous 1.28 (unified)
Doxygen documentation finished.
Modified file patterns in Doxyfile.in file.
Revision 1.28 / (download) - [select for diffs], Sun Apr 7 12:47:08 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.27: +209 -33
lines Diff to previous 1.27 (unified)
Doxygen documentations.
Revision 1.27 / (download) - [select for diffs], Fri Apr 5 03:31:21 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.26: +117 -71
lines Diff to previous 1.26 (unified)
Sync.
Revision 1.26 / (download) - [select for diffs], Thu Apr 4 17:10:58 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.25: +65 -41
lines Diff to previous 1.25 (unified)
Things from TODO list:
+ number of spaces in cfgfile option names should not be relevant in compare
with real option names in file; that means "multi int" is the same as
"multi int" and "multi\tint"
- seems to be fixed, but needs testing
+ fix this bug: numbers in format 09 cannot be converted to decimal data type
- it is not bug, it is feature: numbers started with 0 are considered to be
in octal format; similary numbers started with 0x or 0X are considered to
be in hexadecimal format; so 09 is really invalid, because in octal format
this number is not correct
Doxygen documentation update
Revision 1.25 / (download) - [select for diffs], Thu Mar 21 14:11:53 2002 UTC (24 years, 7 months ago) by jombik9
Changes since 1.24: +2 -2
lines Diff to previous 1.24 (unified)
Improved self test.
Revision 1.24 / (download) - [select for diffs], Thu Mar 21 13:38:03 2002 UTC (24 years, 7 months ago) by jombik9
Changes since 1.23: +4 -1
lines Diff to previous 1.23 (unified)
Function cfg_get_error_str() added.
Revision 1.23 / (download) - [select for diffs], Wed Mar 20 20:01:44 2002 UTC (24 years, 7 months ago) by jombik9
Changes since 1.22: +1 -1
lines Diff to previous 1.22 (unified)
-pedantic support added.
Revision 1.22 / (download) - [select for diffs], Thu Feb 28 17:50:40 2002 UTC (24 years, 7 months ago) by jombik9
Changes since 1.21: +4 -0
lines Diff to previous 1.21 (unified)
Bug fixes in process table creation from command line and config files.
Leftovers file arguments (command directive in config file) parsing
fixed.
Improvements in fd.c
Sync.
Revision 1.21 / (download) - [select for diffs], Wed Feb 20 21:00:48 2002 UTC (24 years, 7 months ago) by jombik9
Changes since 1.20: +17 -17
lines Diff to previous 1.20 (unified)
Doxygen support.
Revision 1.20 / (download) - [select for diffs], Mon Feb 18 21:34:56 2002 UTC (24 years, 8 months ago) by jombik9
Changes since 1.19: +32 -33
lines Diff to previous 1.19 (unified)
libcfg improvements: when parsing file and stop str prefix founded, line
is returnet in current option string accessible via cfg_get_cur_opt()
function
copyright, version and another notes in libcfg
EP config file and command lien parsing (written from scratch) with
focus on variability accroding to Wolcaans ideas
TODO list updates
Revision 1.19 / (download) - [select for diffs], Sun Feb 17 15:18:45 2002 UTC (24 years, 8 months ago) by jombik9
Changes since 1.18: +17 -0
lines Diff to previous 1.18 (unified)
Total sync.
Files headers in libcfg project.
Transaltion updates in phpWebFileManager.
New signatures.
Revision 1.18 / (download) - [select for diffs], Wed Feb 13 14:55:27 2002 UTC (24 years, 8 months ago) by jombik9
Changes since 1.17: +19 -18
lines Diff to previous 1.17 (unified)
cfg improvements
Revision 1.17 / (download) - [select for diffs], Mon Jan 21 19:34:54 2002 UTC (24 years, 8 months ago) by jombik9
Changes since 1.16: +2 -1
lines Diff to previous 1.16 (unified)
Make file updates (make clean doesn't work properly).
Copyrights updates.
Improvements.
Revision 1.16 / (download) - [select for diffs], Sun Dec 16 20:44:37 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.15: +62 -25
lines Diff to previous 1.15 (unified)
Too many improvements:
- Makefile change - 'make test' added
- libcfg properties reorganization
- starting of quotation implementation
Revision 1.15 / (download) - [select for diffs], Mon Dec 10 21:01:48 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.14: +6 -28
lines Diff to previous 1.14 (unified)
* better stuff for manipulating with context flags (add, remove, clear, ...)
- cfg_set_context_flag(), cfg_clear_context_flag()
and getting info functions cfg_get_context_flag(), cfg_is_context_flag()
Revision 1.14 / (download) - [select for diffs], Sat Dec 8 18:23:52 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.13: +110 -28
lines Diff to previous 1.13 (unified)
* get_multi_line() will return return code according to error and pointer
to buffer will be passed as function parameter
* parameter to specify end of line postfixes for multi lines
* functions str_left_trim(), str_right_trim() for white characters removing
* macros ltrim(), rtrim() or str_ltrim(), str_ltrim()
* macros str_trim(), strtrim(), trim()
* leftover arguments dual mode:
1.) can have valid options after leftover arguments
2.) after first leftover argument is all cosidered as leftover argument
Default initialization will be according to POSIXLY_CORRECT environment
variable. Can be changed by changing context flags.
* better stuff for manipulating with context flags (add, remove, clear, ...)
- add, clear, remove implemented
* universal functions with strdyn context properties manipulation and
create appropriate macros
Revision 1.13 / (download) - [select for diffs], Wed Dec 5 23:58:48 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.12: +30 -19
lines Diff to previous 1.12 (unified)
Basic config file stuff implement.
TODO list updated (look @ that funny features :P)
Example config file added.
Revision 1.12 / (download) - [select for diffs], Sun Dec 2 23:28:35 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.11: +3 -3
lines Diff to previous 1.11 (unified)
Props bugfixes.
Function cfg_parse() implemented.
Various bugfixes.
TODO list updated.
Revision 1.11 / (download) - [select for diffs], Fri Nov 30 02:10:27 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.10: +70 -58
lines Diff to previous 1.10 (unified)
* command line stop string implemented
* create strdyn_create_ar() and link strdyn_duplicate()
* boolean multi options initialization handling
* multi options detection and error handling
* string data type support added
* string multi options initialization handling
* others improvements
Revision 1.10 / (download) - [select for diffs], Wed Nov 28 20:46:51 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.9: +64 -128
lines Diff to previous 1.9 (unified)
*** empty log message ***
Revision 1.9 / (download) - [select for diffs], Wed Nov 28 14:42:52 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.8: +149 -135
lines Diff to previous 1.8 (unified)
Add extern "C" clausule.
FILE *fhandle added to struct cfg_context
Others improvements (Hi Wolcaan :)
Revision 1.8 / (download) - [select for diffs], Tue Oct 23 15:41:32 2001 UTC (24 years, 11 months ago) by jombik9
Changes since 1.7: +5 -5
lines Diff to previous 1.7 (unified)
Parsing improvements.
Revision 1.7 / (download) - [select for diffs], Tue Oct 23 00:05:18 2001 UTC (24 years, 11 months ago) by jombik9
Changes since 1.6: +61 -22
lines Diff to previous 1.6 (unified)
Basic implementation command line parsing.
Not fully tested, not fully worked, but seems to be good after few little improvements. :-)
Revision 1.6 / (download) - [select for diffs], Tue Oct 16 18:22:17 2001 UTC (25 years ago) by jombik9
Changes since 1.5: +41 -2
lines Diff to previous 1.5 (unified)
Command line prefixes (-, --) implemented.
Command line & config file separators (=, =) implemented.
Revision 1.5 / (download) - [select for diffs], Thu Oct 11 13:27:34 2001 UTC (25 years ago) by jombik9
Changes since 1.4: +20 -23
lines Diff to previous 1.4 (unified)
Default values initialization.
Improvements in strdyn library.
Revision 1.4 / (download) - [select for diffs], Wed Oct 10 19:23:13 2001 UTC (25 years ago) by jombik9
Changes since 1.3: +2 -2
lines Diff to previous 1.3 (unified)
Properties manipulation implementation.
Revision 1.3 / (download) - [select for diffs], Tue Oct 9 15:07:41 2001 UTC (25 years ago) by jombik9
Changes since 1.2: +69 -59
lines Diff to previous 1.2 (unified)
Little improvements.
Revision 1.2 / (download) - [select for diffs], Thu Oct 4 11:55:04 2001 UTC (25 years ago) by jombik9
Changes since 1.1: +2 -2
lines Diff to previous 1.1 (unified)
work
Revision 1.1 / (download) - [select for diffs], Wed Oct 3 19:12:04 2001 UTC (25 years ago) by jombik9
Initial revision
Revision 1.1.1.1 / (download) - [select for diffs] (vendor branch), Wed Oct 3 19:12:04 2001 UTC (25 years ago) by jombik9
Changes since 1.1: +0 -0
lines Diff to previous 1.1 (unified)
command line & config file parsing library
This form allows you to request diff's between any two
revisions of a file. You may select a symbolic revision
name using the selection box or you may type in a numeric
name using the type-in text box.
Platon Group <platon@platon.org> http://platon.org/
|