Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

CVS log for libcfg+/src/cfgfile.c

[BACK] Up to [Platon] / libcfg+ / src

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.29 / (download) - [select for diffs], Sat Sep 12 04:04:49 2015 UTC (11 years, 1 month ago) by nepto


Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored) to selected 1.8 (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.28 / (download) - [select for diffs], Fri Mar 26 13:41:00 2004 UTC (22 years, 6 months ago) by nepto

Changes since 1.27: +7 -5 lines
Diff to previous 1.27 (colored) to selected 1.8 (colored)

Fixed bug when last line in configuration file was not parsed
(thanks to Richard Zidlicky <rz@linux-m68k.org>)

Revision 1.27 / (download) - [select for diffs], Mon Mar 15 10:25:14 2004 UTC (22 years, 7 months ago) by nepto

Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.8 (colored)

Bumped copyright year to 2004.

Revision 1.26 / (download) - [select for diffs], Fri Nov 7 17:26:48 2003 UTC (22 years, 11 months ago) by nepto


Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) to selected 1.8 (colored)

Changed URL from www.platon.sk to platon.sk.

Revision 1.25 / (download) - [select for diffs], Mon Jul 14 12:11:27 2003 UTC (23 years, 3 months ago) by nepto

Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.8 (colored)

Fixed #0000089: confused return value. Return values in shared functions
*_set_currents() are now CFG_OK and CFG_ERROR_NOMEM.

Revision 1.24 / (download) - [select for diffs], Mon Feb 17 17:12:07 2003 UTC (23 years, 8 months ago) by nepto


Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored) to selected 1.8 (colored)

Updated e-mail addresses.

Revision 1.23 / (download) - [select for diffs], Tue Jan 7 16:02:29 2003 UTC (23 years, 9 months ago) by nepto

Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.8 (colored)

Increase copyright date.

Revision 1.22 / (download) - [select for diffs], Mon Oct 7 10:54:44 2002 UTC (24 years ago) by rajo

Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored) to selected 1.8 (colored)

Tag $Id$ changed to $Platon$.

Revision 1.21 / (download) - [select for diffs], Wed Oct 2 17:49:08 2002 UTC (24 years ago) by rajo

Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.8 (colored)

Part of libplaton library (src/str/ subdirectory) was moved to
src/platon/str subdirectory.

Revision 1.20 / (download) - [select for diffs], Tue Aug 27 13:19:18 2002 UTC (24 years, 1 month ago) by rajo

Changes since 1.19: +8 -12 lines
Diff to previous 1.19 (colored) to selected 1.8 (colored)

Code cleanup.

Revision 1.19 / (download) - [select for diffs], Fri Aug 16 20:31:42 2002 UTC (24 years, 2 months ago) by rajo

Changes since 1.18: +14 -8 lines
Diff to previous 1.18 (colored) to selected 1.8 (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.18 / (download) - [select for diffs], Tue Jul 16 13:42:11 2002 UTC (24 years, 3 months ago) by nepto


Changes since 1.17: +21 -5 lines
Diff to previous 1.17 (colored) to selected 1.8 (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.17 / (download) - [select for diffs], Mon Jul 15 14:45:54 2002 UTC (24 years, 3 months ago) by rajo

Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored) to selected 1.8 (colored)

Headers update.

Revision 1.16 / (download) - [select for diffs], Sun Jun 23 10:48:46 2002 UTC (24 years, 3 months ago) by jombik9

Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.8 (colored)

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.15 / (download) - [select for diffs], Thu May 30 22:29:45 2002 UTC (24 years, 4 months ago) by jombik9


Changes since 1.14: +22 -11 lines
Diff to previous 1.14 (colored) to selected 1.8 (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.14 / (download) - [select for diffs], Sat May 11 14:54:58 2002 UTC (24 years, 5 months ago) by jombik9

Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored) to selected 1.8 (colored)

File positions constants updated.

Revision 1.13 / (download) - [select for diffs], Wed Apr 24 22:03:54 2002 UTC (24 years, 5 months ago) by jombik9


Changes since 1.12: +30 -23 lines
Diff to previous 1.12 (colored) to selected 1.8 (colored)

Error handling stuff finished.
Function cfg_fprint_error() added.
Functions cfg_print_error() and cfg_get_error_str() modified.

Revision 1.12 / (download) - [select for diffs], Sun Apr 21 10:08:40 2002 UTC (24 years, 6 months ago) by jombik9

Changes since 1.11: +9 -7 lines
Diff to previous 1.11 (colored) to selected 1.8 (colored)

Neccessary building stuff changes.
Headers update.

Revision 1.11 / (download) - [select for diffs], Fri Apr 19 18:23:52 2002 UTC (24 years, 6 months ago) by host8

Changes since 1.10: +21 -3 lines
Diff to previous 1.10 (colored) to selected 1.8 (colored)

'#include' stuff.
Removed test for strerror() function -- not used.

Revision 1.10 / (download) - [select for diffs], Mon Apr 8 20:57:35 2002 UTC (24 years, 6 months ago) by jombik9

Changes since 1.9: +37 -12 lines
Diff to previous 1.9 (colored) to selected 1.8 (colored)

* 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.9 / (download) - [select for diffs], Mon Feb 25 18:45:56 2002 UTC (24 years, 7 months ago) by host8

Changes since 1.8: +7 -2 lines
Diff to previous 1.8 (colored)

Source code indentation.

Revision 1.8 / (download) - [selected], Mon Feb 18 21:34:56 2002 UTC (24 years, 8 months ago) by jombik9

Changes since 1.7: +19 -5 lines
Diff to previous 1.7 (colored)

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.7 / (download) - [select for diffs], Sun Feb 17 15:18:45 2002 UTC (24 years, 8 months ago) by jombik9

Changes since 1.6: +17 -0 lines
Diff to previous 1.6 (colored) to selected 1.8 (colored)

Total sync.
Files headers in libcfg project.
Transaltion updates in phpWebFileManager.
New signatures.

Revision 1.6 / (download) - [select for diffs], Sun Dec 16 20:44:37 2001 UTC (24 years, 10 months ago) by jombik9

Changes since 1.5: +12 -58 lines
Diff to previous 1.5 (colored) to selected 1.8 (colored)

Too many improvements:
- Makefile change - 'make test' added
- libcfg properties reorganization
- starting of quotation implementation

Revision 1.5 / (download) - [select for diffs], Sat Dec 8 18:23:52 2001 UTC (24 years, 10 months ago) by jombik9

Changes since 1.4: +133 -47 lines
Diff to previous 1.4 (colored) to selected 1.8 (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.4 / (download) - [select for diffs], Wed Dec 5 23:58:48 2001 UTC (24 years, 10 months ago) by jombik9

Changes since 1.3: +121 -1 lines
Diff to previous 1.3 (colored) to selected 1.8 (colored)

Basic config file stuff implement.
TODO list updated (look @ that funny features :P)
Example config file added.

Revision 1.3 / (download) - [select for diffs], Sat Dec 1 01:27:47 2001 UTC (24 years, 10 months ago) by jombik9

Changes since 1.2: +0 -34 lines
Diff to previous 1.2 (colored) to selected 1.8 (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.2 / (download) - [select for diffs], Tue Oct 23 00:05:18 2001 UTC (24 years, 11 months ago) by jombik9

Changes since 1.1: +12 -58 lines
Diff to previous 1.1 (colored) to selected 1.8 (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.8 (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.8 (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/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top