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