OSSP CVS Repository

ossp - History for /ossp-pkg/var/var.h
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Directory]  [Show Milestones

DateVersion Description
2005-Jan-20 21:29    1.33    Check-in [4963]: Bumped year in copyright messages for new year 2005 By rse. (diff)
2004-Oct-29 21:42    1.32    Check-in [4791]: o Various code comment cleanups. o Fixed dmalloc support. By rse. (diff)
2004-Apr-04 10:07    1.31    Check-in [4487]: adjust copyrights By rse. (diff)
2003-Feb-14 22:17    1.30    Check-in [3257]: final polishing for release 1.0.0 By rse. (diff)
2002-Mar-08 13:55    1.29    Check-in [1976]: polishing and copyright extension (add natural person) By rse. (diff)
2002-Mar-07 13:11    1.28    Check-in [1964]: New API functions var_format and var_formatv which provide a convinience interface to printf-style expansion and variable expansion. var_format is like a combination of snprintf(3) and var_expand().

Example: Assume the variable value context gives "bar" for ${ARRAY[7]}, then the call..

    var_format(var, &tmp, 1, "foo${ARRAY[%d]}quux", 7);o

..results in tmp containing the malloc(3)'ed string "foobarquux". Thanks to Thomas L. for providing the hint to this functionality. By rse. (diff)

2002-Mar-04 12:53    1.27    Check-in [1938]: Add new important feature: user-supplied post-operation functions. This allows one to configure a var_cb_operation_t callback in the var_t context and allow it to implement functions triggered by ${name:%func[(arg)]}. This is especially intended for application-specific encoding and post-adjustment functions. By rse. (diff)
2002-Feb-28 13:40    1.26    Check-in [1918]: prepare for API finally passing "val_t *" to callback, currently pass NULL By thl. (diff)
2002-Feb-28 09:48    1.25    Check-in [1909]: URL fixing and additional documents By rse. (diff)
2002-Feb-28 09:08    1.24    Check-in [1908]: HEADS UPS: Mega-commit, revamping the whole library! - completely new API - completely new manual page By rse. (diff)
2002-Feb-27 14:44    1.23    Check-in [1907]: style and text cleanups By rse. (diff)
2002-Jan-30 20:37    1.22    Check-in [1727]: add optional OSSP ex based exception handling support By rse. (diff)
2002-Jan-02 18:12    1.21    Check-in [1494]: bump copyright year By rse. (diff)
2001-Dec-17 11:29    1.20    Check-in [1441]: Finally adjust return code semantics of var_cb_t to use var_rc_t only. By rse. (diff)
2001-Dec-17 00:40    1.19    Check-in [1438]: Implemented loops with explicit start, stop, and step values. By rse. (diff)
2001-Dec-14 14:47    1.18    Check-in [1430]: Get rid of the following warnings under "gcc -O2 -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Winline -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long":

var.h:91: warning: declaration of `index' shadows global declaration var.c: In function `expression': var.c:693: warning: declaration of `index' shadows global declaration var.c: At top level: var.c:1769: warning: declaration of `varname' shadows global declaration var.c:1769: warning: declaration of `index' shadows global declaration var.c: In function `lookup_wrapper': var.c:1772: warning: declaration of `index' shadows global declaration var.c:1772: warning: declaration of `varname' shadows global declaration var_test.c:13: warning: declaration of `index' shadows global declaration var_test.c: In function `var_lookup': var_test.c:16: warning: declaration of `index' shadows global declaration By rse. (diff)

2001-Dec-12 17:51    1.17    Check-in [1419]: Implemented the looping construct. However, there are still some semantical issues that need to be clarified before the code is stable. By simons. (diff)
2001-Dec-08 17:27    1.16    Check-in [1411]: Implemented division-by-zero error. By simons. (diff)
2001-Dec-04 14:37    1.15    Check-in [1402]: Added the return codes VAR_ERR_UNCLOSED_BRACKET_IN_INDEX, VAR_ERR_INCOMPLETE_INDEX_SPEC, and VAR_ERR_INVALID_CHAR_IN_INDEX_SPEC, which are used by the index parser. By simons. (diff)
2001-Dec-03 11:51    1.14    Check-in [1396]: Extended the interface of var_cb_t to support variable arrays. To customize your already existing lookup functions quickly to the new interface, just add the "int index" parameter to the function's prototype and add the lines

    if (index != 0)

to the function itself. By simons. (diff)

2001-Nov-19 17:09    1.13    Check-in [1368]: Cleaned the header file up. By simons. (diff)
2001-Nov-19 17:07    1.12    Check-in [1367]: Implemented var_strerror(). By simons. (diff)
2001-Nov-19 16:56    1.11    Check-in [1365]: THLs review By thl. (diff)
2001-Nov-14 16:55    1.10    Check-in [1345]: Minor corrections. By ms. (diff)
2001-Nov-14 13:05    1.9    Check-in [1331]: bugfix: make sure errors use different numbers By rse. (diff)
2001-Nov-14 13:02    1.8    Check-in [1330]: Safe time by cleaning up var_expand() myself instead of first writing down the wishes and having Peter do it himself afterwards: - use tokenbuf_init() instead of doing it manually - perform additional argument sanity checks - some minor coding style adjustments By rse. (diff)
2001-Nov-14 12:11    1.7    Check-in [1329]: Rename the return codes VAR_XXX to VAR_ERR_XXX (except for VAR_OK) to be consistent with other OSSP libraries like L2. By rse. (diff)
2001-Nov-14 12:04    1.6    Check-in [1328]: Removed tabs, fixed readability. By ms. (diff)
2001-Nov-13 15:42    1.5    Check-in [1318]: Reformatted the sources to Kernighan & Ritchie style according to the wishes of Ralf. By simons. (diff)
2001-Nov-13 15:36    1.4    Check-in [1317]: Implemented submatching in regular expressions and added the appropriate test cases. By simons. (diff)
2001-Nov-13 13:46    1.3    Check-in [1306]: - Added VAR_CALLBACK_ERROR define.

- Renamed expand_named_characters() to var_unescape while adding the flag telling the function whether to expand anything or only constructs it knows. By simons. (diff)

2001-Nov-13 13:15    1.2    Check-in [1300]: Added OSSP copyright header. By simons. (diff)
2001-Nov-13 13:08    1.1    Check-in [1297]: - Moved all routines into a single source file var.c. - Renamed varexp.h to var.h. - Removed odin-based build system. - Moved test cases into var_test.c. - Adapted build system. By simons.

CVSTrac 2.0.1