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