1 2003-01-04 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom/compat.c, gedcom/gedcom.y: Some compatibility with PAF added.
5 * gedcom/multilex.c (determine_encoding): Recognize the UTF-8 byte
8 * gom/change_date.c: Added functions to update timestamps in any
11 * gedcom/compat.*, gedcom.y, gedcom_lex_common.c: Better separation
12 of compatibility handling.
14 * t/compat-*: Tests for compatibility handling.
16 2003-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
18 * bin/gedcom-check.c: Added program to check validity of a GEDCOM file.
20 2003-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
22 * gom/*: Added functions to add and remove records.
24 2002-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
28 * gedcom/write.c: Give warning if character set in HEAD.CHAR is not
29 the same as current character set (and force value).
31 * gom/header.c, gom/gom_modify.c: Added function
32 gom_header_update_timestamp and supporting functions.
34 2002-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
36 * configure.in, include/gedcom.h.in: Move to three-part version
39 * m4/gedcom.m4: Major changes.
41 2002-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
43 * gedcom-config.in: New file.
45 2002-12-21 Peter Verthez <Peter.Verthez@advalvas.be>
47 * libutf8 is changed to a shared library, and has now its own
48 package (see further ChangeLog in that directory).
50 * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
53 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
55 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
56 writing age values and data values (rudimentary).
58 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
60 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
62 * gedcom/write.c: Writing long strings (with continuation), and
63 doubling of at characters.
65 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
66 storing gedcom value (to avoid fixed buffer size).
68 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
70 * gom/*: Use complete concatenated text instead of concatenating the
73 * gedcom/gedcom.y: Pass complete concatenated text in end callback
74 (this causes a backward incompatibility in the end record callback!)
76 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
78 * gedcom/write.c, gom/gom.c: Beginnings of write support.
80 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
82 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
83 from utf8/utf8-convert.c.
85 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
87 * utf8/utf8-convert.c: More general conversion interface (extracted
88 from utf8-locale.c and gedcom/encoding.c).
90 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
92 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
95 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
97 * gom/gom_modify.c: Check whether given strings are valid.
99 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
102 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
104 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
105 need of textdomain().
107 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
109 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
110 gedcom_init, make strdup of saved textdomain (to avoid corruption).
112 * all: Removed support for dmalloc (valgrind is much better and doesn't
113 require changing the sources).
115 * m4/gedcom.m4: Added m4 macro for configure.in support.
117 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
119 * gedcom/gedcom_*.lex: A pointer with only one character between the
120 at signs is also valid.
122 * gedcom/xref.c (is_valid_pointer): New function (also checks for
125 * include/gom.h: Added links to the definitions in the Gedcom standard.
127 * all: update of documentation
129 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
131 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
134 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
137 This is another test release
139 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
141 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
143 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
144 perl isn't needed at make-time).
146 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
147 conversion failure too.
149 * all: Further small portability fixes.
151 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
153 * t/output/*: Reference output for the tests; compare the actual test
154 output to these files.
156 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
158 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
161 * include/Makefile.am: Portability fix: grep isn't always understanding
164 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
167 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
169 * all: Further portability fixes to Makefile.am and such.
171 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
173 * */Makefile.am: Fixes for using included gettext.
175 * intl/Makefile.in: Hack for generating libtool convenience library
176 instead of shared library.
178 * README: Modify at dist instead of via configure.in (GNU make is used
181 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
182 as bind_textdomain_codeset).
184 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
186 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
188 * utf8/utf8-locale.c: Add forgotten header string.h
190 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
192 * Makefile: Require GNU make to be used -> normal makefile is then
193 GNUmakefile in top directory.
195 * README, doc/index.html: Generate from *.in via configure (for
198 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
199 nl_langinfo directly, for portability.
201 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
204 This is a test release
206 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
208 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
210 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
212 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
214 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
216 * all: Portability fixes and support for libiconv.
218 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
220 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
221 link/unlink and delete cross-references.
223 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
224 to check whether a (UTF-8) string is a valid token; bypass iconv
227 * gedcom/*: Fixed memory leaks reported by valgrind.
229 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
231 * t/standalone.c: Close outfile *after* the last output is done...
233 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
236 * gedcom/encoding.c: Clean up environment at exit.
238 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
240 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
242 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
244 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
246 * doc/make_gom_xref: Corrected 'Generated from' string.
248 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
252 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
253 Fixes for internationalization.
255 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
258 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
260 * gom/*: First check-in of gedcom object model.
262 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
264 * all: More thorough error checking on library calls.
266 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
268 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
270 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
271 xref_value is not known yet. Added function gedcom_get_by_xref.
273 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
275 * gedcom/interface.c: A little more checking (for duplicate
278 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
282 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
284 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
287 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
288 extra argument to callback functions: the record/element identifier.
290 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
292 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
293 functions to compat.c; let default charset depend on the program.
295 * t/test_script: Check for a core file.
299 * t/dates.test, t/encoding_error.test: New tests.
301 * t/utf8-locale.c: Remove conversion warning at compilation.
303 * t/test_script: Enhancements to use script outside 'make check'.
305 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
308 * t/Makefile.am: Added rule to be able to perform single tests.
310 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
311 characters in to_internal (to avoid crashes).
313 * Lots of files: Add compability for Lifelines.
315 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
316 gedcom/gedcom_date.lex:
317 Added rule that can help to avoid unnecessary recompilation of lex
318 files. It generates a new include file only when necessary: use this
321 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
323 * t/minimal.test: Added test on a minimal GEDCOM file.
325 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
329 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
331 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
333 * gedcom/gedcom.y: Graceful error handling on bogus input.
335 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
336 GCONV_PATH environment variable).
338 * Moved the test program to the t subdirectory.
340 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
342 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
343 to avoid problem with GCONV_PATH environment variable (see note in
346 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
348 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
349 compatibility handling for ftree.
351 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
355 * restructured the test setup
357 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
359 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
360 variables are substituted and the file gedcom.h is written
362 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
363 to return number of conversion failures.
365 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
367 * gedcom/xref.c: Make sure that the 'string' member of an xref always
368 contains a valid string.
370 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
373 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
374 in static storage, so must use strdup and free afterwards.
376 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
378 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
379 rest of the initialization, and let it be called before main (necessary
380 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
381 calls iconv_open very early).
383 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
384 context couldn't be opened, even if IGNORE_ERRORS.
386 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
387 the application had set it).
389 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
391 * utf8-locale.c: Example implementation for conversion UTF-8 to
394 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
396 * more documentation...
398 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
400 * doc/parser.html: Start of character set explanation.
402 * enhancements to Makefiles for documentation.
404 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
407 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
411 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
413 * encoding.c: Bugfixes in using the hash implementation of kazlib.
415 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
416 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
419 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
421 * gedcom.y: Bugfix for context handling of tags that are grouped in
424 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
425 have a value (e.g. the NOTE record), so extra value necessary on
426 start record callback.
428 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
431 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
433 * lots of files: Pass the parsed tag value (integer) together with
434 the string value in the callbacks. For this, a separate header is
435 auto-generated, containing the #defines from bison.
437 * t/test_script: Return exit code from testgedcom.
439 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
440 kazlib (see AUTHORS for pointer).
442 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
446 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
448 * all: Added some initial documentation.
450 * gedcom/gedcom.y: Completed the calling of callbacks.
452 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
454 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
455 put everything as a 'date phrase'.
457 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
459 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
461 * gedcom/calendar/*: Calendar routines by Scott E. Lee
463 * gedcom.y: Added some more callbacks (not complete yet)
465 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
467 * include/gedcom.h: Add some declarations so that the external header
468 can be used in C++ programs.
470 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
472 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
473 leave that to the applications.
475 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
478 Moved CVS repository to sourceforge.net (project gedcom-parse)
480 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
482 * all: Use of gettext.
484 * gedcom/Makefile.am: Support for the lexer test programs.
486 * all: Moved to LGPL license.
488 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
490 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
491 in the GCONV_PATH environment variable (for the ANSEL encoding).
495 * all: Full move to autoconf/automake.
497 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
499 * all: Further specification of interface: message handler.
500 Start of specification of callbacks.
502 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
504 * Uploaded release 0.9 to genes at SourceForge.
506 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
510 * gedcom.h, Makefile: Add dmalloc testability.
512 * all: Reset the state properly for parsing new files.
516 * encoding.c: Specify explicitly the output buffer for to_internal:
517 used to put pointers and tags in different output buffer.
519 * gedcom_lex_common.c: New file containing all lex actions (is common
520 for all lexers). Better checks for maximum lengths.
522 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
524 * gedcom_*.lex: Return level number together with OPEN token.
526 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
528 * gedcom.enc: Adapt default iconv encoding names (to also support
531 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
533 * all: added proper copyright notice (copyright to the Genes
537 Uploaded to genes at SourceForge.
539 * all: general cleanup, making sure everything is in CVS
541 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
545 * ANSEL decoding added.
547 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
551 * Now with encoding mapping via configuration file.
553 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
557 * Now with full unicode support.
559 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
563 * Compatibility mode implemented.
565 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
569 * Now with full error handling of tags and subtags.
573 * Now covering the entire GEDCOM spec, without error handling.