| 1 | |
|---|
| 2 | ----- version 1.3.1 ------ |
|---|
| 3 | |
|---|
| 4 | 2008-09-07 Mark Lindner <markl@neuromancer> |
|---|
| 5 | |
|---|
| 6 | * scanner.l, wincompat.h - workarounds for problems with parsing and |
|---|
| 7 | formatting of 64-bit integers on MinGW |
|---|
| 8 | * scanner.c - regenerated |
|---|
| 9 | |
|---|
| 10 | 2008-09-05 Mark Lindner <markl@neuromancer> |
|---|
| 11 | |
|---|
| 12 | * libconfig.spec -= updated for 1.3.1 |
|---|
| 13 | * Makefile.am - fix version |
|---|
| 14 | * scanner.l - add fromhex() function, since strtoull() seems broken |
|---|
| 15 | on MinGW |
|---|
| 16 | |
|---|
| 17 | 2008-08-25 Mark Lindner <markl@neuromancer> |
|---|
| 18 | |
|---|
| 19 | * libconfigcpp.c++, libconfig.h++ - derive exceptions from |
|---|
| 20 | std::exception |
|---|
| 21 | |
|---|
| 22 | 2008-08-10 Mark Lindner <markl@neuromancer> |
|---|
| 23 | |
|---|
| 24 | * wincompat.h - fix MinGW build issue |
|---|
| 25 | * configure.ac, ac_config.h, Makefile.am - bump version |
|---|
| 26 | * doc/libconfig.texi - doc updates |
|---|
| 27 | * libconfigcpp.c++, libconfig.h++ - include path information in |
|---|
| 28 | setting exceptions |
|---|
| 29 | * libconfig.c - force "C" locale for parsing & formatting |
|---|
| 30 | |
|---|
| 31 | ----- version 1.3 ------ |
|---|
| 32 | |
|---|
| 33 | 2008-04-07 Mark Lindner <markl@neuromancer> |
|---|
| 34 | |
|---|
| 35 | * libconfig.spec - updated for 1.3 |
|---|
| 36 | |
|---|
| 37 | 2008-04-03 Mark Lindner <markl@neuromancer> |
|---|
| 38 | |
|---|
| 39 | * scanner.l, grammar.y, libconfig.c, libconfig.h, wincompat.h - |
|---|
| 40 | fix/add comment headers, add C90 portability fixes from |
|---|
| 41 | Chris Pickett (C-style comments, renamed 'index' to 'idx' to |
|---|
| 42 | resolve name clash) |
|---|
| 43 | * scanner.c, grammar.c - regenerated |
|---|
| 44 | * configure.ac - enable more gcc warnings |
|---|
| 45 | * libconfigcpp.c++, libconfig.h++ - added getPath(), fixed impl of |
|---|
| 46 | isRoot(), add portability fixes from Chris Pickett (renamed 'index' |
|---|
| 47 | to 'idx' to resolve name clash), moved exception constructors into |
|---|
| 48 | source file; changed SettingExistsException to SettingNameException |
|---|
| 49 | to be more broad in scope |
|---|
| 50 | * Makefile.am - add wincompat.h to sources; add missing debian files |
|---|
| 51 | to EXTRA_DIST |
|---|
| 52 | * test.cfg - added example 64-bit integer settings |
|---|
| 53 | * samples/* - expanded some examples |
|---|
| 54 | * doc/libconfig.texi - documentation updates |
|---|
| 55 | * Makefile.am, *msvc7* - added (generated) VS2003 projects/solution |
|---|
| 56 | |
|---|
| 57 | 2008-03-22 Mark Lindner <markl@neuromancer> |
|---|
| 58 | |
|---|
| 59 | * debian/* - updates from Klaus Schneider |
|---|
| 60 | |
|---|
| 61 | 2008-03-22 Mark Lindner <markl@neuromancer> |
|---|
| 62 | |
|---|
| 63 | * scanner.l, grammar.y, libconfig.h++, libconfig.c, libconfig.h, |
|---|
| 64 | wincompat.h, libconfigcpp.c++, grammar.c, scanner.c, grammar.h - |
|---|
| 65 | add support for 64-bit integer values |
|---|
| 66 | * libconfig.texi - documentation updates |
|---|
| 67 | * Makefile.am, ac_config.h, configure.ac, libtool - bump version |
|---|
| 68 | * libconfig.h - add config_setting_parent(), config_setting_is_root() |
|---|
| 69 | * libconfigcpp.c++, libconfig.h++ - add isRoot(), getParent() to |
|---|
| 70 | Setting |
|---|
| 71 | |
|---|
| 72 | 2008-03-15 Mark Lindner <markl@neuromancer> |
|---|
| 73 | |
|---|
| 74 | * scanner.l - made 'true' and 'false' tokens completely |
|---|
| 75 | case-insensitive |
|---|
| 76 | * libconfigcpp.cc, libconfig.hh - added alias files for Windows |
|---|
| 77 | * libconfig.c, libconfig.h - modified __config_write_value() to write |
|---|
| 78 | out floating point values in a more human-readable form; added name |
|---|
| 79 | validation; added config_setting_remove_elem() and |
|---|
| 80 | config_setting_index() |
|---|
| 81 | * libconfigcpp.c++, libconfig.h++ - added remove(unsigned int) and |
|---|
| 82 | getIndex() to Setting |
|---|
| 83 | * libconfig.texi - documentation updates |
|---|
| 84 | |
|---|
| 85 | ----- version 1.2.1 ------ |
|---|
| 86 | |
|---|
| 87 | 2007-12-21 Mark Lindner <markl@neuromancer> |
|---|
| 88 | |
|---|
| 89 | * libconfig.c - source cleanup |
|---|
| 90 | * config.guess, config.sub, ltmain.sh, libtool - updated to newer |
|---|
| 91 | * configure.ac, Makefile.am, ac_config.h.in, ac_config.h |
|---|
| 92 | - MinGW-related fixes |
|---|
| 93 | |
|---|
| 94 | ----- version 1.2 ------ |
|---|
| 95 | |
|---|
| 96 | 2007-10-15 Mark Lindner <markl@neuromancer> |
|---|
| 97 | |
|---|
| 98 | * libconfig.h++, libconfigcpp.c++ - renamed "SettingFormat" to |
|---|
| 99 | "Setting::Format" to reduce namespace pollution |
|---|
| 100 | |
|---|
| 101 | 2007-10-13 Mark Lindner <markl@neuromancer> |
|---|
| 102 | |
|---|
| 103 | * scanner.l - updated regexp for float to allow for values which have |
|---|
| 104 | an exponent but no decimal point |
|---|
| 105 | * grammar.y - capture input line number when parsing settings |
|---|
| 106 | * libconfig.c, libconfig.h - added config_setting_is*() macros; |
|---|
| 107 | added config_setting_source_line(); added line member to |
|---|
| 108 | config_setting_t struct |
|---|
| 109 | * libconfig.c++, libconfig.h++ - renamed "SettingType" enum to |
|---|
| 110 | Setting::Type to reduce namespace pollution; added getSourceLine() |
|---|
| 111 | * samples/* - various updates |
|---|
| 112 | * debian/changelog - added entry |
|---|
| 113 | * ac_config.h, configure.ac, libtool, Makefile.am - new version # |
|---|
| 114 | * TODO - updates |
|---|
| 115 | * doc/libconfig.texi - documentation updates |
|---|
| 116 | |
|---|
| 117 | 2007-10-12 Mark Lindner <markl@neuromancer> |
|---|
| 118 | |
|---|
| 119 | * libconfig.c, libconfig.h - added config_set_auto_convert(), |
|---|
| 120 | config_get_auto_convert(), and number auto-conversion logic |
|---|
| 121 | * libconfigcpp.c++, libconfig.h++ - add setAutoConvert(), |
|---|
| 122 | getAutoConvert(), lookupValue() that takes std::string&, |
|---|
| 123 | corrected return values of assignment operators |
|---|
| 124 | * debian/rules - made file executable |
|---|
| 125 | * debian/libconfigduo-dev.install - add pkgconfig files to list |
|---|
| 126 | |
|---|
| 127 | 2007-09-22 Mark Lindner <markl@neuromancer> |
|---|
| 128 | |
|---|
| 129 | * libconfig.c, libconfig.h - change 'type' and 'format' members of |
|---|
| 130 | config_setting_t to short, thereby saving 4 bytes |
|---|
| 131 | |
|---|
| 132 | 2007-09-22 Mark Lindner <markl@neuromancer> |
|---|
| 133 | |
|---|
| 134 | * doc/libconfig.texi - add @direntry to fix install-info warnings |
|---|
| 135 | * libconfig.spec.in, Makefile.am, configure.ac - added RPM support |
|---|
| 136 | (from Deneys S. Maartens) |
|---|
| 137 | |
|---|
| 138 | 2007-09-18 Mark Lindner <markl@neuromancer> |
|---|
| 139 | |
|---|
| 140 | * libconfig.h - remove DLL_EXPORT; add LIBCONFIG_STATIC to fix |
|---|
| 141 | static linking on Windows |
|---|
| 142 | |
|---|
| 143 | 2007-09-18 Deneys S. Maartens <dsm@tlabs.ac.za> |
|---|
| 144 | |
|---|
| 145 | * samples/c/Makefile.am, samples/c++/Makefile.am - Add |
|---|
| 146 | AM_CPPFLAGS to fix distcheck build failure |
|---|
| 147 | * Makefile.am - expand wildcards in EXTRA_DIST to fix distcheck |
|---|
| 148 | build failure |
|---|
| 149 | |
|---|
| 150 | ----- version 1.1.3 ------ |
|---|
| 151 | |
|---|
| 152 | 2007-08-03 Mark Lindner <markl@neuromancer> |
|---|
| 153 | |
|---|
| 154 | * libconfigcpp.c++ - bugfix in unsigned cast operators (incorrect value |
|---|
| 155 | clipping logic) |
|---|
| 156 | * debian/control - made some corrections |
|---|
| 157 | |
|---|
| 158 | ----- version 1.1.2 ------ |
|---|
| 159 | |
|---|
| 160 | 2007-07-01 Mark Lindner <markl@neuromancer> |
|---|
| 161 | |
|---|
| 162 | * debian/* added debian package files from Klaus Schneider |
|---|
| 163 | * libconfig.h++ - added new predicate is<type>() functions |
|---|
| 164 | * libconfig.h - fix comments |
|---|
| 165 | * doc/libconfig.texi - documentation updates |
|---|
| 166 | * ac_config.h, configure.ac, Makefile.am - new version # |
|---|
| 167 | |
|---|
| 168 | ----- version 1.1.1 ------ |
|---|
| 169 | |
|---|
| 170 | 2007-06-15 Mark Lindner <markl@neuromancer> |
|---|
| 171 | |
|---|
| 172 | * scanner.l - bugfix in string parsing |
|---|
| 173 | * test.cfg - added test case |
|---|
| 174 | |
|---|
| 175 | ----- version 1.1 ------ |
|---|
| 176 | |
|---|
| 177 | 2007-04-18 Mark Lindner <markl@neuromancer> |
|---|
| 178 | |
|---|
| 179 | * libconfigcpp.c++ - bugfix in add(SettingType) |
|---|
| 180 | * stubcpp.cpp - add more ad-hoc tests |
|---|
| 181 | |
|---|
| 182 | 2007-04-05 Mark Lindner <markl@neuromancer> |
|---|
| 183 | |
|---|
| 184 | * scanner.l - Add string concatenation patch from Glenn Herteg. |
|---|
| 185 | Add \f as a whitespace character. |
|---|
| 186 | * grammar.y - add mode directive emacs |
|---|
| 187 | * libconfigcpp.c++, libconfig.h++ - add exists() and lookupValue() |
|---|
| 188 | methods; add Setting::operator std::string() |
|---|
| 189 | * libconfig.texi - documentation updates |
|---|
| 190 | |
|---|
| 191 | ----- version 1.0.1 ------ |
|---|
| 192 | |
|---|
| 193 | 2006-11-26 Mark Lindner <markl@neuromancer> |
|---|
| 194 | |
|---|
| 195 | * samples/c/Makefile.am, samples/c++/Makefile.am - fix linker error |
|---|
| 196 | * libconfig.texi - documentation update |
|---|
| 197 | |
|---|
| 198 | ----- version 1.0 ------ |
|---|
| 199 | |
|---|
| 200 | 2006-10-19 Mark Lindner <markl@neuromancer> |
|---|
| 201 | |
|---|
| 202 | * libconfigcpp.c++ - bugfix in add() for lists |
|---|
| 203 | |
|---|
| 204 | 2006-10-11 Mark Lindner <markl@neuromancer> |
|---|
| 205 | |
|---|
| 206 | * scanner.l - allow asterisk in setting names (submitted by |
|---|
| 207 | James McCann) |
|---|
| 208 | * libconfig.texi - documentation updates |
|---|
| 209 | * configure.ac, Makefile.am, samples/Makefile.am - add --disable-cxx |
|---|
| 210 | configure option; conditionally build/install C++ components |
|---|
| 211 | |
|---|
| 212 | 2006-10-01 Mark Lindner <markl@neuromancer> |
|---|
| 213 | |
|---|
| 214 | * <multiple> - samples cleanup |
|---|
| 215 | |
|---|
| 216 | 2006-09-14 Mark Lindner <markl@neuromancer> |
|---|
| 217 | |
|---|
| 218 | * libconfig.c - Change %.8f to %e for double values in |
|---|
| 219 | __config_write_value(). Submitted by Filipe Maia. |
|---|
| 220 | |
|---|
| 221 | 2006-08-31 Mark Lindner <markl@neuromancer> |
|---|
| 222 | |
|---|
| 223 | * Makefile.am - changed bin_PROGRAMS to noinst_PROGRAMS; the stub |
|---|
| 224 | programs are for testing and should not be installed. |
|---|
| 225 | |
|---|
| 226 | 2006-08-26 Mark Lindner <markl@neuromancer> |
|---|
| 227 | |
|---|
| 228 | * libconfig.texi - documentation corrections & updates |
|---|
| 229 | * stub.c, stubcpp.c++ - check return value of fopen(); fix compiler |
|---|
| 230 | warnings |
|---|
| 231 | * configure.ac, Makefile.am - add -Wall to CFLAGS only for gcc; |
|---|
| 232 | add test.cfg to EXTRA_DIST |
|---|
| 233 | * grammar.y, libconfigcpp.c++ - fix compiler warnings |
|---|
| 234 | * libconfig.c - use CONFIG_TRUE & CONFIG_FALSE rather than 1 & 0 |
|---|
| 235 | for success/failure return values. |
|---|
| 236 | |
|---|
| 237 | ----- version 0.9 ------ |
|---|
| 238 | |
|---|
| 239 | 2006-07-29 Mark Lindner <markl@neuromancer> |
|---|
| 240 | |
|---|
| 241 | * <multiple> - major grammar redesign: groups are now values instead of |
|---|
| 242 | distinct syntax constructs; this allows groups to be elements of |
|---|
| 243 | lists |
|---|
| 244 | * libconfig.texi - documentation updates; added new chapter containing |
|---|
| 245 | the BNF grammar |
|---|
| 246 | * test.cfg - modified to reflect new syntax and to demonstrate lists |
|---|
| 247 | |
|---|
| 248 | 2006-06-23 Mark Lindner <markl@neuromancer> |
|---|
| 249 | |
|---|
| 250 | * <multiple> - added support for lists (collections of |
|---|
| 251 | heterogeneous values of any type) |
|---|
| 252 | * libconfig.c - pretty-printing fixes in config_write() |
|---|
| 253 | |
|---|
| 254 | 2006-06-08 Mark Lindner <markl@neuromancer> |
|---|
| 255 | |
|---|
| 256 | * libconfig.h++ - added private copy constructor & assignment operator |
|---|
| 257 | (from Josef Meile) |
|---|
| 258 | * ligconfigcpp.c++, libconfig.h++ - added cast operators for unsigned |
|---|
| 259 | int and unsigned long (from Scott Frazer) |
|---|
| 260 | * <multiple> - add support for value formats; the only non-default |
|---|
| 261 | format currently supported is hexadecimal format for integer values |
|---|
| 262 | (based on patch from Scott Frazer) |
|---|
| 263 | |
|---|
| 264 | 2006-04-15 Mark Lindner <markl@neuromancer> |
|---|
| 265 | |
|---|
| 266 | * <multiple> - added pkg-config support |
|---|
| 267 | |
|---|
| 268 | 2006-03-31 mlindner <markl@neuromancer> |
|---|
| 269 | |
|---|
| 270 | * <multiple> - cleaned up config.tab.h mess (this file was obsolete, |
|---|
| 271 | and superseded by grammar.h ... problem identified by Scott Frazer) |
|---|
| 272 | |
|---|
| 273 | 2006-03-30 mlindner <mlindner@chimera> |
|---|
| 274 | |
|---|
| 275 | * grammar.y - fixed includes for windows (missing decl of malloc/free) |
|---|
| 276 | * libconfig.c - fixed several signed/unsigned warnings |
|---|
| 277 | * doc/libconfig.texi - documentation updates, formatting fix |
|---|
| 278 | * scanner.l - allow lowercase 'true' and 'false' in addition to |
|---|
| 279 | 'TRUE' and 'FALSE' |
|---|
| 280 | |
|---|
| 281 | 2006-03-27 Mark Lindner <markl@neuromancer> |
|---|
| 282 | |
|---|
| 283 | * libconfigcpp.c++ - added missing break statements in switch (from |
|---|
| 284 | Lukas Zweifel) |
|---|
| 285 | * libconfig.c - don't strdup() a NULL string (from Lukas Zweifel) |
|---|
| 286 | * grammar.c, grammar.h - regenerated with bison 2.1 |
|---|
| 287 | |
|---|
| 288 | 2006-03-20 Mark Lindner <markl@neuromancer> |
|---|
| 289 | |
|---|
| 290 | * scanner.l - added '%option nounistd' and regenerated with newest |
|---|
| 291 | version of flex; Windows doesn't have unistd.h. |
|---|
| 292 | |
|---|
| 293 | 2006-03-17 Mark Lindner <markl@neuromancer> |
|---|
| 294 | |
|---|
| 295 | * grammar.y - bugfix; error & abort parsing if duplicate setting name |
|---|
| 296 | encountered (previously caused a crash ... reported by Tobias Witek) |
|---|
| 297 | * scanner.l - bugfix; multi-line C-style comments were causing line |
|---|
| 298 | number counting to be thrown off, because the newlines were being |
|---|
| 299 | "eaten" |
|---|
| 300 | * <multiple> - various fixes to support building of DLLs on Windows. |
|---|
| 301 | |
|---|
| 302 | 2005-11-26 Mark Lindner <markl@neuromancer> |
|---|
| 303 | |
|---|
| 304 | * grammar.y, scanner.l - always strdup() yytext, and free the memory |
|---|
| 305 | in the grammar rules. |
|---|
| 306 | |
|---|
| 307 | 2005-11-22 Mark Lindner <markl@neuromancer> |
|---|
| 308 | |
|---|
| 309 | * libconfigcpp.c++, libconfig.h++, libconfig.c, libconfig.h - |
|---|
| 310 | Added Daniel's enhancements: methods & functions for reading/writing |
|---|
| 311 | files, fixes for various memory leaks, etc. |
|---|
| 312 | * samples/* - Added Daniel's example code. |
|---|
| 313 | * docs/libconfig.texi - Updated documentation |
|---|
| 314 | |
|---|
| 315 | 2005-09-28 Mark Lindner <markl@neuromancer> |
|---|
| 316 | |
|---|
| 317 | * libconfigcpp.c++, libconfig.h++, libconfig.c, libconfig.h |
|---|
| 318 | Enhanced API to support modification of a configuration. |
|---|
| 319 | * libconfig.texi - updated manual |
|---|
| 320 | |
|---|
| 321 | 2005-06-02 Mark Lindner <markl@neuromancer> |
|---|
| 322 | |
|---|
| 323 | * libconfigcpp.c++, libconfig.h++ - Added getName() method; |
|---|
| 324 | fixed operator[](int) to work with groups; this allows iteration over |
|---|
| 325 | a group's child settings. Added a missing break statement (bugfix |
|---|
| 326 | submitted by Pablo Barrera Gonzalez). Added operator int() and |
|---|
| 327 | operator float() to Setting; note that these may cause loss of |
|---|
| 328 | precision since the actual values are stored internally as long |
|---|
| 329 | and double, respectively. |
|---|
| 330 | |
|---|
| 331 | * libconfig.h - added config_setting_name() macro |
|---|
| 332 | |
|---|
| 333 | * libconfig.c - maintain two lists of children at each node; a sorted |
|---|
| 334 | list and an unsorted list (to preserve the order of the settings as |
|---|
| 335 | they appear in the file). |
|---|
| 336 | |
|---|
| 337 | * scanner.l - fixed scanner rule for comments. '#' no longer has to |
|---|
| 338 | be in column 0 to be recognized as a comment. Added support for C |
|---|
| 339 | and C++ style comments. |
|---|