1 2002-12-21 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
6 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
8 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
9 writing age values and data values (rudimentary).
11 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
13 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
15 * gedcom/write.c: Writing long strings (with continuation), and
16 doubling of at characters.
18 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
19 storing gedcom value (to avoid fixed buffer size).
21 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
23 * gom/*: Use complete concatenated text instead of concatenating the
26 * gedcom/gedcom.y: Pass complete concatenated text in end callback
27 (this causes a backward incompatibility in the end record callback!)
29 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
31 * gedcom/write.c, gom/gom.c: Beginnings of write support.
33 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
35 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
36 from utf8/utf8-convert.c.
38 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
40 * utf8/utf8-convert.c: More general conversion interface (extracted
41 from utf8-locale.c and gedcom/encoding.c).
43 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
45 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
48 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
50 * gom/gom_modify.c: Check whether given strings are valid.
52 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
55 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
57 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
60 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
62 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
63 gedcom_init, make strdup of saved textdomain (to avoid corruption).
65 * all: Removed support for dmalloc (valgrind is much better and doesn't
66 require changing the sources).
68 * m4/gedcom.m4: Added m4 macro for configure.in support.
70 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
72 * gedcom/gedcom_*.lex: A pointer with only one character between the
73 at signs is also valid.
75 * gedcom/xref.c (is_valid_pointer): New function (also checks for
78 * include/gom.h: Added links to the definitions in the Gedcom standard.
80 * all: update of documentation
82 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
84 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
87 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
90 This is another test release
92 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
94 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
96 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
97 perl isn't needed at make-time).
99 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
100 conversion failure too.
102 * all: Further small portability fixes.
104 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
106 * t/output/*: Reference output for the tests; compare the actual test
107 output to these files.
109 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
111 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
114 * include/Makefile.am: Portability fix: grep isn't always understanding
117 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
120 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
122 * all: Further portability fixes to Makefile.am and such.
124 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
126 * */Makefile.am: Fixes for using included gettext.
128 * intl/Makefile.in: Hack for generating libtool convenience library
129 instead of shared library.
131 * README: Modify at dist instead of via configure.in (GNU make is used
134 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
135 as bind_textdomain_codeset).
137 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
139 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
141 * utf8/utf8-locale.c: Add forgotten header string.h
143 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
145 * Makefile: Require GNU make to be used -> normal makefile is then
146 GNUmakefile in top directory.
148 * README, doc/index.html: Generate from *.in via configure (for
151 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
152 nl_langinfo directly, for portability.
154 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
157 This is a test release
159 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
161 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
163 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
165 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
167 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
169 * all: Portability fixes and support for libiconv.
171 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
173 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
174 link/unlink and delete cross-references.
176 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
177 to check whether a (UTF-8) string is a valid token; bypass iconv
180 * gedcom/*: Fixed memory leaks reported by valgrind.
182 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
184 * t/standalone.c: Close outfile *after* the last output is done...
186 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
189 * gedcom/encoding.c: Clean up environment at exit.
191 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
193 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
195 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
197 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
199 * doc/make_gom_xref: Corrected 'Generated from' string.
201 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
205 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
206 Fixes for internationalization.
208 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
211 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
213 * gom/*: First check-in of gedcom object model.
215 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
217 * all: More thorough error checking on library calls.
219 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
221 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
223 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
224 xref_value is not known yet. Added function gedcom_get_by_xref.
226 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
228 * gedcom/interface.c: A little more checking (for duplicate
231 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
235 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
237 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
240 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
241 extra argument to callback functions: the record/element identifier.
243 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
245 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
246 functions to compat.c; let default charset depend on the program.
248 * t/test_script: Check for a core file.
252 * t/dates.test, t/encoding_error.test: New tests.
254 * t/utf8-locale.c: Remove conversion warning at compilation.
256 * t/test_script: Enhancements to use script outside 'make check'.
258 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
261 * t/Makefile.am: Added rule to be able to perform single tests.
263 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
264 characters in to_internal (to avoid crashes).
266 * Lots of files: Add compability for Lifelines.
268 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
269 gedcom/gedcom_date.lex:
270 Added rule that can help to avoid unnecessary recompilation of lex
271 files. It generates a new include file only when necessary: use this
274 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
276 * t/minimal.test: Added test on a minimal GEDCOM file.
278 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
282 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
284 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
286 * gedcom/gedcom.y: Graceful error handling on bogus input.
288 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
289 GCONV_PATH environment variable).
291 * Moved the test program to the t subdirectory.
293 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
295 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
296 to avoid problem with GCONV_PATH environment variable (see note in
299 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
301 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
302 compatibility handling for ftree.
304 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
308 * restructured the test setup
310 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
312 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
313 variables are substituted and the file gedcom.h is written
315 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
316 to return number of conversion failures.
318 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
320 * gedcom/xref.c: Make sure that the 'string' member of an xref always
321 contains a valid string.
323 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
326 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
327 in static storage, so must use strdup and free afterwards.
329 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
331 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
332 rest of the initialization, and let it be called before main (necessary
333 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
334 calls iconv_open very early).
336 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
337 context couldn't be opened, even if IGNORE_ERRORS.
339 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
340 the application had set it).
342 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
344 * utf8-locale.c: Example implementation for conversion UTF-8 to
347 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
349 * more documentation...
351 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
353 * doc/parser.html: Start of character set explanation.
355 * enhancements to Makefiles for documentation.
357 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
360 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
364 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
366 * encoding.c: Bugfixes in using the hash implementation of kazlib.
368 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
369 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
372 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
374 * gedcom.y: Bugfix for context handling of tags that are grouped in
377 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
378 have a value (e.g. the NOTE record), so extra value necessary on
379 start record callback.
381 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
384 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
386 * lots of files: Pass the parsed tag value (integer) together with
387 the string value in the callbacks. For this, a separate header is
388 auto-generated, containing the #defines from bison.
390 * t/test_script: Return exit code from testgedcom.
392 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
393 kazlib (see AUTHORS for pointer).
395 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
399 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
401 * all: Added some initial documentation.
403 * gedcom/gedcom.y: Completed the calling of callbacks.
405 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
407 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
408 put everything as a 'date phrase'.
410 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
412 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
414 * gedcom/calendar/*: Calendar routines by Scott E. Lee
416 * gedcom.y: Added some more callbacks (not complete yet)
418 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
420 * include/gedcom.h: Add some declarations so that the external header
421 can be used in C++ programs.
423 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
425 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
426 leave that to the applications.
428 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
431 Moved CVS repository to sourceforge.net (project gedcom-parse)
433 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
435 * all: Use of gettext.
437 * gedcom/Makefile.am: Support for the lexer test programs.
439 * all: Moved to LGPL license.
441 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
443 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
444 in the GCONV_PATH environment variable (for the ANSEL encoding).
448 * all: Full move to autoconf/automake.
450 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
452 * all: Further specification of interface: message handler.
453 Start of specification of callbacks.
455 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
457 * Uploaded release 0.9 to genes at SourceForge.
459 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
463 * gedcom.h, Makefile: Add dmalloc testability.
465 * all: Reset the state properly for parsing new files.
469 * encoding.c: Specify explicitly the output buffer for to_internal:
470 used to put pointers and tags in different output buffer.
472 * gedcom_lex_common.c: New file containing all lex actions (is common
473 for all lexers). Better checks for maximum lengths.
475 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
477 * gedcom_*.lex: Return level number together with OPEN token.
479 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
481 * gedcom.enc: Adapt default iconv encoding names (to also support
484 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
486 * all: added proper copyright notice (copyright to the Genes
490 Uploaded to genes at SourceForge.
492 * all: general cleanup, making sure everything is in CVS
494 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
498 * ANSEL decoding added.
500 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
504 * Now with encoding mapping via configuration file.
506 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
510 * Now with full unicode support.
512 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
516 * Compatibility mode implemented.
518 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
522 * Now with full error handling of tags and subtags.
526 * Now covering the entire GEDCOM spec, without error handling.