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