1 2003-02-02 Peter Verthez <Peter.Verthez@advalvas.be>
5 2003-02-01 Peter Verthez <Peter.Verthez@advalvas.be>
7 * gedcom/compat.c, gedcom/gedcom.y, gedcom/gedcom_lex_common.c:
8 More EasyTree compatibility.
10 * gom/gom.c, gom/gom_internal.h: Better warning messages for context
13 * gedcom/compat.c, gedcom/gedcom.y, gedcom/gedcom_lex_common.c:
14 Added compatibility for PAF 4.
16 * include/gedcom.h.in, gedcom/compat.c: New function
17 gedcom_set_compat_options.
19 2003-01-26 Peter Verthez <Peter.Verthez@advalvas.be>
21 * gedcom/compat.c: Added compatibility for Family Origins.
23 * gedcom/gedcom.y: Allow empty CONT tags.
25 * include/gom.h, gom/*.c: Added functions to add, remove and move
28 * gedcom/date.c (numbers_to_strings): Some checking of input.
30 * include/gedcom.h.in, gedcom/age.c, gedcom/date.c, gedcom/write.c:
31 Some const correctness fixes.
33 * gedcom/date.c (gedcom_parse_date): Put invalid date in phrase member.
35 2003-01-25 Peter Verthez <Peter.Verthez@advalvas.be>
37 * gedcom/gedcom.y: Make sure that a note record tag is never empty.
39 * gom/note_sub.c (sub_note_end): Bugfix in callback: parsed value can
42 * gedcom/gedcom.y: Bugfix in compatibility for address (ftree).
44 * gedcom/interface.c (gedcom_cast_error): Bugfix in error message.
46 * gom/gom.c: Second call of gom_parse_file or gom_new_model should
49 * gom/gom_modify.c (gom_set_string): Allow setting a string to NULL.
51 * gom/personal_name.c (write_names): Correction in containment of
54 * gedcom/encoding.c, gedcom/write.c, gedcom/encoding.state.c:
55 Implemented an encoding state.
57 * bin/gedcom-sanitize.c: Added program to convert to standard GEDCOM.
59 2003-01-24 Peter Verthez <Peter.Verthez@advalvas.be>
61 * gom/lds_event.c: Added some missing code for writing LSS events.
63 2003-01-23 Peter Verthez <Peter.Verthez@advalvas.be>
65 * gom/user_rec.c (write_user_data): Fixed a nasty corruption bug.
67 2003-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
69 * gedcom/gedcom_date.y: Cleaned up error handling on dates.
71 2003-01-18 Peter Verthez <Peter.Verthez@advalvas.be>
73 * gedcom/gedcom_date.y: Compatibility added for different format of
76 * gedcom/date.c: Pass date values via pointers instead of on stack.
78 2003-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
80 * gedcom/compat.c, gedcom/gedcom.y: Start with compatibility for PAF2.
82 2003-01-14 Peter Verthez <Peter.Verthez@advalvas.be>
84 * gedcom/compat.c: Reworked compatibility computation to take program
87 2003-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
89 * gom/gom_modify.c, gom/func_template.h, include/gom.h: Function to
92 * gom/*: Unlink xrefs properly when structs are deleted.
94 2003-01-11 Peter Verthez <Peter.Verthez@advalvas.be>
96 * gom/*, include/gom.h: Functions to add and remove xrefs in objects.
98 * gedcom/gedcom_1byte.lex (gedcom_check_token): Fix bug: line length
101 2003-01-04 Peter Verthez <Peter.Verthez@advalvas.be>
103 * gedcom/compat.c, gedcom/gedcom.y: Some compatibility with PAF added.
105 * gedcom/multilex.c (determine_encoding): Recognize the UTF-8 byte
108 * gom/change_date.c: Added functions to update timestamps in any
111 * gedcom/compat.*, gedcom.y, gedcom_lex_common.c: Better separation
112 of compatibility handling.
114 * t/compat-*: Tests for compatibility handling.
116 2003-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
118 * bin/gedcom-check.c: Added program to check validity of a GEDCOM file.
120 2003-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
122 * gom/*: Added functions to add and remove records.
124 2002-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
128 * gedcom/write.c: Give warning if character set in HEAD.CHAR is not
129 the same as current character set (and force value).
131 * gom/header.c, gom/gom_modify.c: Added function
132 gom_header_update_timestamp and supporting functions.
134 2002-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
136 * configure.in, include/gedcom.h.in: Move to three-part version
139 * m4/gedcom.m4: Major changes.
141 2002-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
143 * gedcom-config.in: New file.
145 2002-12-21 Peter Verthez <Peter.Verthez@advalvas.be>
147 * libutf8 is changed to a shared library, and has now its own
148 package (see further ChangeLog in that directory).
150 * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
153 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
155 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
156 writing age values and data values (rudimentary).
158 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
160 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
162 * gedcom/write.c: Writing long strings (with continuation), and
163 doubling of at characters.
165 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
166 storing gedcom value (to avoid fixed buffer size).
168 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
170 * gom/*: Use complete concatenated text instead of concatenating the
173 * gedcom/gedcom.y: Pass complete concatenated text in end callback
174 (this causes a backward incompatibility in the end record callback!)
176 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
178 * gedcom/write.c, gom/gom.c: Beginnings of write support.
180 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
182 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
183 from utf8/utf8-convert.c.
185 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
187 * utf8/utf8-convert.c: More general conversion interface (extracted
188 from utf8-locale.c and gedcom/encoding.c).
190 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
192 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
195 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
197 * gom/gom_modify.c: Check whether given strings are valid.
199 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
202 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
204 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
205 need of textdomain().
207 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
209 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
210 gedcom_init, make strdup of saved textdomain (to avoid corruption).
212 * all: Removed support for dmalloc (valgrind is much better and doesn't
213 require changing the sources).
215 * m4/gedcom.m4: Added m4 macro for configure.in support.
217 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
219 * gedcom/gedcom_*.lex: A pointer with only one character between the
220 at signs is also valid.
222 * gedcom/xref.c (is_valid_pointer): New function (also checks for
225 * include/gom.h: Added links to the definitions in the Gedcom standard.
227 * all: update of documentation
229 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
231 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
234 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
237 This is another test release
239 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
241 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
243 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
244 perl isn't needed at make-time).
246 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
247 conversion failure too.
249 * all: Further small portability fixes.
251 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
253 * t/output/*: Reference output for the tests; compare the actual test
254 output to these files.
256 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
258 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
261 * include/Makefile.am: Portability fix: grep isn't always understanding
264 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
267 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
269 * all: Further portability fixes to Makefile.am and such.
271 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
273 * */Makefile.am: Fixes for using included gettext.
275 * intl/Makefile.in: Hack for generating libtool convenience library
276 instead of shared library.
278 * README: Modify at dist instead of via configure.in (GNU make is used
281 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
282 as bind_textdomain_codeset).
284 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
286 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
288 * utf8/utf8-locale.c: Add forgotten header string.h
290 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
292 * Makefile: Require GNU make to be used -> normal makefile is then
293 GNUmakefile in top directory.
295 * README, doc/index.html: Generate from *.in via configure (for
298 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
299 nl_langinfo directly, for portability.
301 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
304 This is a test release
306 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
308 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
310 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
312 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
314 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
316 * all: Portability fixes and support for libiconv.
318 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
320 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
321 link/unlink and delete cross-references.
323 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
324 to check whether a (UTF-8) string is a valid token; bypass iconv
327 * gedcom/*: Fixed memory leaks reported by valgrind.
329 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
331 * t/standalone.c: Close outfile *after* the last output is done...
333 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
336 * gedcom/encoding.c: Clean up environment at exit.
338 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
340 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
342 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
344 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
346 * doc/make_gom_xref: Corrected 'Generated from' string.
348 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
352 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
353 Fixes for internationalization.
355 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
358 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
360 * gom/*: First check-in of gedcom object model.
362 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
364 * all: More thorough error checking on library calls.
366 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
368 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
370 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
371 xref_value is not known yet. Added function gedcom_get_by_xref.
373 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
375 * gedcom/interface.c: A little more checking (for duplicate
378 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
382 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
384 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
387 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
388 extra argument to callback functions: the record/element identifier.
390 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
392 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
393 functions to compat.c; let default charset depend on the program.
395 * t/test_script: Check for a core file.
399 * t/dates.test, t/encoding_error.test: New tests.
401 * t/utf8-locale.c: Remove conversion warning at compilation.
403 * t/test_script: Enhancements to use script outside 'make check'.
405 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
408 * t/Makefile.am: Added rule to be able to perform single tests.
410 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
411 characters in to_internal (to avoid crashes).
413 * Lots of files: Add compability for Lifelines.
415 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
416 gedcom/gedcom_date.lex:
417 Added rule that can help to avoid unnecessary recompilation of lex
418 files. It generates a new include file only when necessary: use this
421 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
423 * t/minimal.test: Added test on a minimal GEDCOM file.
425 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
429 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
431 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
433 * gedcom/gedcom.y: Graceful error handling on bogus input.
435 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
436 GCONV_PATH environment variable).
438 * Moved the test program to the t subdirectory.
440 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
442 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
443 to avoid problem with GCONV_PATH environment variable (see note in
446 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
448 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
449 compatibility handling for ftree.
451 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
455 * restructured the test setup
457 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
459 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
460 variables are substituted and the file gedcom.h is written
462 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
463 to return number of conversion failures.
465 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
467 * gedcom/xref.c: Make sure that the 'string' member of an xref always
468 contains a valid string.
470 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
473 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
474 in static storage, so must use strdup and free afterwards.
476 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
478 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
479 rest of the initialization, and let it be called before main (necessary
480 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
481 calls iconv_open very early).
483 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
484 context couldn't be opened, even if IGNORE_ERRORS.
486 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
487 the application had set it).
489 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
491 * utf8-locale.c: Example implementation for conversion UTF-8 to
494 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
496 * more documentation...
498 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
500 * doc/parser.html: Start of character set explanation.
502 * enhancements to Makefiles for documentation.
504 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
507 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
511 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
513 * encoding.c: Bugfixes in using the hash implementation of kazlib.
515 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
516 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
519 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
521 * gedcom.y: Bugfix for context handling of tags that are grouped in
524 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
525 have a value (e.g. the NOTE record), so extra value necessary on
526 start record callback.
528 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
531 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
533 * lots of files: Pass the parsed tag value (integer) together with
534 the string value in the callbacks. For this, a separate header is
535 auto-generated, containing the #defines from bison.
537 * t/test_script: Return exit code from testgedcom.
539 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
540 kazlib (see AUTHORS for pointer).
542 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
546 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
548 * all: Added some initial documentation.
550 * gedcom/gedcom.y: Completed the calling of callbacks.
552 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
554 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
555 put everything as a 'date phrase'.
557 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
559 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
561 * gedcom/calendar/*: Calendar routines by Scott E. Lee
563 * gedcom.y: Added some more callbacks (not complete yet)
565 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
567 * include/gedcom.h: Add some declarations so that the external header
568 can be used in C++ programs.
570 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
572 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
573 leave that to the applications.
575 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
578 Moved CVS repository to sourceforge.net (project gedcom-parse)
580 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
582 * all: Use of gettext.
584 * gedcom/Makefile.am: Support for the lexer test programs.
586 * all: Moved to LGPL license.
588 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
590 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
591 in the GCONV_PATH environment variable (for the ANSEL encoding).
595 * all: Full move to autoconf/automake.
597 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
599 * all: Further specification of interface: message handler.
600 Start of specification of callbacks.
602 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
604 * Uploaded release 0.9 to genes at SourceForge.
606 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
610 * gedcom.h, Makefile: Add dmalloc testability.
612 * all: Reset the state properly for parsing new files.
616 * encoding.c: Specify explicitly the output buffer for to_internal:
617 used to put pointers and tags in different output buffer.
619 * gedcom_lex_common.c: New file containing all lex actions (is common
620 for all lexers). Better checks for maximum lengths.
622 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
624 * gedcom_*.lex: Return level number together with OPEN token.
626 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
628 * gedcom.enc: Adapt default iconv encoding names (to also support
631 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
633 * all: added proper copyright notice (copyright to the Genes
637 Uploaded to genes at SourceForge.
639 * all: general cleanup, making sure everything is in CVS
641 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
645 * ANSEL decoding added.
647 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
651 * Now with encoding mapping via configuration file.
653 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
657 * Now with full unicode support.
659 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
663 * Compatibility mode implemented.
665 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
669 * Now with full error handling of tags and subtags.
673 * Now covering the entire GEDCOM spec, without error handling.