1 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom/message.c: Extracted safe buffer mechanism to message.c
6 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
8 * gom/gom_modify.c: Check whether given strings are valid.
10 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
13 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
15 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
18 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
20 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
21 gedcom_init, make strdup of saved textdomain (to avoid corruption).
23 * all: Removed support for dmalloc (valgrind is much better and doesn't
24 require changing the sources).
26 * m4/gedcom.m4: Added m4 macro for configure.in support.
28 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
30 * gedcom/gedcom_*.lex: A pointer with only one character between the
31 at signs is also valid.
33 * gedcom/xref.c (is_valid_pointer): New function (also checks for
36 * include/gom.h: Added links to the definitions in the Gedcom standard.
38 * all: update of documentation
40 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
42 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
45 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
48 This is another test release
50 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
52 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
54 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
55 perl isn't needed at make-time).
57 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
58 conversion failure too.
60 * all: Further small portability fixes.
62 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
64 * t/output/*: Reference output for the tests; compare the actual test
65 output to these files.
67 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
69 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
72 * include/Makefile.am: Portability fix: grep isn't always understanding
75 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
78 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
80 * all: Further portability fixes to Makefile.am and such.
82 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
84 * */Makefile.am: Fixes for using included gettext.
86 * intl/Makefile.in: Hack for generating libtool convenience library
87 instead of shared library.
89 * README: Modify at dist instead of via configure.in (GNU make is used
92 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
93 as bind_textdomain_codeset).
95 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
97 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
99 * utf8/utf8-locale.c: Add forgotten header string.h
101 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
103 * Makefile: Require GNU make to be used -> normal makefile is then
104 GNUmakefile in top directory.
106 * README, doc/index.html: Generate from *.in via configure (for
109 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
110 nl_langinfo directly, for portability.
112 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
115 This is a test release
117 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
119 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
121 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
123 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
125 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
127 * all: Portability fixes and support for libiconv.
129 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
131 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
132 link/unlink and delete cross-references.
134 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
135 to check whether a (UTF-8) string is a valid token; bypass iconv
138 * gedcom/*: Fixed memory leaks reported by valgrind.
140 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
142 * t/standalone.c: Close outfile *after* the last output is done...
144 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
147 * gedcom/encoding.c: Clean up environment at exit.
149 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
151 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
153 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
155 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
157 * doc/make_gom_xref: Corrected 'Generated from' string.
159 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
163 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
164 Fixes for internationalization.
166 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
169 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
171 * gom/*: First check-in of gedcom object model.
173 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
175 * all: More thorough error checking on library calls.
177 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
179 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
181 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
182 xref_value is not known yet. Added function gedcom_get_by_xref.
184 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
186 * gedcom/interface.c: A little more checking (for duplicate
189 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
193 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
195 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
198 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
199 extra argument to callback functions: the record/element identifier.
201 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
203 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
204 functions to compat.c; let default charset depend on the program.
206 * t/test_script: Check for a core file.
210 * t/dates.test, t/encoding_error.test: New tests.
212 * t/utf8-locale.c: Remove conversion warning at compilation.
214 * t/test_script: Enhancements to use script outside 'make check'.
216 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
219 * t/Makefile.am: Added rule to be able to perform single tests.
221 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
222 characters in to_internal (to avoid crashes).
224 * Lots of files: Add compability for Lifelines.
226 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
227 gedcom/gedcom_date.lex:
228 Added rule that can help to avoid unnecessary recompilation of lex
229 files. It generates a new include file only when necessary: use this
232 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
234 * t/minimal.test: Added test on a minimal GEDCOM file.
236 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
240 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
242 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
244 * gedcom/gedcom.y: Graceful error handling on bogus input.
246 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
247 GCONV_PATH environment variable).
249 * Moved the test program to the t subdirectory.
251 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
253 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
254 to avoid problem with GCONV_PATH environment variable (see note in
257 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
259 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
260 compatibility handling for ftree.
262 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
266 * restructured the test setup
268 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
270 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
271 variables are substituted and the file gedcom.h is written
273 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
274 to return number of conversion failures.
276 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
278 * gedcom/xref.c: Make sure that the 'string' member of an xref always
279 contains a valid string.
281 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
284 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
285 in static storage, so must use strdup and free afterwards.
287 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
289 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
290 rest of the initialization, and let it be called before main (necessary
291 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
292 calls iconv_open very early).
294 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
295 context couldn't be opened, even if IGNORE_ERRORS.
297 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
298 the application had set it).
300 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
302 * utf8-locale.c: Example implementation for conversion UTF-8 to
305 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
307 * more documentation...
309 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
311 * doc/parser.html: Start of character set explanation.
313 * enhancements to Makefiles for documentation.
315 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
318 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
322 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
324 * encoding.c: Bugfixes in using the hash implementation of kazlib.
326 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
327 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
330 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
332 * gedcom.y: Bugfix for context handling of tags that are grouped in
335 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
336 have a value (e.g. the NOTE record), so extra value necessary on
337 start record callback.
339 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
342 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
344 * lots of files: Pass the parsed tag value (integer) together with
345 the string value in the callbacks. For this, a separate header is
346 auto-generated, containing the #defines from bison.
348 * t/test_script: Return exit code from testgedcom.
350 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
351 kazlib (see AUTHORS for pointer).
353 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
357 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
359 * all: Added some initial documentation.
361 * gedcom/gedcom.y: Completed the calling of callbacks.
363 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
365 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
366 put everything as a 'date phrase'.
368 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
370 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
372 * gedcom/calendar/*: Calendar routines by Scott E. Lee
374 * gedcom.y: Added some more callbacks (not complete yet)
376 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
378 * include/gedcom.h: Add some declarations so that the external header
379 can be used in C++ programs.
381 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
383 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
384 leave that to the applications.
386 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
389 Moved CVS repository to sourceforge.net (project gedcom-parse)
391 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
393 * all: Use of gettext.
395 * gedcom/Makefile.am: Support for the lexer test programs.
397 * all: Moved to LGPL license.
399 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
401 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
402 in the GCONV_PATH environment variable (for the ANSEL encoding).
406 * all: Full move to autoconf/automake.
408 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
410 * all: Further specification of interface: message handler.
411 Start of specification of callbacks.
413 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
415 * Uploaded release 0.9 to genes at SourceForge.
417 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
421 * gedcom.h, Makefile: Add dmalloc testability.
423 * all: Reset the state properly for parsing new files.
427 * encoding.c: Specify explicitly the output buffer for to_internal:
428 used to put pointers and tags in different output buffer.
430 * gedcom_lex_common.c: New file containing all lex actions (is common
431 for all lexers). Better checks for maximum lengths.
433 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
435 * gedcom_*.lex: Return level number together with OPEN token.
437 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
439 * gedcom.enc: Adapt default iconv encoding names (to also support
442 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
444 * all: added proper copyright notice (copyright to the Genes
448 Uploaded to genes at SourceForge.
450 * all: general cleanup, making sure everything is in CVS
452 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
456 * ANSEL decoding added.
458 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
462 * Now with encoding mapping via configuration file.
464 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
468 * Now with full unicode support.
470 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
474 * Compatibility mode implemented.
476 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
480 * Now with full error handling of tags and subtags.
484 * Now covering the entire GEDCOM spec, without error handling.