CVS log for libcfg+/src/cmdline.c
Up to [Platon] / libcfg+ / src
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.38 / (download) - [select for diffs], Sat Sep 12 04:04:50 2015 UTC (11 years, 1 month ago) by nepto
Changes since 1.37: +3 -3 lines Diff to previous 1.37 (colored) to selected 1.15 (colored)
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.37 / (download) - [select for diffs], Thu Nov 22 09:46:02 2007 UTC (18 years, 10 months ago) by nepto
Changes since 1.36: +6 -2 lines Diff to previous 1.36 (colored) to selected 1.15 (colored)
Fixed warning "overflow in implicit constant conversion"
in con->parsing_started initialization
Revision 1.36 / (download) - [select for diffs], Mon Jan 12 06:03:09 2004 UTC (22 years, 9 months ago) by nepto
Changes since 1.35: +2 -2
lines Diff to previous 1.35 (colored) to selected 1.15 (colored)
Bumped copyright year to 2004, preparing to 0.6.2 release.
Revision 1.35 / (download) - [select for diffs], Fri Nov 7 17:26:48 2003 UTC (22 years, 11 months ago) by nepto
Changes since 1.34: +3 -3
lines Diff to previous 1.34 (colored) to selected 1.15 (colored)
Changed URL from www.platon.sk to platon.sk.
Revision 1.34 / (download) - [select for diffs], Mon Jul 14 12:11:27 2003 UTC (23 years, 3 months ago) by nepto
Changes since 1.33: +2 -2
lines Diff to previous 1.33 (colored) to selected 1.15 (colored)
Fixed #0000089: confused return value. Return values in shared functions
*_set_currents() are now CFG_OK and CFG_ERROR_NOMEM.
Revision 1.33 / (download) - [select for diffs], Mon Feb 17 17:12:07 2003 UTC (23 years, 8 months ago) by nepto
Changes since 1.32: +3 -3
lines Diff to previous 1.32 (colored) to selected 1.15 (colored)
Updated e-mail addresses.
Revision 1.32 / (download) - [select for diffs], Tue Jan 7 16:02:29 2003 UTC (23 years, 9 months ago) by nepto
Changes since 1.31: +2 -2
lines Diff to previous 1.31 (colored) to selected 1.15 (colored)
Increase copyright date.
Revision 1.31 / (download) - [select for diffs], Mon Oct 7 10:54:44 2002 UTC (24 years ago) by rajo
Changes since 1.30: +1 -1
lines Diff to previous 1.30 (colored) to selected 1.15 (colored)
Tag $Id$ changed to $Platon$.
Revision 1.30 / (download) - [select for diffs], Wed Oct 2 17:49:08 2002 UTC (24 years ago) by rajo
Changes since 1.29: +3 -3
lines Diff to previous 1.29 (colored) to selected 1.15 (colored)
Part of libplaton library (src/str/ subdirectory) was moved to
src/platon/str subdirectory.
Revision 1.29 / (download) - [select for diffs], Tue Aug 27 13:19:18 2002 UTC (24 years, 1 month ago) by rajo
Changes since 1.28: +3 -3
lines Diff to previous 1.28 (colored) to selected 1.15 (colored)
Code cleanup.
Revision 1.28 / (download) - [select for diffs], Fri Aug 16 20:31:42 2002 UTC (24 years, 2 months ago) by rajo
Changes since 1.27: +6 -4
lines Diff to previous 1.27 (colored) to selected 1.15 (colored)
* Namespace improvements.
* All functions in shared directory src/str have names with prefix 'cfg_'.
In project libplaton are these function names withouth prefix.
Revision 1.27 / (download) - [select for diffs], Tue Jul 16 13:42:11 2002 UTC (24 years, 3 months ago) by nepto
Changes since 1.26: +34 -5
lines Diff to previous 1.26 (colored) to selected 1.15 (colored)
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.26 / (download) - [select for diffs], Mon Jul 15 18:57:54 2002 UTC (24 years, 3 months ago) by jombik9
Changes since 1.25: +2 -2
lines Diff to previous 1.25 (colored) to selected 1.15 (colored)
Temporary change to make libcfg+ works with old API.
Revision 1.25 / (download) - [select for diffs], Mon Jul 15 16:43:12 2002 UTC (24 years, 3 months ago) by jombik9
Changes since 1.24: +2 -2
lines Diff to previous 1.24 (colored) to selected 1.15 (colored)
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.24 / (download) - [select for diffs], Mon Jul 15 16:17:02 2002 UTC (24 years, 3 months ago) by jombik9
Changes since 1.23: +2 -2
lines Diff to previous 1.23 (colored) to selected 1.15 (colored)
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.23 / (download) - [select for diffs], Mon Jul 15 14:45:54 2002 UTC (24 years, 3 months ago) by rajo
Changes since 1.22: +2 -1
lines Diff to previous 1.22 (colored) to selected 1.15 (colored)
Headers update.
Revision 1.22 / (download) - [select for diffs], Thu May 30 22:29:45 2002 UTC (24 years, 4 months ago) by jombik9
Changes since 1.21: +12 -4
lines Diff to previous 1.21 (colored) to selected 1.15 (colored)
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.21 / (download) - [select for diffs], Wed May 29 15:12:11 2002 UTC (24 years, 4 months ago) by jombik9
Changes since 1.20: +6 -6
lines Diff to previous 1.20 (colored) to selected 1.15 (colored)
Fixed bug with short option '-'.
Revision 1.20 / (download) - [select for diffs], Wed Apr 24 22:03:54 2002 UTC (24 years, 5 months ago) by jombik9
Changes since 1.19: +19 -15
lines Diff to previous 1.19 (colored) to selected 1.15 (colored)
Error handling stuff finished.
Function cfg_fprint_error() added.
Functions cfg_print_error() and cfg_get_error_str() modified.
Revision 1.19 / (download) - [select for diffs], Sun Apr 21 10:08:40 2002 UTC (24 years, 6 months ago) by jombik9
Changes since 1.18: +9 -7
lines Diff to previous 1.18 (colored) to selected 1.15 (colored)
Neccessary building stuff changes.
Headers update.
Revision 1.18 / (download) - [select for diffs], Fri Apr 19 18:23:52 2002 UTC (24 years, 6 months ago) by host8
Changes since 1.17: +18 -2
lines Diff to previous 1.17 (colored) to selected 1.15 (colored)
'#include' stuff.
Removed test for strerror() function -- not used.
Revision 1.17 / (download) - [select for diffs], Mon Feb 25 18:45:56 2002 UTC (24 years, 7 months ago) by host8
Changes since 1.16: +3 -1
lines Diff to previous 1.16 (colored) to selected 1.15 (colored)
Source code indentation.
Revision 1.16 / (download) - [select for diffs], Sun Feb 17 15:18:45 2002 UTC (24 years, 8 months ago) by jombik9
Changes since 1.15: +17 -0
lines Diff to previous 1.15 (colored)
Total sync.
Files headers in libcfg project.
Transaltion updates in phpWebFileManager.
New signatures.
Revision 1.15 / (download) - [selected], Sun Dec 16 20:44:37 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.14: +9 -624
lines Diff to previous 1.14 (colored)
Too many improvements:
- Makefile change - 'make test' added
- libcfg properties reorganization
- starting of quotation implementation
Revision 1.14 / (download) - [select for diffs], Sun Dec 9 15:07:37 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.13: +6 -5
lines Diff to previous 1.13 (colored) to selected 1.15 (colored)
Improvements.
Revision 1.13 / (download) - [select for diffs], Sat Dec 8 18:23:52 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.12: +216 -154
lines Diff to previous 1.12 (colored) to selected 1.15 (colored)
* 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.12 / (download) - [select for diffs], Wed Dec 5 23:58:48 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.11: +10 -7
lines Diff to previous 1.11 (colored) to selected 1.15 (colored)
Basic config file stuff implement.
TODO list updated (look @ that funny features :P)
Example config file added.
Revision 1.11 / (download) - [select for diffs], Mon Dec 3 16:48:39 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.10: +37 -40
lines Diff to previous 1.10 (colored) to selected 1.15 (colored)
Indent improvements.
Revision 1.10 / (download) - [select for diffs], Sun Dec 2 23:28:35 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.9: +2 -2
lines Diff to previous 1.9 (colored) to selected 1.15 (colored)
Props bugfixes.
Function cfg_parse() implemented.
Various bugfixes.
TODO list updated.
Revision 1.9 / (download) - [select for diffs], Sat Dec 1 01:27:47 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.8: +254 -145
lines Diff to previous 1.8 (colored) to selected 1.15 (colored)
Complete and transparent multi arguments implemented.
Separated multi arguments implemented.
Leftover arguments implemented allowing all types with or without multi.
Code reorganization in <cmdline.c>.
Bug fixes (not NULL tests and others).
New options with new argument types in self testing code.
Revision 1.8 / (download) - [select for diffs], Fri Nov 30 02:10:27 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.7: +175 -37
lines Diff to previous 1.7 (colored) to selected 1.15 (colored)
* 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.7 / (download) - [select for diffs], Wed Nov 28 20:46:51 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.6: +20 -10
lines Diff to previous 1.6 (colored) to selected 1.15 (colored)
*** empty log message ***
Revision 1.6 / (download) - [select for diffs], Tue Nov 27 17:11:30 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.5: +37 -83
lines Diff to previous 1.5 (colored) to selected 1.15 (colored)
FIXED: for each numeric data type (INT, UINT, LONG, ...) tests if range
checks works properly; for INT it doesn't
- int and long seems to be the same datatype
FIXED: fix ULONG argument parsing (there is strange strtoul() behaviour)
Reorganization.
Popt sources in comments removed.
Old code sources in comments removed.
Whole testing, numeric values works fine.
Revision 1.5 / (download) - [select for diffs], Tue Nov 27 15:15:25 2001 UTC (24 years, 10 months ago) by jombik9
Changes since 1.4: +2 -0
lines Diff to previous 1.4 (colored) to selected 1.15 (colored)
Filename reorganizations.
Revision 1.4 / (download) - [select for diffs], Tue Nov 13 16:19:44 2001 UTC (24 years, 11 months ago) by jombik9
Changes since 1.3: +96 -52
lines Diff to previous 1.3 (colored) to selected 1.15 (colored)
Valig INT range checks (Red Hat's popt library has a bug in code!)
Additional numeric types (DOUBLE, FLOAT and UNSIGNED LONG) handling with appropriate range checks (not tested yet).
Missing argument error handling (added also into self test code).
Revision 1.3 / (download) - [select for diffs], Tue Oct 23 15:41:32 2001 UTC (24 years, 11 months ago) by jombik9
Changes since 1.2: +39 -15
lines Diff to previous 1.2 (colored) to selected 1.15 (colored)
Parsing improvements.
Revision 1.2 / (download) - [select for diffs], Tue Oct 23 00:05:18 2001 UTC (24 years, 11 months ago) by jombik9
Changes since 1.1: +373 -0
lines Diff to previous 1.1 (colored) to selected 1.15 (colored)
Basic implementation command line parsing.
Not fully tested, not fully worked, but seems to be good after few little improvements. :-)
Revision 1.1 / (download) - [select for diffs], Wed Oct 3 19:12:04 2001 UTC (25 years ago) by jombik9
Diff to selected 1.15 (colored)
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 (colored) to selected 1.15 (colored)
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/
|