Annotation of embedaddon/confuse/NEWS, revision 1.1.1.1
1.1 misho 1: New in 2.7
2: ----------
3:
4: * Bugfix release.
5:
6:
7: New in 2.6
8: ----------
9:
10: * added French translation contributed by Matthieu Sion
11: * added build script and instructions for compiling with Mingw under Windows
12: (contributed by Matthieu Sion)
13: * now accepts a simplified list append syntax:
14: option += "value"
15: insted of
16: option += {"value"}
17: * added flag CFGF_NO_TITLE_DUPES: multiple section titles must be unique
18: (duplicates raises an error, only applies to sections)
19: (suggested by Brian Fallik)
20: * fixed rpm builds, patch by Dan Lipsitt
21: * always installs pkg-config .pc script
22: * remove obsolete confuse-config script in favour of pkg-config
23: * fixed a bug reported by Josh Kropf with single sections with titles
24: * added patch that escapes values with quotes and backslashes when printing.
25: * fixed a memory leak in default values for string lists,
26: reported by Vineeth Neelakant.
27: * windows build files now only in separate zip distribution
28:
29: New in 2.5
30: ----------
31:
32: * added flag CFGF_NODEFAULT (option has no default value)
33: * fixed cfg_set_validate_func() for sections, using the "|" syntax
34: * added a tutorial
35: * updated autoconf stuff, libconfuse installs with appropriate suffix now
36: * added data file for pkg-config (try 'pkg-config --libs libconfuse')
37: * updated confuse-config script (now only installed if pkg-config not found)
38: * added cfg_name() and cfg_opt_name() functions
39:
40:
41: New in 2.4
42: ----------
43:
44: * added option type CFGT_PTR as a user-defined type
45: * fixed building of shared libraries
46:
47:
48: New in 2.3
49: ----------
50:
51: * fixes compilation errors with gcc < 3.3
52: * options passed to cfg_init() are now dynamically duplicated, so it is no
53: longer necessary to declare the cfg_opt_t array static
54: * added tests using 'check' (a unit testing framework for C)
55: * added config script 'confuse-config'
56:
57:
58: New in 2.2
59: ----------
60:
61: * Allows more characters in an unquoted string (thanks Mike)
62: * added cfg_opt_get functions
63: * added cfg_opt_size function
64: * added support to print options to a file
65: * added print callback function per option
66: * simple options can be retrieved with the cfg_get functions (allows
67: using the cfg_print function for simple values)
68: * added validating callback function per option
69:
70:
71: New in 2.1
72: ----------
73:
74: * Reversed logic in cfg_getXXX functions, they now abort if given an
75: undeclared option name, and NULL/false if no value is set. Suggested
76: by Ademar de Souza Reis Jr.
77: * Sections without CFGF_MULTI flag now have default values
78: * The cfg_getXXX functions now accept an extended syntax for the
79: option name, try cfg_getxxx(cfg, "sectionname|optionname"). This way
80: one doesn't have to first get the section with cfg_getsec().
81: * Fixed two more memory leaks. (val->section and cfg->filename)
82: * Fixed unterminated string bug in replacement strndup function
83: * Added project files for MS Visual C++ 6.0
84: * Includes io.h on windows
85: * Fixed initialization of default values for lists, when given a NULL
86: string. Now initialized to the empty list. Noted by Juraj Variny.
87: * Setting a list to the empty list in the config file now possible.
88: * Appending to default values in a list is now ok.
89: * Hexadecimal escape sequences allowed in double-quoted strings
90: * Corrected line number with multi-line quoted strings
91: * Fixed undetected /*comment*/ (ie, without space between /* and the text)
92: * Forgot to fclose include file after use, found by James Haley
93: * Only include NLS support if gettext found in libc or preinstalled
94: * Documented the cfg_setlist and cfg_addlist functions
95: * The cfg_opt_setxxx functions no longer take a cfg_t parameter (unused anyway)
96:
97:
98: New in 2.0
99: ----------
100:
101: NOTE! Compatibility with earlier versions is broken.
102:
103: * Changed cfg_flag_t from enum to int (should now compile with c++)
104: * Variable number of arguments to functions: function types should no
105: longer specify number of expected arguments in the initializer, the
106: callback should instead check the argc variable.
107: * Fixed the cfg_tilde_expand function
108: * Added documentation for the value parsing callback
109: * Changed the definitions of cfg_func_t and cfg_callback_t, the cfg
110: and option context are now both passed as parameters
111: * Fixed and extended the example programs
112: * Added a bunch of cfg_setXXX functions to set option values after parsing
113: * Some types renamed for consistency (cfgopt_t to cfg_opt_t, cfgval_t
114: to cfg_value_t, cfgbool_t to cfg_bool_t)
115: * cfg_free_val() renamed to cfg_free_value()
116: * Lexer symbols now uses prefix cfg_ to ease linking with other lexers
117: * Forgot to close the file in cfg_parse()
118: * Memory leaks fixed (checked with valgrind)
119: * Sections with same title are always overwritten
120: * Lists can now have (complete) default values in the form of a string
121: that is parsed in the same way as the config file (see doc + examples)
122: * Added support for building as a DLL on Windows
123: * Included project files for Borland C++ Builder 6.0
124: * Included project files for Dev-Cpp 5.0
125: * Included project files for MS Visual Studio
126: * Pre-built documentation now included in the source tarball
127:
128:
129: New in 1.2.3
130: ------------
131:
132: * fixed segfault due to uninitialized user-defined error function
133: * added callback support
134:
135:
136: New in 1.2.2
137: ------------
138:
139: * changed name to libConfuse (libcfg was way too common)
140: * Doesn't build shared libraries by default (only static)
141: * More swedish translations
142: * Implemented the cfg_free() function (previous versions had only a stub)
143: * New function: cfg_free_val()
144: * updated the manual
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>