Debian Codegraph @

xml/CHANGES

raw
1 CHANGES - 2011-12-20
2 --------------------
3
4 ArgyllCMS Changes:
5 - Added mxmlFindPathNode() variant of mxmlFindPath() that doesn't
6 return the child node.
7
8 CHANGES IN Mini-XML 2.7
9
10 - Added 64-bit configurations to the VC++ project files (STR #129)
11 - Fixed conformance of mxmldoc's HTML and CSS output.
12 - Added data accessor ("get") functions and made the mxml_node_t and
13 mxml_index_t structures private but still available in the Mini-XML
14 header to preserve source compatibility (STR #118)
15 - Updated the source headers to reference the Mini-XML license and its
16 exceptions to the LGPL2 (STR #108)
17 - Fixed a memory leak when loading a badly-formed XML file (STR #121)
18 - Added a new mxmlFindPath() function to find the value node of a
19 named element (STR #110)
20 - Building a static version of the library did not work on Windows
21 (STR #112)
22 - The shared library did not include a destructor for the thread-
23 specific data key on UNIX-based operating systems (STR #103)
24 - mxmlLoad* did not error out on XML with multiple root nodes (STR #101)
25 - Fixed an issue with the _mxml_vstrdupf function (STR #107)
26 - mxmlSave* no longer write all siblings of the passed node, just that
27 node and its children (STR #109)
28
29
30 CHANGES IN Mini-XML 2.6
31
32 - Documentation fixes (STR #91, STR #92)
33 - The mxmldoc program did not handle typedef comments properly (STR #72)
34 - Added support for "long long" printf formats.
35 - The XML parser now ignores BOMs in UTF-8 XML files (STR #89)
36 - The mxmldoc program now supports generating Xcode documentation sets.
37 - mxmlSave*() did not output UTF-8 correctly on some platforms.
38 - mxmlNewXML() now adds encoding="utf-8" in the ?xml directive to avoid
39 problems with non-conformant XML parsers that assume something other
40 than UTF-8 as the default encoding.
41 - Wrapping was not disabled when mxmlSetWrapMargin(0) was called, and
42 "<?xml ... ?>" was always followed by a newline (STR #76)
43 - The mxml.pc.in file was broken (STR #79)
44 - The mxmldoc program now handles "typedef enum name {} name" correctly
45 (STR #72)
46
47
48 CHANGES IN Mini-XML 2.5
49
50 - The mxmldoc program now makes greater use of CSS and
51 supports a --css option to embed an alternate stylesheet.
52 - The mxmldoc program now supports --header and --footer
53 options to insert documentation content before and
54 after the generated content.
55 - The mxmldoc program now supports a --framed option to
56 generate framed HTML output.
57 - The mxmldoc program now creates a table of contents
58 including any headings in the --intro file when
59 generating HTML output.
60 - The man pages and man page output from mxmldoc did
61 not use "\-" for dashes (STR #68)
62 - The debug version of the Mini-XML DLL could not be
63 built (STR #65)
64 - Processing instructions and directives did not work
65 when not at the top level of a document (STR #67)
66 - Spaces around the "=" in attributes were not supported
67 (STR #67)
68
69
70 CHANGES IN Mini-XML 2.4
71
72 - Fixed shared library build problems on HP-UX and Mac OS X.
73 - The mxmldoc program did not output argument descriptions
74 for functions properly.
75 - All global settings (custom, error, and entity callbacks
76 and the wrap margin) are now managed separately for each
77 thread.
78 - Added mxmlElementDeleteAttr() function (STR #59)
79 - mxmlElementSetAttrf() did not work (STR #57)
80 - mxmlLoad*() incorrectly treated declarations as parent
81 elements (STR #56)
82 - mxmlLoad*() incorrectly allowed attributes without values
83 (STR #47)
84 - Fixed Visual C++ build problems (STR #49)
85 - mxmlLoad*() did not return NULL when an element contained
86 an error (STR #46)
87 - Added support for the apos character entity (STR #54)
88 - Fixed whitespace detection with Unicode characters (STR
89 #48)
90 - mxmlWalkNext() and mxmlWalkPrev() did not work correctly
91 when called with a node with no children as the top node
92 (STR #53)
93
94
95 CHANGES IN Mini-XML 2.3
96
97 - Added two exceptions to the LGPL to support static
98 linking of applications against Mini-XML
99 - The mxmldoc utility can now generate man pages, too.
100 - Added a mxmlNewXML() function
101 - Added a mxmlElementSetAttrf() function (STR #43)
102 - Added snprintf() emulation function for test program (STR
103 #32)
104 - Added the _CRT_SECURE_NO_DEPRECATE definition when
105 building on VC++ 2005 (STR #36)
106 - mxmlLoad*() did not detect missing > characters in
107 elements (STR #41)
108 - mxmlLoad*() did not detect missing close tags at the end
109 of an XML document (STR #45)
110 - Added user_data and ref_count members to mxml_node_t
111 structure
112 - Added mxmlReleaseNode() and mxmlRetainNode() APIs for
113 reference-counted nodes
114 - Added mxmlSetWrapMargin() to control the wrapping of XML
115 output
116 - Added conditional check for EINTR error code for
117 certain Windows compilers that do not define it (STR
118 #33)
119 - The mxmldoc program now generates correct HTML 4.0
120 output - previously it generated invalid XHTML
121 - The mxmldoc program now supports "@deprecated@,
122 "@private@", and "@since version@" comments
123 - Fixed function and enumeration type bugs in mxmldoc.
124 - Fixed the XML schema for mxmldoc
125 - The mxmldoc program now supports --intro, --section,
126 and --title options
127 - The mxmlLoad*() functions could leak a node on an error
128 (STR #27)
129 - The mxml_vsnprintf() function could get in an infinite
130 loop on a buffer overflow (STR #25)
131 - Added new mxmlNewCDATA() and mxmlSetCDATA() functions
132 to create and set CDATA nodes, which are really just
133 special element nodes
134 - Added new MXML_IGNORE type and MXML_IGNORE_CB callback
135 to ignore non-element nodes, e.g. whitespace
136 - mxmlLoad*() crashed when reporting an error in some
137 invalid XML (STR #23)
138
139
140 CHANGES IN Mini-XML 2.2.2
141
142 - mxmlLoad*() did not treat custom data as opaque, so
143 whitespace characters would be lost.
144
145
146 CHANGES IN Mini-XML 2.2.1
147
148 - mxmlLoadFd(), mxmlLoadFile(), and mxmlLoadString() now
149 correctly return NULL on error (STR #21)
150 - mxmlNewInteger(), mxmlNewOpaque(), mxmlNewReal(),
151 mxmlNewText(), and mxmlNewTextf() incorrectly required
152 a parent node (STR #22)
153 - Fixed an XML output bug in mxmldoc.
154 - The "make install" target now uses the install command
155 to set the proper permissions on UNIX/Linux/OSX.
156 - Fixed a MingW/Cygwin compilation problem (STR #18)
157
158
159 CHANGES IN Mini-XML 2.2
160
161 - Added shared library support (STR #17)
162 - mxmlLoad*() now returns an error when an XML stream
163 contains illegal control characters (STR #10)
164 - mxmlLoad*() now returns an error when an element
165 contains two attributes with the same name in
166 conformance with the XML spec (STR #16)
167 - Added support for CDATA (STR #14, STR #15)
168 - Updated comment and processing instruction handling -
169 no entity support per XML specification.
170 - Added checking for invalid comment termination ("--->"
171 is not allowed)
172
173
174 CHANGES IN Mini-XML 2.1
175
176 - Added support for custom data nodes (STR #6)
177 - Now treat UTF-8 sequences which are longer than
178 necessary as an error (STR #4)
179 - Fixed entity number support (STR #8)
180 - Fixed mxmlLoadString() bug with UTF-8 (STR #7)
181 - Fixed entity lookup bug (STR #5)
182 - Added mxmlLoadFd() and mxmlSaveFd() functions.
183 - Fixed multi-word UTF-16 handling.
184
185
186 CHANGES IN Mini-XML 2.0
187
188 - New programmers manual.
189 - Added Visual C++ project files for Microsoft Windows
190 users.
191 - Added optimizations to mxmldoc, mxmlSaveFile(), and
192 mxmlIndexNew() (STR #2)
193 - mxmlEntityAddCallback() now returns an integer status
194 (STR #2)
195 - Added UTF-16 support (input only; all output is UTF-8)
196 - Added index functions to build a searchable index of
197 XML nodes.
198 - Added character entity callback interface to support
199 additional character entities beyond those defined in
200 the XHTML specification.
201 - Added support for XHTML character entities.
202 - The mxmldoc utility now produces XML output which
203 conforms to an updated XML schema, described in the file
204 "doc/mxmldoc.xsd".
205 - Changed the whitespace callback interface to return
206 strings instead of a single character, allowing for
207 greater control over the formatting of XML files
208 written using Mini-XML. THIS CHANGE WILL REQUIRE
209 CHANGES TO YOUR 1.x CODE IF YOU USE WHITESPACE
210 CALLBACKS.
211 - The mxmldoc utility is now capable of documenting C++
212 classes, functions, and structures, and correctly
213 handles C++ comments.
214 - Added new modular tests for mxmldoc.
215 - Updated the mxmldoc output to be more compatible with
216 embedding in manuals produced with HTMLDOC.
217 - The makefile incorrectly included a "/" separator
218 between the destination path and install path. This
219 caused problems when building and installing with
220 MingW.
221
222
223 CHANGES IN Mini-XML 1.3
224
225 - Fixes for mxmldoc.
226 - Added support for reading standard HTML entity names.
227 - mxmlLoadString/File() did not decode character
228 entities in element names, attribute names, or
229 attribute values.
230 - mxmlLoadString/File() would crash when loading non-
231 conformant XML data under an existing parent (top)
232 node.
233 - Fixed several bugs in the mxmldoc utility.
234 - Added new error callback function to catch a variety
235 of errors and log them to someplace other than stderr.
236 - The mxmlElementSetAttr() function now allows for NULL
237 attribute values.
238 - The load and save functions now properly handle quoted
239 element and attribute name strings properly, e.g. for
240 !DOCTYPE declarations.
241
242
243 CHANGES IN Mini-XML 1.2
244
245 - Added new "set" methods to set the value of a node.
246 - Added new formatted text methods mxmlNewTextf() and
247 mxmlSetTextf() to create/set a text node value using
248 printf-style formats.
249 - Added new standard callbacks for use with the mxmlLoad
250 functions.
251 - Updated the HTML documentation to include examples of
252 the walk and load function output.
253 - Added --with/without-ansi configure option to control
254 the strdup() function check.
255 - Added --with/without-snprintf configure option to
256 control the snprintf() and vsnprintf() function
257 checks.
258
259
260 CHANGES IN Mini-XML 1.1.2
261
262 - The mxml(3) man page wasn't updated for the string
263 functions.
264 - mxmlSaveString() returned the wrong number of
265 characters.
266 - mxml_add_char() updated the buffer pointer in the
267 wrong place.
268
269
270 CHANGES IN Mini-XML 1.1.1
271
272 - The private mxml_add_ch() function did not update the
273 start-of-buffer pointer which could cause a crash when
274 using mxmlSaveString().
275 - The private mxml_write_ws() function called putc()
276 instead of using the proper callback which could cause
277 a crash when using mxmlSaveString().
278 - Added a mxmlSaveAllocString() convenience function for
279 saving an XML node tree to an allocated string.
280
281
282 CHANGES IN Mini-XML 1.1
283
284 - The mxmlLoadFile() function now uses dynamically
285 allocated string buffers for element names, attribute
286 names, and attribute values. Previously they were
287 capped at 16383, 255, and 255 bytes, respectively.
288 - Added a new mxmlLoadString() function for loading an
289 XML node tree from a string.
290 - Added a new mxmlSaveString() function for saving an
291 XML node tree to a string.
292 - Add emulation of strdup() if the local platform does
293 not provide the function.
294
295
296 CHANGES IN Mini-XML 1.0
297
298 - The mxmldoc program now handles function arguments,
299 structures, unions, enumerations, classes, and
300 typedefs properly.
301 - Documentation provided via mxmldoc and more in-line
302 comments in the code.
303 - Added man pages and packaging files.
304
305
306 CHANGES IN Mini-XML 0.93
307
308 - New mxmldoc example program that is also used to
309 create and update code documentation using XML and
310 produce HTML reference pages.
311 - Added mxmlAdd() and mxmlRemove() functions to add and
312 remove nodes from a tree. This provides more
313 flexibility over where the nodes are inserted and
314 allows nodes to be moved within the tree as needed.
315 - mxmlLoadFile() now correctly handles comments.
316 - mxmlLoadFile() now supports the required "gt", "quot",
317 and "nbsp" character entities.
318 - mxmlSaveFile() now uses newlines as whitespace
319 when valid to do so.
320 - mxmlFindElement() now also takes attribute name and
321 attribute value string arguments to limit the search
322 to specific elements with attributes and/or values.
323 NULL pointers can be used as "wildcards".
324 - Added uninstall target to makefile, and auto-reconfig
325 if Makefile.in or configure.in are changed.
326 - mxmlFindElement(), mxmlWalkNext(), and mxmlWalkPrev()
327 now all provide "descend" arguments to control whether
328 they descend into child nodes in the tree.
329 - Fixed some whitespace issues in mxmlLoadFile().
330 - Fixed Unicode output and whitespace issues in
331 mxmlSaveFile().
332 - mxmlSaveFile() now supports a whitespace callback to
333 provide more human-readable XML output under program
334 control.
335
336
337 CHANGES IN Mini-XML 0.92
338
339 - mxmlSaveFile() didn't return a value on success.
340
341
342 CHANGES IN Mini-XML 0.91
343
344 - mxmlWalkNext() would go into an infinite loop.
345
346
347 CHANGES IN Mini-XML 0.9
348
349 - Initial public release.