_ ___ ____ ____ ____ _ |_|_ _ / _ \/ ___/ ___|| _ \ ___| |_ _ __ _|_||_| | | | \___ \___ \| |_) | / __| __| '__| |_||_|_| | |_| |___) |__) | __/ \__ \ |_| | |_|_|_| \___/|____/____/|_| |___/\__|_| OSSP str - String Handling ____________________________________________________________________ ChangeLog Changes between 0.9.12 and 0.9.13 (12-Oct-2005 to xx-Jun-2008): *) Fix syntax in example in str.pod [Ralf S. Engelschall] *) Use a static value for comparing against the null string in the str_format() function. [Ralf S. Engelschall] *) Fixed pattern lookup algorithm in str_parse(). [Alexander Drozdov Changes between 0.9.11 and 0.9.12 (03-Oct-2005 to 12-Oct-2005): *) Fixed str_parse(3): the va_list argument was incorrectly used twice for processing the arguments and hence lead to a segmentation faults. It is triggered by calls like str_parse(var, "s/^(.+?):(.+)$/$1-%s-$2/", &new, subst); [Vasil Dimov ] Changes between 0.9.10 and 0.9.11 (24-Jan-2004 to 03-Oct-2005): *) Security Fix to str_pcre.c (CAN-2005-2491, partially only) [Ralf S. Engelschall ] *) Fixed isnan(3) & isinf(3) related compile-time warnings. [Ralf S. Engelschall ] *) Upgraded build environment to GNU libtool 1.5.20 and GNU shtool 2.0.3. [Ralf S. Engelschall ] *) Remove bogus $(S) in Makefile.in [Ralf S. Engelschall ] *) Fix typo in str.pod [Ralf S. Engelschall ] Changes between 0.9.9 and 0.9.10 (23-Apr-2004 to 24-Jan-2004): *) Upgraded build environment to GNU autoconf 2.59, GNU libtool 1.5.10 and GNU shtool 2.0.1. [Ralf S. Engelschall ] *) Add Autoconf detection for va_copy() existence and fallbacks. [Ralf S. Engelschall ] *) Adjusted copyright messages for new year 2004/2005. [Ralf S. Engelschall ] Changes between 0.9.8 and 0.9.9 (17-Feb-2003 to 23-Apr-2004): *) Import change introduced in OSSP l2 0.9.7: Replace modf(3) calls in str_format.c with a hand-crafted inlined str_modf() function to avoid dependency to external libm on systems where modf(3) is not part of libc, i.e. Tru64 and QNX. Reported by Karl Vogel. [Thomas Lotterer ] Changes between 0.9.7 and 0.9.8 (01-Apr-2002 to 17-Feb-2003): *) Added @DEFS@ to $(CFLAGS) in Makefile.in to correctly see things like -DHAVE_CONFIG_H stuff during compilation. [Ralf S. Engelschall ] *) Fixed memory leaks in test suite. [Ralf S. Engelschall ] *) Fixed test suite library (ts.c): the ts_suite_free() function performed an illegal iteration for freeing elements (they were freed but still references for traversing to next element). This is now solved by a look-ahead traversion. [Ralf S. Engelschall, Brian T. Egleston ] *) Upgraded to GNU autoconf 2.57, GNU libtool 1.4.3 and GNU shtool 1.6.2 build environment. [Ralf S. Engelschall ] *) Adjusted copyright messages for new year 2003. [Ralf S. Engelschall ] Changes between 0.9.6 and 0.9.7 (28-Dec-2001 to 01-Apr-2002): *) Use OSSP ts (Test Suite) sub-library for "make check". [Ralf S. Engelschall ] *) Switched to full "OSSP str" branding and this way its official location from engelschall.com to ossp.org. [Ralf S. Engelschall ] *) Upgraded to GNU autoconf 2.53, GNU libtool 1.4.2 and GNU shtool 1.6.0 build environment. [Ralf S. Engelschall ] *) Fixed str_concat: it included the terminating NUL in copy and added a useless NUL. [Thomas Lotterer ] *) Upgraded to PCRE 3.9 [Ralf S. Engelschall ] Changes between 0.9.5 and 0.9.6 (16-Aug-2001 to 13-Sep-2001): *) Switched to devtool stuff [Ralf S. Engelschall ] *) Upgraded to PCRE 3.8 [Ralf S. Engelschall ] *) Fixed "str-config --version" [Ralf S. Engelschall ] *) Fixed various memory leaks. [Ralf S. Engelschall ] *) Add support for Dmalloc memory debugging library. [Ralf S. Engelschall ] Changes between 0.9.4 and 0.9.5 (14-Jul-2000 to 16-Aug-2001): *) Fix return code documentation of str_parse(): it -1 (error), 0 (no matching) or +1 (matching) and not just TRUE or FALSE. Additionally fixed the str_parse() examples in the documentation. [Ralf S. Engelschall, Thomas Lotterer] *) Let str_base64(STR_BASE64_DECODE, ...) correctly honor the specified maximum size of the input string. [Peter Simons ] *) Upgraded to GNU Autoconf 2.52 and GNU Libtool 1.4 [Ralf S. Engelschall ] *) Upgrade to a stripped down version of PCRE 3.5 [Ralf S. Engelschall ] *) Upgrade to GNU shtool 1.5.4. [Ralf S. Engelschall ] *) Fixed handling of NaN and Inf values in str_format.c [Lukas Schroeder ] *) Fix unsigned vs. signed problem in str_span.c. [Joseph Heenan ] *) Updated str_version.c to new GNU shtool 1.5.1 format. [Ralf S. Engelschall ] Changes between 0.9.3 and 0.9.4 (04-Feb-2000 to 14-Jul-2000): *) Upgrade to GNU libtool 1.3.5 and GNU shtool 1.5.0. [Ralf S. Engelschall ] *) Make sure -lm is used if modf() is not in -lc. [Ed Griffiths , Ralf S. Engelschall] *) Avoid isupper() check in str_tolower() macro, because it breaks for things like str_tolower(*s++). This fixes especially str_compare(...,...,STR_NOCASE). [Kai Poitschke ] *) Fixed return value of str_format() and cleaned up str_format.c [Ralf S. Engelschall ] Changes between 0.9.2 and 0.9.3 (04-Feb-2000 to 04-Feb-2000): *) Added tests to str_test.c for str_span() and str_search(). [Ralf S. Engelschall ] *) Fixed str_search() by removing bogus optimizations. [Ralf S. Engelschall ] *) Fixed str_span(). [Ralf S. Engelschall ] Changes between 0.9.1 and 0.9.2 (09-Jan-2000 to 04-Feb-2000): *) Added three function variants with va_list support: str_parse_va, str_concat_va and str_format_va. Each str_xxx_va function is the same as the str_xxx function except that it can be called with a va_list argument instead of the original arguments. [Ralf S. Engelschall ] *) Added a new str_base64() function (in str_base64.c) which allows one to convert an arbitray a chunk bytes into a NUL-terminated Base64 encoded string and vice versa. [Ralf S. Engelschall ] *) Added a new str_hash() function (in str_hash.c) which allows one to compute hash values of a string. Currently three different hashing functions are supported: DJBX33, BJDDJ and MACRC32. This is intended for fast use in hashing algorithms and not for use a cryptographically strong message digests. [Ralf S. Engelschall ] *) Fixed a compile time warning in str_pcre.c [Ralf S. Engelschall ] *) Fixed output in str_test.c: consistently use stderr. [Ralf S. Engelschall ] *) Fixed substitution string generation in str_parse.c: the string was not explicitly NUL-terminated. [Ralf S. Engelschall, Jeremy W. Murphy ] Changes between 0.9.0 and 0.9.1 (01-Jan-2000 to 09-Jan-2000): *) Fix various warnings which GCC hasn't catched. [Ralf S. Engelschall, Fritz Zaucker ] *) Allow the user of str_token() to recover the comment which was skipped if he insist on it and knows what he does. [Alfred Reibenschuh ] *) Added LICENSE document. [Ralf S. Engelschall ] *) Updated the package abstract in README and str.pod [Ralf S. Engelschall ] Changes between *GENESIS* and 0.9.0 (16-Nov-1999 to 01-Jan-2000): *) Created the first Str package version. [Ralf S. Engelschall ]