1 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom/write.c: Writing long strings (with continuation), and
4 doubling of at characters.
6 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
7 storing gedcom value (to avoid fixed buffer size).
9 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
11 * gom/*: Use complete concatenated text instead of concatenating the
14 * gedcom/gedcom.y: Pass complete concatenated text in end callback
15 (this causes a backward incompatibility in the end record callback!)
17 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
19 * gedcom/write.c, gom/gom.c: Beginnings of write support.
21 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
23 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
24 from utf8/utf8-convert.c.
26 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
28 * utf8/utf8-convert.c: More general conversion interface (extracted
29 from utf8-locale.c and gedcom/encoding.c).
31 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
33 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
36 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
38 * gom/gom_modify.c: Check whether given strings are valid.
40 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
43 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
45 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
48 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
50 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
51 gedcom_init, make strdup of saved textdomain (to avoid corruption).
53 * all: Removed support for dmalloc (valgrind is much better and doesn't
54 require changing the sources).
56 * m4/gedcom.m4: Added m4 macro for configure.in support.
58 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
60 * gedcom/gedcom_*.lex: A pointer with only one character between the
61 at signs is also valid.
63 * gedcom/xref.c (is_valid_pointer): New function (also checks for
66 * include/gom.h: Added links to the definitions in the Gedcom standard.
68 * all: update of documentation
70 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
72 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
75 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
78 This is another test release
80 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
82 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
84 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
85 perl isn't needed at make-time).
87 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
88 conversion failure too.
90 * all: Further small portability fixes.
92 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
94 * t/output/*: Reference output for the tests; compare the actual test
95 output to these files.
97 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
99 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
102 * include/Makefile.am: Portability fix: grep isn't always understanding
105 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
108 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
110 * all: Further portability fixes to Makefile.am and such.
112 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
114 * */Makefile.am: Fixes for using included gettext.
116 * intl/Makefile.in: Hack for generating libtool convenience library
117 instead of shared library.
119 * README: Modify at dist instead of via configure.in (GNU make is used
122 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
123 as bind_textdomain_codeset).
125 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
127 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
129 * utf8/utf8-locale.c: Add forgotten header string.h
131 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
133 * Makefile: Require GNU make to be used -> normal makefile is then
134 GNUmakefile in top directory.
136 * README, doc/index.html: Generate from *.in via configure (for
139 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
140 nl_langinfo directly, for portability.
142 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
145 This is a test release
147 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
149 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
151 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
153 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
155 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
157 * all: Portability fixes and support for libiconv.
159 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
161 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
162 link/unlink and delete cross-references.
164 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
165 to check whether a (UTF-8) string is a valid token; bypass iconv
168 * gedcom/*: Fixed memory leaks reported by valgrind.
170 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
172 * t/standalone.c: Close outfile *after* the last output is done...
174 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
177 * gedcom/encoding.c: Clean up environment at exit.
179 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
181 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
183 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
185 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
187 * doc/make_gom_xref: Corrected 'Generated from' string.
189 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
193 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
194 Fixes for internationalization.
196 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
199 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
201 * gom/*: First check-in of gedcom object model.
203 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
205 * all: More thorough error checking on library calls.
207 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
209 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
211 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
212 xref_value is not known yet. Added function gedcom_get_by_xref.
214 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
216 * gedcom/interface.c: A little more checking (for duplicate
219 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
223 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
225 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
228 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
229 extra argument to callback functions: the record/element identifier.
231 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
233 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
234 functions to compat.c; let default charset depend on the program.
236 * t/test_script: Check for a core file.
240 * t/dates.test, t/encoding_error.test: New tests.
242 * t/utf8-locale.c: Remove conversion warning at compilation.
244 * t/test_script: Enhancements to use script outside 'make check'.
246 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
249 * t/Makefile.am: Added rule to be able to perform single tests.
251 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
252 characters in to_internal (to avoid crashes).
254 * Lots of files: Add compability for Lifelines.
256 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
257 gedcom/gedcom_date.lex:
258 Added rule that can help to avoid unnecessary recompilation of lex
259 files. It generates a new include file only when necessary: use this
262 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
264 * t/minimal.test: Added test on a minimal GEDCOM file.
266 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
270 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
272 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
274 * gedcom/gedcom.y: Graceful error handling on bogus input.
276 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
277 GCONV_PATH environment variable).
279 * Moved the test program to the t subdirectory.
281 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
283 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
284 to avoid problem with GCONV_PATH environment variable (see note in
287 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
289 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
290 compatibility handling for ftree.
292 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
296 * restructured the test setup
298 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
300 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
301 variables are substituted and the file gedcom.h is written
303 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
304 to return number of conversion failures.
306 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
308 * gedcom/xref.c: Make sure that the 'string' member of an xref always
309 contains a valid string.
311 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
314 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
315 in static storage, so must use strdup and free afterwards.
317 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
319 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
320 rest of the initialization, and let it be called before main (necessary
321 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
322 calls iconv_open very early).
324 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
325 context couldn't be opened, even if IGNORE_ERRORS.
327 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
328 the application had set it).
330 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
332 * utf8-locale.c: Example implementation for conversion UTF-8 to
335 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
337 * more documentation...
339 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
341 * doc/parser.html: Start of character set explanation.
343 * enhancements to Makefiles for documentation.
345 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
348 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
352 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
354 * encoding.c: Bugfixes in using the hash implementation of kazlib.
356 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
357 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
360 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
362 * gedcom.y: Bugfix for context handling of tags that are grouped in
365 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
366 have a value (e.g. the NOTE record), so extra value necessary on
367 start record callback.
369 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
372 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
374 * lots of files: Pass the parsed tag value (integer) together with
375 the string value in the callbacks. For this, a separate header is
376 auto-generated, containing the #defines from bison.
378 * t/test_script: Return exit code from testgedcom.
380 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
381 kazlib (see AUTHORS for pointer).
383 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
387 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
389 * all: Added some initial documentation.
391 * gedcom/gedcom.y: Completed the calling of callbacks.
393 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
395 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
396 put everything as a 'date phrase'.
398 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
400 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
402 * gedcom/calendar/*: Calendar routines by Scott E. Lee
404 * gedcom.y: Added some more callbacks (not complete yet)
406 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
408 * include/gedcom.h: Add some declarations so that the external header
409 can be used in C++ programs.
411 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
413 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
414 leave that to the applications.
416 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
419 Moved CVS repository to sourceforge.net (project gedcom-parse)
421 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
423 * all: Use of gettext.
425 * gedcom/Makefile.am: Support for the lexer test programs.
427 * all: Moved to LGPL license.
429 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
431 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
432 in the GCONV_PATH environment variable (for the ANSEL encoding).
436 * all: Full move to autoconf/automake.
438 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
440 * all: Further specification of interface: message handler.
441 Start of specification of callbacks.
443 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
445 * Uploaded release 0.9 to genes at SourceForge.
447 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
451 * gedcom.h, Makefile: Add dmalloc testability.
453 * all: Reset the state properly for parsing new files.
457 * encoding.c: Specify explicitly the output buffer for to_internal:
458 used to put pointers and tags in different output buffer.
460 * gedcom_lex_common.c: New file containing all lex actions (is common
461 for all lexers). Better checks for maximum lengths.
463 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
465 * gedcom_*.lex: Return level number together with OPEN token.
467 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
469 * gedcom.enc: Adapt default iconv encoding names (to also support
472 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
474 * all: added proper copyright notice (copyright to the Genes
478 Uploaded to genes at SourceForge.
480 * all: general cleanup, making sure everything is in CVS
482 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
486 * ANSEL decoding added.
488 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
492 * Now with encoding mapping via configuration file.
494 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
498 * Now with full unicode support.
500 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
504 * Compatibility mode implemented.
506 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
510 * Now with full error handling of tags and subtags.
514 * Now covering the entire GEDCOM spec, without error handling.