1 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
5 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
7 * gedcom/write.c: Writing long strings (with continuation), and
8 doubling of at characters.
10 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
11 storing gedcom value (to avoid fixed buffer size).
13 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
15 * gom/*: Use complete concatenated text instead of concatenating the
18 * gedcom/gedcom.y: Pass complete concatenated text in end callback
19 (this causes a backward incompatibility in the end record callback!)
21 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
23 * gedcom/write.c, gom/gom.c: Beginnings of write support.
25 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
27 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
28 from utf8/utf8-convert.c.
30 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
32 * utf8/utf8-convert.c: More general conversion interface (extracted
33 from utf8-locale.c and gedcom/encoding.c).
35 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
37 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
40 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
42 * gom/gom_modify.c: Check whether given strings are valid.
44 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
47 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
49 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
52 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
54 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
55 gedcom_init, make strdup of saved textdomain (to avoid corruption).
57 * all: Removed support for dmalloc (valgrind is much better and doesn't
58 require changing the sources).
60 * m4/gedcom.m4: Added m4 macro for configure.in support.
62 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
64 * gedcom/gedcom_*.lex: A pointer with only one character between the
65 at signs is also valid.
67 * gedcom/xref.c (is_valid_pointer): New function (also checks for
70 * include/gom.h: Added links to the definitions in the Gedcom standard.
72 * all: update of documentation
74 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
76 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
79 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
82 This is another test release
84 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
86 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
88 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
89 perl isn't needed at make-time).
91 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
92 conversion failure too.
94 * all: Further small portability fixes.
96 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
98 * t/output/*: Reference output for the tests; compare the actual test
99 output to these files.
101 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
103 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
106 * include/Makefile.am: Portability fix: grep isn't always understanding
109 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
112 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
114 * all: Further portability fixes to Makefile.am and such.
116 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
118 * */Makefile.am: Fixes for using included gettext.
120 * intl/Makefile.in: Hack for generating libtool convenience library
121 instead of shared library.
123 * README: Modify at dist instead of via configure.in (GNU make is used
126 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
127 as bind_textdomain_codeset).
129 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
131 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
133 * utf8/utf8-locale.c: Add forgotten header string.h
135 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
137 * Makefile: Require GNU make to be used -> normal makefile is then
138 GNUmakefile in top directory.
140 * README, doc/index.html: Generate from *.in via configure (for
143 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
144 nl_langinfo directly, for portability.
146 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
149 This is a test release
151 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
153 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
155 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
157 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
159 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
161 * all: Portability fixes and support for libiconv.
163 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
165 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
166 link/unlink and delete cross-references.
168 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
169 to check whether a (UTF-8) string is a valid token; bypass iconv
172 * gedcom/*: Fixed memory leaks reported by valgrind.
174 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
176 * t/standalone.c: Close outfile *after* the last output is done...
178 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
181 * gedcom/encoding.c: Clean up environment at exit.
183 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
185 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
187 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
189 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
191 * doc/make_gom_xref: Corrected 'Generated from' string.
193 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
197 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
198 Fixes for internationalization.
200 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
203 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
205 * gom/*: First check-in of gedcom object model.
207 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
209 * all: More thorough error checking on library calls.
211 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
213 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
215 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
216 xref_value is not known yet. Added function gedcom_get_by_xref.
218 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
220 * gedcom/interface.c: A little more checking (for duplicate
223 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
227 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
229 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
232 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
233 extra argument to callback functions: the record/element identifier.
235 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
237 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
238 functions to compat.c; let default charset depend on the program.
240 * t/test_script: Check for a core file.
244 * t/dates.test, t/encoding_error.test: New tests.
246 * t/utf8-locale.c: Remove conversion warning at compilation.
248 * t/test_script: Enhancements to use script outside 'make check'.
250 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
253 * t/Makefile.am: Added rule to be able to perform single tests.
255 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
256 characters in to_internal (to avoid crashes).
258 * Lots of files: Add compability for Lifelines.
260 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
261 gedcom/gedcom_date.lex:
262 Added rule that can help to avoid unnecessary recompilation of lex
263 files. It generates a new include file only when necessary: use this
266 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
268 * t/minimal.test: Added test on a minimal GEDCOM file.
270 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
274 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
276 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
278 * gedcom/gedcom.y: Graceful error handling on bogus input.
280 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
281 GCONV_PATH environment variable).
283 * Moved the test program to the t subdirectory.
285 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
287 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
288 to avoid problem with GCONV_PATH environment variable (see note in
291 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
293 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
294 compatibility handling for ftree.
296 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
300 * restructured the test setup
302 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
304 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
305 variables are substituted and the file gedcom.h is written
307 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
308 to return number of conversion failures.
310 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
312 * gedcom/xref.c: Make sure that the 'string' member of an xref always
313 contains a valid string.
315 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
318 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
319 in static storage, so must use strdup and free afterwards.
321 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
323 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
324 rest of the initialization, and let it be called before main (necessary
325 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
326 calls iconv_open very early).
328 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
329 context couldn't be opened, even if IGNORE_ERRORS.
331 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
332 the application had set it).
334 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
336 * utf8-locale.c: Example implementation for conversion UTF-8 to
339 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
341 * more documentation...
343 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
345 * doc/parser.html: Start of character set explanation.
347 * enhancements to Makefiles for documentation.
349 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
352 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
356 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
358 * encoding.c: Bugfixes in using the hash implementation of kazlib.
360 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
361 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
364 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
366 * gedcom.y: Bugfix for context handling of tags that are grouped in
369 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
370 have a value (e.g. the NOTE record), so extra value necessary on
371 start record callback.
373 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
376 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
378 * lots of files: Pass the parsed tag value (integer) together with
379 the string value in the callbacks. For this, a separate header is
380 auto-generated, containing the #defines from bison.
382 * t/test_script: Return exit code from testgedcom.
384 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
385 kazlib (see AUTHORS for pointer).
387 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
391 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
393 * all: Added some initial documentation.
395 * gedcom/gedcom.y: Completed the calling of callbacks.
397 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
399 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
400 put everything as a 'date phrase'.
402 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
404 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
406 * gedcom/calendar/*: Calendar routines by Scott E. Lee
408 * gedcom.y: Added some more callbacks (not complete yet)
410 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
412 * include/gedcom.h: Add some declarations so that the external header
413 can be used in C++ programs.
415 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
417 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
418 leave that to the applications.
420 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
423 Moved CVS repository to sourceforge.net (project gedcom-parse)
425 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
427 * all: Use of gettext.
429 * gedcom/Makefile.am: Support for the lexer test programs.
431 * all: Moved to LGPL license.
433 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
435 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
436 in the GCONV_PATH environment variable (for the ANSEL encoding).
440 * all: Full move to autoconf/automake.
442 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
444 * all: Further specification of interface: message handler.
445 Start of specification of callbacks.
447 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
449 * Uploaded release 0.9 to genes at SourceForge.
451 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
455 * gedcom.h, Makefile: Add dmalloc testability.
457 * all: Reset the state properly for parsing new files.
461 * encoding.c: Specify explicitly the output buffer for to_internal:
462 used to put pointers and tags in different output buffer.
464 * gedcom_lex_common.c: New file containing all lex actions (is common
465 for all lexers). Better checks for maximum lengths.
467 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
469 * gedcom_*.lex: Return level number together with OPEN token.
471 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
473 * gedcom.enc: Adapt default iconv encoding names (to also support
476 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
478 * all: added proper copyright notice (copyright to the Genes
482 Uploaded to genes at SourceForge.
484 * all: general cleanup, making sure everything is in CVS
486 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
490 * ANSEL decoding added.
492 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
496 * Now with encoding mapping via configuration file.
498 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
502 * Now with full unicode support.
504 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
508 * Compatibility mode implemented.
510 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
514 * Now with full error handling of tags and subtags.
518 * Now covering the entire GEDCOM spec, without error handling.