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