OSSP CVS Repository

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

DateVersion Description
2005-Jan-20 21:29    1.39    Check-in [4963]: Bumped year in copyright messages for new year 2005 By rse. (diff)
2004-Oct-29 22:41    1.38    Check-in [4794]: more fixes By rse. (diff)
2004-Oct-29 22:40    1.37    Check-in [4793]: Cleanup and extend the Unix manual page var(3) By rse. (diff)
2004-Apr-04 10:07    1.36    Check-in [4487]: adjust copyrights By rse. (diff)
2003-Feb-14 22:17    1.35    Check-in [3257]: final polishing for release 1.0.0 By rse. (diff)
2002-May-27 17:29    1.34    Check-in [2156]: backout now solved issue By rse. (diff)
2002-May-23 11:13    1.33    Check-in [2151]: lib_var experts, please review By thl. (diff)
2002-Mar-08 13:55    1.32    Check-in [1976]: polishing and copyright extension (add natural person) By rse. (diff)
2002-Mar-07 13:39    1.31    Check-in [1966]: more polishing By rse. (diff)
2002-Mar-07 13:19    1.30    Check-in [1965]: Yeah, reduce the TODO list to zero items\! By rse. (diff)
2002-Mar-07 13:11    1.29    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-07 10:14    1.28    Check-in [1959]: Major bugfixing and enhancing of search & replace operation: - finally fix ${name:s/$/foo/} type substitutions (zero-length matching!) - add s/.../.../mg matching support (Perl-style multiline) - make non-multiline matching the default By rse. (diff)
2002-Mar-06 11:18    1.27    Check-in [1949]: Change semantics of ${name:-word} from "If $name is not empty string, then $name, else word" to: "If $name is not empty string and not undefined, then $name, else word". This provides a more intuitive usage of ${name:-word} because it allows the user to turn an undefined variable (as returned with VAR_ERR_UNDEFINED_VARIABLE by the callback) into a defined one. This is important because changing the callback to return undefined variables as empty variables is incorrect because it usually breaks the array loop construct. By rse. (diff)
2002-Mar-04 13:01    1.26    Check-in [1940]: Fix regex problem by no longer allowing variables in the pattern part of s/pattern/subst/. Because it is far more common that one needs '$' there instead of a variable. By rse. (diff)
2002-Mar-04 12:53    1.25    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 15:58    1.24    Check-in [1922]: finish the API change Thomas started By rse. (diff)
2002-Feb-28 12:40    1.23    Check-in [1914]: more docs, less TODO By rse. (diff)
2002-Feb-28 09:48    1.22    Check-in [1909]: URL fixing and additional documents By rse. (diff)
2002-Feb-28 09:08    1.21    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.20    Check-in [1907]: style and text cleanups By rse. (diff)
2002-Feb-27 12:55    1.19    Check-in [1904]: fix offset documentation By rse. (diff)
2002-Jan-02 18:12    1.18    Check-in [1494]: bump copyright year By rse. (diff)
2001-Dec-17 13:57    1.17    Check-in [1442]: allow result_len to be NULL By rse. (diff)
2001-Dec-17 11:29    1.16    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.15    Check-in [1438]: Implemented loops with explicit start, stop, and step values. By rse. (diff)
2001-Dec-12 18:18    1.14    Check-in [1421]: Guarantee that the buffer returned by var_expand() is terminated with a null byte. By simons. (diff)
2001-Dec-12 17:51    1.13    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-12 15:34    1.12    Check-in [1418]: fix comment By rse. (diff)
2001-Dec-08 17:02    1.11    Check-in [1409]: Added support for variables as operands in index specifications. By simons. (diff)
2001-Dec-04 14:37    1.10    Check-in [1403]: Updated the BNF grammar for the arithmetik parser. By simons. (diff)
2001-Dec-03 11:51    1.9    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-20 16:46    1.8    Check-in [1385]: Changed semantics of the :o operation so that the specified end-offset is included in the result. Updated documentation and test cases appropriately. By simons. (diff)
2001-Nov-20 14:08    1.7    Check-in [1378]: THLs review By thl. (diff)
2001-Nov-20 13:22    1.6    Check-in [1375]: THLs review By thl. (diff)
2001-Nov-19 17:15    1.5    Check-in [1369]: Added documentation for the var_strerror() call. By simons. (diff)
2001-Nov-19 16:38    1.4    Check-in [1364]: Added the missing part of the documentation. Everything is fully documented now. By simons. (diff)
2001-Nov-16 16:44    1.3    Check-in [1351]: Added all section of the man page, except for the PURPOSE section, which is till missing. By simons. (diff)
2001-Nov-13 13:47    1.2    Check-in [1309]: Added VAR_CALLBACK_ERROR to the list of return codes. By simons. (diff)
2001-Nov-13 13:36    1.1    Check-in [1303]: Added skeleton version of the library's manual page. By simons.

CVSTrac 2.0.1