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