Fix bug in make distcheck.
[gedcom-parse.git] / ChangeLog
1 2002-12-21  Peter Verthez  <Peter.Verthez@advalvas.be>
2
3         * gedcom/date.c, gedcom/gedcom_date.*: New functions for handling
4         date values.
5
6 2002-12-15  Peter Verthez  <Peter.Verthez@advalvas.be>
7
8         * gom/*.c, gedcom/write.c, gedcom/date.c, gedcom/age.c: Support for
9         writing age values and data values (rudimentary).
10
11         * gom/*.c, gedcom/write.c: Completed writing of strings and xrefs.
12
13 2002-12-08  Peter Verthez  <Peter.Verthez@advalvas.be>
14
15         * gedcom/write.c: Writing long strings (with continuation), and
16         doubling of at characters.
17
18         * gedcom/gedcom.y, gedcom/buffer.*: Use safe buffer mechanism for
19         storing gedcom value (to avoid fixed buffer size).
20
21 2002-12-07  Peter Verthez  <Peter.Verthez@advalvas.be>
22
23         * gom/*: Use complete concatenated text instead of concatenating the
24         texts itself.
25
26         * gedcom/gedcom.y: Pass complete concatenated text in end callback
27         (this causes a backward incompatibility in the end record callback!)
28
29 2002-12-04  Peter Verthez  <Peter.Verthez@advalvas.be>
30
31         * gedcom/write.c, gom/gom.c: Beginnings of write support.
32
33 2002-12-01  Peter Verthez  <Peter.Verthez@advalvas.be>
34
35         * gedcom/encoding.c (to_internal): Use the conv_buffer interface
36         from utf8/utf8-convert.c.
37
38 2002-11-30  Peter Verthez  <Peter.Verthez@advalvas.be>
39
40         * utf8/utf8-convert.c: More general conversion interface (extracted
41         from utf8-locale.c and gedcom/encoding.c).
42
43 2002-11-24  Peter Verthez  <Peter.Verthez@advalvas.be>
44
45         * gedcom/message.c: Extracted safe buffer mechanism to buffer.c
46         for reuse.
47
48 2002-11-22  Peter Verthez  <Peter.Verthez@advalvas.be>
49
50         * gom/gom_modify.c: Check whether given strings are valid.
51
52         * utf8/utf8.c: Functions for checking UTF-8 strings and computing
53         length.
54
55 2002-11-04  Peter Verthez  <Peter.Verthez@advalvas.be>
56
57         * gedcom/multilex.c, all: Use dgettext instead of gettext => no more
58         need of textdomain().
59
60 2002-11-03  Peter Verthez  <Peter.Verthez@advalvas.be>
61
62         * gedcom/multilex.c (gedcom_parse_file): Move setlocale call to
63         gedcom_init, make strdup of saved textdomain (to avoid corruption).
64
65         * all: Removed support for dmalloc (valgrind is much better and doesn't
66         require changing the sources).
67
68         * m4/gedcom.m4: Added m4 macro for configure.in support.
69
70 2002-11-01  Peter Verthez  <Peter.Verthez@advalvas.be>
71
72         * gedcom/gedcom_*.lex: A pointer with only one character between the
73         at signs is also valid.
74
75         * gedcom/xref.c (is_valid_pointer): New function (also checks for
76         maximum size).
77
78         * include/gom.h: Added links to the definitions in the Gedcom standard.
79
80         * all: update of documentation
81
82 2002-10-30  Peter Verthez  <Peter.Verthez@advalvas.be>
83
84         * gedcom/gedcom_lex_common.c, gedcom/multilex.c: Fix for line numbering
85         bug (bug 613480).
86
87 2002-10-28  Peter Verthez  <Peter.Verthez@advalvas.be>
88
89         * release 0.17.2
90           This is another test release
91
92 2002-10-27  Peter Verthez  <Peter.Verthez@advalvas.be>
93
94         * gedcom/Makefile.am: Put generated lex and yacc files also in dist.
95
96         * doc/Makefile.am: Put generated file gomxref.html also in dist (so
97         perl isn't needed at make-time).
98
99         * utf8/utf8-locale.c (convert_utf8_to_locale): Set conv_fails on total
100         conversion failure too.
101
102         * all: Further small portability fixes.
103
104 2002-10-26  Peter Verthez  <Peter.Verthez@advalvas.be>
105
106         * t/output/*: Reference output for the tests; compare the actual test
107         output to these files.
108
109 2002-10-23  Peter Verthez  <Peter.Verthez@advalvas.be>
110
111         * Makefile.inc: Portability fix: 'if ! diff ...' isn't always supported
112         by sh.
113
114         * include/Makefile.am: Portability fix: grep isn't always understanding
115         full regex syntax.
116
117         * utf8/Makefile.am, configure.in: Only link in libcharset if libiconv
118         is not used.
119
120 2002-10-21  Peter Verthez  <Peter.Verthez@advalvas.be>
121
122         * all: Further portability fixes to Makefile.am and such.
123
124 2002-10-20  Peter Verthez  <Peter.Verthez@advalvas.be>
125
126         * */Makefile.am: Fixes for using included gettext.
127
128         * intl/Makefile.in: Hack for generating libtool convenience library
129         instead of shared library.
130
131         * README: Modify at dist instead of via configure.in (GNU make is used
132         anyway).
133
134         * intl/*: Upgraded to gettext 0.10.38 (to have extra functions, such
135         as bind_textdomain_codeset).
136
137 2002-10-14  Peter Verthez  <Peter.Verthez@advalvas.be>
138
139         * gedcom/encoding.c (to_internal): Add ICONV_CONST for portability.
140
141         * utf8/utf8-locale.c: Add forgotten header string.h
142
143 2002-10-13  Peter Verthez  <Peter.Verthez@advalvas.be>
144
145         * Makefile: Require GNU make to be used -> normal makefile is then
146         GNUmakefile in top directory.
147
148         * README, doc/index.html: Generate from *.in via configure (for
149         portability).
150
151         * utf8/utf8-locale.c, utf8/libcharset/: Use locale_charset instead of
152         nl_langinfo directly, for portability.
153
154 2002-10-05  Peter Verthez  <Peter.Verthez@advalvas.be>
155
156         * release 0.17.1
157           This is a test release
158
159 2002-10-04  Peter Verthez  <Peter.Verthez@advalvas.be>
160
161         * iconv/libiconv/*: libiconv changes for ANSEL encoding.
162
163 2002-10-01  Peter Verthez  <Peter.Verthez@advalvas.be>
164
165         * ansel/ANSI_Z39.47.c: Fixes to ansel decoding and (mostly) encoding.
166
167 2002-09-28  Peter Verthez  <Peter.Verthez@advalvas.be>
168
169         * all: Portability fixes and support for libiconv.
170
171 2002-09-22  Peter Verthez  <Peter.Verthez@advalvas.be>
172
173         * gedcom/xref.c, include/gedcom.h.in: Added functions to retrieve, add,
174         link/unlink and delete cross-references.
175
176         * gedcom/gedcom_1byte.lex, gedcom/gedcom_lex_common.c: Added a function
177         to check whether a (UTF-8) string is a valid token; bypass iconv
178         conversion for this.
179
180         * gedcom/*: Fixed memory leaks reported by valgrind.
181
182 2002-09-21  Peter Verthez  <Peter.Verthez@advalvas.be>
183
184         * t/standalone.c: Close outfile *after* the last output is done...
185
186         * gedcom/gedcom_*.lex, gedcom/gedcom_lex_common.c: Workaround for
187         memory leak in flex.
188
189         * gedcom/encoding.c: Clean up environment at exit.
190
191 2002-09-15  Peter Verthez  <Peter.Verthez@advalvas.be>
192
193         * gedcom.h.in, gedcom/*, gom/*: Take care of const correctness.
194
195 2002-09-13  Peter Verthez  <Peter.Verthez@advalvas.be>
196
197         * include/gom.h: Add include file to be able to recognize __BEGIN_DECLS
198
199         * doc/make_gom_xref: Corrected 'Generated from' string.
200
201 2002-09-12  Peter Verthez  <Peter.Verthez@advalvas.be>
202
203         * release 0.17
204
205         * gedcom/gedcom_lex_common.c, gedcom/interface.c, gedcom/message.c:
206         Fixes for internationalization.
207
208         * doc/make_gom_xref, doc/usage.html: Documentation for the gedcom
209         object model.
210
211 2002-09-09  Peter Verthez  <Peter.Verthez@advalvas.be>
212
213         * gom/*: First check-in of gedcom object model.
214
215 2002-09-08  Peter Verthez  <Peter.Verthez@advalvas.be>
216
217         * all: More thorough error checking on library calls.
218
219 2002-09-01  Peter Verthez  <Peter.Verthez@advalvas.be>
220
221         * gedcom/gedcom.y: Use XREF_ANY for an association instead of XREF_INDI
222
223         * include/gedcom.h.in, gedcom/xref.c: Added XREF_ANY for when type of
224         xref_value is not known yet.  Added function gedcom_get_by_xref.
225
226 2002-08-28  Peter Verthez  <Peter.Verthez@advalvas.be>
227
228         * gedcom/interface.c: A little more checking (for duplicate
229         registration).
230
231         * gedcom/age.c, gedcom/age.h, gedcom/gedcom.y, include/gedcom.h,
232         t/standalone.c:
233         Parsing age values.
234
235 2002-08-25  Peter Verthez  <Peter.Verthez@advalvas.be>
236
237         * gedcom/xref.c: Clean up xref table at exit (not after check), or when
238         new file is parsed.
239
240         * include/gedcom.h.in, gedcom/interface.c, t/standalone.c: Added
241         extra argument to callback functions: the record/element identifier.
242
243 2002-08-16  Peter Verthez  <Peter.Verthez@advalvas.be>
244
245         * gedcom/compat.*, gedcom/gedcom.y: Moved all compatibility handling
246         functions to compat.c; let default charset depend on the program.
247
248         * t/test_script: Check for a core file.
249
250         * release 0.16
251
252         * t/dates.test, t/encoding_error.test: New tests.
253
254         * t/utf8-locale.c: Remove conversion warning at compilation.
255
256         * t/test_script: Enhancements to use script outside 'make check'.
257
258         * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
259         via option.
260
261         * t/Makefile.am: Added rule to be able to perform single tests.
262
263         * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
264         characters in to_internal (to avoid crashes).
265
266         * Lots of files: Add compability for Lifelines.
267
268         * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
269         gedcom/gedcom_date.lex:
270         Added rule that can help to avoid unnecessary recompilation of lex
271         files.  It generates a new include file only when necessary: use this
272         one in lex files.
273
274 2002-04-08  Peter Verthez  <Peter.Verthez@advalvas.be>
275
276         * t/minimal.test: Added test on a minimal GEDCOM file.
277
278 2002-03-27  Peter Verthez  <Peter.Verthez@advalvas.be>
279
280         * release 0.15
281
282         * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
283
284 2002-03-17  Peter Verthez  <Peter.Verthez@advalvas.be>
285
286         * gedcom/gedcom.y: Graceful error handling on bogus input.
287
288         * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
289         GCONV_PATH environment variable).
290
291         * Moved the test program to the t subdirectory.
292
293         * standalone.c, doc/usage.html: Use of the gedcom_init() function.
294
295         * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
296         to avoid problem with GCONV_PATH environment variable (see note in
297         gedcom/encoding.c).
298
299 2002-01-22  Peter Verthez  <Peter.Verthez@advalvas.be>
300
301         * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
302         compatibility handling for ftree.
303
304 2002-01-20  Peter Verthez  <Peter.Verthez@advalvas.be>
305
306         * release 0.14
307
308         * restructured the test setup
309
310 2002-01-19  Peter Verthez  <Peter.Verthez@advalvas.be>
311
312         * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
313         variables are substituted and the file gedcom.h is written
314
315         * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
316         to return number of conversion failures.
317
318 2002-01-16  Peter Verthez  <Peter.Verthez@advalvas.be>
319
320         * gedcom/xref.c: Make sure that the 'string' member of an xref always
321         contains a valid string.
322
323         * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
324         simple string.
325
326         * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
327         in static storage, so must use strdup and free afterwards.
328
329 2002-01-15  Peter Verthez  <Peter.Verthez@advalvas.be>
330
331         * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
332         rest of the initialization, and let it be called before main (necessary
333         because iconv_open will only look at GCONV_PATH once, and e.g. GTK
334         calls iconv_open very early).
335
336         * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
337         context couldn't be opened, even if IGNORE_ERRORS.
338
339         * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
340         the application had set it).
341
342 2002-01-13  Peter Verthez  <Peter.Verthez@advalvas.be>
343
344         * utf8-locale.c: Example implementation for conversion UTF-8 to
345         locale.
346
347 2002-01-12  Peter Verthez  <Peter.Verthez@advalvas.be>
348
349         * more documentation...
350
351 2002-01-10  Peter Verthez  <Peter.Verthez@advalvas.be>
352
353         * doc/parser.html: Start of character set explanation.
354
355         * enhancements to Makefiles for documentation.
356
357         * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
358         standalone lexers.
359
360 2002-01-05  Peter Verthez  <Peter.Verthez@advalvas.be>
361
362         * release 0.13
363
364         * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
365
366         * encoding.c: Bugfixes in using the hash implementation of kazlib.
367
368         * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
369         to have two of these macros in one statement.  Move GEDCOM_MAKE_DATE
370         to date.h.
371
372 2002-01-03  Peter Verthez  <Peter.Verthez@advalvas.be>
373
374         * gedcom.y: Bugfix for context handling of tags that are grouped in
375         the yacc file.
376
377         * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
378         have a value (e.g. the NOTE record), so extra value necessary on
379         start record callback.
380
381         * gedcom.y: Correct value of NOTE element (opt_line_item was missing
382         an action).
383
384 2002-01-02  Peter Verthez  <Peter.Verthez@advalvas.be>
385
386         * lots of files: Pass the parsed tag value (integer) together with
387         the string value in the callbacks.  For this, a separate header is
388         auto-generated, containing the #defines from bison.
389
390         * t/test_script: Return exit code from testgedcom.
391
392         * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
393         kazlib (see AUTHORS for pointer).
394
395 2001-12-31  Peter Verthez  <Peter.Verthez@advalvas.be>
396
397         * release 0.12
398
399 2001-12-30  Peter Verthez  <Peter.Verthez@advalvas.be>
400
401         * all: Added some initial documentation.
402
403         * gedcom/gedcom.y: Completed the calling of callbacks.
404
405 2001-12-29  Peter Verthez  <Peter.Verthez@advalvas.be>
406
407         * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
408         put everything as a 'date phrase'.
409
410 2001-12-28  Peter Verthez  <Peter.Verthez@advalvas.be>
411
412         * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
413
414         * gedcom/calendar/*: Calendar routines by Scott E. Lee
415
416         * gedcom.y: Added some more callbacks (not complete yet)
417
418 2001-12-23  Peter Verthez  <Peter.Verthez@advalvas.be>
419
420         * include/gedcom.h: Add some declarations so that the external header
421         can be used in C++ programs.
422
423 2001-12-22  Peter Verthez  <Peter.Verthez@advalvas.be>
424
425         * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
426         leave that to the applications.
427
428 2001-12-15  Peter Verthez  <Peter.Verthez@advalvas.be>
429
430         * release 0.11
431         Moved CVS repository to sourceforge.net (project gedcom-parse)
432
433 2001-12-10  Peter Verthez  <Peter.Verthez@advalvas.be>
434
435         * all: Use of gettext.
436
437         * gedcom/Makefile.am: Support for the lexer test programs.
438
439         * all: Moved to LGPL license.
440
441 2001-12-09  Peter Verthez  <Peter.Verthez@advalvas.be>
442
443         * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
444         in the GCONV_PATH environment variable (for the ANSEL encoding).
445
446         * release 0.10
447
448         * all: Full move to autoconf/automake.
449
450 2001-12-08  Peter Verthez  <Peter.Verthez@advalvas.be>
451
452         * all: Further specification of interface: message handler.
453         Start of specification of callbacks.
454
455 2001-12-03  Peter Verthez  <Peter.Verthez@advalvas.be>
456
457         * Uploaded release 0.9 to genes at SourceForge.
458
459 2001-12-02  Peter Verthez  <Peter.Verthez@advalvas.be>
460
461         * release 0.9
462
463         * gedcom.h, Makefile: Add dmalloc testability.
464
465         * all: Reset the state properly for parsing new files.
466
467         * release 0.8
468
469         * encoding.c: Specify explicitly the output buffer for to_internal:
470         used to put pointers and tags in different output buffer.
471
472         * gedcom_lex_common.c: New file containing all lex actions (is common
473           for all lexers).  Better checks for maximum lengths.
474
475 2001-12-01  Peter Verthez  <Peter.Verthez@advalvas.be>
476
477         * gedcom_*.lex: Return level number together with OPEN token.
478
479 2001-11-27  Peter Verthez  <Peter.Verthez@advalvas.be>
480
481         * gedcom.enc: Adapt default iconv encoding names (to also support
482         glibc-2.1.x).
483
484 2001-11-25  Peter Verthez  <Peter.Verthez@advalvas.be>
485
486         * all: added proper copyright notice (copyright to the Genes
487         Development Team)
488
489         * release 0.7
490           Uploaded to genes at SourceForge.
491
492         * all: general cleanup, making sure everything is in CVS
493
494 2001-11-24  Peter Verthez  <Peter.Verthez@advalvas.be>
495
496         * release 0.6
497
498         * ANSEL decoding added.
499
500 2001-11-23  Peter Verthez  <Peter.Verthez@advalvas.be>
501
502         * release 0.5
503
504         * Now with encoding mapping via configuration file.
505
506 2001-11-16  Peter Verthez  <Peter.Verthez@advalvas.be>
507
508         * release 0.4
509
510         * Now with full unicode support.
511
512 2001-11-04  Peter Verthez  <Peter.Verthez@advalvas.be>
513
514         * release 0.3
515
516         * Compatibility mode implemented.
517
518 2001-11-01  Peter Verthez  <Peter.Verthez@advalvas.be>
519
520         * release 0.2
521
522         * Now with full error handling of tags and subtags.
523
524         * release 0.1
525
526         * Now covering the entire GEDCOM spec, without error handling.
527