1 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
4 storing gedcom value (to avoid fixed buffer size).
6 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
8 * gedcom/gedcom.y: Pass complete concatenated text in end callback
9 (this causes a backward incompatibility in the end record callback!)
11 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
13 * gedcom/write.c, gom/gom.c: Beginnings of write support.
15 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
17 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
18 from utf8/utf8-convert.c.
20 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
22 * utf8/utf8-convert.c: More general conversion interface (extracted
23 from utf8-locale.c and gedcom/encoding.c).
25 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
27 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
30 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
32 * gom/gom_modify.c: Check whether given strings are valid.
34 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
37 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
39 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
42 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
44 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
45 gedcom_init, make strdup of saved textdomain (to avoid corruption).
47 * all: Removed support for dmalloc (valgrind is much better and doesn't
48 require changing the sources).
50 * m4/gedcom.m4: Added m4 macro for configure.in support.
52 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
54 * gedcom/gedcom_*.lex: A pointer with only one character between the
55 at signs is also valid.
57 * gedcom/xref.c (is_valid_pointer): New function (also checks for
60 * include/gom.h: Added links to the definitions in the Gedcom standard.
62 * all: update of documentation
64 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
66 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
69 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
72 This is another test release
74 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
76 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
78 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
79 perl isn't needed at make-time).
81 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
82 conversion failure too.
84 * all: Further small portability fixes.
86 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
88 * t/output/*: Reference output for the tests; compare the actual test
89 output to these files.
91 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
93 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
96 * include/Makefile.am: Portability fix: grep isn't always understanding
99 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
102 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
104 * all: Further portability fixes to Makefile.am and such.
106 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
108 * */Makefile.am: Fixes for using included gettext.
110 * intl/Makefile.in: Hack for generating libtool convenience library
111 instead of shared library.
113 * README: Modify at dist instead of via configure.in (GNU make is used
116 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
117 as bind_textdomain_codeset).
119 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
121 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
123 * utf8/utf8-locale.c: Add forgotten header string.h
125 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
127 * Makefile: Require GNU make to be used -> normal makefile is then
128 GNUmakefile in top directory.
130 * README, doc/index.html: Generate from *.in via configure (for
133 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
134 nl_langinfo directly, for portability.
136 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
139 This is a test release
141 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
143 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
145 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
147 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
149 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
151 * all: Portability fixes and support for libiconv.
153 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
155 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
156 link/unlink and delete cross-references.
158 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
159 to check whether a (UTF-8) string is a valid token; bypass iconv
162 * gedcom/*: Fixed memory leaks reported by valgrind.
164 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
166 * t/standalone.c: Close outfile *after* the last output is done...
168 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
171 * gedcom/encoding.c: Clean up environment at exit.
173 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
175 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
177 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
179 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
181 * doc/make_gom_xref: Corrected 'Generated from' string.
183 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
187 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
188 Fixes for internationalization.
190 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
193 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
195 * gom/*: First check-in of gedcom object model.
197 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
199 * all: More thorough error checking on library calls.
201 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
203 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
205 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
206 xref_value is not known yet. Added function gedcom_get_by_xref.
208 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
210 * gedcom/interface.c: A little more checking (for duplicate
213 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
217 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
219 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
222 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
223 extra argument to callback functions: the record/element identifier.
225 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
227 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
228 functions to compat.c; let default charset depend on the program.
230 * t/test_script: Check for a core file.
234 * t/dates.test, t/encoding_error.test: New tests.
236 * t/utf8-locale.c: Remove conversion warning at compilation.
238 * t/test_script: Enhancements to use script outside 'make check'.
240 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
243 * t/Makefile.am: Added rule to be able to perform single tests.
245 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
246 characters in to_internal (to avoid crashes).
248 * Lots of files: Add compability for Lifelines.
250 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
251 gedcom/gedcom_date.lex:
252 Added rule that can help to avoid unnecessary recompilation of lex
253 files. It generates a new include file only when necessary: use this
256 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
258 * t/minimal.test: Added test on a minimal GEDCOM file.
260 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
264 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
266 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
268 * gedcom/gedcom.y: Graceful error handling on bogus input.
270 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
271 GCONV_PATH environment variable).
273 * Moved the test program to the t subdirectory.
275 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
277 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
278 to avoid problem with GCONV_PATH environment variable (see note in
281 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
283 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
284 compatibility handling for ftree.
286 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
290 * restructured the test setup
292 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
294 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
295 variables are substituted and the file gedcom.h is written
297 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
298 to return number of conversion failures.
300 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
302 * gedcom/xref.c: Make sure that the 'string' member of an xref always
303 contains a valid string.
305 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
308 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
309 in static storage, so must use strdup and free afterwards.
311 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
313 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
314 rest of the initialization, and let it be called before main (necessary
315 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
316 calls iconv_open very early).
318 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
319 context couldn't be opened, even if IGNORE_ERRORS.
321 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
322 the application had set it).
324 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
326 * utf8-locale.c: Example implementation for conversion UTF-8 to
329 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
331 * more documentation...
333 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
335 * doc/parser.html: Start of character set explanation.
337 * enhancements to Makefiles for documentation.
339 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
342 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
346 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
348 * encoding.c: Bugfixes in using the hash implementation of kazlib.
350 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
351 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
354 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
356 * gedcom.y: Bugfix for context handling of tags that are grouped in
359 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
360 have a value (e.g. the NOTE record), so extra value necessary on
361 start record callback.
363 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
366 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
368 * lots of files: Pass the parsed tag value (integer) together with
369 the string value in the callbacks. For this, a separate header is
370 auto-generated, containing the #defines from bison.
372 * t/test_script: Return exit code from testgedcom.
374 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
375 kazlib (see AUTHORS for pointer).
377 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
381 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
383 * all: Added some initial documentation.
385 * gedcom/gedcom.y: Completed the calling of callbacks.
387 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
389 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
390 put everything as a 'date phrase'.
392 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
394 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
396 * gedcom/calendar/*: Calendar routines by Scott E. Lee
398 * gedcom.y: Added some more callbacks (not complete yet)
400 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
402 * include/gedcom.h: Add some declarations so that the external header
403 can be used in C++ programs.
405 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
407 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
408 leave that to the applications.
410 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
413 Moved CVS repository to sourceforge.net (project gedcom-parse)
415 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
417 * all: Use of gettext.
419 * gedcom/Makefile.am: Support for the lexer test programs.
421 * all: Moved to LGPL license.
423 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
425 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
426 in the GCONV_PATH environment variable (for the ANSEL encoding).
430 * all: Full move to autoconf/automake.
432 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
434 * all: Further specification of interface: message handler.
435 Start of specification of callbacks.
437 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
439 * Uploaded release 0.9 to genes at SourceForge.
441 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
445 * gedcom.h, Makefile: Add dmalloc testability.
447 * all: Reset the state properly for parsing new files.
451 * encoding.c: Specify explicitly the output buffer for to_internal:
452 used to put pointers and tags in different output buffer.
454 * gedcom_lex_common.c: New file containing all lex actions (is common
455 for all lexers). Better checks for maximum lengths.
457 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
459 * gedcom_*.lex: Return level number together with OPEN token.
461 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
463 * gedcom.enc: Adapt default iconv encoding names (to also support
466 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
468 * all: added proper copyright notice (copyright to the Genes
472 Uploaded to genes at SourceForge.
474 * all: general cleanup, making sure everything is in CVS
476 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
480 * ANSEL decoding added.
482 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
486 * Now with encoding mapping via configuration file.
488 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
492 * Now with full unicode support.
494 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
498 * Compatibility mode implemented.
500 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
504 * Now with full error handling of tags and subtags.
508 * Now covering the entire GEDCOM spec, without error handling.