1 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
4 writing age values and data values (rudimentary).
6 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
8 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
10 * gedcom/write.c: Writing long strings (with continuation), and
11 doubling of at characters.
13 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
14 storing gedcom value (to avoid fixed buffer size).
16 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
18 * gom/*: Use complete concatenated text instead of concatenating the
21 * gedcom/gedcom.y: Pass complete concatenated text in end callback
22 (this causes a backward incompatibility in the end record callback!)
24 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
26 * gedcom/write.c, gom/gom.c: Beginnings of write support.
28 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
30 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
31 from utf8/utf8-convert.c.
33 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
35 * utf8/utf8-convert.c: More general conversion interface (extracted
36 from utf8-locale.c and gedcom/encoding.c).
38 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
40 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
43 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
45 * gom/gom_modify.c: Check whether given strings are valid.
47 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
50 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
52 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
55 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
57 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
58 gedcom_init, make strdup of saved textdomain (to avoid corruption).
60 * all: Removed support for dmalloc (valgrind is much better and doesn't
61 require changing the sources).
63 * m4/gedcom.m4: Added m4 macro for configure.in support.
65 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
67 * gedcom/gedcom_*.lex: A pointer with only one character between the
68 at signs is also valid.
70 * gedcom/xref.c (is_valid_pointer): New function (also checks for
73 * include/gom.h: Added links to the definitions in the Gedcom standard.
75 * all: update of documentation
77 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
79 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
82 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
85 This is another test release
87 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
89 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
91 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
92 perl isn't needed at make-time).
94 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
95 conversion failure too.
97 * all: Further small portability fixes.
99 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
101 * t/output/*: Reference output for the tests; compare the actual test
102 output to these files.
104 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
106 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
109 * include/Makefile.am: Portability fix: grep isn't always understanding
112 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
115 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
117 * all: Further portability fixes to Makefile.am and such.
119 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
121 * */Makefile.am: Fixes for using included gettext.
123 * intl/Makefile.in: Hack for generating libtool convenience library
124 instead of shared library.
126 * README: Modify at dist instead of via configure.in (GNU make is used
129 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
130 as bind_textdomain_codeset).
132 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
134 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
136 * utf8/utf8-locale.c: Add forgotten header string.h
138 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
140 * Makefile: Require GNU make to be used -> normal makefile is then
141 GNUmakefile in top directory.
143 * README, doc/index.html: Generate from *.in via configure (for
146 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
147 nl_langinfo directly, for portability.
149 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
152 This is a test release
154 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
156 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
158 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
160 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
162 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
164 * all: Portability fixes and support for libiconv.
166 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
168 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
169 link/unlink and delete cross-references.
171 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
172 to check whether a (UTF-8) string is a valid token; bypass iconv
175 * gedcom/*: Fixed memory leaks reported by valgrind.
177 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
179 * t/standalone.c: Close outfile *after* the last output is done...
181 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
184 * gedcom/encoding.c: Clean up environment at exit.
186 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
188 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
190 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
192 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
194 * doc/make_gom_xref: Corrected 'Generated from' string.
196 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
200 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
201 Fixes for internationalization.
203 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
206 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
208 * gom/*: First check-in of gedcom object model.
210 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
212 * all: More thorough error checking on library calls.
214 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
216 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
218 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
219 xref_value is not known yet. Added function gedcom_get_by_xref.
221 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
223 * gedcom/interface.c: A little more checking (for duplicate
226 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
230 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
232 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
235 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
236 extra argument to callback functions: the record/element identifier.
238 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
240 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
241 functions to compat.c; let default charset depend on the program.
243 * t/test_script: Check for a core file.
247 * t/dates.test, t/encoding_error.test: New tests.
249 * t/utf8-locale.c: Remove conversion warning at compilation.
251 * t/test_script: Enhancements to use script outside 'make check'.
253 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
256 * t/Makefile.am: Added rule to be able to perform single tests.
258 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
259 characters in to_internal (to avoid crashes).
261 * Lots of files: Add compability for Lifelines.
263 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
264 gedcom/gedcom_date.lex:
265 Added rule that can help to avoid unnecessary recompilation of lex
266 files. It generates a new include file only when necessary: use this
269 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
271 * t/minimal.test: Added test on a minimal GEDCOM file.
273 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
277 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
279 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
281 * gedcom/gedcom.y: Graceful error handling on bogus input.
283 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
284 GCONV_PATH environment variable).
286 * Moved the test program to the t subdirectory.
288 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
290 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
291 to avoid problem with GCONV_PATH environment variable (see note in
294 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
296 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
297 compatibility handling for ftree.
299 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
303 * restructured the test setup
305 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
307 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
308 variables are substituted and the file gedcom.h is written
310 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
311 to return number of conversion failures.
313 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
315 * gedcom/xref.c: Make sure that the 'string' member of an xref always
316 contains a valid string.
318 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
321 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
322 in static storage, so must use strdup and free afterwards.
324 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
326 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
327 rest of the initialization, and let it be called before main (necessary
328 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
329 calls iconv_open very early).
331 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
332 context couldn't be opened, even if IGNORE_ERRORS.
334 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
335 the application had set it).
337 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
339 * utf8-locale.c: Example implementation for conversion UTF-8 to
342 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
344 * more documentation...
346 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
348 * doc/parser.html: Start of character set explanation.
350 * enhancements to Makefiles for documentation.
352 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
355 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
359 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
361 * encoding.c: Bugfixes in using the hash implementation of kazlib.
363 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
364 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
367 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
369 * gedcom.y: Bugfix for context handling of tags that are grouped in
372 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
373 have a value (e.g. the NOTE record), so extra value necessary on
374 start record callback.
376 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
379 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
381 * lots of files: Pass the parsed tag value (integer) together with
382 the string value in the callbacks. For this, a separate header is
383 auto-generated, containing the #defines from bison.
385 * t/test_script: Return exit code from testgedcom.
387 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
388 kazlib (see AUTHORS for pointer).
390 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
394 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
396 * all: Added some initial documentation.
398 * gedcom/gedcom.y: Completed the calling of callbacks.
400 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
402 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
403 put everything as a 'date phrase'.
405 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
407 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
409 * gedcom/calendar/*: Calendar routines by Scott E. Lee
411 * gedcom.y: Added some more callbacks (not complete yet)
413 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
415 * include/gedcom.h: Add some declarations so that the external header
416 can be used in C++ programs.
418 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
420 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
421 leave that to the applications.
423 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
426 Moved CVS repository to sourceforge.net (project gedcom-parse)
428 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
430 * all: Use of gettext.
432 * gedcom/Makefile.am: Support for the lexer test programs.
434 * all: Moved to LGPL license.
436 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
438 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
439 in the GCONV_PATH environment variable (for the ANSEL encoding).
443 * all: Full move to autoconf/automake.
445 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
447 * all: Further specification of interface: message handler.
448 Start of specification of callbacks.
450 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
452 * Uploaded release 0.9 to genes at SourceForge.
454 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
458 * gedcom.h, Makefile: Add dmalloc testability.
460 * all: Reset the state properly for parsing new files.
464 * encoding.c: Specify explicitly the output buffer for to_internal:
465 used to put pointers and tags in different output buffer.
467 * gedcom_lex_common.c: New file containing all lex actions (is common
468 for all lexers). Better checks for maximum lengths.
470 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
472 * gedcom_*.lex: Return level number together with OPEN token.
474 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
476 * gedcom.enc: Adapt default iconv encoding names (to also support
479 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
481 * all: added proper copyright notice (copyright to the Genes
485 Uploaded to genes at SourceForge.
487 * all: general cleanup, making sure everything is in CVS
489 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
493 * ANSEL decoding added.
495 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
499 * Now with encoding mapping via configuration file.
501 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
505 * Now with full unicode support.
507 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
511 * Compatibility mode implemented.
513 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
517 * Now with full error handling of tags and subtags.
521 * Now covering the entire GEDCOM spec, without error handling.