1 2003-02-05 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom/date.c (gedcom_parse_date): Keep parsed values in date if
4 parse was OK, but didn't result in a valid date.
6 2003-02-02 Peter Verthez <Peter.Verthez@advalvas.be>
10 2003-02-01 Peter Verthez <Peter.Verthez@advalvas.be>
12 * gedcom/compat.c, gedcom/gedcom.y, gedcom/gedcom_lex_common.c:
13 More EasyTree compatibility.
15 * gom/gom.c, gom/gom_internal.h: Better warning messages for context
18 * gedcom/compat.c, gedcom/gedcom.y, gedcom/gedcom_lex_common.c:
19 Added compatibility for PAF 4.
21 * include/gedcom.h.in, gedcom/compat.c: New function
22 gedcom_set_compat_options.
24 2003-01-26 Peter Verthez <Peter.Verthez@advalvas.be>
26 * gedcom/compat.c: Added compatibility for Family Origins.
28 * gedcom/gedcom.y: Allow empty CONT tags.
30 * include/gom.h, gom/*.c: Added functions to add, remove and move
33 * gedcom/date.c (numbers_to_strings): Some checking of input.
35 * include/gedcom.h.in, gedcom/age.c, gedcom/date.c, gedcom/write.c:
36 Some const correctness fixes.
38 * gedcom/date.c (gedcom_parse_date): Put invalid date in phrase member.
40 2003-01-25 Peter Verthez <Peter.Verthez@advalvas.be>
42 * gedcom/gedcom.y: Make sure that a note record tag is never empty.
44 * gom/note_sub.c (sub_note_end): Bugfix in callback: parsed value can
47 * gedcom/gedcom.y: Bugfix in compatibility for address (ftree).
49 * gedcom/interface.c (gedcom_cast_error): Bugfix in error message.
51 * gom/gom.c: Second call of gom_parse_file or gom_new_model should
54 * gom/gom_modify.c (gom_set_string): Allow setting a string to NULL.
56 * gom/personal_name.c (write_names): Correction in containment of
59 * gedcom/encoding.c, gedcom/write.c, gedcom/encoding.state.c:
60 Implemented an encoding state.
62 * bin/gedcom-sanitize.c: Added program to convert to standard GEDCOM.
64 2003-01-24 Peter Verthez <Peter.Verthez@advalvas.be>
66 * gom/lds_event.c: Added some missing code for writing LSS events.
68 2003-01-23 Peter Verthez <Peter.Verthez@advalvas.be>
70 * gom/user_rec.c (write_user_data): Fixed a nasty corruption bug.
72 2003-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
74 * gedcom/gedcom_date.y: Cleaned up error handling on dates.
76 2003-01-18 Peter Verthez <Peter.Verthez@advalvas.be>
78 * gedcom/gedcom_date.y: Compatibility added for different format of
81 * gedcom/date.c: Pass date values via pointers instead of on stack.
83 2003-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
85 * gedcom/compat.c, gedcom/gedcom.y: Start with compatibility for PAF2.
87 2003-01-14 Peter Verthez <Peter.Verthez@advalvas.be>
89 * gedcom/compat.c: Reworked compatibility computation to take program
92 2003-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
94 * gom/gom_modify.c, gom/func_template.h, include/gom.h: Function to
97 * gom/*: Unlink xrefs properly when structs are deleted.
99 2003-01-11 Peter Verthez <Peter.Verthez@advalvas.be>
101 * gom/*, include/gom.h: Functions to add and remove xrefs in objects.
103 * gedcom/gedcom_1byte.lex (gedcom_check_token): Fix bug: line length
104 should be reset to 0.
106 2003-01-04 Peter Verthez <Peter.Verthez@advalvas.be>
108 * gedcom/compat.c, gedcom/gedcom.y: Some compatibility with PAF added.
110 * gedcom/multilex.c (determine_encoding): Recognize the UTF-8 byte
113 * gom/change_date.c: Added functions to update timestamps in any
116 * gedcom/compat.*, gedcom.y, gedcom_lex_common.c: Better separation
117 of compatibility handling.
119 * t/compat-*: Tests for compatibility handling.
121 2003-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
123 * bin/gedcom-check.c: Added program to check validity of a GEDCOM file.
125 2003-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
127 * gom/*: Added functions to add and remove records.
129 2002-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
133 * gedcom/write.c: Give warning if character set in HEAD.CHAR is not
134 the same as current character set (and force value).
136 * gom/header.c, gom/gom_modify.c: Added function
137 gom_header_update_timestamp and supporting functions.
139 2002-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
141 * configure.in, include/gedcom.h.in: Move to three-part version
144 * m4/gedcom.m4: Major changes.
146 2002-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
148 * gedcom-config.in: New file.
150 2002-12-21 Peter Verthez <Peter.Verthez@advalvas.be>
152 * libutf8 is changed to a shared library, and has now its own
153 package (see further ChangeLog in that directory).
155 * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
158 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
160 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
161 writing age values and data values (rudimentary).
163 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
165 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
167 * gedcom/write.c: Writing long strings (with continuation), and
168 doubling of at characters.
170 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
171 storing gedcom value (to avoid fixed buffer size).
173 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
175 * gom/*: Use complete concatenated text instead of concatenating the
178 * gedcom/gedcom.y: Pass complete concatenated text in end callback
179 (this causes a backward incompatibility in the end record callback!)
181 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
183 * gedcom/write.c, gom/gom.c: Beginnings of write support.
185 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
187 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
188 from utf8/utf8-convert.c.
190 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
192 * utf8/utf8-convert.c: More general conversion interface (extracted
193 from utf8-locale.c and gedcom/encoding.c).
195 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
197 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
200 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
202 * gom/gom_modify.c: Check whether given strings are valid.
204 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
207 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
209 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
210 need of textdomain().
212 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
214 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
215 gedcom_init, make strdup of saved textdomain (to avoid corruption).
217 * all: Removed support for dmalloc (valgrind is much better and doesn't
218 require changing the sources).
220 * m4/gedcom.m4: Added m4 macro for configure.in support.
222 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
224 * gedcom/gedcom_*.lex: A pointer with only one character between the
225 at signs is also valid.
227 * gedcom/xref.c (is_valid_pointer): New function (also checks for
230 * include/gom.h: Added links to the definitions in the Gedcom standard.
232 * all: update of documentation
234 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
236 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
239 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
242 This is another test release
244 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
246 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
248 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
249 perl isn't needed at make-time).
251 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
252 conversion failure too.
254 * all: Further small portability fixes.
256 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
258 * t/output/*: Reference output for the tests; compare the actual test
259 output to these files.
261 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
263 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
266 * include/Makefile.am: Portability fix: grep isn't always understanding
269 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
272 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
274 * all: Further portability fixes to Makefile.am and such.
276 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
278 * */Makefile.am: Fixes for using included gettext.
280 * intl/Makefile.in: Hack for generating libtool convenience library
281 instead of shared library.
283 * README: Modify at dist instead of via configure.in (GNU make is used
286 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
287 as bind_textdomain_codeset).
289 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
291 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
293 * utf8/utf8-locale.c: Add forgotten header string.h
295 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
297 * Makefile: Require GNU make to be used -> normal makefile is then
298 GNUmakefile in top directory.
300 * README, doc/index.html: Generate from *.in via configure (for
303 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
304 nl_langinfo directly, for portability.
306 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
309 This is a test release
311 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
313 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
315 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
317 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
319 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
321 * all: Portability fixes and support for libiconv.
323 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
325 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
326 link/unlink and delete cross-references.
328 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
329 to check whether a (UTF-8) string is a valid token; bypass iconv
332 * gedcom/*: Fixed memory leaks reported by valgrind.
334 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
336 * t/standalone.c: Close outfile *after* the last output is done...
338 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
341 * gedcom/encoding.c: Clean up environment at exit.
343 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
345 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
347 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
349 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
351 * doc/make_gom_xref: Corrected 'Generated from' string.
353 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
357 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
358 Fixes for internationalization.
360 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
363 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
365 * gom/*: First check-in of gedcom object model.
367 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
369 * all: More thorough error checking on library calls.
371 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
373 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
375 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
376 xref_value is not known yet. Added function gedcom_get_by_xref.
378 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
380 * gedcom/interface.c: A little more checking (for duplicate
383 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
387 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
389 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
392 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
393 extra argument to callback functions: the record/element identifier.
395 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
397 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
398 functions to compat.c; let default charset depend on the program.
400 * t/test_script: Check for a core file.
404 * t/dates.test, t/encoding_error.test: New tests.
406 * t/utf8-locale.c: Remove conversion warning at compilation.
408 * t/test_script: Enhancements to use script outside 'make check'.
410 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
413 * t/Makefile.am: Added rule to be able to perform single tests.
415 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
416 characters in to_internal (to avoid crashes).
418 * Lots of files: Add compability for Lifelines.
420 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
421 gedcom/gedcom_date.lex:
422 Added rule that can help to avoid unnecessary recompilation of lex
423 files. It generates a new include file only when necessary: use this
426 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
428 * t/minimal.test: Added test on a minimal GEDCOM file.
430 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
434 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
436 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
438 * gedcom/gedcom.y: Graceful error handling on bogus input.
440 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
441 GCONV_PATH environment variable).
443 * Moved the test program to the t subdirectory.
445 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
447 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
448 to avoid problem with GCONV_PATH environment variable (see note in
451 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
453 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
454 compatibility handling for ftree.
456 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
460 * restructured the test setup
462 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
464 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
465 variables are substituted and the file gedcom.h is written
467 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
468 to return number of conversion failures.
470 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
472 * gedcom/xref.c: Make sure that the 'string' member of an xref always
473 contains a valid string.
475 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
478 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
479 in static storage, so must use strdup and free afterwards.
481 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
483 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
484 rest of the initialization, and let it be called before main (necessary
485 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
486 calls iconv_open very early).
488 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
489 context couldn't be opened, even if IGNORE_ERRORS.
491 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
492 the application had set it).
494 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
496 * utf8-locale.c: Example implementation for conversion UTF-8 to
499 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
501 * more documentation...
503 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
505 * doc/parser.html: Start of character set explanation.
507 * enhancements to Makefiles for documentation.
509 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
512 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
516 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
518 * encoding.c: Bugfixes in using the hash implementation of kazlib.
520 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
521 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
524 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
526 * gedcom.y: Bugfix for context handling of tags that are grouped in
529 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
530 have a value (e.g. the NOTE record), so extra value necessary on
531 start record callback.
533 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
536 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
538 * lots of files: Pass the parsed tag value (integer) together with
539 the string value in the callbacks. For this, a separate header is
540 auto-generated, containing the #defines from bison.
542 * t/test_script: Return exit code from testgedcom.
544 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
545 kazlib (see AUTHORS for pointer).
547 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
551 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
553 * all: Added some initial documentation.
555 * gedcom/gedcom.y: Completed the calling of callbacks.
557 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
559 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
560 put everything as a 'date phrase'.
562 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
564 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
566 * gedcom/calendar/*: Calendar routines by Scott E. Lee
568 * gedcom.y: Added some more callbacks (not complete yet)
570 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
572 * include/gedcom.h: Add some declarations so that the external header
573 can be used in C++ programs.
575 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
577 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
578 leave that to the applications.
580 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
583 Moved CVS repository to sourceforge.net (project gedcom-parse)
585 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
587 * all: Use of gettext.
589 * gedcom/Makefile.am: Support for the lexer test programs.
591 * all: Moved to LGPL license.
593 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
595 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
596 in the GCONV_PATH environment variable (for the ANSEL encoding).
600 * all: Full move to autoconf/automake.
602 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
604 * all: Further specification of interface: message handler.
605 Start of specification of callbacks.
607 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
609 * Uploaded release 0.9 to genes at SourceForge.
611 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
615 * gedcom.h, Makefile: Add dmalloc testability.
617 * all: Reset the state properly for parsing new files.
621 * encoding.c: Specify explicitly the output buffer for to_internal:
622 used to put pointers and tags in different output buffer.
624 * gedcom_lex_common.c: New file containing all lex actions (is common
625 for all lexers). Better checks for maximum lengths.
627 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
629 * gedcom_*.lex: Return level number together with OPEN token.
631 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
633 * gedcom.enc: Adapt default iconv encoding names (to also support
636 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
638 * all: added proper copyright notice (copyright to the Genes
642 Uploaded to genes at SourceForge.
644 * all: general cleanup, making sure everything is in CVS
646 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
650 * ANSEL decoding added.
652 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
656 * Now with encoding mapping via configuration file.
658 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
662 * Now with full unicode support.
664 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
668 * Compatibility mode implemented.
670 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
674 * Now with full error handling of tags and subtags.
678 * Now covering the entire GEDCOM spec, without error handling.