1 2003-01-26 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom/date.c (numbers_to_strings): Some checking of input.
5 * include/gedcom.h.in, gedcom/age.c, gedcom/date.c, gedcom/write.c:
6 Some const correctness fixes.
8 * gedcom/date.c (gedcom_parse_date): Put invalid date in phrase member.
10 2003-01-25 Peter Verthez <Peter.Verthez@advalvas.be>
12 * gedcom/gedcom.y: Make sure that a note record tag is never empty.
14 * gom/note_sub.c (sub_note_end): Bugfix in callback: parsed value can
17 * gedcom/gedcom.y: Bugfix in compatibility for address (ftree).
19 * gedcom/interface.c (gedcom_cast_error): Bugfix in error message.
21 * gom/gom.c: Second call of gom_parse_file or gom_new_model should
24 * gom/gom_modify.c (gom_set_string): Allow setting a string to NULL.
26 * gom/personal_name.c (write_names): Correction in containment of
29 * gedcom/encoding.c, gedcom/write.c, gedcom/encoding.state.c:
30 Implemented an encoding state.
32 * bin/gedcom-sanitize.c: Added program to convert to standard GEDCOM.
34 2003-01-24 Peter Verthez <Peter.Verthez@advalvas.be>
36 * gom/lds_event.c: Added some missing code for writing LSS events.
38 2003-01-23 Peter Verthez <Peter.Verthez@advalvas.be>
40 * gom/user_rec.c (write_user_data): Fixed a nasty corruption bug.
42 2003-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
44 * gedcom/gedcom_date.y: Cleaned up error handling on dates.
46 2003-01-18 Peter Verthez <Peter.Verthez@advalvas.be>
48 * gedcom/gedcom_date.y: Compatibility added for different format of
51 * gedcom/date.c: Pass date values via pointers instead of on stack.
53 2003-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
55 * gedcom/compat.c, gedcom/gedcom.y: Start with compatibility for PAF2.
57 2003-01-14 Peter Verthez <Peter.Verthez@advalvas.be>
59 * gedcom/compat.c: Reworked compatibility computation to take program
62 2003-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
64 * gom/gom_modify.c, gom/func_template.h, include/gom.h: Function to
67 * gom/*: Unlink xrefs properly when structs are deleted.
69 2003-01-11 Peter Verthez <Peter.Verthez@advalvas.be>
71 * gom/*, include/gom.h: Functions to add and remove xrefs in objects.
73 * gedcom/gedcom_1byte.lex (gedcom_check_token): Fix bug: line length
76 2003-01-04 Peter Verthez <Peter.Verthez@advalvas.be>
78 * gedcom/compat.c, gedcom/gedcom.y: Some compatibility with PAF added.
80 * gedcom/multilex.c (determine_encoding): Recognize the UTF-8 byte
83 * gom/change_date.c: Added functions to update timestamps in any
86 * gedcom/compat.*, gedcom.y, gedcom_lex_common.c: Better separation
87 of compatibility handling.
89 * t/compat-*: Tests for compatibility handling.
91 2003-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
93 * bin/gedcom-check.c: Added program to check validity of a GEDCOM file.
95 2003-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
97 * gom/*: Added functions to add and remove records.
99 2002-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
103 * gedcom/write.c: Give warning if character set in HEAD.CHAR is not
104 the same as current character set (and force value).
106 * gom/header.c, gom/gom_modify.c: Added function
107 gom_header_update_timestamp and supporting functions.
109 2002-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
111 * configure.in, include/gedcom.h.in: Move to three-part version
114 * m4/gedcom.m4: Major changes.
116 2002-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
118 * gedcom-config.in: New file.
120 2002-12-21 Peter Verthez <Peter.Verthez@advalvas.be>
122 * libutf8 is changed to a shared library, and has now its own
123 package (see further ChangeLog in that directory).
125 * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
128 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
130 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
131 writing age values and data values (rudimentary).
133 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
135 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
137 * gedcom/write.c: Writing long strings (with continuation), and
138 doubling of at characters.
140 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
141 storing gedcom value (to avoid fixed buffer size).
143 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
145 * gom/*: Use complete concatenated text instead of concatenating the
148 * gedcom/gedcom.y: Pass complete concatenated text in end callback
149 (this causes a backward incompatibility in the end record callback!)
151 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
153 * gedcom/write.c, gom/gom.c: Beginnings of write support.
155 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
157 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
158 from utf8/utf8-convert.c.
160 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
162 * utf8/utf8-convert.c: More general conversion interface (extracted
163 from utf8-locale.c and gedcom/encoding.c).
165 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
167 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
170 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
172 * gom/gom_modify.c: Check whether given strings are valid.
174 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
177 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
179 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
180 need of textdomain().
182 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
184 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
185 gedcom_init, make strdup of saved textdomain (to avoid corruption).
187 * all: Removed support for dmalloc (valgrind is much better and doesn't
188 require changing the sources).
190 * m4/gedcom.m4: Added m4 macro for configure.in support.
192 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
194 * gedcom/gedcom_*.lex: A pointer with only one character between the
195 at signs is also valid.
197 * gedcom/xref.c (is_valid_pointer): New function (also checks for
200 * include/gom.h: Added links to the definitions in the Gedcom standard.
202 * all: update of documentation
204 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
206 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
209 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
212 This is another test release
214 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
216 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
218 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
219 perl isn't needed at make-time).
221 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
222 conversion failure too.
224 * all: Further small portability fixes.
226 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
228 * t/output/*: Reference output for the tests; compare the actual test
229 output to these files.
231 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
233 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
236 * include/Makefile.am: Portability fix: grep isn't always understanding
239 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
242 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
244 * all: Further portability fixes to Makefile.am and such.
246 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
248 * */Makefile.am: Fixes for using included gettext.
250 * intl/Makefile.in: Hack for generating libtool convenience library
251 instead of shared library.
253 * README: Modify at dist instead of via configure.in (GNU make is used
256 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
257 as bind_textdomain_codeset).
259 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
261 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
263 * utf8/utf8-locale.c: Add forgotten header string.h
265 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
267 * Makefile: Require GNU make to be used -> normal makefile is then
268 GNUmakefile in top directory.
270 * README, doc/index.html: Generate from *.in via configure (for
273 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
274 nl_langinfo directly, for portability.
276 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
279 This is a test release
281 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
283 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
285 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
287 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
289 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
291 * all: Portability fixes and support for libiconv.
293 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
295 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
296 link/unlink and delete cross-references.
298 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
299 to check whether a (UTF-8) string is a valid token; bypass iconv
302 * gedcom/*: Fixed memory leaks reported by valgrind.
304 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
306 * t/standalone.c: Close outfile *after* the last output is done...
308 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
311 * gedcom/encoding.c: Clean up environment at exit.
313 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
315 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
317 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
319 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
321 * doc/make_gom_xref: Corrected 'Generated from' string.
323 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
327 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
328 Fixes for internationalization.
330 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
333 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
335 * gom/*: First check-in of gedcom object model.
337 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
339 * all: More thorough error checking on library calls.
341 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
343 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
345 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
346 xref_value is not known yet. Added function gedcom_get_by_xref.
348 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
350 * gedcom/interface.c: A little more checking (for duplicate
353 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
357 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
359 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
362 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
363 extra argument to callback functions: the record/element identifier.
365 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
367 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
368 functions to compat.c; let default charset depend on the program.
370 * t/test_script: Check for a core file.
374 * t/dates.test, t/encoding_error.test: New tests.
376 * t/utf8-locale.c: Remove conversion warning at compilation.
378 * t/test_script: Enhancements to use script outside 'make check'.
380 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
383 * t/Makefile.am: Added rule to be able to perform single tests.
385 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
386 characters in to_internal (to avoid crashes).
388 * Lots of files: Add compability for Lifelines.
390 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
391 gedcom/gedcom_date.lex:
392 Added rule that can help to avoid unnecessary recompilation of lex
393 files. It generates a new include file only when necessary: use this
396 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
398 * t/minimal.test: Added test on a minimal GEDCOM file.
400 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
404 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
406 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
408 * gedcom/gedcom.y: Graceful error handling on bogus input.
410 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
411 GCONV_PATH environment variable).
413 * Moved the test program to the t subdirectory.
415 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
417 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
418 to avoid problem with GCONV_PATH environment variable (see note in
421 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
423 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
424 compatibility handling for ftree.
426 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
430 * restructured the test setup
432 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
434 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
435 variables are substituted and the file gedcom.h is written
437 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
438 to return number of conversion failures.
440 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
442 * gedcom/xref.c: Make sure that the 'string' member of an xref always
443 contains a valid string.
445 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
448 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
449 in static storage, so must use strdup and free afterwards.
451 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
453 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
454 rest of the initialization, and let it be called before main (necessary
455 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
456 calls iconv_open very early).
458 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
459 context couldn't be opened, even if IGNORE_ERRORS.
461 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
462 the application had set it).
464 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
466 * utf8-locale.c: Example implementation for conversion UTF-8 to
469 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
471 * more documentation...
473 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
475 * doc/parser.html: Start of character set explanation.
477 * enhancements to Makefiles for documentation.
479 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
482 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
486 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
488 * encoding.c: Bugfixes in using the hash implementation of kazlib.
490 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
491 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
494 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
496 * gedcom.y: Bugfix for context handling of tags that are grouped in
499 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
500 have a value (e.g. the NOTE record), so extra value necessary on
501 start record callback.
503 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
506 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
508 * lots of files: Pass the parsed tag value (integer) together with
509 the string value in the callbacks. For this, a separate header is
510 auto-generated, containing the #defines from bison.
512 * t/test_script: Return exit code from testgedcom.
514 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
515 kazlib (see AUTHORS for pointer).
517 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
521 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
523 * all: Added some initial documentation.
525 * gedcom/gedcom.y: Completed the calling of callbacks.
527 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
529 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
530 put everything as a 'date phrase'.
532 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
534 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
536 * gedcom/calendar/*: Calendar routines by Scott E. Lee
538 * gedcom.y: Added some more callbacks (not complete yet)
540 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
542 * include/gedcom.h: Add some declarations so that the external header
543 can be used in C++ programs.
545 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
547 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
548 leave that to the applications.
550 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
553 Moved CVS repository to sourceforge.net (project gedcom-parse)
555 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
557 * all: Use of gettext.
559 * gedcom/Makefile.am: Support for the lexer test programs.
561 * all: Moved to LGPL license.
563 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
565 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
566 in the GCONV_PATH environment variable (for the ANSEL encoding).
570 * all: Full move to autoconf/automake.
572 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
574 * all: Further specification of interface: message handler.
575 Start of specification of callbacks.
577 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
579 * Uploaded release 0.9 to genes at SourceForge.
581 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
585 * gedcom.h, Makefile: Add dmalloc testability.
587 * all: Reset the state properly for parsing new files.
591 * encoding.c: Specify explicitly the output buffer for to_internal:
592 used to put pointers and tags in different output buffer.
594 * gedcom_lex_common.c: New file containing all lex actions (is common
595 for all lexers). Better checks for maximum lengths.
597 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
599 * gedcom_*.lex: Return level number together with OPEN token.
601 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
603 * gedcom.enc: Adapt default iconv encoding names (to also support
606 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
608 * all: added proper copyright notice (copyright to the Genes
612 Uploaded to genes at SourceForge.
614 * all: general cleanup, making sure everything is in CVS
616 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
620 * ANSEL decoding added.
622 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
626 * Now with encoding mapping via configuration file.
628 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
632 * Now with full unicode support.
634 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
638 * Compatibility mode implemented.
640 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
644 * Now with full error handling of tags and subtags.
648 * Now covering the entire GEDCOM spec, without error handling.