1 2002-11-22 Peter Verthez <Peter.Verthez@advalvas.be>
3 * gom/gom_modify.c: Check whether given strings are valid.
5 * utf8/utf8.c: Functions for checking UTF-8 strings and computing
8 2002-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
10 * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
13 2002-11-03 Peter Verthez <Peter.Verthez@advalvas.be>
15 * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
16 gedcom_init, make strdup of saved textdomain (to avoid corruption).
18 * all: Removed support for dmalloc (valgrind is much better and doesn't
19 require changing the sources).
21 * m4/gedcom.m4: Added m4 macro for configure.in support.
23 2002-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
25 * gedcom/gedcom_*.lex: A pointer with only one character between the
26 at signs is also valid.
28 * gedcom/xref.c (is_valid_pointer): New function (also checks for
31 * include/gom.h: Added links to the definitions in the Gedcom standard.
33 * all: update of documentation
35 2002-10-30 Peter Verthez <Peter.Verthez@advalvas.be>
37 * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
40 2002-10-28 Peter Verthez <Peter.Verthez@advalvas.be>
43 This is another test release
45 2002-10-27 Peter Verthez <Peter.Verthez@advalvas.be>
47 * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
49 * doc/Makefile.am: Put generated file gomxref.html also in dist (so
50 perl isn't needed at make-time).
52 * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
53 conversion failure too.
55 * all: Further small portability fixes.
57 2002-10-26 Peter Verthez <Peter.Verthez@advalvas.be>
59 * t/output/*: Reference output for the tests; compare the actual test
60 output to these files.
62 2002-10-23 Peter Verthez <Peter.Verthez@advalvas.be>
64 * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
67 * include/Makefile.am: Portability fix: grep isn't always understanding
70 * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
73 2002-10-21 Peter Verthez <Peter.Verthez@advalvas.be>
75 * all: Further portability fixes to Makefile.am and such.
77 2002-10-20 Peter Verthez <Peter.Verthez@advalvas.be>
79 * */Makefile.am: Fixes for using included gettext.
81 * intl/Makefile.in: Hack for generating libtool convenience library
82 instead of shared library.
84 * README: Modify at dist instead of via configure.in (GNU make is used
87 * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
88 as bind_textdomain_codeset).
90 2002-10-14 Peter Verthez <Peter.Verthez@advalvas.be>
92 * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
94 * utf8/utf8-locale.c: Add forgotten header string.h
96 2002-10-13 Peter Verthez <Peter.Verthez@advalvas.be>
98 * Makefile: Require GNU make to be used -> normal makefile is then
99 GNUmakefile in top directory.
101 * README, doc/index.html: Generate from *.in via configure (for
104 * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
105 nl_langinfo directly, for portability.
107 2002-10-05 Peter Verthez <Peter.Verthez@advalvas.be>
110 This is a test release
112 2002-10-04 Peter Verthez <Peter.Verthez@advalvas.be>
114 * iconv/libiconv/*: libiconv changes for ANSEL encoding.
116 2002-10-01 Peter Verthez <Peter.Verthez@advalvas.be>
118 * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
120 2002-09-28 Peter Verthez <Peter.Verthez@advalvas.be>
122 * all: Portability fixes and support for libiconv.
124 2002-09-22 Peter Verthez <Peter.Verthez@advalvas.be>
126 * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
127 link/unlink and delete cross-references.
129 * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
130 to check whether a (UTF-8) string is a valid token; bypass iconv
133 * gedcom/*: Fixed memory leaks reported by valgrind.
135 2002-09-21 Peter Verthez <Peter.Verthez@advalvas.be>
137 * t/standalone.c: Close outfile *after* the last output is done...
139 * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
142 * gedcom/encoding.c: Clean up environment at exit.
144 2002-09-15 Peter Verthez <Peter.Verthez@advalvas.be>
146 * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
148 2002-09-13 Peter Verthez <Peter.Verthez@advalvas.be>
150 * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
152 * doc/make_gom_xref: Corrected 'Generated from' string.
154 2002-09-12 Peter Verthez <Peter.Verthez@advalvas.be>
158 * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
159 Fixes for internationalization.
161 * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
164 2002-09-09 Peter Verthez <Peter.Verthez@advalvas.be>
166 * gom/*: First check-in of gedcom object model.
168 2002-09-08 Peter Verthez <Peter.Verthez@advalvas.be>
170 * all: More thorough error checking on library calls.
172 2002-09-01 Peter Verthez <Peter.Verthez@advalvas.be>
174 * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
176 * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
177 xref_value is not known yet. Added function gedcom_get_by_xref.
179 2002-08-28 Peter Verthez <Peter.Verthez@advalvas.be>
181 * gedcom/interface.c: A little more checking (for duplicate
184 * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
188 2002-08-25 Peter Verthez <Peter.Verthez@advalvas.be>
190 * gedcom/xref.c: Clean up xref table at exit (not after check), or when
193 * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
194 extra argument to callback functions: the record/element identifier.
196 2002-08-16 Peter Verthez <Peter.Verthez@advalvas.be>
198 * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
199 functions to compat.c; let default charset depend on the program.
201 * t/test_script: Check for a core file.
205 * t/dates.test, t/encoding_error.test: New tests.
207 * t/utf8-locale.c: Remove conversion warning at compilation.
209 * t/test_script: Enhancements to use script outside 'make check'.
211 * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
214 * t/Makefile.am: Added rule to be able to perform single tests.
216 * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
217 characters in to_internal (to avoid crashes).
219 * Lots of files: Add compability for Lifelines.
221 * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
222 gedcom/gedcom_date.lex:
223 Added rule that can help to avoid unnecessary recompilation of lex
224 files. It generates a new include file only when necessary: use this
227 2002-04-08 Peter Verthez <Peter.Verthez@advalvas.be>
229 * t/minimal.test: Added test on a minimal GEDCOM file.
231 2002-03-27 Peter Verthez <Peter.Verthez@advalvas.be>
235 * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
237 2002-03-17 Peter Verthez <Peter.Verthez@advalvas.be>
239 * gedcom/gedcom.y: Graceful error handling on bogus input.
241 * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
242 GCONV_PATH environment variable).
244 * Moved the test program to the t subdirectory.
246 * standalone.c, doc/usage.html: Use of the gedcom_init() function.
248 * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
249 to avoid problem with GCONV_PATH environment variable (see note in
252 2002-01-22 Peter Verthez <Peter.Verthez@advalvas.be>
254 * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
255 compatibility handling for ftree.
257 2002-01-20 Peter Verthez <Peter.Verthez@advalvas.be>
261 * restructured the test setup
263 2002-01-19 Peter Verthez <Peter.Verthez@advalvas.be>
265 * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
266 variables are substituted and the file gedcom.h is written
268 * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
269 to return number of conversion failures.
271 2002-01-16 Peter Verthez <Peter.Verthez@advalvas.be>
273 * gedcom/xref.c: Make sure that the 'string' member of an xref always
274 contains a valid string.
276 * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
279 * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
280 in static storage, so must use strdup and free afterwards.
282 2002-01-15 Peter Verthez <Peter.Verthez@advalvas.be>
284 * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
285 rest of the initialization, and let it be called before main (necessary
286 because iconv_open will only look at GCONV_PATH once, and e.g. GTK
287 calls iconv_open very early).
289 * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
290 context couldn't be opened, even if IGNORE_ERRORS.
292 * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
293 the application had set it).
295 2002-01-13 Peter Verthez <Peter.Verthez@advalvas.be>
297 * utf8-locale.c: Example implementation for conversion UTF-8 to
300 2002-01-12 Peter Verthez <Peter.Verthez@advalvas.be>
302 * more documentation...
304 2002-01-10 Peter Verthez <Peter.Verthez@advalvas.be>
306 * doc/parser.html: Start of character set explanation.
308 * enhancements to Makefiles for documentation.
310 * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
313 2002-01-05 Peter Verthez <Peter.Verthez@advalvas.be>
317 * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
319 * encoding.c: Bugfixes in using the hash implementation of kazlib.
321 * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
322 to have two of these macros in one statement. Move GEDCOM_MAKE_DATE
325 2002-01-03 Peter Verthez <Peter.Verthez@advalvas.be>
327 * gedcom.y: Bugfix for context handling of tags that are grouped in
330 * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
331 have a value (e.g. the NOTE record), so extra value necessary on
332 start record callback.
334 * gedcom.y: Correct value of NOTE element (opt_line_item was missing
337 2002-01-02 Peter Verthez <Peter.Verthez@advalvas.be>
339 * lots of files: Pass the parsed tag value (integer) together with
340 the string value in the callbacks. For this, a separate header is
341 auto-generated, containing the #defines from bison.
343 * t/test_script: Return exit code from testgedcom.
345 * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
346 kazlib (see AUTHORS for pointer).
348 2001-12-31 Peter Verthez <Peter.Verthez@advalvas.be>
352 2001-12-30 Peter Verthez <Peter.Verthez@advalvas.be>
354 * all: Added some initial documentation.
356 * gedcom/gedcom.y: Completed the calling of callbacks.
358 2001-12-29 Peter Verthez <Peter.Verthez@advalvas.be>
360 * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
361 put everything as a 'date phrase'.
363 2001-12-28 Peter Verthez <Peter.Verthez@advalvas.be>
365 * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
367 * gedcom/calendar/*: Calendar routines by Scott E. Lee
369 * gedcom.y: Added some more callbacks (not complete yet)
371 2001-12-23 Peter Verthez <Peter.Verthez@advalvas.be>
373 * include/gedcom.h: Add some declarations so that the external header
374 can be used in C++ programs.
376 2001-12-22 Peter Verthez <Peter.Verthez@advalvas.be>
378 * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
379 leave that to the applications.
381 2001-12-15 Peter Verthez <Peter.Verthez@advalvas.be>
384 Moved CVS repository to sourceforge.net (project gedcom-parse)
386 2001-12-10 Peter Verthez <Peter.Verthez@advalvas.be>
388 * all: Use of gettext.
390 * gedcom/Makefile.am: Support for the lexer test programs.
392 * all: Moved to LGPL license.
394 2001-12-09 Peter Verthez <Peter.Verthez@advalvas.be>
396 * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
397 in the GCONV_PATH environment variable (for the ANSEL encoding).
401 * all: Full move to autoconf/automake.
403 2001-12-08 Peter Verthez <Peter.Verthez@advalvas.be>
405 * all: Further specification of interface: message handler.
406 Start of specification of callbacks.
408 2001-12-03 Peter Verthez <Peter.Verthez@advalvas.be>
410 * Uploaded release 0.9 to genes at SourceForge.
412 2001-12-02 Peter Verthez <Peter.Verthez@advalvas.be>
416 * gedcom.h, Makefile: Add dmalloc testability.
418 * all: Reset the state properly for parsing new files.
422 * encoding.c: Specify explicitly the output buffer for to_internal:
423 used to put pointers and tags in different output buffer.
425 * gedcom_lex_common.c: New file containing all lex actions (is common
426 for all lexers). Better checks for maximum lengths.
428 2001-12-01 Peter Verthez <Peter.Verthez@advalvas.be>
430 * gedcom_*.lex: Return level number together with OPEN token.
432 2001-11-27 Peter Verthez <Peter.Verthez@advalvas.be>
434 * gedcom.enc: Adapt default iconv encoding names (to also support
437 2001-11-25 Peter Verthez <Peter.Verthez@advalvas.be>
439 * all: added proper copyright notice (copyright to the Genes
443 Uploaded to genes at SourceForge.
445 * all: general cleanup, making sure everything is in CVS
447 2001-11-24 Peter Verthez <Peter.Verthez@advalvas.be>
451 * ANSEL decoding added.
453 2001-11-23 Peter Verthez <Peter.Verthez@advalvas.be>
457 * Now with encoding mapping via configuration file.
459 2001-11-16 Peter Verthez <Peter.Verthez@advalvas.be>
463 * Now with full unicode support.
465 2001-11-04 Peter Verthez <Peter.Verthez@advalvas.be>
469 * Compatibility mode implemented.
471 2001-11-01 Peter Verthez <Peter.Verthez@advalvas.be>
475 * Now with full error handling of tags and subtags.
479 * Now covering the entire GEDCOM spec, without error handling.