root/library/bdm/base/libconfig/ChangeLog @ 1165

Revision 689, 16.4 kB (checked in by mido, 15 years ago)

new version of libconfig added
an improvement of testsuite - calling of "testsuite print" prints all the currently prepared unit tests
a CMakeLists.txt modificiation to remowe CMake 2.8 warnings

Line 
1        ----- version 1.4b4 ------
2
32009-09-09  Mark Lindner  <markl@neuromancer>
4
5        * lib/Makefile.am - fixed MinGW build issues
6
7        ----- version 1.4b3 ------
8
92009-09-04  Mark Lindner  <markl@neuromancer>
10
11        * lib/libconfig.c, lib/scanner.l, lib/grammar.y - fixed all memory
12          leaks reported by Valgrind; removed an unncessary strdup()/free().
13
142009-09-01  Mark Lindner  <markl@neuromancer>
15
16        * lib/libconfig.c, lib/libconfig.h, lib/libconfigcpp.c++,
17          lib/libconfig.h++ - added config_error_type() and fixed a segfault
18           when throwing a ParseException.
19        * doc/libconfig.texi - doc updates
20
21        ----- version 1.4b2 ------
22
232009-08-29  Mark Lindner  <markl@neuromancer>
24
25        * examples/* - added new example programs to replace the less
26          practical ones in samples/
27
282009-08-25  Mark Lindner  <markl@neuromancer>
29
30        * lib/libconfig.c, lib/libconfig.h, lib/libconfigcpp.c++,
31          lib/libconfig.h++ - added config_set_tab_width(),
32          config_get_tab_width() and Config::setTabWidth(),
33          Config::getTabWidth().
34        * doc/libconfig.texi - doc updates
35
36        ----- version 1.4b1 ------
37
382009-08-21  Mark Lindner  <markl@neuromancer>
39
40        * lib/libconfig.h++, lib/libconfigcpp.c++ - broke the public
41          dependency on libconfig.h; updated VC++ projects on Windows so that
42          the C++ DLL no longer exports any of the C API functions
43        * debian/* - updated for version 1.4
44        * lib/libconfig.c - fixed an isprint() assertion on Windows
45
462009-08-20  Mark Lindner  <markl@neuromancer>
47
48        lib/parsectx.c, lib/parsectx.h, lib/scanctx.c, lib/scanctx.h,
49        lib/strbuf.c, lib/strbuf.h - code refactoring to reduce library size
50        lib/Makefile.am - fixed 'make install' error
51
52        ----- version 1.4b ------
53
542009-08-16  Mark Lindner  <markl@neuromancer>
55
56        * lib/libconfig.c, lib/libconfig.h, lib/scanctx.c, lib/scanctx.h,
57          lib/grammar.y, lib/grammar.c, lib/grammar.h - added
58          config_read_string(); added config_setting_source_file() and
59          management of list of input file names; added #ifdef guard for
60          DllMain() function so that it's not included for static library
61          builds
62        * lib/libconfigcpp.c++, lib/libconfig.h++ - added filename to
63          ParseException; bugfix in Setting::setFormat(); made what() methods
64          of exceptions public; added Setting::getSourceFile(),
65          Config::readString().
66        * doc/libconfig.texi - documentation updates
67        * lib/Makefile.am - bump .so version
68        * ac_config.h, configure.ac, libtool - bump version
69
702009-07-19  Mark Lindner  <markl@neuromancer>
71
72        * lib/libconfig.c, lib/libconfig.h, lib/libconfigcpp.c++,
73          lib/libconfig.h++ - added config_read_string() and
74          Config::readString() functions (contributed by Matthias Weisser).
75
762009-07-02  Mark Lindner  <markl@neuromancer>
77
78        * lib/parsectx.c, lib/parsectx.h, lib/scanctx.c, lib/scanctx.h,
79          lib/scanner.l, lib/grammar.y, lib/private.h, lib/Makefile.am,
80          lib/libconfig.c, lib/libconfig.h - replaced ugly C code in scanner.l
81          for processing strings with a new <STRING> scanner state and
82          associated rules; added support for hex character literals (\xNN) in
83          strings; refactored scanner and parser context into separate source
84          files; added preliminary support for include files ("@include"
85          directive).
86
872009-05-27  Mark Lindner  <markl@neuromancer>
88
89        * ltmain.sh, ac_config.h, ac_config.h.in, configure.ac, libconfig.spec,
90          libtool - upgraded to newer versions of autotools
91        * grammar.y, grammar.h, grammar.c, libconfigcpp.c++, libconfig.h++,
92          libconfig.c, libconfig.h - added LIBCONFIG_VER_* macros, changed API
93          to replace 'long' and 'unsigned long' with 'int' and 'unsigned int'
94          to resolve a portability problem; added 'const' to declarations of
95          getLine() and getError() methods on ParseException
96        * <multiple> - directory structure reorg
97
98        ----- version 1.3.2 ------
99
1002009-02-18  Mark Lindner  <markl@neuromancer>
101
102        * libconfig.vcproj, libconfig++.vcproj - #define _STDLIB_H to
103          eliminate 'inconsistent dll linkage' warnings for free & malloc
104
1052009-02-17  Mark Lindner  <markl@neuromancer>
106
107        * libconfig.c, libconfig.h - added config_setting_lookup*() functions;
108          modified config_lookup_*() functions to have more consistent API
109          (return status, and accept value-result param)
110        * debian/* - updates and cleanup (from Klaus Schneider-Zapp)
111        * libconfig.spec, Makefile.am, ac_config.h - update version number
112        * doc/libconfig.texi - documentation updates
113        * samples/c/sample1.c - patch from Rodolfo Giometti
114        * samples/c/stub.c - fixed relative to API changes
115
1162008-12-06  Mark Lindner  <markl@neuromancer>
117
118        * libconfig.c - fix memory leak in config_setting_remove_elem();
119          reported by Timi Tuohenmaa
120        * configure.ac - fix incorrect processing of --enable-cxx option;
121          reported by Thomas Gazzola
122
1232008-09-11  Mark Lindner  <markl@neuromancer>
124
125        * debian/libconfigduo2.postinst - fix typo in test stmt
126
127        ----- version 1.3.1 ------
128
1292008-09-07  Mark Lindner  <markl@neuromancer>
130
131        * scanner.l, wincompat.h - workarounds for problems with parsing and
132          formatting of 64-bit integers on MinGW
133        * scanner.c - regenerated
134
1352008-09-05  Mark Lindner  <markl@neuromancer>
136
137        * libconfig.spec - updated for 1.3.1
138        * Makefile.am - fix version
139        * scanner.l - add fromhex() function, since strtoull() seems broken
140          on MinGW
141
1422008-08-25  Mark Lindner  <markl@neuromancer>
143
144        * libconfigcpp.c++, libconfig.h++ - derive exceptions from
145          std::exception
146
1472008-08-10  Mark Lindner  <markl@neuromancer>
148
149        * wincompat.h - fix MinGW build issue
150        * configure.ac, ac_config.h, Makefile.am - bump version
151        * doc/libconfig.texi - doc updates
152        * libconfigcpp.c++, libconfig.h++ - include path information in
153          setting exceptions
154        * libconfig.c - force "C" locale for parsing & formatting
155
156        ----- version 1.3 ------
157
1582008-04-07  Mark Lindner  <markl@neuromancer>
159
160        * libconfig.spec - updated for 1.3
161
1622008-04-03  Mark Lindner  <markl@neuromancer>
163
164        * scanner.l, grammar.y, libconfig.c, libconfig.h, wincompat.h -
165          fix/add comment headers, add C90 portability fixes from
166          Chris Pickett (C-style comments, renamed 'index' to 'idx' to
167          resolve name clash)
168        * scanner.c, grammar.c - regenerated
169        * configure.ac - enable more gcc warnings
170        * libconfigcpp.c++, libconfig.h++ - added getPath(), fixed impl of
171          isRoot(), add portability fixes from Chris Pickett (renamed 'index'
172          to 'idx' to resolve name clash), moved exception constructors into
173          source file; changed SettingExistsException to SettingNameException
174          to be more broad in scope
175        * Makefile.am - add wincompat.h to sources; add missing debian files
176          to EXTRA_DIST
177        * test.cfg - added example 64-bit integer settings
178        * samples/* - expanded some examples
179        * doc/libconfig.texi - documentation updates
180        * Makefile.am, *msvc7* - added (generated) VS2003 projects/solution
181
1822008-03-22  Mark Lindner  <markl@neuromancer>
183
184        * debian/* - updates from Klaus Schneider
185
1862008-03-22  Mark Lindner  <markl@neuromancer>
187
188        * scanner.l, grammar.y, libconfig.h++, libconfig.c, libconfig.h,
189          wincompat.h, libconfigcpp.c++, grammar.c, scanner.c, grammar.h -
190          add support for 64-bit integer values
191        * libconfig.texi - documentation updates
192        * Makefile.am, ac_config.h, configure.ac, libtool - bump version
193        * libconfig.h - add config_setting_parent(), config_setting_is_root()
194        * libconfigcpp.c++, libconfig.h++ - add isRoot(), getParent() to
195          Setting
196
1972008-03-15  Mark Lindner  <markl@neuromancer>
198
199        * scanner.l - made 'true' and 'false' tokens completely
200          case-insensitive
201        * libconfigcpp.cc, libconfig.hh - added alias files for Windows
202        * libconfig.c, libconfig.h - modified __config_write_value() to write
203          out floating point values in a more human-readable form; added name
204          validation; added config_setting_remove_elem() and
205          config_setting_index()
206        * libconfigcpp.c++, libconfig.h++ - added remove(unsigned int) and
207          getIndex() to Setting
208        * libconfig.texi - documentation updates
209
210        ----- version 1.2.1 ------
211       
2122007-12-21  Mark Lindner  <markl@neuromancer>
213
214        * libconfig.c - source cleanup
215        * config.guess, config.sub, ltmain.sh, libtool - updated to newer
216        * configure.ac, Makefile.am, ac_config.h.in, ac_config.h
217          - MinGW-related fixes
218
219        ----- version 1.2 ------
220
2212007-10-15  Mark Lindner  <markl@neuromancer>
222
223        * libconfig.h++, libconfigcpp.c++ - renamed "SettingFormat" to
224          "Setting::Format" to reduce namespace pollution
225
2262007-10-13  Mark Lindner  <markl@neuromancer>
227
228        * scanner.l - updated regexp for float to allow for values which have
229          an exponent but no decimal point
230        * grammar.y - capture input line number when parsing settings
231        * libconfig.c, libconfig.h - added config_setting_is*() macros;
232          added config_setting_source_line(); added line member to
233          config_setting_t struct
234        * libconfig.c++, libconfig.h++ - renamed "SettingType" enum to
235          Setting::Type to reduce namespace pollution; added getSourceLine()
236        * samples/* - various updates
237        * debian/changelog - added entry
238        * ac_config.h, configure.ac, libtool, Makefile.am - new version #
239        * TODO - updates
240        * doc/libconfig.texi - documentation updates
241
2422007-10-12  Mark Lindner  <markl@neuromancer>
243
244        * libconfig.c, libconfig.h - added config_set_auto_convert(),
245          config_get_auto_convert(), and number auto-conversion logic
246        * libconfigcpp.c++, libconfig.h++ - add setAutoConvert(),
247          getAutoConvert(), lookupValue() that takes std::string&,
248          corrected return values of assignment operators
249        * debian/rules - made file executable
250        * debian/libconfigduo-dev.install - add pkgconfig files to list
251       
2522007-09-22  Mark Lindner  <markl@neuromancer>
253
254        * libconfig.c, libconfig.h - change 'type' and 'format' members of
255           config_setting_t to short, thereby saving 4 bytes
256
2572007-09-22  Mark Lindner  <markl@neuromancer>
258
259        * doc/libconfig.texi - add @direntry to fix install-info warnings
260        * libconfig.spec.in, Makefile.am, configure.ac - added RPM support
261          (from Deneys S. Maartens)
262
2632007-09-18  Mark Lindner  <markl@neuromancer>
264
265        * libconfig.h - remove DLL_EXPORT; add LIBCONFIG_STATIC to fix
266          static linking on Windows
267
2682007-09-18  Deneys S. Maartens  <dsm@tlabs.ac.za>
269       
270        * samples/c/Makefile.am, samples/c++/Makefile.am - Add
271          AM_CPPFLAGS to fix distcheck build failure
272        * Makefile.am - expand wildcards in EXTRA_DIST to fix distcheck
273          build failure
274
275        ----- version 1.1.3 ------
276
2772007-08-03  Mark Lindner  <markl@neuromancer>
278
279        * libconfigcpp.c++ - bugfix in unsigned cast operators (incorrect value
280          clipping logic)
281        * debian/control - made some corrections
282
283        ----- version 1.1.2 ------
284
2852007-07-01  Mark Lindner  <markl@neuromancer>
286
287        * debian/* added debian package files from Klaus Schneider
288        * libconfig.h++ - added new predicate is<type>() functions
289        * libconfig.h - fix comments
290        * doc/libconfig.texi - documentation updates
291        * ac_config.h, configure.ac, Makefile.am - new version #
292       
293        ----- version 1.1.1 ------
294
2952007-06-15  Mark Lindner  <markl@neuromancer>
296
297        * scanner.l - bugfix in string parsing
298        * test.cfg - added test case
299
300        ----- version 1.1 ------
301
3022007-04-18  Mark Lindner  <markl@neuromancer>
303
304        * libconfigcpp.c++ - bugfix in add(SettingType)
305        * stubcpp.cpp - add more ad-hoc tests
306
3072007-04-05  Mark Lindner  <markl@neuromancer>
308
309        * scanner.l - Add string concatenation patch from Glenn Herteg.
310          Add \f as a whitespace character.
311        * grammar.y - add mode directive emacs
312        * libconfigcpp.c++, libconfig.h++ - add exists() and lookupValue()
313          methods; add Setting::operator std::string()
314        * libconfig.texi - documentation updates
315
316        ----- version 1.0.1 ------
317
3182006-11-26  Mark Lindner  <markl@neuromancer>
319
320        * samples/c/Makefile.am, samples/c++/Makefile.am - fix linker error
321        * libconfig.texi - documentation update
322
323        ----- version 1.0 ------
324
3252006-10-19  Mark Lindner  <markl@neuromancer>
326
327        * libconfigcpp.c++ - bugfix in add() for lists
328
3292006-10-11  Mark Lindner  <markl@neuromancer>
330
331        * scanner.l - allow asterisk in setting names (submitted by
332          James McCann)
333        * libconfig.texi - documentation updates
334        * configure.ac, Makefile.am, samples/Makefile.am - add --disable-cxx
335          configure option; conditionally build/install C++ components
336
3372006-10-01  Mark Lindner  <markl@neuromancer>
338
339        * <multiple> - samples cleanup
340
3412006-09-14  Mark Lindner  <markl@neuromancer>
342
343        * libconfig.c - Change %.8f to %e for double values in
344          __config_write_value(). Submitted by Filipe Maia.
345
3462006-08-31  Mark Lindner  <markl@neuromancer>
347
348        * Makefile.am - changed bin_PROGRAMS to noinst_PROGRAMS; the stub
349          programs are for testing and should not be installed.
350
3512006-08-26  Mark Lindner  <markl@neuromancer>
352
353        * libconfig.texi - documentation corrections & updates
354        * stub.c, stubcpp.c++ - check return value of fopen(); fix compiler
355          warnings
356        * configure.ac, Makefile.am - add -Wall to CFLAGS only for gcc;
357          add test.cfg to EXTRA_DIST
358        * grammar.y, libconfigcpp.c++ - fix compiler warnings
359        * libconfig.c - use CONFIG_TRUE & CONFIG_FALSE rather than 1 & 0
360          for success/failure return values.
361
362        ----- version 0.9 ------
363
3642006-07-29  Mark Lindner  <markl@neuromancer>
365
366        * <multiple> - major grammar redesign: groups are now values instead of
367          distinct syntax constructs; this allows groups to be elements of
368          lists
369        * libconfig.texi - documentation updates; added new chapter containing
370          the BNF grammar
371        * test.cfg - modified to reflect new syntax and to demonstrate lists
372
3732006-06-23  Mark Lindner  <markl@neuromancer>
374
375        * <multiple> - added support for lists (collections of
376          heterogeneous values of any type)
377        * libconfig.c - pretty-printing fixes in config_write()
378
3792006-06-08  Mark Lindner  <markl@neuromancer>
380
381        * libconfig.h++ - added private copy constructor & assignment operator
382          (from Josef Meile)
383        * ligconfigcpp.c++, libconfig.h++ - added cast operators for unsigned
384          int and unsigned long (from Scott Frazer)
385        * <multiple> - add support for value formats; the only non-default
386          format currently supported is hexadecimal format for integer values
387          (based on patch from Scott Frazer)
388
3892006-04-15  Mark Lindner  <markl@neuromancer>
390
391        * <multiple> - added pkg-config support
392
3932006-03-31  mlindner  <markl@neuromancer>
394
395        * <multiple> - cleaned up config.tab.h mess (this file was obsolete,
396          and superseded by grammar.h ... problem identified by Scott Frazer)
397
3982006-03-30  mlindner  <mlindner@chimera>
399
400        * grammar.y - fixed includes for windows (missing decl of malloc/free)
401        * libconfig.c - fixed several signed/unsigned warnings
402        * doc/libconfig.texi - documentation updates, formatting fix
403        * scanner.l - allow lowercase 'true' and 'false' in addition to
404          'TRUE' and 'FALSE'
405
4062006-03-27  Mark Lindner  <markl@neuromancer>
407
408        * libconfigcpp.c++ - added missing break statements in switch (from
409          Lukas Zweifel)
410        * libconfig.c - don't strdup() a NULL string (from Lukas Zweifel)
411        * grammar.c, grammar.h - regenerated with bison 2.1
412
4132006-03-20  Mark Lindner  <markl@neuromancer>
414
415        * scanner.l - added '%option nounistd' and regenerated with newest
416          version of flex; Windows doesn't have unistd.h.
417
4182006-03-17  Mark Lindner  <markl@neuromancer>
419
420        * grammar.y - bugfix; error & abort parsing if duplicate setting name
421          encountered (previously caused a crash ... reported by Tobias Witek)
422        * scanner.l - bugfix; multi-line C-style comments were causing line
423          number counting to be thrown off, because the newlines were being
424          "eaten"
425        * <multiple> - various fixes to support building of DLLs on Windows.
426
4272005-11-26  Mark Lindner  <markl@neuromancer>
428
429        * grammar.y, scanner.l - always strdup() yytext, and free the memory
430          in the grammar rules.
431
4322005-11-22  Mark Lindner  <markl@neuromancer>
433
434        * libconfigcpp.c++, libconfig.h++, libconfig.c, libconfig.h -
435          Added Daniel's enhancements: methods & functions for reading/writing
436          files, fixes for various memory leaks, etc.
437        * samples/* - Added Daniel's example code.
438        * docs/libconfig.texi - Updated documentation
439
4402005-09-28  Mark Lindner  <markl@neuromancer>
441
442        * libconfigcpp.c++, libconfig.h++, libconfig.c, libconfig.h
443          Enhanced API to support modification of a configuration.
444        * libconfig.texi - updated manual
445
4462005-06-02  Mark Lindner  <markl@neuromancer>
447
448        * libconfigcpp.c++, libconfig.h++ - Added getName() method;
449          fixed operator[](int) to work with groups; this allows iteration over
450          a group's child settings. Added a missing break statement (bugfix
451          submitted by Pablo Barrera Gonzalez). Added operator int() and
452          operator float() to Setting; note that these may cause loss of
453          precision since the actual values are stored internally as long
454          and double, respectively.
455
456        * libconfig.h - added config_setting_name() macro
457
458        * libconfig.c - maintain two lists of children at each node; a sorted
459          list and an unsorted list (to preserve the order of the settings as
460          they appear in the file).
461       
462        * scanner.l - fixed scanner rule for comments. '#' no longer has to
463          be in column 0 to be recognized as a comment. Added support for C
464          and C++ style comments.
Note: See TracBrowser for help on using the browser.