Bump to libxml++ 2.34.2
[platform/upstream/libxml++.git] / NEWS
1 2.34.2 (stable):
2
3 * Element: Add add_child_cdata(), like the existing add_child_text().
4 * Node::create_new_child_node(): Use the default namespace if none is specified.
5   (Mathias Lorente) Bug #656110
6 * Documentation: Fix a markup typo.
7   (Murray Cumming)
8         
9 2.34.1 (stable):
10
11 * Do not require mm-common during the tarball build.
12   (Murray Cumming)
13
14 2.34.0 (stable):
15
16 Major changes since 2.32:
17
18 * Allow separate and multi-threaded libxml2 usage by
19   not using the global xmlRegisterNodeDefault() and xmlDeregisterNodeDefault()
20   callbacks.
21   (Alessandro Pignotti)
22 * Do not call xmlCleanupParser() when the library is unloaded,
23   because it is brutal and can break other parts of applications that try to
24   use libxml separately.
25   (Murray Cumming)
26
27 2.33.2 (unstable):
28
29 * Node::remove_child(): Fix a memory management problem introduced in
30   2.33.1.
31   (Murray Cumming)
32 * Document::do_write_to_stream(), Schema::set_document(): Check the results from
33         xmlSchemaNewDocParserCtxt() and xmlSaveFormatFileTo().
34   (Murray Cumming) Bug #635846 (Markus Elfring)
35
36 2.33.1 (unstable):
37
38 * (Hopefully) allow separate and multi-threaded libxml2 usage by
39   not using the global xmlRegisterNodeDefault() and xmlDeregisterNodeDefault()
40   callbacks.
41   (Alessandro Pignotti)
42 * Do not call xmlCleanupParser() when the library is unloaded,
43   because it is brutal and can break other parts of applications that try to
44   use libxml separately.
45   (Murray Cumming)
46 * Minor code improvement.
47   (Knut Aksel Røysland)
48 * Build: Build the examples by default.
49   (Murray Cumming)
50
51 2.32.0 (stable):
52
53 * Node::find(): Check xmlNode::type for a XML_NAMESPACE_DECL to prevent a
54   crash/corruption.
55   (Murray Cumming) Bug #386013 (Max Kirillov)
56 * Build: Added an MSVC .net 2010 and 64-bit Windows builds.
57   (Armin Burgmeier)
58
59 2.30.1 (stable):
60
61 * Documentation:
62   - Added main page doxygen text.
63   (David King, Murray Cumming)
64   - Show NodeList.
65   (Murray Cumming) Bug #583412 (Hubert Figuiere).
66   - Correct some @newin tags.
67   (Murray Cumming)
68
69 2.30.0(stable):
70
71 * Build system rewrite.
72 * Use mm-common for reference documentation generation. Fixes GNOME bugs
73   #583411 (Hubert Figuiere), #614260 (David King) and #551501 (Johannes Schmid)
74 * Fix several compiler warnings.
75 * Use 0 instead of NULL. (Murray Cumming)
76
77 2.26.1(stable):
78
79 * Build fixes
80 * Build without exceptions
81
82 2.26.0(stable):
83
84 * Increased version number to match GNOME 2.26.
85
86 2.24.3 (stable):
87
88 * TextReader: Actually throw exceptions on errors.
89   (This breaks ABI but we do not believe that this class could be used with
90   this problem so it should not actually break any application.)
91   Bug #348006.
92 * Build: Windows: Remove unnecessary vsnprint define.
93   (Armin Burgmeier)
94
95 2.24.2 (stable):
96
97 * Fixed another two memory leaks.
98   (Armin Burgmeier) Bug #563321 (Arjan Franzen)
99 * Removed obsolete MSVC6 project files
100   (Armin Burgmeier)
101
102 2.24.1 (stable):
103
104 * Added new Schema and SchemaValidator classes to MSVC project files
105   (Arjan Franzen, Arming Burgmeier) Bug #563664.
106 * Avoid a memory leak in Validator::check_for_exception.
107   (Arjan Franzen, Murray Cumming) Bug #563321.
108 * Avoid a memory leak in schema class.
109   (Balazs Tirpak, Murray Cumming) Bug #312216.
110
111 2.24.0 (stable):
112
113 Changes since 2.22:
114
115 * Attribute: Return the correct value even when using a namespace.
116   (Murray Cumming) Bug #547689 (Sergei Fedorov)
117 * Added Schema and SchemaValidator classes, demonstrated in
118   examples/schemavalidation.
119   (Emilien KIA) Bug #312216.
120 * Element: Added add_child_text() with a previous_node parameter, for adding
121   between existing nodes. Added add_child_text_before() too.
122 * Node: Added add_child() with a previous_node parameter, for adding between
123   existing nodes. Added add_child_before() too.
124   (Murray Cumming)
125 * SaxParser: added parse_chunk_raw().
126   (Armin Burgmeier)
127
128
129 2.23.3 (unstable):
130
131 * Attribute: Return the correct value even when using a namespace.
132   (Murray Cumming) Bug #547689 (Sergei Fedorov)
133 * Fixed MSVC++ Windows build.
134   (Armin Burgmeier)
135
136 2.23.2 (unstable):
137
138 * SaxParser: added parse_chunk_raw().
139   (Armin Burgmeier)
140 * examples: sax_parser: Catch convert errors when printing an exception to
141   std:cout, though libxml++/libxml should always supply valid UTF-8.
142   (Murray Cumming)
143
144 2.23.1 (unstable):
145
146 * Added Schema and SchemaValidator classes, demonstrated in
147   examples/schemavalidation.
148   (Emilien KIA) Bug #312216.
149 * Element: Added add_child_text() with a previous_node parameter, for adding
150   between existing nodes. Added add_child_text_before() too.
151 * Node: Added add_child() with a previous_node parameter, for adding between
152   existing nodes. Added add_child_before() too.
153   (Murray Cumming)
154
155 2.22.0 (stable):
156
157 * Document: Fix a memory leak, by calling xmlCleanupParser
158   in the destructor.
159   (Deng Xiyue) Bug #501168 (Matt G.)
160 * Build: Fix the build with gcc 4.3 pre-releases.
161   (Martin Michlmayr) Bug #510053.
162
163 2.20.0 (stable):
164
165 Changes since 2.18:
166 * Element: Added get_attribute_value(),
167   to get a simple text value for an attribute.
168   (Stef Walter) Bug #373573.
169 * Added an experimental --enable-api-exceptions
170   configure option, to allow libxml++ to build without
171   exceptions.
172   (Murray Cumming)
173
174 2.19.2 (unstable):
175
176 * Added an experimental --enable-api-exceptions
177   configure option, to allow libxml++ to build without
178   exceptions.
179
180 2.19.1(unstable):
181
182 * Element.h: Added get_attribute_value(),
183   to get a simple text value for an attribute.
184   (Stef Walter) Bug #373573.
185
186 2.18.2 (stable):
187
188 * TextReader: get_name(): Fixed a memory leak.
189   (Christophe de Vienne) Bug #447535.
190
191 2.18.1 (stable):
192
193 * Document::add_comment,
194   Element: add_child_text(), add_child_comment():
195   avoid accessing freed memory. (Murray Cumming)
196
197 2.18.0(stable):
198
199 * Slight win32 build improvement, possibly.
200   (Artur Wegele)
201 * Slight improvement to examples.
202   (Murray Cumming)
203
204 2.17.2 (unstable):
205
206 * Node: Adedd get_next_sibling() and get_previous_sibling().
207   Bug #351867.
208   (Nate Nielsen)
209
210 2.17.1 (unstable):
211
212 * Node: Added get_parent() Bug #351876 (Patch by Nate Nielsen)
213 * TextReader: Added TextReader(const char* data) constructor, for
214   parsing memory buffers. Bug #351215 (Patch by Nate Nielsen)
215 * Element::set_attribute(): Really return the new attribute.
216   Bug #361950 (Patch by Nate Nielsen)
217 * Build: Added MS Visual Studio 2005 project files.
218   (Cedric Gustin)
219
220
221 2.14 (stable):
222
223 * Documentation:
224   - Improved ContentNode documentation (Murray Cumming)
225
226 2.13.1 (unstable):
227
228 * First unstable 2.13.x release, to become stable 2.14.x, for GNOME 2.14.
229 * Node:
230   - Added find() overload that takes namespaces to register during the search,
231   using xmlXPathRegisterNs(). Bug #323935. (Robert Fleming)
232   - set_namespace(): When creating a default namespace, avoid the
233   "The namespace () has not been declared" warning, by passing 0 to
234   xmlSearchNs() instead of an empty string. Bug #318186.
235   (Erik Oestby).
236 * Build: Fix buildir!=srcdir builds. Bug #319863.(Vadim Zeitlin)
237 * Documentation:
238   - Tutorial: Mention pkg-config.
239   - Reference: Grammar fixes and a small fix for find().
240   (Murray Cumming)
241
242 2.12.0 (stable):
243
244 * Added the state "Reading" to xml Reader States list.
245
246 2.11.0 (unstable):
247
248 * First unstable 2.11.x release, to become stable 2.12.x
249 * Fixed Document::set_entity_declaration behavior (Murray Cumming)
250 * Updated MSVC.Net2003 project files (Cedric Gustin)
251 * Fixed bugs #301727, #301712, #156352, #161825, #307481, #314419
252
253 2.10.0 (stable):
254
255 * Fixed documentation packaging problems (Murray Cumming, Christophe de Vienne)
256
257 2.9.2 (unstable):
258
259 * Added MSVC .Net 2003 support (Cedric Gustin)
260 * Improved documentation + Added a manual (Murray Cumming)
261 * Fixed a bug in utf8 handling in Document::do_write_to_string (Murray Cumming)
262
263 2.9.1 (unstable):
264
265 * First unstable 2.9.x release, to become stable 2.10.x.
266 * DomParser, SaxParser: Added
267   parse_memory_raw(const unsigned char* contents, size_type bytes)
268   for parsing non-utf8 text or text of unknown encoding.
269
270 2.8.0 (stable):
271
272 * Code Cleaning.
273
274 * Changes compared to libxml++ 2.7:
275   - Added Validator and DtdValidator classes.
276
277 2.7.1 (unstable):
278
279 * Fixed bug #150082 (Christophe de Vienne)
280
281 2.7.0 (unstable):
282
283 * Added Validator and DtdValidator (Guillaume Arreckx)
284
285 2004-05-05 2.6.1 (stable):
286
287 * Fixed an issue (#141824) with Glib::ustring.
288 * Fixed ContentNode::SetContent behavior.
289
290 2004-04-13 2.6.0 (stable):
291
292 * Corrected constness of TextReader::get_current_node (Murray Cumming)
293
294 2004-03-02 2.5.2 (unstable):
295
296 * Fixed bug #134390: "SEGFAULT in Element::get_attribute" (John Coyle)
297 * Code cleaning.
298
299 2004-02-09 2.5.1 (unstable):
300
301 * Introduced Glib::ustring instead of std::string (Murray Cumming)
302 * Added Document::create_root_node_by_import (Kim Garrison)
303 * Fixed bugs #131018, #131329 and #132014.
304 * Added TextReader interface (Christophe de Vienne)
305
306 2003-12-18 1.0.0 (stable):
307
308 * Updated msvc files (Ephraim Vider)
309 * Fixed an issue in SaxParser (Murray Cumming)
310
311 2003-12-08 0.28 (unstable):
312
313 * Added entity handling to the SAX parser + examples (Dan Dennedy and Murray Cumming)
314 * Replaced SaxParser::AttributeMap with an ordered container (Christophe de Vienne)
315 * Fixed an issue with threading (Christophe de Vienne)
316 * Complete switched to pkg-config (Christophe de Vienne)
317
318 2003-11-05 0.27 (unstable):
319
320 * Completed documentation
321 * Added Element::add_comment (Dan Dennedy)
322 * Wrapped xmlIO output buffers and added Document::write_to_stream (Christophe de Vienne)
323 * Cleaned and made more consistent Element API (Murray Cumming)
324 * Added entities support in DomParser (Murray Cumming)
325
326 2003-09-23 0.26 (unstable):
327
328 * Added import_node example into MSVC6 project files (Ephraim Vider)
329 * Node::import_node now takes a const Node (suggested by Rafael Vuijk)
330 * Fixed threading issue due to incorrect libxml2 initialisation (Fredrik Arnerup)
331 * Updated Doxyfile (Christophe de Vienne)
332 * Added Namespaces support (Dan Dennedy, Murray Cumming)
333
334 2003-07-18 0.25 (unstable):
335
336 * Fixed MSVC6 project files (Ephraim Vider)
337 * Added Node::import_node (Eric Bourque)
338 * Removed throw specification (Christophe de Vienne).
339 * Removed old-style autoconf macro for libxml++ detection (Christophe de Vienne).
340 * Removed unused examples (Murray Cumming)
341
342 2003-06-11 0.24 (unstable):
343
344 * Added Document::write_to_file_formatted() and
345   Document::write_to_string_formatted() - they add white space indenting.
346   (Christophe de Vienne)
347 * Added ContentNode::is_white_space() to make it easier for applications to
348    ignore white space such as indenting. (Murray Cumming)
349 * Node: Added set_name(). (Christophe de Vienne)
350 * Compiles with gcc's pedantic warnings as errors.
351   (Christophe de Vienne)
352 * libxml++ header files no longer include any libxml header files.
353   (Christophe de Vienne)
354 * Removed superfluous standalone parse_* methods in document.[h|cc]
355   (Murray Cumming)
356 * Minor reference documentation corrections.
357   (Jonathan Wakely)
358 * Replaced some <istream> with <iostream> to support older compilers.
359   (Jonathan Wakely)
360 * Added classes to wrap the missing node types. (Ephraim Vider).
361 * Fixed a memory leak in write_to_string[_formatted] functions. (Morten Hanssen)
362 * Fixed compile error in keepblanks.h with MSVC 6.0. (Christophe de Vienne).
363 * Fixed segfault in DomParser::parse_stream on parsing failure.
364   (Christophe de Vienne).
365
366 2003-05-20: 0.23 (unstable):
367
368 * Fixed incorrect use of xmlKeepBlanksDefault. Handling of white spaces
369   is now conforming to xml specification. (Christophe de Vienne)
370 * Classes inherit from NonCopyable to avoid mistakes and clarify the
371   memory mangement.
372   (Murray Cumming)
373 * Node::find() returns empty NodeSet if it does not find the path.
374   (Andy Glew)
375 * DomParser: Fixed memory leak. (Christophe de Vienne, Thierry Blanchard)
376 * Fixed NetBSD compilation (Chistophe de Vienne, Jaka Jejcic)
377 * Improved .spec.in file. (Eric Bourque)
378 * Some MSVC++ support and minor corrections. (Ephraim Vider)
379
380 0.22 (unstable):
381
382 * DOM Parser:
383   - Reduced API duplication - you must now use get_document().
384   (Ephraim Vider)
385   - Now throws exception if document not found.
386   (Christophe de Vienne)
387   - Added const get_document() overload. (Murray Cumming)
388
389 0.21 (unstable):
390
391 * Parsers:
392   - Validation now supported: Use Parser::set_validate() to turn on validation.
393     Parsers will then throw validation_error exceptions if validation fails.
394     (Murray Cumming)
395   - SaxParser: Added parse_chunk() for gradual parsing of XML fragments.
396     (Ole Laursen)
397 * Node:
398   - Moved add_child_content(), get_child_content(), set_child_content(),
399     and has_content() to Element class.
400   - Fixed set_child_content() to add content instead of creating a node.
401     (Murray Cumming)
402 * Added spec file for RPMs. (Eric Bourque)
403
404
405 2003-02-15: 0.20 (unstable):
406
407 * Node::remove_child() now works.
408   (Murray Cumming)
409 * Added examples/dom_xpath.
410   (Stefan Seefeld, Murray Cumming)
411
412 2003-02-08: 0.19 (unstable):
413
414 * The imlementation now uses libxml's API more instead of reimplementing data structures.
415   (Stefan Seefeld, Murray Cumming)
416 * Attribute::get_value() use libxml's API properly, so it now respects the DTD.
417   (Stefan Seefeld)
418 * Node: Added get_path() and find() for xpath lookup. (Stefan Seefeld)
419 * Attribute now inherits from Node, as required by the find() method. (Stefan Seefeld)
420 * Added Document class. (Stefan Seefeld)
421 * Added cobj() accessors, in case you need to use unwrapped libxml API. (Murray Cumming)
422 * SaxParser:
423     Added CDATA section handler.
424     fixed a potential buffer overflow problem
425   (Valentin Rusu)
426
427 2003-01-09: 0.18 (unstable):
428
429 * big API change for nodes handling : the different types of node now herit
430 from a base Node class. This, among other advantages, avoids previous ambiguity
431 on content() acessors meaning.
432 * little bugfixes and improvements in SaxParser.
433
434 2002-12-10: 0.17 (unstable):
435
436 * properties are now called attributes.
437 * it is now possible to throw exceptions from callback
438 methods in SaxParser.
439 * parsers can parse from a stream.
440 * memory leak fixed in SaxParser.
441 * configure check for libxml2 2.4.1 at least.
442 * bug fixes.
443
444
445 2002-11-20: 0.16 (unstable):
446
447 * Examples added.
448 * Xml type name prefix removed.
449 * Tree replaced with DomParser.
450 * Parser renamed to SaxParser.
451 * Property renamed to Attribute
452 * Errors thrown as exceptions.
453 * Both parsers can parse from either file or memory.
454
455 * Simplified memory management -
456   no more returning of static temporaries.
457 * set_*() methods return void.