1 2002-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gedcom/write.c: Give warning if character set in HEAD.CHAR is not
4 the same as current character set (and force value).
6 * gom/header.c, gom/gom_modify.c: Added function
7 gom_header_update_timestamp and supporting functions.
9 2002-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
11 * configure.in, include/gedcom.h.in: Move to three-part version
14 * m4/gedcom.m4: Major changes.
16 2002-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
18 * gedcom-config.in: New file.
20 2002-12-21 Peter Verthez <Peter.Verthez@advalvas.be>
22 * libutf8 is changed to a shared library, and has now its own
23 package (see further ChangeLog in that directory).
25 * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
28 2002-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
30 * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
31 writing age values and data values (rudimentary).
33 * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
35 2002-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
37 * gedcom/write.c: Writing long strings (with continuation), and
38 doubling of at characters.
40 * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
41 storing gedcom value (to avoid fixed buffer size).
43 2002-12-07 Peter Verthez <Peter.Verthez@advalvas.be>
45 * gom/*: Use complete concatenated text instead of concatenating the
48 * gedcom/gedcom.y: Pass complete concatenated text in end callback
49 (this causes a backward incompatibility in the end record callback!)
51 2002-12-04 Peter Verthez <Peter.Verthez@advalvas.be>
53 * gedcom/write.c, gom/gom.c: Beginnings of write support.
55 2002-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
57 * gedcom/encoding.c (to_internal): Use the conv_buffer interface
58 from utf8/utf8-convert.c.
60 2002-11-30 Peter Verthez <Peter.Verthez@advalvas.be>
62 * utf8/utf8-convert.c: More general conversion interface (extracted
63 from utf8-locale.c and gedcom/encoding.c).
65 2002-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
67 * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
70 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
72 * gom/gom_modify.c: Check whether given strings are valid.
74 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
77 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
79 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
82 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
84 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
85 gedcom_init, make strdup of saved textdomain (to avoid corruption).
87 * all: Removed support for dmalloc (valgrind is much better and doesn't
88 require changing the sources).
90 * m4/gedcom.m4: Added m4 macro for configure.in support.
92 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
94 * gedcom/gedcom_*.lex: A pointer with only one character between the
95 at signs is also valid.
97 * gedcom/xref.c (is_valid_pointer): New function (also checks for
100 * include/gom.h: Added links to the definitions in the Gedcom standard.
102 * all: update of documentation
104 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
106 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
109 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
112 This is another test release
114 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
116 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
118 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
119 perl isn't needed at make-time).
121 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
122 conversion failure too.
124 * all: Further small portability fixes.
126 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
128 * t/output/*: Reference output for the tests; compare the actual test
129 output to these files.
131 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
133 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
136 * include/Makefile.am: Portability fix: grep isn't always understanding
139 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
142 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
144 * all: Further portability fixes to Makefile.am and such.
146 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
148 * */Makefile.am: Fixes for using included gettext.
150 * intl/Makefile.in: Hack for generating libtool convenience library
151 instead of shared library.
153 * README: Modify at dist instead of via configure.in (GNU make is used
156 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
157 as bind_textdomain_codeset).
159 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
161 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
163 * utf8/utf8-locale.c: Add forgotten header string.h
165 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
167 * Makefile: Require GNU make to be used -> normal makefile is then
168 GNUmakefile in top directory.
170 * README, doc/index.html: Generate from *.in via configure (for
173 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
174 nl_langinfo directly, for portability.
176 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
179 This is a test release
181 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
183 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
185 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
187 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
189 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
191 * all: Portability fixes and support for libiconv.
193 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
195 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
196 link/unlink and delete cross-references.
198 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
199 to check whether a (UTF-8) string is a valid token; bypass iconv
202 * gedcom/*: Fixed memory leaks reported by valgrind.
204 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
206 * t/standalone.c: Close outfile *after* the last output is done...
208 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
211 * gedcom/encoding.c: Clean up environment at exit.
213 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
215 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
217 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
219 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
221 * doc/make_gom_xref: Corrected 'Generated from' string.
223 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
227 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
228 Fixes for internationalization.
230 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
233 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
235 * gom/*: First check-in of gedcom object model.
237 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
239 * all: More thorough error checking on library calls.
241 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
243 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
245 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
246 xref_value is not known yet. Added function gedcom_get_by_xref.
248 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
250 * gedcom/interface.c: A little more checking (for duplicate
253 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
257 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
259 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
262 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
263 extra argument to callback functions: the record/element identifier.
265 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
267 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
268 functions to compat.c; let default charset depend on the program.
270 * t/test_script: Check for a core file.
274 * t/dates.test, t/encoding_error.test: New tests.
276 * t/utf8-locale.c: Remove conversion warning at compilation.
278 * t/test_script: Enhancements to use script outside 'make check'.
280 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
283 * t/Makefile.am: Added rule to be able to perform single tests.
285 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
286 characters in to_internal (to avoid crashes).
288 * Lots of files: Add compability for Lifelines.
290 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
291 gedcom/gedcom_date.lex:
292 Added rule that can help to avoid unnecessary recompilation of lex
293 files. It generates a new include file only when necessary: use this
296 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
298 * t/minimal.test: Added test on a minimal GEDCOM file.
300 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
304 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
306 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
308 * gedcom/gedcom.y: Graceful error handling on bogus input.
310 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
311 GCONV_PATH environment variable).
313 * Moved the test program to the t subdirectory.
315 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
317 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
318 to avoid problem with GCONV_PATH environment variable (see note in
321 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
323 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
324 compatibility handling for ftree.
326 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
330 * restructured the test setup
332 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
334 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
335 variables are substituted and the file gedcom.h is written
337 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
338 to return number of conversion failures.
340 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
342 * gedcom/xref.c: Make sure that the 'string' member of an xref always
343 contains a valid string.
345 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
348 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
349 in static storage, so must use strdup and free afterwards.
351 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
353 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
354 rest of the initialization, and let it be called before main (necessary
355 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
356 calls iconv_open very early).
358 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
359 context couldn't be opened, even if IGNORE_ERRORS.
361 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
362 the application had set it).
364 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
366 * utf8-locale.c: Example implementation for conversion UTF-8 to
369 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
371 * more documentation...
373 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
375 * doc/parser.html: Start of character set explanation.
377 * enhancements to Makefiles for documentation.
379 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
382 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
386 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
388 * encoding.c: Bugfixes in using the hash implementation of kazlib.
390 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
391 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
394 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
396 * gedcom.y: Bugfix for context handling of tags that are grouped in
399 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
400 have a value (e.g. the NOTE record), so extra value necessary on
401 start record callback.
403 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
406 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
408 * lots of files: Pass the parsed tag value (integer) together with
409 the string value in the callbacks. For this, a separate header is
410 auto-generated, containing the #defines from bison.
412 * t/test_script: Return exit code from testgedcom.
414 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
415 kazlib (see AUTHORS for pointer).
417 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
421 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
423 * all: Added some initial documentation.
425 * gedcom/gedcom.y: Completed the calling of callbacks.
427 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
429 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
430 put everything as a 'date phrase'.
432 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
434 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
436 * gedcom/calendar/*: Calendar routines by Scott E. Lee
438 * gedcom.y: Added some more callbacks (not complete yet)
440 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
442 * include/gedcom.h: Add some declarations so that the external header
443 can be used in C++ programs.
445 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
447 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
448 leave that to the applications.
450 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
453 Moved CVS repository to sourceforge.net (project gedcom-parse)
455 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
457 * all: Use of gettext.
459 * gedcom/Makefile.am: Support for the lexer test programs.
461 * all: Moved to LGPL license.
463 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
465 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
466 in the GCONV_PATH environment variable (for the ANSEL encoding).
470 * all: Full move to autoconf/automake.
472 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
474 * all: Further specification of interface: message handler.
475 Start of specification of callbacks.
477 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
479 * Uploaded release 0.9 to genes at SourceForge.
481 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
485 * gedcom.h, Makefile: Add dmalloc testability.
487 * all: Reset the state properly for parsing new files.
491 * encoding.c: Specify explicitly the output buffer for to_internal:
492 used to put pointers and tags in different output buffer.
494 * gedcom_lex_common.c: New file containing all lex actions (is common
495 for all lexers). Better checks for maximum lengths.
497 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
499 * gedcom_*.lex: Return level number together with OPEN token.
501 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
503 * gedcom.enc: Adapt default iconv encoding names (to also support
506 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
508 * all: added proper copyright notice (copyright to the Genes
512 Uploaded to genes at SourceForge.
514 * all: general cleanup, making sure everything is in CVS
516 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
520 * ANSEL decoding added.
522 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
526 * Now with encoding mapping via configuration file.
528 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
532 * Now with full unicode support.
534 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
538 * Compatibility mode implemented.
540 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
544 * Now with full error handling of tags and subtags.
548 * Now covering the entire GEDCOM spec, without error handling.