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