1 2002-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
5 * gedcom/write.c: Give warning if character set in HEAD.CHAR is not
6 the same as current character set (and force value).
8 * gom/header.c, gom/gom_modify.c: Added function
9 gom_header_update_timestamp and supporting functions.
11 2002-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
13 * configure.in, include/gedcom.h.in: Move to three-part version
16 * m4/gedcom.m4: Major changes.
18 2002-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
20 * gedcom-config.in: New file.
22 2002-12-21 Peter Verthez <Peter.Verthez@advalvas.be>
24 * libutf8 is changed to a shared library, and has now its own
25 package (see further ChangeLog in that directory).
27 * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
30 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
32 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
33 writing age values and data values (rudimentary).
35 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
37 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
39 * gedcom/write.c: Writing long strings (with continuation), and
40 doubling of at characters.
42 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
43 storing gedcom value (to avoid fixed buffer size).
45 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
47 * gom/*: Use complete concatenated text instead of concatenating the
50 * gedcom/gedcom.y: Pass complete concatenated text in end callback
51 (this causes a backward incompatibility in the end record callback!)
53 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
55 * gedcom/write.c, gom/gom.c: Beginnings of write support.
57 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
59 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
60 from utf8/utf8-convert.c.
62 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
64 * utf8/utf8-convert.c: More general conversion interface (extracted
65 from utf8-locale.c and gedcom/encoding.c).
67 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
69 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
72 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
74 * gom/gom_modify.c: Check whether given strings are valid.
76 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
79 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
81 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
84 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
86 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
87 gedcom_init, make strdup of saved textdomain (to avoid corruption).
89 * all: Removed support for dmalloc (valgrind is much better and doesn't
90 require changing the sources).
92 * m4/gedcom.m4: Added m4 macro for configure.in support.
94 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
96 * gedcom/gedcom_*.lex: A pointer with only one character between the
97 at signs is also valid.
99 * gedcom/xref.c (is_valid_pointer): New function (also checks for
102 * include/gom.h: Added links to the definitions in the Gedcom standard.
104 * all: update of documentation
106 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
108 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
111 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
114 This is another test release
116 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
118 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
120 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
121 perl isn't needed at make-time).
123 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
124 conversion failure too.
126 * all: Further small portability fixes.
128 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
130 * t/output/*: Reference output for the tests; compare the actual test
131 output to these files.
133 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
135 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
138 * include/Makefile.am: Portability fix: grep isn't always understanding
141 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
144 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
146 * all: Further portability fixes to Makefile.am and such.
148 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
150 * */Makefile.am: Fixes for using included gettext.
152 * intl/Makefile.in: Hack for generating libtool convenience library
153 instead of shared library.
155 * README: Modify at dist instead of via configure.in (GNU make is used
158 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
159 as bind_textdomain_codeset).
161 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
163 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
165 * utf8/utf8-locale.c: Add forgotten header string.h
167 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
169 * Makefile: Require GNU make to be used -> normal makefile is then
170 GNUmakefile in top directory.
172 * README, doc/index.html: Generate from *.in via configure (for
175 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
176 nl_langinfo directly, for portability.
178 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
181 This is a test release
183 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
185 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
187 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
189 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
191 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
193 * all: Portability fixes and support for libiconv.
195 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
197 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
198 link/unlink and delete cross-references.
200 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
201 to check whether a (UTF-8) string is a valid token; bypass iconv
204 * gedcom/*: Fixed memory leaks reported by valgrind.
206 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
208 * t/standalone.c: Close outfile *after* the last output is done...
210 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
213 * gedcom/encoding.c: Clean up environment at exit.
215 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
217 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
219 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
221 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
223 * doc/make_gom_xref: Corrected 'Generated from' string.
225 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
229 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
230 Fixes for internationalization.
232 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
235 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
237 * gom/*: First check-in of gedcom object model.
239 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
241 * all: More thorough error checking on library calls.
243 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
245 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
247 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
248 xref_value is not known yet. Added function gedcom_get_by_xref.
250 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
252 * gedcom/interface.c: A little more checking (for duplicate
255 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
259 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
261 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
264 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
265 extra argument to callback functions: the record/element identifier.
267 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
269 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
270 functions to compat.c; let default charset depend on the program.
272 * t/test_script: Check for a core file.
276 * t/dates.test, t/encoding_error.test: New tests.
278 * t/utf8-locale.c: Remove conversion warning at compilation.
280 * t/test_script: Enhancements to use script outside 'make check'.
282 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
285 * t/Makefile.am: Added rule to be able to perform single tests.
287 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
288 characters in to_internal (to avoid crashes).
290 * Lots of files: Add compability for Lifelines.
292 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
293 gedcom/gedcom_date.lex:
294 Added rule that can help to avoid unnecessary recompilation of lex
295 files. It generates a new include file only when necessary: use this
298 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
300 * t/minimal.test: Added test on a minimal GEDCOM file.
302 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
306 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
308 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
310 * gedcom/gedcom.y: Graceful error handling on bogus input.
312 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
313 GCONV_PATH environment variable).
315 * Moved the test program to the t subdirectory.
317 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
319 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
320 to avoid problem with GCONV_PATH environment variable (see note in
323 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
325 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
326 compatibility handling for ftree.
328 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
332 * restructured the test setup
334 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
336 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
337 variables are substituted and the file gedcom.h is written
339 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
340 to return number of conversion failures.
342 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
344 * gedcom/xref.c: Make sure that the 'string' member of an xref always
345 contains a valid string.
347 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
350 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
351 in static storage, so must use strdup and free afterwards.
353 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
355 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
356 rest of the initialization, and let it be called before main (necessary
357 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
358 calls iconv_open very early).
360 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
361 context couldn't be opened, even if IGNORE_ERRORS.
363 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
364 the application had set it).
366 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
368 * utf8-locale.c: Example implementation for conversion UTF-8 to
371 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
373 * more documentation...
375 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
377 * doc/parser.html: Start of character set explanation.
379 * enhancements to Makefiles for documentation.
381 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
384 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
388 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
390 * encoding.c: Bugfixes in using the hash implementation of kazlib.
392 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
393 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
396 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
398 * gedcom.y: Bugfix for context handling of tags that are grouped in
401 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
402 have a value (e.g. the NOTE record), so extra value necessary on
403 start record callback.
405 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
408 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
410 * lots of files: Pass the parsed tag value (integer) together with
411 the string value in the callbacks. For this, a separate header is
412 auto-generated, containing the #defines from bison.
414 * t/test_script: Return exit code from testgedcom.
416 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
417 kazlib (see AUTHORS for pointer).
419 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
423 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
425 * all: Added some initial documentation.
427 * gedcom/gedcom.y: Completed the calling of callbacks.
429 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
431 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
432 put everything as a 'date phrase'.
434 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
436 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
438 * gedcom/calendar/*: Calendar routines by Scott E. Lee
440 * gedcom.y: Added some more callbacks (not complete yet)
442 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
444 * include/gedcom.h: Add some declarations so that the external header
445 can be used in C++ programs.
447 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
449 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
450 leave that to the applications.
452 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
455 Moved CVS repository to sourceforge.net (project gedcom-parse)
457 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
459 * all: Use of gettext.
461 * gedcom/Makefile.am: Support for the lexer test programs.
463 * all: Moved to LGPL license.
465 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
467 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
468 in the GCONV_PATH environment variable (for the ANSEL encoding).
472 * all: Full move to autoconf/automake.
474 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
476 * all: Further specification of interface: message handler.
477 Start of specification of callbacks.
479 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
481 * Uploaded release 0.9 to genes at SourceForge.
483 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
487 * gedcom.h, Makefile: Add dmalloc testability.
489 * all: Reset the state properly for parsing new files.
493 * encoding.c: Specify explicitly the output buffer for to_internal:
494 used to put pointers and tags in different output buffer.
496 * gedcom_lex_common.c: New file containing all lex actions (is common
497 for all lexers). Better checks for maximum lengths.
499 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
501 * gedcom_*.lex: Return level number together with OPEN token.
503 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
505 * gedcom.enc: Adapt default iconv encoding names (to also support
508 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
510 * all: added proper copyright notice (copyright to the Genes
514 Uploaded to genes at SourceForge.
516 * all: general cleanup, making sure everything is in CVS
518 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
522 * ANSEL decoding added.
524 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
528 * Now with encoding mapping via configuration file.
530 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
534 * Now with full unicode support.
536 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
540 * Compatibility mode implemented.
542 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
546 * Now with full error handling of tags and subtags.
550 * Now covering the entire GEDCOM spec, without error handling.