1 2002-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom-config.in: New file.
5 2002-12-21 Peter Verthez <Peter.Verthez@advalvas.be>
7 * libutf8 is changed to a shared library, and has now its own
8 package (see further ChangeLog in that directory).
10 * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
13 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
15 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
16 writing age values and data values (rudimentary).
18 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
20 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
22 * gedcom/write.c: Writing long strings (with continuation), and
23 doubling of at characters.
25 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
26 storing gedcom value (to avoid fixed buffer size).
28 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
30 * gom/*: Use complete concatenated text instead of concatenating the
33 * gedcom/gedcom.y: Pass complete concatenated text in end callback
34 (this causes a backward incompatibility in the end record callback!)
36 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
38 * gedcom/write.c, gom/gom.c: Beginnings of write support.
40 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
42 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
43 from utf8/utf8-convert.c.
45 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
47 * utf8/utf8-convert.c: More general conversion interface (extracted
48 from utf8-locale.c and gedcom/encoding.c).
50 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
52 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
55 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
57 * gom/gom_modify.c: Check whether given strings are valid.
59 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
62 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
64 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
67 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
69 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
70 gedcom_init, make strdup of saved textdomain (to avoid corruption).
72 * all: Removed support for dmalloc (valgrind is much better and doesn't
73 require changing the sources).
75 * m4/gedcom.m4: Added m4 macro for configure.in support.
77 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
79 * gedcom/gedcom_*.lex: A pointer with only one character between the
80 at signs is also valid.
82 * gedcom/xref.c (is_valid_pointer): New function (also checks for
85 * include/gom.h: Added links to the definitions in the Gedcom standard.
87 * all: update of documentation
89 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
91 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
94 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
97 This is another test release
99 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
101 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
103 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
104 perl isn't needed at make-time).
106 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
107 conversion failure too.
109 * all: Further small portability fixes.
111 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
113 * t/output/*: Reference output for the tests; compare the actual test
114 output to these files.
116 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
118 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
121 * include/Makefile.am: Portability fix: grep isn't always understanding
124 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
127 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
129 * all: Further portability fixes to Makefile.am and such.
131 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
133 * */Makefile.am: Fixes for using included gettext.
135 * intl/Makefile.in: Hack for generating libtool convenience library
136 instead of shared library.
138 * README: Modify at dist instead of via configure.in (GNU make is used
141 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
142 as bind_textdomain_codeset).
144 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
146 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
148 * utf8/utf8-locale.c: Add forgotten header string.h
150 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
152 * Makefile: Require GNU make to be used -> normal makefile is then
153 GNUmakefile in top directory.
155 * README, doc/index.html: Generate from *.in via configure (for
158 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
159 nl_langinfo directly, for portability.
161 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
164 This is a test release
166 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
168 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
170 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
172 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
174 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
176 * all: Portability fixes and support for libiconv.
178 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
180 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
181 link/unlink and delete cross-references.
183 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
184 to check whether a (UTF-8) string is a valid token; bypass iconv
187 * gedcom/*: Fixed memory leaks reported by valgrind.
189 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
191 * t/standalone.c: Close outfile *after* the last output is done...
193 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
196 * gedcom/encoding.c: Clean up environment at exit.
198 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
200 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
202 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
204 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
206 * doc/make_gom_xref: Corrected 'Generated from' string.
208 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
212 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
213 Fixes for internationalization.
215 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
218 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
220 * gom/*: First check-in of gedcom object model.
222 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
224 * all: More thorough error checking on library calls.
226 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
228 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
230 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
231 xref_value is not known yet. Added function gedcom_get_by_xref.
233 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
235 * gedcom/interface.c: A little more checking (for duplicate
238 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
242 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
244 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
247 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
248 extra argument to callback functions: the record/element identifier.
250 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
252 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
253 functions to compat.c; let default charset depend on the program.
255 * t/test_script: Check for a core file.
259 * t/dates.test, t/encoding_error.test: New tests.
261 * t/utf8-locale.c: Remove conversion warning at compilation.
263 * t/test_script: Enhancements to use script outside 'make check'.
265 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
268 * t/Makefile.am: Added rule to be able to perform single tests.
270 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
271 characters in to_internal (to avoid crashes).
273 * Lots of files: Add compability for Lifelines.
275 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
276 gedcom/gedcom_date.lex:
277 Added rule that can help to avoid unnecessary recompilation of lex
278 files. It generates a new include file only when necessary: use this
281 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
283 * t/minimal.test: Added test on a minimal GEDCOM file.
285 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
289 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
291 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
293 * gedcom/gedcom.y: Graceful error handling on bogus input.
295 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
296 GCONV_PATH environment variable).
298 * Moved the test program to the t subdirectory.
300 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
302 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
303 to avoid problem with GCONV_PATH environment variable (see note in
306 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
308 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
309 compatibility handling for ftree.
311 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
315 * restructured the test setup
317 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
319 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
320 variables are substituted and the file gedcom.h is written
322 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
323 to return number of conversion failures.
325 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
327 * gedcom/xref.c: Make sure that the 'string' member of an xref always
328 contains a valid string.
330 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
333 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
334 in static storage, so must use strdup and free afterwards.
336 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
338 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
339 rest of the initialization, and let it be called before main (necessary
340 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
341 calls iconv_open very early).
343 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
344 context couldn't be opened, even if IGNORE_ERRORS.
346 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
347 the application had set it).
349 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
351 * utf8-locale.c: Example implementation for conversion UTF-8 to
354 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
356 * more documentation...
358 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
360 * doc/parser.html: Start of character set explanation.
362 * enhancements to Makefiles for documentation.
364 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
367 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
371 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
373 * encoding.c: Bugfixes in using the hash implementation of kazlib.
375 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
376 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
379 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
381 * gedcom.y: Bugfix for context handling of tags that are grouped in
384 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
385 have a value (e.g. the NOTE record), so extra value necessary on
386 start record callback.
388 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
391 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
393 * lots of files: Pass the parsed tag value (integer) together with
394 the string value in the callbacks. For this, a separate header is
395 auto-generated, containing the #defines from bison.
397 * t/test_script: Return exit code from testgedcom.
399 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
400 kazlib (see AUTHORS for pointer).
402 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
406 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
408 * all: Added some initial documentation.
410 * gedcom/gedcom.y: Completed the calling of callbacks.
412 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
414 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
415 put everything as a 'date phrase'.
417 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
419 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
421 * gedcom/calendar/*: Calendar routines by Scott E. Lee
423 * gedcom.y: Added some more callbacks (not complete yet)
425 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
427 * include/gedcom.h: Add some declarations so that the external header
428 can be used in C++ programs.
430 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
432 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
433 leave that to the applications.
435 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
438 Moved CVS repository to sourceforge.net (project gedcom-parse)
440 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
442 * all: Use of gettext.
444 * gedcom/Makefile.am: Support for the lexer test programs.
446 * all: Moved to LGPL license.
448 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
450 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
451 in the GCONV_PATH environment variable (for the ANSEL encoding).
455 * all: Full move to autoconf/automake.
457 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
459 * all: Further specification of interface: message handler.
460 Start of specification of callbacks.
462 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
464 * Uploaded release 0.9 to genes at SourceForge.
466 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
470 * gedcom.h, Makefile: Add dmalloc testability.
472 * all: Reset the state properly for parsing new files.
476 * encoding.c: Specify explicitly the output buffer for to_internal:
477 used to put pointers and tags in different output buffer.
479 * gedcom_lex_common.c: New file containing all lex actions (is common
480 for all lexers). Better checks for maximum lengths.
482 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
484 * gedcom_*.lex: Return level number together with OPEN token.
486 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
488 * gedcom.enc: Adapt default iconv encoding names (to also support
491 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
493 * all: added proper copyright notice (copyright to the Genes
497 Uploaded to genes at SourceForge.
499 * all: general cleanup, making sure everything is in CVS
501 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
505 * ANSEL decoding added.
507 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
511 * Now with encoding mapping via configuration file.
513 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
517 * Now with full unicode support.
519 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
523 * Compatibility mode implemented.
525 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
529 * Now with full error handling of tags and subtags.
533 * Now covering the entire GEDCOM spec, without error handling.