Parsing age values.
[gedcom-parse.git] / ChangeLog
1 2002-08-16  Peter Verthez  <Peter.Verthez@advalvas.be>
2
3         * release 0.16
4
5         * t/dates.test, t/encoding_error.test: New tests.
6
7         * t/utf8-locale.c: Remove conversion warning at compilation.
8
9         * t/test_script: Enhancements to use script outside 'make check'.
10
11         * t/standalone.c, t/bogus.test: Parse bogus file only if enabled
12         via option.
13
14         * t/Makefile.am: Added rule to be able to perform single tests.
15
16         * gedcom/encoding.c, gedcom/gedcom_lex_common.c: Handle illegal
17         characters in to_internal (to avoid crashes).
18
19         * Lots of files: Add compability for Lifelines.
20
21         * Makefile.inc, gedcom/Makefile.am, gedcom/gedcom_lex_common.c,
22         gedcom/gedcom_date.lex:
23         Added rule that can help to avoid unnecessary recompilation of lex
24         files.  It generates a new include file only when necessary: use this
25         one in lex files.
26
27 2002-04-08  Peter Verthez  <Peter.Verthez@advalvas.be>
28
29         * t/minimal.test: Added test on a minimal GEDCOM file.
30
31 2002-03-27  Peter Verthez  <Peter.Verthez@advalvas.be>
32
33         * release 0.15
34
35         * gedcom/multilex.c: Make the use of gedcom_init() mandatory.
36
37 2002-03-17  Peter Verthez  <Peter.Verthez@advalvas.be>
38
39         * gedcom/gedcom.y: Graceful error handling on bogus input.
40
41         * t/path1.test, t/path2.test, t/pathtest.c: New tests (for the
42         GCONV_PATH environment variable).
43
44         * Moved the test program to the t subdirectory.
45
46         * standalone.c, doc/usage.html: Use of the gedcom_init() function.
47
48         * gedcom/multilex.c, gedcom/encoding.*: Added gedcom_init() function
49         to avoid problem with GCONV_PATH environment variable (see note in
50         gedcom/encoding.c).
51
52 2002-01-22  Peter Verthez  <Peter.Verthez@advalvas.be>
53
54         * gedcom/gedcom.y, gedcom/compat.c, gedcom/compat.h: Added
55         compatibility handling for ftree.
56
57 2002-01-20  Peter Verthez  <Peter.Verthez@advalvas.be>
58
59         * release 0.14
60
61         * restructured the test setup
62
63 2002-01-19  Peter Verthez  <Peter.Verthez@advalvas.be>
64
65         * gedcom.h: Renamed to gedcom.h.in: at configure, the VERSION
66         variables are substituted and the file gedcom.h is written
67
68         * utf8-locale.c: Added parameter to conversion from UTF-8 to locale,
69         to return number of conversion failures.
70
71 2002-01-16  Peter Verthez  <Peter.Verthez@advalvas.be>
72
73         * gedcom/xref.c: Make sure that the 'string' member of an xref always
74         contains a valid string.
75
76         * gedcom/gedcom.y: in use of INVALID_TAG: tag is struct instead of
77         simple string.
78
79         * gedcom/multilex.c (gedcom_parse_file): setlocale returns a string
80         in static storage, so must use strdup and free afterwards.
81
82 2002-01-15  Peter Verthez  <Peter.Verthez@advalvas.be>
83
84         * gedcom/encoding.c: Separate the modification of GCONV_PATH from the
85         rest of the initialization, and let it be called before main (necessary
86         because iconv_open will only look at GCONV_PATH once, and e.g. GTK
87         calls iconv_open very early).
88
89         * gedcom/gedcom.y: Don't allow the parser to continue if the conversion
90         context couldn't be opened, even if IGNORE_ERRORS.
91
92         * gedcom/multilex.c (gedcom_parse_file): Save the old locale (in case
93         the application had set it).
94
95 2002-01-13  Peter Verthez  <Peter.Verthez@advalvas.be>
96
97         * utf8-locale.c: Example implementation for conversion UTF-8 to
98         locale.
99
100 2002-01-12  Peter Verthez  <Peter.Verthez@advalvas.be>
101
102         * more documentation...
103
104 2002-01-10  Peter Verthez  <Peter.Verthez@advalvas.be>
105
106         * doc/parser.html: Start of character set explanation.
107
108         * enhancements to Makefiles for documentation.
109
110         * gedcom/Makefile.am, gedcom/gedcom_lex_common.c: Some bugfixes for the
111         standalone lexers.
112
113 2002-01-05  Peter Verthez  <Peter.Verthez@advalvas.be>
114
115         * release 0.13
116
117         * xref.*, gedcom.y, gedcom.h: Parse and process cross-references.
118
119         * encoding.c: Bugfixes in using the hash implementation of kazlib.
120
121         * interface.h: Add a variable to the GEDCOM_MAKE_* macros, to be able
122         to have two of these macros in one statement.  Move GEDCOM_MAKE_DATE
123         to date.h.
124
125 2002-01-03  Peter Verthez  <Peter.Verthez@advalvas.be>
126
127         * gedcom.y: Bugfix for context handling of tags that are grouped in
128         the yacc file.
129
130         * gedcom.y, gedcom.h, standalone.c, interface.*: Record can also
131         have a value (e.g. the NOTE record), so extra value necessary on
132         start record callback.
133
134         * gedcom.y: Correct value of NOTE element (opt_line_item was missing
135         an action).
136
137 2002-01-02  Peter Verthez  <Peter.Verthez@advalvas.be>
138
139         * lots of files: Pass the parsed tag value (integer) together with
140         the string value in the callbacks.  For this, a separate header is
141         auto-generated, containing the #defines from bison.
142
143         * t/test_script: Return exit code from testgedcom.
144
145         * gedcom/hash.*, gedcom/encoding.*: Use hash implementation from
146         kazlib (see AUTHORS for pointer).
147
148 2001-12-31  Peter Verthez  <Peter.Verthez@advalvas.be>
149
150         * release 0.12
151
152 2001-12-30  Peter Verthez  <Peter.Verthez@advalvas.be>
153
154         * all: Added some initial documentation.
155
156         * gedcom/gedcom.y: Completed the calling of callbacks.
157
158 2001-12-29  Peter Verthez  <Peter.Verthez@advalvas.be>
159
160         * gedcom/gedcom_date.y: Added graceful fallback for date parse errors:
161         put everything as a 'date phrase'.
162
163 2001-12-28  Peter Verthez  <Peter.Verthez@advalvas.be>
164
165         * gedcom_date.*, date.*: Parsing dates via a separate yacc parser.
166
167         * gedcom/calendar/*: Calendar routines by Scott E. Lee
168
169         * gedcom.y: Added some more callbacks (not complete yet)
170
171 2001-12-23  Peter Verthez  <Peter.Verthez@advalvas.be>
172
173         * include/gedcom.h: Add some declarations so that the external header
174         can be used in C++ programs.
175
176 2001-12-22  Peter Verthez  <Peter.Verthez@advalvas.be>
177
178         * Makefile.am, gedcom/Makefile.am: Don't link libgedcom with libintl:
179         leave that to the applications.
180
181 2001-12-15  Peter Verthez  <Peter.Verthez@advalvas.be>
182
183         * release 0.11
184         Moved CVS repository to sourceforge.net (project gedcom-parse)
185
186 2001-12-10  Peter Verthez  <Peter.Verthez@advalvas.be>
187
188         * all: Use of gettext.
189
190         * gedcom/Makefile.am: Support for the lexer test programs.
191
192         * all: Moved to LGPL license.
193
194 2001-12-09  Peter Verthez  <Peter.Verthez@advalvas.be>
195
196         * gedcom/encoding.c (init_encodings): Put data directory of libgedcom
197         in the GCONV_PATH environment variable (for the ANSEL encoding).
198
199         * release 0.10
200
201         * all: Full move to autoconf/automake.
202
203 2001-12-08  Peter Verthez  <Peter.Verthez@advalvas.be>
204
205         * all: Further specification of interface: message handler.
206         Start of specification of callbacks.
207
208 2001-12-03  Peter Verthez  <Peter.Verthez@advalvas.be>
209
210         * Uploaded release 0.9 to genes at SourceForge.
211
212 2001-12-02  Peter Verthez  <Peter.Verthez@advalvas.be>
213
214         * release 0.9
215
216         * gedcom.h, Makefile: Add dmalloc testability.
217
218         * all: Reset the state properly for parsing new files.
219
220         * release 0.8
221
222         * encoding.c: Specify explicitly the output buffer for to_internal:
223         used to put pointers and tags in different output buffer.
224
225         * gedcom_lex_common.c: New file containing all lex actions (is common
226           for all lexers).  Better checks for maximum lengths.
227
228 2001-12-01  Peter Verthez  <Peter.Verthez@advalvas.be>
229
230         * gedcom_*.lex: Return level number together with OPEN token.
231
232 2001-11-27  Peter Verthez  <Peter.Verthez@advalvas.be>
233
234         * gedcom.enc: Adapt default iconv encoding names (to also support
235         glibc-2.1.x).
236
237 2001-11-25  Peter Verthez  <Peter.Verthez@advalvas.be>
238
239         * all: added proper copyright notice (copyright to the Genes
240         Development Team)
241
242         * release 0.7
243           Uploaded to genes at SourceForge.
244
245         * all: general cleanup, making sure everything is in CVS
246
247 2001-11-24  Peter Verthez  <Peter.Verthez@advalvas.be>
248
249         * release 0.6
250
251         * ANSEL decoding added.
252
253 2001-11-23  Peter Verthez  <Peter.Verthez@advalvas.be>
254
255         * release 0.5
256
257         * Now with encoding mapping via configuration file.
258
259 2001-11-16  Peter Verthez  <Peter.Verthez@advalvas.be>
260
261         * release 0.4
262
263         * Now with full unicode support.
264
265 2001-11-04  Peter Verthez  <Peter.Verthez@advalvas.be>
266
267         * release 0.3
268
269         * Compatibility mode implemented.
270
271 2001-11-01  Peter Verthez  <Peter.Verthez@advalvas.be>
272
273         * release 0.2
274
275         * Now with full error handling of tags and subtags.
276
277         * release 0.1
278
279         * Now covering the entire GEDCOM spec, without error handling.
280