1 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
5 * t/dates.test, t/encoding_error.test: New tests.
7 * t/utf8-locale.c: Remove conversion warning at compilation.
9 * t/test_script: Enhancements to use script outside 'make check'.
11 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
14 * t/Makefile.am: Added rule to be able to perform single tests.
16 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
17 characters in to_internal (to avoid crashes).
19 * Lots of files: Add compability for Lifelines.
21 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
22 gedcom/gedcom_date.lex:
23 Added rule that can help to avoid unnecessary recompilation of lex
24 files. It generates a new include file only when necessary: use this
27 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
29 * t/minimal.test: Added test on a minimal GEDCOM file.
31 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
35 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
37 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
39 * gedcom/gedcom.y: Graceful error handling on bogus input.
41 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
42 GCONV_PATH environment variable).
44 * Moved the test program to the t subdirectory.
46 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
48 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
49 to avoid problem with GCONV_PATH environment variable (see note in
52 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
54 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
55 compatibility handling for ftree.
57 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
61 * restructured the test setup
63 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
65 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
66 variables are substituted and the file gedcom.h is written
68 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
69 to return number of conversion failures.
71 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
73 * gedcom/xref.c: Make sure that the 'string' member of an xref always
74 contains a valid string.
76 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
79 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
80 in static storage, so must use strdup and free afterwards.
82 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
84 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
85 rest of the initialization, and let it be called before main (necessary
86 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
87 calls iconv_open very early).
89 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
90 context couldn't be opened, even if IGNORE_ERRORS.
92 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
93 the application had set it).
95 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
97 * utf8-locale.c: Example implementation for conversion UTF-8 to
100 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
102 * more documentation...
104 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
106 * doc/parser.html: Start of character set explanation.
108 * enhancements to Makefiles for documentation.
110 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
113 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
117 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
119 * encoding.c: Bugfixes in using the hash implementation of kazlib.
121 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
122 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
125 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
127 * gedcom.y: Bugfix for context handling of tags that are grouped in
130 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
131 have a value (e.g. the NOTE record), so extra value necessary on
132 start record callback.
134 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
137 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
139 * lots of files: Pass the parsed tag value (integer) together with
140 the string value in the callbacks. For this, a separate header is
141 auto-generated, containing the #defines from bison.
143 * t/test_script: Return exit code from testgedcom.
145 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
146 kazlib (see AUTHORS for pointer).
148 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
152 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
154 * all: Added some initial documentation.
156 * gedcom/gedcom.y: Completed the calling of callbacks.
158 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
160 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
161 put everything as a 'date phrase'.
163 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
165 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
167 * gedcom/calendar/*: Calendar routines by Scott E. Lee
169 * gedcom.y: Added some more callbacks (not complete yet)
171 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
173 * include/gedcom.h: Add some declarations so that the external header
174 can be used in C++ programs.
176 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
178 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
179 leave that to the applications.
181 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
184 Moved CVS repository to sourceforge.net (project gedcom-parse)
186 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
188 * all: Use of gettext.
190 * gedcom/Makefile.am: Support for the lexer test programs.
192 * all: Moved to LGPL license.
194 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
196 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
197 in the GCONV_PATH environment variable (for the ANSEL encoding).
201 * all: Full move to autoconf/automake.
203 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
205 * all: Further specification of interface: message handler.
206 Start of specification of callbacks.
208 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
210 * Uploaded release 0.9 to genes at SourceForge.
212 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
216 * gedcom.h, Makefile: Add dmalloc testability.
218 * all: Reset the state properly for parsing new files.
222 * encoding.c: Specify explicitly the output buffer for to_internal:
223 used to put pointers and tags in different output buffer.
225 * gedcom_lex_common.c: New file containing all lex actions (is common
226 for all lexers). Better checks for maximum lengths.
228 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
230 * gedcom_*.lex: Return level number together with OPEN token.
232 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
234 * gedcom.enc: Adapt default iconv encoding names (to also support
237 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
239 * all: added proper copyright notice (copyright to the Genes
243 Uploaded to genes at SourceForge.
245 * all: general cleanup, making sure everything is in CVS
247 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
251 * ANSEL decoding added.
253 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
257 * Now with encoding mapping via configuration file.
259 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
263 * Now with full unicode support.
265 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
269 * Compatibility mode implemented.
271 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
275 * Now with full error handling of tags and subtags.
279 * Now covering the entire GEDCOM spec, without error handling.