2003-05-28 Artem V. Andreev * configure.in, Makefile.am: now installing `acinclude.m4' as `libutils.m4' into the system aclocal directory 2003-05-23 Artem V. Andreev * dstring.c (ds_fromdouble): correctly handles zero precision 2003-05-18 Artem V. Andreev * util.c (skip_spaces): added check for null comment character 2003-05-14 Artem V. Andreev * util.c (imap_file): added retry if mmap set errno to EAGAIN; added checking for `read' success 2003-05-13 Artem V. Andreev * util.c (lock_file, unlock_file, iload_file), util.h, configure.in: locking support added 2003-04-30 Artem V. Andreev * Makefile.am, configure.in, util.c (recover_error_objc), util.h: added Objective C support * dstring.c: added some functions that can handle dstrings with embedded nulls; added `ds_xtransform' function ds_expand made public 2003-04-17 Artem V. Andreev Version 1.0.2 * dstring.c (ds_destroy): misprint fixed * configure.in: version number incremented * dstring.c (ds_setsubstr): now correctly handling `arg' == NULL 2003-02-26 Artem V. Andreev * lists.c (list_free): now if size is 0, do noy deallocate memory 2003-02-19 Artem V. Andreev * dstring.c (ds_num_pad, ds_fromuint, ds_fromullint): using a bit faster method of conversion 2003-02-18 Artem V. Andreev * dstring.c (ds_expand): now just adding MAXLEN_DELTA instead of rounding (ds_squeeze): removed redundant cycle over free_strings 2003-02-16 Artem V. Andreev * dstring.c, util.c, lists.c, overview.doc: documentation fixed * acinclude.m4: using a bit better default for --enable-optimize 2003-02-14 Artem V. Andreev Version 1.0.1 * util.c (getalignsize): used a faster computation * acinclude.m4: was enabling optimize disregarding user settings 2003-02-12 Artem V. Andreev * util.c (free_chunk): fixed a chunk end miscalculation which caused free_chunk to fail on 64-bit systems * acinclude.m4: now checking whether GCC supports `-a' (since 3.2+ doesn't) 2003-02-11 Artem V. Andreev * fnmatch.c: discarding old-style function declarations * libutils.lsm: changed version info * most of the files: updated copyright notice, short description and CVS Id when necessary 2003-02-08 Artem V. Andreev * util.c (alloc_chunk, free_chunk) [ENABLE_CHECKSIZE]: now checking for a magic at the end of the chunk 2003-02-07 Artem V. Andreev * Makefile.am: removed `stack.c' and `stack.h' 2003-02-05 Artem V. Andreev * util.c (filelength): now checking for regular file 2003-01-27 Artem V. Andreev * util.h: now using function attributes (for gcc) 2003-01-22 Artem V. Andreev * dstring.c: now treating NULL arg as an empty string in all functions 2003-01-21 Artem V. Andreev * util.c (skip_ifs): now correctly counting lines inside ignore .if blocks 2003-01-20 Artem V. Andreev * util.c: using `strtol' instead of `strtoul' * dstring.c (ds_append, ds_appendstr, ds_compare, ds_comparestr): now checking for NULL arguments (treated as an empty string) * Makefile.am: now not installing include files when building profiling version 2003-01-13 Artem V. Andreev * acinclude.m4: re-enabling gcov support * configure.in: version number augmented 2003-01-03 Artem V. Andreev Version 1.0 * dstring.c (ds_squeeze, ds_fix, ds_unfix): now only unfixed strings are chained 2002-12-26 Artem V. Andreev * Makefile.am (libutils.3): changed dependencies * util.h, dstring.c, dstring.h.in: doc updated 2002-12-20 Artem V. Andreev * configure.in, acinclude.m4: using AC_HELP_STRING for formatting 2002-12-09 Artem V. Andreev * util.c (getbase): fixed a bug where lists for pages and chunks were swapped * Makefile.am, configure.in: now cheking for docstrip presence 2002-11-18 Artem V. Andreev * Makefile.am: added `overview.doc', `bootstrap.sh', `libutils.3' * util.c (alloc_chunk, free_chunk), configure.in: added checking chunk size consistency 2002-11-05 Artem V. Andreev * libutils.lsm: added FTP info file * util.h: using long instead of int in mapping * util.c (filelength): using off_t instead of int; using lseek if stat is unavailable (iload_file): using off_t instead of int; checking whether filelength failed (check_file): using it instead of access (i_find_filename): ^ * configure.in: some more checks added * configure.in, dstring.c, dstring.h.in: added unsigned int to string conversion functions. Added ds_fromptr. ds_fromint now accepts long argument. 2002-10-22 Artem V. Andreev * util.c, util.h, lists.c, lists.h, dstring.c: documented (not complete for dstring.c) * util.c (recover_error, fatal_error): used standard EXIT_FAILURE (warning): aligned with report_error (PAGE_FENCE, CHUNK_FENCE): made more portable (skip_spaces): now comment character may be changed (skip_ifs): now directive-introducing character may be changed * Makefile.am: option changed to `gnu' 2002-10-02 Artem V. Andreev * dstring.c (ds_appendch): testing for null character 2002-09-25 Artem V. Andreev * configure.in: fixed config for ds_fromllint 2002-09-24 Artem V. Andreev * added README, INSTALL and COPYING * a set of Autoconf macros to test for various C compiler options is created; put into acinclude.m4 * configure.in: some minor changes for better portability 2002-09-09 Artem V. Andreev * Version 0.7.15 2002-09-06 Artem V. Andreev * util.h: modified according to util.c 2002-09-05 Artem V. Andreev * util.c: added support for multiple extensions in `find_filename' memory allocators now call `recover_error' not `fatal_error' `translate_cvs_date' added `libutils_srcdate' added * dstring.h.in: modified for new memory management routines * dstring.c: completely revised memory management; fixed bug with ds_fromint, ds_fromllint handling INT_MIN, LLINT_MIN * configure.in: upgraded for autoconf 2.53 * Makefile.am: adopted for compiling in different directoryx 2002-07-24 Artem V. Andreev * dstring.c, dstring.h.in, fnmatch.c, gfnmatch.h, lists.c, lists.h, stack.c, stack.h, util.c, util.h: copyright notice amended 2002-07-23 Artem V. Andreev * Makefile.am, configure.in: support for building a profiling version 2002-07-15 Artem V. Andreev * acconfig.h, configure.in, util.h: *** empty log message *** * util.c: new public function print_error_msg now error messages include a filename 2002-06-20 Artem V. Andreev * configure.in, util.h: *** empty log message *** * util.c: enh_atexit added that allows arbitrary number of atexit handlers 2002-06-14 Artem V. Andreev * configure.in, dstring.c, fnmatch.c, util.c, util.h: major code cleanup 2002-06-03 Artem V. Andreev * gfnmatch.h.in: *** empty log message *** * configure.in, fnmatch.c, gfnmatch.h: now using a modified version of fnmatch which lacks some capabilities but runs considerably faster 2002-04-23 Artem V. Andreev * configure.in, util.c: added setenv replacement (if system one is missing) * Makefile.am, configure.in, fnmatch.c, gfnmatch.h.in: added fnmatch.c from GNU C Library in case a system shouldn't have it * AUTHORS: *** empty log message *** 2002-04-10 Artem V. Andreev * configure.in, dstring.c, dstring.h.in, util.c, util.h: inserted const into declarations 2002-04-05 Artem V. Andreev * configure.in, dstring.c, dstring.h.in: ds_fromdouble now can change precision 2002-02-26 Artem V. Andreev * configure.in: updated version * dstring.c: fixed ds_setsubstr to handle correctly start and len out of range * util.c: fixed find_filename so that it correctly handles .. paths and do no unnecessary path search when abs pathname is given 2002-02-25 Artem V. Andreev * util.c: fixed improper HAVE_VFPRINTF to HAVE_VPRINTF 2002-02-23 Artem V. Andreev * dstring.h: *** empty log message *** * configure.in: now produces dstring.h from dstring.h.in (corr. subtsts defined) function checks regularized and maid more meaningful * dstring.c: added ds_collate and ds_tocollate * dstring.h.in: now using template so that ds_fromllint do not appear on systems without long long * util.h: skip_spaces_nc properly declared * util.c: added some conditional directives for better portability 2002-02-20 Artem V. Andreev * configure.in: version adjusted * util.c: now parsing functions use dstring internally thus eliminating buffer overflow problem 2002-02-06 Artem V. Andreev * dstring.c: fixed bug in ds_concat (not really concatenating) 2002-01-29 Artem V. Andreev * configure.in: version number released * util.c, util.h: version comparisons added * dstring.c, dstring.h: added ds_isprefix ds_issuffix ds_commonprefix functions ds_assign now can take NULL 2nd arg meaning empty string 2002-01-10 Artem V. Andreev * acconfig.h: *** empty log message *** * configure.in: version updated * dstring.h: added declarations for new public variables * dstring.c: an enhanced memory management implemented 2001-12-21 Artem V. Andreev * configure.in, dstring.c, dstring.h: floating point support added 2001-11-28 Artem V. Andreev * configure.in: changed version info 2001-11-25 Artem V. Andreev * Makefile.am, configure.in, dstring.c, dstring.h, lists.c, lists.h, util.c, util.h: copyright notice added * stack.c, stack.h: those are sources for simple stack manipulations 2001-10-30 Artem V. Andreev * configure.in: *** empty log message *** 2001-10-01 Artem V. Andreev * Makefile: Makefile removed, as it's a generated file * Makefile, configure.in, util.h: minor changes * util.c: find_filename now accepts colon-separated path lists. It also does not search in the current directory implicitly if a path is given * dstring.c, dstring.h: ds_fromllint introduced (to satisfty int64 module from nsl) 2001-09-23 Artem V. Andreev * Makefile, configure.in: version info updated to match that of nsl 2001-09-17 Artem V. Andreev * Makefile, configure.in: version info updated * Makefile, configure.in: profiling and debugging support improved * util.h: See the source * util.c: parse_plain_id introduced which doesn't count a colon as an id character * lists.c: fixed bug in list_remove_all with quitting after the first match 2001-09-09 Artem V. Andreev * util.c: semicolons now available as identifier characters (according to HTML 4.0) fixed bug with nesting '.if' since it did not recognize '.if' * Makefile, Makefile.am, configure.in: now libtoolized and made shared 2001-09-06 Artem V. Andreev * make.config: removed due to automake * Makefile, Makefile.am, Makefile.in, configure.in: now powered by automake 2001-08-31 Artem V. Andreev * Makefile, \: *** empty log message *** * Makefile.in, configure.in, make.config: New file. * Makefile.in, configure.in, dstring.c, lists.c, make.config, util.c: a new release 2001-08-26 Artem V. Andreev * Makefile, \, dstring.c, dstring.h, lists.c, lists.h, util.c, util.h: New file. * Makefile, \, dstring.c, dstring.h, lists.c, lists.h, util.c, util.h: These are sources for the utility library for the NSL. It contains functions to deal with VL-strings, generic lists, safer I/O and memory management, some simple parsing functions and the like