2002-08-16 Peter Verthez * release 0.16 * t/dates.test, t/encoding_error.test: New tests. * t/utf8-locale.c: Remove conversion warning at compilation. * t/test_script: Enhancements to use script outside 'make check'. * t/standalone.c, t/bogus.test: Parse bogus file only if enabled via option. * t/Makefile.am: Added rule to be able to perform single tests. * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal characters in to_internal (to avoid crashes). * Lots of files: Add compability for Lifelines. * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c, gedcom/gedcom_date.lex: Added rule that can help to avoid unnecessary recompilation of lex files. It generates a new include file only when necessary: use this one in lex files. 2002-04-08 Peter Verthez * t/minimal.test: Added test on a minimal GEDCOM file. 2002-03-27 Peter Verthez * release 0.15 * gedcom/multilex.c: Make the use of gedcom_init() mandatory. 2002-03-17 Peter Verthez * gedcom/gedcom.y: Graceful error handling on bogus input. * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the GCONV_PATH environment variable). * Moved the test program to the t subdirectory. * standalone.c, doc/usage.html: Use of the gedcom_init() function. * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function to avoid problem with GCONV_PATH environment variable (see note in gedcom/encoding.c). 2002-01-22 Peter Verthez * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added compatibility handling for ftree. 2002-01-20 Peter Verthez * release 0.14 * restructured the test setup 2002-01-19 Peter Verthez * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION variables are substituted and the file gedcom.h is written * utf8-locale.c: Added parameter to conversion from UTF-8 to locale, to return number of conversion failures. 2002-01-16 Peter Verthez * gedcom/xref.c: Make sure that the 'string' member of an xref always contains a valid string. * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of simple string. * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string in static storage, so must use strdup and free afterwards. 2002-01-15 Peter Verthez * gedcom/encoding.c: Separate the modification of GCONV_PATH from the rest of the initialization, and let it be called before main (necessary because iconv_open will only look at GCONV_PATH once, and e.g. GTK calls iconv_open very early). * gedcom/gedcom.y: Don't allow the parser to continue if the conversion context couldn't be opened, even if IGNORE_ERRORS. * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case the application had set it). 2002-01-13 Peter Verthez * utf8-locale.c: Example implementation for conversion UTF-8 to locale. 2002-01-12 Peter Verthez * more documentation... 2002-01-10 Peter Verthez * doc/parser.html: Start of character set explanation. * enhancements to Makefiles for documentation. * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the standalone lexers. 2002-01-05 Peter Verthez * release 0.13 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references. * encoding.c: Bugfixes in using the hash implementation of kazlib. * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able to have two of these macros in one statement. Move GEDCOM_MAKE_DATE to date.h. 2002-01-03 Peter Verthez * gedcom.y: Bugfix for context handling of tags that are grouped in the yacc file. * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also have a value (e.g. the NOTE record), so extra value necessary on start record callback. * gedcom.y: Correct value of NOTE element (opt_line_item was missing an action). 2002-01-02 Peter Verthez * lots of files: Pass the parsed tag value (integer) together with the string value in the callbacks. For this, a separate header is auto-generated, containing the #defines from bison. * t/test_script: Return exit code from testgedcom. * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from kazlib (see AUTHORS for pointer). 2001-12-31 Peter Verthez * release 0.12 2001-12-30 Peter Verthez * all: Added some initial documentation. * gedcom/gedcom.y: Completed the calling of callbacks. 2001-12-29 Peter Verthez * gedcom/gedcom_date.y: Added graceful fallback for date parse errors: put everything as a 'date phrase'. 2001-12-28 Peter Verthez * gedcom_date.*, date.*: Parsing dates via a separate yacc parser. * gedcom/calendar/*: Calendar routines by Scott E. Lee * gedcom.y: Added some more callbacks (not complete yet) 2001-12-23 Peter Verthez * include/gedcom.h: Add some declarations so that the external header can be used in C++ programs. 2001-12-22 Peter Verthez * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl: leave that to the applications. 2001-12-15 Peter Verthez * release 0.11 Moved CVS repository to sourceforge.net (project gedcom-parse) 2001-12-10 Peter Verthez * all: Use of gettext. * gedcom/Makefile.am: Support for the lexer test programs. * all: Moved to LGPL license. 2001-12-09 Peter Verthez * gedcom/encoding.c (init_encodings): Put data directory of libgedcom in the GCONV_PATH environment variable (for the ANSEL encoding). * release 0.10 * all: Full move to autoconf/automake. 2001-12-08 Peter Verthez * all: Further specification of interface: message handler. Start of specification of callbacks. 2001-12-03 Peter Verthez * Uploaded release 0.9 to genes at SourceForge. 2001-12-02 Peter Verthez * release 0.9 * gedcom.h, Makefile: Add dmalloc testability. * all: Reset the state properly for parsing new files. * release 0.8 * encoding.c: Specify explicitly the output buffer for to_internal: used to put pointers and tags in different output buffer. * gedcom_lex_common.c: New file containing all lex actions (is common for all lexers). Better checks for maximum lengths. 2001-12-01 Peter Verthez * gedcom_*.lex: Return level number together with OPEN token. 2001-11-27 Peter Verthez * gedcom.enc: Adapt default iconv encoding names (to also support glibc-2.1.x). 2001-11-25 Peter Verthez * all: added proper copyright notice (copyright to the Genes Development Team) * release 0.7 Uploaded to genes at SourceForge. * all: general cleanup, making sure everything is in CVS 2001-11-24 Peter Verthez * release 0.6 * ANSEL decoding added. 2001-11-23 Peter Verthez * release 0.5 * Now with encoding mapping via configuration file. 2001-11-16 Peter Verthez * release 0.4 * Now with full unicode support. 2001-11-04 Peter Verthez * release 0.3 * Compatibility mode implemented. 2001-11-01 Peter Verthez * release 0.2 * Now with full error handling of tags and subtags. * release 0.1 * Now covering the entire GEDCOM spec, without error handling.