Fixed include path (again).
[platform/upstream/libconfig.git] / ChangeLog
1 2015-08-14  Mark Lindner  <markl@neuromancer>
2
3         * lib/wincompat.h - Fixed Windows portability issue
4         * lib/libconfig.h++ - added missing operator[](std::string&).
5
6         ----- version 1.5 ------
7
8 2015-05-16  Mark Lindner  <markl@neuromancer>
9
10         * lib/libconfig.c - Don't fclose() a null pointer.
11
12 2014-09-19  Mark Lindner  <markl@neuromancer>
13
14         * lib/libconfig.c, lib/wincompat.h - check if file being opened is a
15           directory
16         * lib/libconfig.c, lib/libconfig.h, lib/libconfig.h++,
17           doc/libconfig.texi - added config_set_options(),
18           config_get_options(), setOptions(), getOptions().
19
20 2014-05-25  Mark Lindner  <markl@neuromancer>
21
22         * lib/libconfig.c++, lib/libconfig.h++ - added patches from Matt
23           Renaud (added iterators, removed throws() specifications); added
24           Setting.lookup(); code cleanup; added patch from Yuri Dyachenko
25           (made exception constructors public)
26         * lib/libconfig.c, lib/libconfig.h - renamed
27           config_setting_lookup_from() to config_setting_lookup() and
28           documented it; patch from Alexander Klauer (floating point precision
29           loss)
30         * doc/libconfig.texi - documented new APIs, bumped version
31         * lib/scanner.c, lib/scanner.h, lib/scanner.l, libconfig.c -
32           scanner code cleanup; and regenerated with flex 2.5.39
33         * lib/grammar.c, lib/grammar.h, lib/grammar.y - parser code cleanup;
34           and regenerated with bison 3.0.2
35         * README, ChangeLog - version updates
36
37 2014-01-21  Mark Lindner  <markl@neuromancer>
38
39         * lib/libconfig.c - bugfix; capture root filename
40         * tests/Makefile.am - fix for out-of-source builds
41         * ac_config.h.in, aclocal.m4 - updated to newer autotools
42
43         ----- version 1.4.9 ------
44
45 2012-09-28  Mark Lindner  <markl@neuromancer>
46
47         * lib/libconfigcpp.c++ - Fixed compiler warnings in constructor
48           initializers
49         * tinytest/tiytest.c, tinytest/tinytest.h - added tt_file_exists();
50           added alternate implementations of some test macros since MSVC does
51           not support C99 fully; added comparators for text files (ignoring
52           line endings)
53         * tests/tests.c - use tt_file_exists() rather than access(); alias
54           snprintf to _snprintf for MSVC; compare files as text files rather
55           than as binary files
56         * lib/scanner.l - fixed parsing issue when backslash in string is
57           followed by invalid escape character; reported by Jimmy Scott
58         * lib/scanner.c - regenerated
59         * lib/libconfig.h, lib/libconfig.h++, lib/Makefile.am,
60           doc/libconfig.texi, configure.ac - bump version numbers
61         * aclocal.m4, ac_config.h - regenerated
62         * m4/*, aux-build/*, libtool - updated to newer
63
64 2011-12-30  Mark Lindner  <markl@neuromancer>
65
66         * debian/control - updates from Jonathan McCrohan
67
68         ----- version 1.4.8 ------
69
70 2011-08-04  Mark Lindner  <markl@neuromancer>
71
72         * tests/Makefile.am - marked 'libconfig_tests' as non-installable
73         * lib/scanner.l, lib/grammar.y - grammar changes to make trailing
74           semicolons optional (and to allow commas as an alternative)
75         * lib/libconfig.c - bugfixes for lack of auto-conversion handling in
76           the config_lookup*() functions (reported by Feng Yu), and some
77           fixes for compiler warnings
78         * lib/Makefile.am - bump .so version
79         * configure.ac - bump version, add '-Wno-unused-parameter' compiler
80           switch to disable "unused parameter" warnings
81         * doc/libconfig.texi - documentation updates; added a chapter that
82           calls attention to the bundled example programs
83         * lib/libconfig.h, lib/libconfig.h++ - bump versions
84
85         ----- version 1.4.7 ------
86
87 2011-03-11  Mark Lindner  <markl@neuromancer>
88
89         * doc/libconfig.texi - fixed typo; updated docs
90         * TODO - updated list
91         * lib/libconfig.c, lib/libconfig.h, lib/libconfigcpp.c++,
92           lib/libconfig.h++ - added config{get,set}_default_format(),
93           Config::{get,set}DefaultFormat()
94
95 2011-03-10  Mark Lindner  <markl@neuromancer>
96
97         * lib/libconfig.c - fixed memory leak when encountering a parse error
98           in an @include'd file
99         * lib/libconfig.h, lib/libconfig.h++, lib/Makefile.am, configure.ac,
100           doc/libconfig.texi - bump versions
101
102         ----- version 1.4.6 ------
103
104 2010-09-10  Mark Lindner  <markl@neuromancer>
105
106         * doc/libconfig.texi - documentation updates
107         * lib/libconfig.c, lib/libconfigcpp.c++, lib/libconfig.h,
108           lib/libconfig.h++, lib/wincompat.h, lib/scanctx.c - added support
109           for specifying an include directory
110         * m4/* - added local m4 directory
111         * contrib/* - added user-contributed files
112
113 2010-09-07  Mark Lindner  <markl@neuromancer>
114
115         * lib/scanner.l - bugfix for parse error when there is a missing
116           newline at the end of the file
117         * lib/libconfig.h, lib/libconfig.h++, lib/Makefile.am - bump version
118         * tinytest/* - added a simple unit testing framework
119         * tests/* - added preliminary unit tests
120         * configure.ac, ac_config.h, ac_config.h.in, Makefile.am,
121           lib/Makefile.am, libtool, doc/libconfig.texi - bump versions/dates
122         * lib/grammar.h, lib/grammar.c - regenerated with newer version of
123           Bison
124         * lib/libconfig.c - bugfix: explicitly set starting line number to 1
125           when parsing from strings; otherwise line numbers reported in parse
126           errors are undefined
127
128         ----- version 1.4.5 ------
129
130 2010-05-04  Mark Lindner  <markl@neuromancer>
131
132         * lib/libconfig.h, lib/libconfig.h++, lib/Makefile.am - bumped version
133           numbers; removed #include for <map> and added one for <exception>
134         * lib/libconfigcpp.c++ - bugfix: properly handle TypeInt64 in add() and
135           assertType()
136         * aux-build/*, ac_config.h, configure.ac, ac_config.h.in, libtool -
137           regenerated with newer autotools
138         * libconfig.c - added declaration of libconfig_yylex_init_extra() to
139           eliminate compiler warning
140         * scanner.l - added #define YY_NO_INPUT to prevent compiler warning
141         * libconfig.texi - Added example code for operator=()
142
143         ----- version 1.4.4 ------
144
145 2010-04-12  Mark Lindner  <markl@neuromancer>
146
147         * lib/Makefile.am - fixed shared library version info
148         * lib/libconfig.h++ - added Setting::c_str() method
149         * configure.ac, ac_config.h, libconfig.spec, lib/libconfig.h,
150           lib/libconfig.h++ - bump versions
151         * lib/wincompat.h - fixed MinGW build error
152         * doc/libconfig.texi - doc updates
153         * README - added MinGW info
154
155         ----- version 1.4.3 ------
156
157 2010-02-13  Mark Lindner  <markl@neuromancer>
158
159         * lib/scanner.l - bugfix for matching @include with preceding
160           whitespace
161
162         ----- version 1.4.2 ------
163
164 2010-01-19  Mark Lindner  <markl@neuromancer>
165
166         * lib/libconfigcpp.c++, lib/libconfig.h++ - bugfix for crash; added
167           copy constructor for ParseException (from Frederic Heitzmann)
168         * lib/libconfig.h, lib/libconfig.h++, lib/Makefile.am,
169           ac_config.h, libconfig.spec, configure.ac - bump versions
170
171 2010-01-09  Mark Lindner  <markl@neuromancer>
172
173         * lib/libconfigcpp.c++ - bugfix in ParseException constructor (from
174           Ilya Dogolazky)
175         * debian/* - more cleanup, and added debug rules (from Ilya Dogolazky)
176
177         ----- version 1.4.1 ------
178
179 2009-12-31  Mark Lindner  <markl@neuromancer>
180
181         * lib/libconfig.c - bugfix for crash; removed unnecessary buffer delete
182           in __config_read()
183         * examples/c/Makefile.am, examples/c++/Makefile.am - fixed build issue
184         * configure.ac, Makefile.am - Added `--disable-examples' configure
185           option
186         * configure.ac, lib/Makefile.am, libconfig.spec, ac_config.h - bumped
187           version numbers
188
189         ----- version 1.4 ------
190
191 2009-10-24  Mark Lindner  <markl@neuromancer>
192
193         * grammar.y, scanner.l - properly report @include errors
194         * exmaples/example4.cpp - new example added
195
196 2009-10-14  Mark Lindner  <markl@neuromancer>
197
198         * debian/* - more fixes; from Klaus Schneider-Zapp
199         * libconfig.c - when writing strings, escape only control characters
200           with \x
201
202         ----- version 1.4b4 ------
203
204 2009-09-09  Mark Lindner  <markl@neuromancer>
205
206         * lib/Makefile.am - fixed MinGW build issues
207
208         ----- version 1.4b3 ------
209
210 2009-09-04  Mark Lindner  <markl@neuromancer>
211
212         * lib/libconfig.c, lib/scanner.l, lib/grammar.y - fixed all memory
213           leaks reported by Valgrind; removed an unncessary strdup()/free().
214
215 2009-09-01  Mark Lindner  <markl@neuromancer>
216
217         * lib/libconfig.c, lib/libconfig.h, lib/libconfigcpp.c++,
218           lib/libconfig.h++ - added config_error_type() and fixed a segfault
219            when throwing a ParseException.
220         * doc/libconfig.texi - doc updates
221
222         ----- version 1.4b2 ------
223
224 2009-08-29  Mark Lindner  <markl@neuromancer>
225
226         * examples/* - added new example programs to replace the less
227           practical ones in samples/
228
229 2009-08-25  Mark Lindner  <markl@neuromancer>
230
231         * lib/libconfig.c, lib/libconfig.h, lib/libconfigcpp.c++,
232           lib/libconfig.h++ - added config_set_tab_width(),
233           config_get_tab_width() and Config::setTabWidth(),
234           Config::getTabWidth().
235         * doc/libconfig.texi - doc updates
236
237         ----- version 1.4b1 ------
238
239 2009-08-21  Mark Lindner  <markl@neuromancer>
240
241         * lib/libconfig.h++, lib/libconfigcpp.c++ - broke the public
242           dependency on libconfig.h; updated VC++ projects on Windows so that
243           the C++ DLL no longer exports any of the C API functions
244         * debian/* - updated for version 1.4
245         * lib/libconfig.c - fixed an isprint() assertion on Windows
246
247 2009-08-20  Mark Lindner  <markl@neuromancer>
248
249         * lib/parsectx.c, lib/parsectx.h, lib/scanctx.c, lib/scanctx.h,
250           lib/strbuf.c, lib/strbuf.h - code refactoring to reduce library size
251           lib/Makefile.am - fixed 'make install' error
252
253         ----- version 1.4b ------
254
255 2009-08-16  Mark Lindner  <markl@neuromancer>
256
257         * lib/libconfig.c, lib/libconfig.h, lib/scanctx.c, lib/scanctx.h,
258           lib/grammar.y, lib/grammar.c, lib/grammar.h - added
259           config_read_string(); added config_setting_source_file() and
260           management of list of input file names; added #ifdef guard for
261           DllMain() function so that it's not included for static library
262           builds
263         * lib/libconfigcpp.c++, lib/libconfig.h++ - added filename to
264           ParseException; bugfix in Setting::setFormat(); made what() methods
265           of exceptions public; added Setting::getSourceFile(),
266           Config::readString().
267         * doc/libconfig.texi - documentation updates
268         * lib/Makefile.am - bump .so version
269         * ac_config.h, configure.ac, libtool - bump version
270
271 2009-07-19  Mark Lindner  <markl@neuromancer>
272
273         * lib/libconfig.c, lib/libconfig.h, lib/libconfigcpp.c++,
274           lib/libconfig.h++ - added config_read_string() and
275           Config::readString() functions (contributed by Matthias Weisser).
276
277 2009-07-02  Mark Lindner  <markl@neuromancer>
278
279         * lib/parsectx.c, lib/parsectx.h, lib/scanctx.c, lib/scanctx.h,
280           lib/scanner.l, lib/grammar.y, lib/private.h, lib/Makefile.am,
281           lib/libconfig.c, lib/libconfig.h - replaced ugly C code in scanner.l
282           for processing strings with a new <STRING> scanner state and
283           associated rules; added support for hex character literals (\xNN) in
284           strings; refactored scanner and parser context into separate source
285           files; added preliminary support for include files ("@include"
286           directive).
287
288 2009-05-27  Mark Lindner  <markl@neuromancer>
289
290         * ltmain.sh, ac_config.h, ac_config.h.in, configure.ac, libconfig.spec,
291           libtool - upgraded to newer versions of autotools
292         * grammar.y, grammar.h, grammar.c, libconfigcpp.c++, libconfig.h++,
293           libconfig.c, libconfig.h - added LIBCONFIG_VER_* macros, changed API
294           to replace 'long' and 'unsigned long' with 'int' and 'unsigned int'
295           to resolve a portability problem; added 'const' to declarations of
296           getLine() and getError() methods on ParseException
297         * <multiple> - directory structure reorg
298
299         ----- version 1.3.2 ------
300
301 2009-02-18  Mark Lindner  <markl@neuromancer>
302
303         * libconfig.vcproj, libconfig++.vcproj - #define _STDLIB_H to
304           eliminate 'inconsistent dll linkage' warnings for free & malloc
305
306 2009-02-17  Mark Lindner  <markl@neuromancer>
307
308         * libconfig.c, libconfig.h - added config_setting_lookup*() functions;
309           modified config_lookup_*() functions to have more consistent API
310           (return status, and accept value-result param)
311         * debian/* - updates and cleanup (from Klaus Schneider-Zapp)
312         * libconfig.spec, Makefile.am, ac_config.h - update version number
313         * doc/libconfig.texi - documentation updates
314         * samples/c/sample1.c - patch from Rodolfo Giometti
315         * samples/c/stub.c - fixed relative to API changes
316
317 2008-12-06  Mark Lindner  <markl@neuromancer>
318
319         * libconfig.c - fix memory leak in config_setting_remove_elem();
320           reported by Timi Tuohenmaa
321         * configure.ac - fix incorrect processing of --enable-cxx option;
322           reported by Thomas Gazzola
323
324 2008-09-11  Mark Lindner  <markl@neuromancer>
325
326         * debian/libconfigduo2.postinst - fix typo in test stmt
327
328         ----- version 1.3.1 ------
329
330 2008-09-07  Mark Lindner  <markl@neuromancer>
331
332         * scanner.l, wincompat.h - workarounds for problems with parsing and
333           formatting of 64-bit integers on MinGW
334         * scanner.c - regenerated
335
336 2008-09-05  Mark Lindner  <markl@neuromancer>
337
338         * libconfig.spec - updated for 1.3.1
339         * Makefile.am - fix version
340         * scanner.l - add fromhex() function, since strtoull() seems broken
341           on MinGW
342
343 2008-08-25  Mark Lindner  <markl@neuromancer>
344
345         * libconfigcpp.c++, libconfig.h++ - derive exceptions from
346           std::exception
347
348 2008-08-10  Mark Lindner  <markl@neuromancer>
349
350         * wincompat.h - fix MinGW build issue
351         * configure.ac, ac_config.h, Makefile.am - bump version
352         * doc/libconfig.texi - doc updates
353         * libconfigcpp.c++, libconfig.h++ - include path information in
354           setting exceptions
355         * libconfig.c - force "C" locale for parsing & formatting
356
357         ----- version 1.3 ------
358
359 2008-04-07  Mark Lindner  <markl@neuromancer>
360
361         * libconfig.spec - updated for 1.3
362
363 2008-04-03  Mark Lindner  <markl@neuromancer>
364
365         * scanner.l, grammar.y, libconfig.c, libconfig.h, wincompat.h -
366           fix/add comment headers, add C90 portability fixes from
367           Chris Pickett (C-style comments, renamed 'index' to 'idx' to
368           resolve name clash)
369         * scanner.c, grammar.c - regenerated
370         * configure.ac - enable more gcc warnings
371         * libconfigcpp.c++, libconfig.h++ - added getPath(), fixed impl of
372           isRoot(), add portability fixes from Chris Pickett (renamed 'index'
373           to 'idx' to resolve name clash), moved exception constructors into
374           source file; changed SettingExistsException to SettingNameException
375           to be more broad in scope
376         * Makefile.am - add wincompat.h to sources; add missing debian files
377           to EXTRA_DIST
378         * test.cfg - added example 64-bit integer settings
379         * samples/* - expanded some examples
380         * doc/libconfig.texi - documentation updates
381         * Makefile.am, *msvc7* - added (generated) VS2003 projects/solution
382
383 2008-03-22  Mark Lindner  <markl@neuromancer>
384
385         * debian/* - updates from Klaus Schneider
386
387 2008-03-22  Mark Lindner  <markl@neuromancer>
388
389         * scanner.l, grammar.y, libconfig.h++, libconfig.c, libconfig.h,
390           wincompat.h, libconfigcpp.c++, grammar.c, scanner.c, grammar.h -
391           add support for 64-bit integer values
392         * libconfig.texi - documentation updates
393         * Makefile.am, ac_config.h, configure.ac, libtool - bump version
394         * libconfig.h - add config_setting_parent(), config_setting_is_root()
395         * libconfigcpp.c++, libconfig.h++ - add isRoot(), getParent() to
396           Setting
397
398 2008-03-15  Mark Lindner  <markl@neuromancer>
399
400         * scanner.l - made 'true' and 'false' tokens completely
401           case-insensitive
402         * libconfigcpp.cc, libconfig.hh - added alias files for Windows
403         * libconfig.c, libconfig.h - modified __config_write_value() to write
404           out floating point values in a more human-readable form; added name
405           validation; added config_setting_remove_elem() and
406           config_setting_index()
407         * libconfigcpp.c++, libconfig.h++ - added remove(unsigned int) and
408           getIndex() to Setting
409         * libconfig.texi - documentation updates
410
411         ----- version 1.2.1 ------
412         
413 2007-12-21  Mark Lindner  <markl@neuromancer>
414
415         * libconfig.c - source cleanup
416         * config.guess, config.sub, ltmain.sh, libtool - updated to newer
417         * configure.ac, Makefile.am, ac_config.h.in, ac_config.h
418           - MinGW-related fixes
419
420         ----- version 1.2 ------
421
422 2007-10-15  Mark Lindner  <markl@neuromancer>
423
424         * libconfig.h++, libconfigcpp.c++ - renamed "SettingFormat" to
425           "Setting::Format" to reduce namespace pollution
426
427 2007-10-13  Mark Lindner  <markl@neuromancer>
428
429         * scanner.l - updated regexp for float to allow for values which have
430           an exponent but no decimal point
431         * grammar.y - capture input line number when parsing settings
432         * libconfig.c, libconfig.h - added config_setting_is*() macros;
433           added config_setting_source_line(); added line member to
434           config_setting_t struct
435         * libconfig.c++, libconfig.h++ - renamed "SettingType" enum to
436           Setting::Type to reduce namespace pollution; added getSourceLine()
437         * samples/* - various updates
438         * debian/changelog - added entry
439         * ac_config.h, configure.ac, libtool, Makefile.am - new version #
440         * TODO - updates
441         * doc/libconfig.texi - documentation updates
442
443 2007-10-12  Mark Lindner  <markl@neuromancer>
444
445         * libconfig.c, libconfig.h - added config_set_auto_convert(),
446           config_get_auto_convert(), and number auto-conversion logic
447         * libconfigcpp.c++, libconfig.h++ - add setAutoConvert(),
448           getAutoConvert(), lookupValue() that takes std::string&,
449           corrected return values of assignment operators
450         * debian/rules - made file executable
451         * debian/libconfigduo-dev.install - add pkgconfig files to list
452         
453 2007-09-22  Mark Lindner  <markl@neuromancer>
454
455         * libconfig.c, libconfig.h - change 'type' and 'format' members of
456            config_setting_t to short, thereby saving 4 bytes
457
458 2007-09-22  Mark Lindner  <markl@neuromancer>
459
460         * doc/libconfig.texi - add @direntry to fix install-info warnings
461         * libconfig.spec.in, Makefile.am, configure.ac - added RPM support
462           (from Deneys S. Maartens)
463
464 2007-09-18  Mark Lindner  <markl@neuromancer>
465
466         * libconfig.h - remove DLL_EXPORT; add LIBCONFIG_STATIC to fix
467           static linking on Windows
468
469 2007-09-18  Deneys S. Maartens  <dsm@tlabs.ac.za>
470         
471         * samples/c/Makefile.am, samples/c++/Makefile.am - Add
472           AM_CPPFLAGS to fix distcheck build failure
473         * Makefile.am - expand wildcards in EXTRA_DIST to fix distcheck
474           build failure
475
476         ----- version 1.1.3 ------
477
478 2007-08-03  Mark Lindner  <markl@neuromancer>
479
480         * libconfigcpp.c++ - bugfix in unsigned cast operators (incorrect value
481           clipping logic)
482         * debian/control - made some corrections
483
484         ----- version 1.1.2 ------
485
486 2007-07-01  Mark Lindner  <markl@neuromancer>
487
488         * debian/* added debian package files from Klaus Schneider
489         * libconfig.h++ - added new predicate is<type>() functions
490         * libconfig.h - fix comments
491         * doc/libconfig.texi - documentation updates
492         * ac_config.h, configure.ac, Makefile.am - new version #
493         
494         ----- version 1.1.1 ------
495
496 2007-06-15  Mark Lindner  <markl@neuromancer>
497
498         * scanner.l - bugfix in string parsing
499         * test.cfg - added test case
500
501         ----- version 1.1 ------
502
503 2007-04-18  Mark Lindner  <markl@neuromancer>
504
505         * libconfigcpp.c++ - bugfix in add(SettingType)
506         * stubcpp.cpp - add more ad-hoc tests
507
508 2007-04-05  Mark Lindner  <markl@neuromancer>
509
510         * scanner.l - Add string concatenation patch from Glenn Herteg.
511           Add \f as a whitespace character.
512         * grammar.y - add mode directive emacs
513         * libconfigcpp.c++, libconfig.h++ - add exists() and lookupValue()
514           methods; add Setting::operator std::string()
515         * libconfig.texi - documentation updates
516
517         ----- version 1.0.1 ------
518
519 2006-11-26  Mark Lindner  <markl@neuromancer>
520
521         * samples/c/Makefile.am, samples/c++/Makefile.am - fix linker error
522         * libconfig.texi - documentation update
523
524         ----- version 1.0 ------
525
526 2006-10-19  Mark Lindner  <markl@neuromancer>
527
528         * libconfigcpp.c++ - bugfix in add() for lists
529
530 2006-10-11  Mark Lindner  <markl@neuromancer>
531
532         * scanner.l - allow asterisk in setting names (submitted by
533           James McCann)
534         * libconfig.texi - documentation updates
535         * configure.ac, Makefile.am, samples/Makefile.am - add --disable-cxx
536           configure option; conditionally build/install C++ components
537
538 2006-10-01  Mark Lindner  <markl@neuromancer>
539
540         * <multiple> - samples cleanup
541
542 2006-09-14  Mark Lindner  <markl@neuromancer>
543
544         * libconfig.c - Change %.8f to %e for double values in
545           __config_write_value(). Submitted by Filipe Maia.
546
547 2006-08-31  Mark Lindner  <markl@neuromancer>
548
549         * Makefile.am - changed bin_PROGRAMS to noinst_PROGRAMS; the stub
550           programs are for testing and should not be installed.
551
552 2006-08-26  Mark Lindner  <markl@neuromancer>
553
554         * libconfig.texi - documentation corrections & updates
555         * stub.c, stubcpp.c++ - check return value of fopen(); fix compiler
556           warnings
557         * configure.ac, Makefile.am - add -Wall to CFLAGS only for gcc;
558           add test.cfg to EXTRA_DIST
559         * grammar.y, libconfigcpp.c++ - fix compiler warnings
560         * libconfig.c - use CONFIG_TRUE & CONFIG_FALSE rather than 1 & 0
561           for success/failure return values.
562
563         ----- version 0.9 ------
564
565 2006-07-29  Mark Lindner  <markl@neuromancer>
566
567         * <multiple> - major grammar redesign: groups are now values instead of
568           distinct syntax constructs; this allows groups to be elements of
569           lists
570         * libconfig.texi - documentation updates; added new chapter containing
571           the BNF grammar
572         * test.cfg - modified to reflect new syntax and to demonstrate lists
573
574 2006-06-23  Mark Lindner  <markl@neuromancer>
575
576         * <multiple> - added support for lists (collections of
577           heterogeneous values of any type)
578         * libconfig.c - pretty-printing fixes in config_write()
579
580 2006-06-08  Mark Lindner  <markl@neuromancer>
581
582         * libconfig.h++ - added private copy constructor & assignment operator
583           (from Josef Meile)
584         * ligconfigcpp.c++, libconfig.h++ - added cast operators for unsigned
585           int and unsigned long (from Scott Frazer)
586         * <multiple> - add support for value formats; the only non-default
587           format currently supported is hexadecimal format for integer values
588           (based on patch from Scott Frazer)
589
590 2006-04-15  Mark Lindner  <markl@neuromancer>
591
592         * <multiple> - added pkg-config support
593
594 2006-03-31  mlindner  <markl@neuromancer>
595
596         * <multiple> - cleaned up config.tab.h mess (this file was obsolete,
597           and superseded by grammar.h ... problem identified by Scott Frazer)
598
599 2006-03-30  mlindner  <mlindner@chimera>
600
601         * grammar.y - fixed includes for windows (missing decl of malloc/free)
602         * libconfig.c - fixed several signed/unsigned warnings
603         * doc/libconfig.texi - documentation updates, formatting fix
604         * scanner.l - allow lowercase 'true' and 'false' in addition to
605           'TRUE' and 'FALSE'
606
607 2006-03-27  Mark Lindner  <markl@neuromancer>
608
609         * libconfigcpp.c++ - added missing break statements in switch (from
610           Lukas Zweifel)
611         * libconfig.c - don't strdup() a NULL string (from Lukas Zweifel)
612         * grammar.c, grammar.h - regenerated with bison 2.1
613
614 2006-03-20  Mark Lindner  <markl@neuromancer>
615
616         * scanner.l - added '%option nounistd' and regenerated with newest
617           version of flex; Windows doesn't have unistd.h.
618
619 2006-03-17  Mark Lindner  <markl@neuromancer>
620
621         * grammar.y - bugfix; error & abort parsing if duplicate setting name
622           encountered (previously caused a crash ... reported by Tobias Witek)
623         * scanner.l - bugfix; multi-line C-style comments were causing line
624           number counting to be thrown off, because the newlines were being
625           "eaten"
626         * <multiple> - various fixes to support building of DLLs on Windows.
627
628 2005-11-26  Mark Lindner  <markl@neuromancer>
629
630         * grammar.y, scanner.l - always strdup() yytext, and free the memory
631           in the grammar rules.
632
633 2005-11-22  Mark Lindner  <markl@neuromancer>
634
635         * libconfigcpp.c++, libconfig.h++, libconfig.c, libconfig.h -
636           Added Daniel's enhancements: methods & functions for reading/writing
637           files, fixes for various memory leaks, etc.
638         * samples/* - Added Daniel's example code.
639         * docs/libconfig.texi - Updated documentation
640
641 2005-09-28  Mark Lindner  <markl@neuromancer>
642
643         * libconfigcpp.c++, libconfig.h++, libconfig.c, libconfig.h
644           Enhanced API to support modification of a configuration.
645         * libconfig.texi - updated manual
646
647 2005-06-02  Mark Lindner  <markl@neuromancer>
648
649         * libconfigcpp.c++, libconfig.h++ - Added getName() method;
650           fixed operator[](int) to work with groups; this allows iteration over
651           a group's child settings. Added a missing break statement (bugfix
652           submitted by Pablo Barrera Gonzalez). Added operator int() and
653           operator float() to Setting; note that these may cause loss of
654           precision since the actual values are stored internally as long
655           and double, respectively.
656
657         * libconfig.h - added config_setting_name() macro
658
659         * libconfig.c - maintain two lists of children at each node; a sorted
660           list and an unsorted list (to preserve the order of the settings as
661           they appear in the file).
662         
663         * scanner.l - fixed scanner rule for comments. '#' no longer has to
664           be in column 0 to be recognized as a comment. Added support for C
665           and C++ style comments.