1 2015-10-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
5 2015-10-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
7 Parser, Validator: Make handle_exception() private
9 * libxml++/exceptions/wrapped_exception.h: Added comment.
10 * libxml++/parsers/parser.h:
11 * libxml++/validators/validator.h: Make handle_exception() private. Then it
12 will certainly not be considered added API, and it can be included in
13 libxml++ 2.40.1. Bug #757042.
15 2015-10-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
17 SaxParser docs: Describe exception handling
19 * libxml++/parsers/saxparser.h: Note in the class description that some
20 exceptions are replaced by xmlpp::exception if std::exception_ptr is not
21 supported. Bug #757042.
23 2015-10-26 Daniel Trebbien <dtrebbien@gmail.com>
25 Work around some platforms' lack of support for std::exception_ptr
27 * libxml++/exceptions/wrapped_exception.[cc|h]: Declare the wrapped_exception
28 class only if LIBXMLXX_HAVE_EXCEPTION_PTR is defined.
29 * libxml++/parsers/parser.[cc|h]:
30 * libxml++/parsers/saxparser.cc: Add Parser::handle_exception(), and call
31 it instead the handleException().
32 * libxml++/validators/validator.[cc|h]: Add Validator::handle_exception(),
33 and call it instead the handleException().
34 * tests/saxparser_chunk_parsing_inconsistent_state/main.cc:
35 * tests/saxparser_parse_double_free/main.cc:
36 * tests/saxparser_parse_stream_inconsistent_state/main.cc: Catch
37 xmlpp::exception, if LIBXMLXX_HAVE_EXCEPTION_PTR is not defined.
40 Kjell Ahlstedt <kjell.ahlstedt@bredband.net> added handle_exception() and
41 modified Daniel Trebbien's patch to fit with the previous commit.
43 2015-10-26 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
45 Add LIBXMLXX_HAVE_EXCEPTION_PTR
47 * build/.gitignore: New file.
48 * build/cxx_std.m4: New file with LIBXMLXX_CXX_HAS_EXCEPTION_PTR
49 autoconf macro. Defines LIBXMLXX_HAVE_EXCEPTION_PTR if std::exception_ptr
51 * .gitignore: Move some lines to build/.gitignore.
52 * configure.ac: Store some build files in the build directory, like most mm
53 packages. Don't use the macros directory.
54 * libxml++config.h.in: Add LIBXMLXX_HAVE_EXCEPTION_PTR.
56 * docs/Makefile.am: macros -> build. Bug #757042.
58 Thanks to Daniel Trebbien <dtrebbien@gmail.com>, who supplied a patch with
59 the test code in LIBXMLXX_HAVE_EXCEPTION_PTR.
61 2015-10-09 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
63 Still more use of nullptr instead of 0
65 2015-10-08 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
67 More use of nullptr instead of 0
69 Bug #756166 (also the previous commit)
71 2015-10-08 Gaurav Gupta <g.gupta@samsung.com>
73 Use nullptr instead of 0 at missing places - C++-11
75 2015-09-21 Murray Cumming <murrayc@murrayc.com>
79 2015-09-11 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
83 * docs/manual/libxml++_without_code.xml: Minor updates.
85 2015-09-11 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
87 docs/Makefile.am: Fix missing update of relative path
89 Fix relative path to ../examples in the rule for manual/libxml++.xml.
90 Add a TODO comment, because I'm uncertain about the relative paths in
91 the rsync commands that upload to sourceforge.net.
93 2015-09-11 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
97 * Makefile.am: Move most of the contents to the new files. It makes libxml++
98 more like other mm packages.
100 * libxml++/filelist.am:
101 * libxml++/Makefile.am:
102 * MSVC_Net2010/filelist.am: New files.
103 * configure.ac: Add the new Makefiles to AC_CONFIG_FILES().
104 * docs/reference/Doxyfile.in: Remove docs/ from relative paths.
106 2015-09-09 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
108 Remove MSVC 2005 and 2008 projects
111 MSVC_Net2008/*: Remove the whole directories.
114 .gitignore: Remove MSVC_Net2005 and 2008 files.
116 It's no longer possible to build libxml++ with MSVC 2005 or 2008, when C++11
117 features are used. MSVC 2010 is not useful either, but its project files
118 are kept for now. They can perhaps be useful as a starting point when building
119 with later MSVC versions. See also libsigc++ bug 754082.
121 2015-09-05 Murray Cumming <murrayc@murrayc.com>
125 2015-08-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
127 xmlpp::wrapped_exception: Add comments
131 2015-08-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
133 Fix make check with --enable-warnings=fatal and fix make distcheck
135 * tests/saxparser_chunk_parsing_inconsistent_state/main.cc:
136 * tests/saxparser_parse_double_free/main.cc: Comment out names of unused
137 parameters in function definitions.
138 * Makefile.am: Add wrapped_exception.h to h_exceptions_sources_public or else
139 it won't be distributed.
140 * libxml++/exceptions/wrapped_exception.h: Add DOXYGEN_SHOULD_SKIP_THIS.
141 xmlpp::wrapped_exception is a private class that shall not be included in
142 the documentation. Bug #753570.
144 2015-08-27 Daniel Trebbien <dtrebbien@gmail.com>
146 Introduce xmlpp::wrapped_exception
148 This is an internal class which is used by SaxParser and Validator to
149 save the exception object thrown by a handler method when the exception
150 does not derive from xmlpp::exception (e.g. std::exception). The Raise()
151 method of xmlpp::wrapped_exception calls std::rethrow_exception() to
152 rethrow the exception object thrown by the handler method.
154 Catching any exception object thrown by a handler method is important in
155 ensuring that we are able to reset the internal state, and, in the case
156 of SaxParser::parse(), that we restore the old _xmlSAXHandler pointer so
157 that we do not double-free the _xmlSAXHandler object held by SaxParser.
159 Fixes Bug 753570 - “double free or corruption” if a std::exception is thrown
160 https://bugzilla.gnome.org/show_bug.cgi?id=753570
162 2015-08-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
164 Replace some auto_ptr by unique_ptr
166 * libxml++/parsers/parser.cc:
167 * libxml++/parsers/saxparser.cc:
168 * libxml++/validators/relaxngvalidator.cc:
169 * libxml++/validators/validator.cc:
170 * libxml++/validators/xsdvalidator.cc: Replace the deprecated std::auto_ptr
171 by std::unique_ptr. There are still auto_ptrs in header files. Replacing
172 them would break ABI. Bug #753123.
174 2015-07-20 Murray Cumming <murrayc@murrayc.com>
178 2015-07-20 Murray Cumming <murrayc@murrayc.com>
180 Add -Wformat-security to --enable-warnings=fatal.
182 Because we use it in glibmm too. No code changes were necessary.
184 2015-07-20 Murray Cumming <murrayc@murrayc.com>
186 Fix the build with -Wshadow.
188 And add this warning to --enable-warnings=fatal.
190 2015-07-20 Murray Cumming <murrayc@murrayc.com>
192 C++11: More use of auto.
194 2015-07-20 Murray Cumming <murrayc@murrayc.com>
196 C++11: Some use of range-based for loops.
198 2015-07-20 Murray Cumming <murrayc@murrayc.com>
202 2015-07-20 Murray Cumming <murrayc@murrayc.com>
204 C++11: NonCopyable: Use = delete instead of private.
206 2015-07-19 Murray Cumming <murrayc@murrayc.com>
208 C++11: Use nullptr instead of 0.
210 2015-07-19 Murray Cumming <murrayc@murrayc.com>
212 C++11: Replace throw() with noexcept.
214 2015-07-19 Murray Cumming <murrayc@murrayc.com>
216 C++11: Use the override keyword.
218 2015-07-19 Murray Cumming <murrayc@murrayc.com>
220 Docs: Correct odd use of "herited" word.
222 2015-07-19 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
226 * configure.ac: Use MM_AX_CXX_COMPILE_STDCXX_11 from mm-common to check for
227 compiler support for C++11 and use it (-std=c++11 for current versions of g++).
228 Among other reasons, this is because libsigc++ and glibmm now require C++11,
229 and gmmproc generates C++11 code.
231 2015-06-08 Murray Cumming <murrayc@murrayc.com>
235 2015-04-30 Mikhail Titov <mlt@gmx.us>
237 Fix the build with C++11 compilers, such as MS Visual C++ 2013.
239 Implicit conversions from streams to bool are no longer allowed.
241 2015-03-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
243 Disable deprecated API in dependencies if --enable-warnings=fatal
245 * configure.ac: Disable deprecated API in glib, glibmm and libsigc++ when
246 building with --enable-warnings=fatal.
247 * libxml++/validators/parser.cc: Put #include <glibmm/threads.h> first.
248 Necessary when G_DISABLE_DEPRECATED is defined.
250 2015-03-04 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
252 Require libxml2 2.7.7 or later
254 * configure.ac: Require libxml2 2.7.7 or later. Earlier versions contain a
255 bug that makes some of the example programs crash.
257 2015-02-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
261 2015-02-27 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
263 Docs: Update for Doxygen 1.8.9
265 * docs/reference/Doxyfile.in: Update for Doxygen 1.8.9.
267 2014-10-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
271 2014-10-21 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
273 Parser: Add input operator>>()
275 * libxml++/parsers/parser.h: Add operator>>(std::istream& in, Parser& parser).
276 * examples/dom_parse_entities/main.cc: Use operator>>(). Bug #329281.
278 2014-10-17 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
280 Remove libxml++/Makefile.am
282 * libxml++/Makefile.am: Removed file. It has not been used for quite some time.
284 2014-10-16 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
286 Add RelaxNGSchema and RelaxNGValidator
288 * Makefile.am: Add new files.
289 * libxml++/libxml++.h: Add new header files.
290 * examples/Makefile.am: Add schemavalidation/example.rng.
291 * examples/schemavalidation/main.cc: Add test of RelaxNGValidator.
292 * examples/schemavalidation/example.rng:
293 * libxml++/relaxngschema.[cc|h]:
294 * libxml++/validators/relaxngvalidator.[cc|h]: New files.
296 Thanks to Tjalling Hattink <t.hattink@fugro.nl>, who made other versions
297 of the new files, which were attached to bug #737712.
299 2014-10-16 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
301 Add XsdSchema and XsdValidator. Deprecate Schema and SchemaValidator
303 * configure.ac: Add MM_ARG_DISABLE_DEPRECATED_API([LIBXMLXX]).
304 * Makefile.am: Add new files.
305 * libxml++config.h.in: Add LIBXMLXX_DISABLE_DEPRECATED.
306 * libxml++/libxml++.h: Add new header files.
307 * libxml++/schema.[cc|h]:
308 * libxml++/validators/schemavalidator.[cc|h]: Deprecate the whole files.
309 * examples/schemavalidation/main.cc: Add test of XsdValidator.
310 * libxml++/schemabase.[cc|h]:
311 * libxml++/xsdschema.[cc|h]:
312 * libxml++/validators/schemavalidatorbase.[cc|h]:
313 * libxml++/validators/xsdvalidator.[cc|h]: New files. Bug #737712.
315 2014-10-15 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
317 Validator: Make initialize_valid() callable from all subclasses
319 * libxml++/validators/validator.cc: In initialize_valid(), don't initialize
320 valid_'s data members, if it's a null pointer.
321 * libxml++/validators/schemavalidator.cc: Call the base class version from
322 initialize_valid() instead of copying some code from it.
324 2014-10-11 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
326 Schema::get_name(): Don't use null pointer
328 * libxml++/schema.cc: Don't use null pointers in get_name(),
329 get_target_namespace() and get_version().
331 2014-10-10 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
333 examples/dom_update_namespace: Add calls to Node::add_child_with_new_ns()
335 * examples/dom_update_namespace/main.cc: Add calls to add_child_with_new_ns().
338 2014-10-10 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
340 Add Node::add_child_with_new_ns()
342 * libxml++/nodes/node.[h|cc]: Add add_child_with_new_ns() (*2) and
343 add_child_before_with_new_ns(). Bug #737682.
345 2014-10-10 Mathias Lorente <mathias.lorente@gadz.org>
347 Add dom_update_namespace example
349 * .gitignore: add /examples/dom_update_namespace/dom_update_namespace
350 * examples/Makefile.am: Add dom_update_namespace files.
351 * examples/dom_update_namespace/main.cc:
352 * examples/dom_update_namespace/example1.xml:
353 * examples/dom_update_namespace/example2.xml: New files. Bug #737682.
355 2014-10-10 Mathias Lorente <mathias.lorente@gadz.org>
357 Element::set_namespace_declaration(): Update the node's associated namespace
359 * libxml++/nodes/element.cc: Update the node's associated namespace, if the
360 added namespace prefix is the same as the node's own namespace prefix.
361 * libxml++/nodes/element.h: Mention in the documentation that child nodes
362 are not updated. Bug #737682.
364 2014-09-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
366 Docs: Use doxygen-extra.css
368 * configure.ac: Require mm-common 0.9.7.
369 * .gitignore: Ignore doxygen-extra.css.
370 * docs/reference/Doxyfile.in: Use doxygen-extra.css instead of doxygen.css.
372 2014-09-17 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
374 Late update of configure.ac and NEWS for 2.37.1
376 The changes in configure.ac and NEWS were not pushed to the git repository
377 when libxml++ 2.37.1 was released. These are the changes that are included
379 The last commit in 2.37.1 is "Fix examples/Makefile.am for new versions
380 of automake" from 2013-09-14.
382 2014-09-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
386 * libxml++.doap: Update homepage and mailing-list.
387 Add description, download-page, bug-database and programming-language.
388 Comment category, because no allowed category seems suitable for libxml++.
390 2014-08-14 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
394 * MAINTAINERS: Removed file. It has been replaced by libxml++.doap.
395 * Makefile.am: Don't distribute MAINTAINERS.
397 2014-07-04 Gaurav <g.gupta@samsung.com>
399 Document: Avoid possible null pointer dereference
401 * libxml++/document.cc: In create_root_node() check that 'element' is
402 non-null before it's used. Bug #732604.
404 2014-05-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
406 Add version information to libxml++config.h
408 * libxml++config.h.in: Add LIBXMLXX_[MAJOR,MINOR,MICRO]_VERSION.
409 Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally in libxml++config.h.
411 2014-05-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
413 Avoid infinite loop with Doxygen 1.8.6
415 * configure.ac: Use the libstdc++.tag and libsigc++-2.0.tag files that were
416 used when glibmm-2.4.tag was created.
417 * docs/reference/libstdc++.tag.xml: Deleted file.
419 2013-09-14 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
421 Fix examples/Makefile.am for new versions of automake.
423 * examples/Makefile.am: Don't use make functions, such as addsuffix, in
424 check_SCRIPTS. New versions of automake (e.g. 1.13.4) expect to find only
425 a blank-separated list of filenames.
426 * .gitignore: With new versions of automake, 'make check' generates more
427 output files. Ignore them. Bug #678390.
429 2013-09-06 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
431 Manual: Add XIncludeStart and XIncludeEnd to the node type tree.
433 * docs/manual/libxml++_without_code.xml: Add XIncludeStart and XIncludeEnd
434 to the node type tree in the DOM Parser section. Should have been done when
435 those node types were added.
437 2013-08-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
439 Node: Move the null-pointer check to the constructor.
441 * libxml++/nodes/node.[h|cc]: Let the constructor throw xmlpp:internal_error
442 if impl_ == 0. Remove other null-pointer checks. Bug #705187.
444 2013-08-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
446 Update Doxyfile.in for doxygen 1.8.3.
448 * docs/reference/Doxyfile.in: Update for doxygen 1.8.3. Make it more similar
449 to the template file at mm-common/skeletonmm/doc/reference.
450 * libxml++/validators/schemavalidator.h: Fix the parameter name in a doxygen
453 2013-08-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
455 Parser: Add [set|get]_include_default_attributes().
457 * libxml++/parsers/parser.[h|cc]: Add [set|get]_include_default_attributes()
458 and [set|get]_parser_options().
459 * examples/dom_parser/main.cc: Add command option -a for testing
460 Parser::set_include_default_attributes().
461 * examples/dom_read_write/example.dtd:
462 * examples/dom_read_write/example.xml: Add an attribute with default value.
463 * examples/dom_read_write/main.cc: Add an optional call to
464 Parser::set_include_default_attributes(). Bug #701674.
466 2013-07-31 Murray Cumming <murrayc@murrayc.com>
470 2013-07-31 Murray Cumming <murrayc@murrayc.com>
472 Node: Improve some null-pointer checks
474 * libxml++/nodes/node.cc:
475 If we are going to check impl_ for null, we may as well do it
476 where it makes most sense. Note that we do not bother yet to check
477 for this in other functions. If we did this consistently we would
478 want a sensible way to respond to it, such as an exception.
482 2013-07-03 José Alburquerque <jaalburquerque@gmail.com>
484 Move to a generated ChangeLog.
486 2013-07-03 José Alburquerque <jaalburquerque@gmail.com>
488 Include file for auto-generation of ChangeLog from right directory.
492 2013-07-02 José Alburquerque <jaalburquerque@gmail.com>
494 Auto-generate the ChangeLog from the git log for 'make dist'.
496 * Makefile.am: Include the dist-changelog.am file copied in build/
497 from mm-common so that the ChangeLog is automatically generated from
498 the git commit messages on 'make dist'.
500 2013-06-18 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
502 Examples dom_parse_entities and dom_parser: Fix when LC_ALL=C.
504 * examples/testutilities.[h|cc]: New files with class CatchConvertError.
505 * examples/Makefile.am: Add testutilities.[h|cc].
506 * examples/dom_parse_entities/main.cc:
507 * examples/dom_parser/main.cc: Change some strings from Glib::ustring to
508 CatchConvertError before they are printed. It catches Glib::ConvertError
509 locally. 'make check' can pass even if the global locale does not support all
510 printed characters. Bug #702136.
512 2012-11-04 Murray Cumming <murrayc@murrayc.com>
516 2012-10-25 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
518 Element::set_namespace_declaration(): No error to set the same URI twice.
520 * libxml++/nodes/element.[h|cc]: Don't throw an exception from
521 set_namespace_declaration(), if a namespace prefix is assigned the same URI
522 twice. Bug #635846, comment 27.
524 2012-10-10 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
526 Require libxml-2.0 >= 2.7.3.
528 * configure.ac: Require libxml-2.0 >= 2.7.3.
529 Don't know if it's really necessary, but 2.7.2 from 2008-10-03 is the oldest
530 release available at ftp://xmlsoft.org/libxml2, and 2.7.2 contains a bug that
531 makes examples/import_node segfault.
533 2012-10-10 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
535 Parser::initialize_context(): Call xmlCtxtUseOptions().
537 * libxml++/parsers/parser.cc: initialize_context(): Call xmlCtxtUseOptions()
538 instead of setting context_->validate and replaceEntities.
539 xmlCtxtUseOptions() does that and more.
541 2012-10-08 Murray Cumming <murrayc@murrayc.com>
545 2012-08-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
547 Add XInclude processing.
549 * Makefile.am: Add XIncludeStart and XIncludeEnd nodes.
550 * examples/Makefile.am: Add dom_xinclude example.
551 * examples/README: Add dom_xinclude example and other missing examples.
552 * examples/dom_xinclude/example.xml:
553 * examples/dom_xinclude/include1.txt:
554 * examples/dom_xinclude/include2.xml:
555 * examples/dom_xinclude/main.cc: New files.
556 * libxml++/document.[h|cc]: Add process_xinclude().
557 * libxml++/libxml++.h: Add new header files.
558 * libxml++/nodes/node.cc: create_wrapper(): Create XIncludeStart and
560 * libxml++/nodes/xincludeend.[h|cc]:
561 * libxml++/nodes/xincludestart.[h|cc]: New files.
562 * .gitignore: Ignore /examples/dom_xinclude/dom_xinclude. Bug #338521.
564 2012-08-28 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
566 Parser: Make it thread-safe.
568 * configure.ac: Require glibmm-2.4 >= 2.32.0.
569 * libxml++/parsers/parser.cc: Protect all accesses to extra_parser_data with
570 a Glib::Threads::Mutex. Bug #681467.
572 2012-08-10 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
574 Document: Make the Document(xmlDoc*) constructor public.
576 * libxml++/document.h: Make the Document(xmlDoc*) constructor public.
577 Remove friend declarations that become unnecessary. Bug #668980.
579 2012-08-09 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
581 Improve the DtdValidation and SchemaValidation example programs.
583 * examples/dtdvalidation/main.cc:
584 * examples/schemavalidation/main.cc: Print all information from all thrown
587 2012-08-09 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
589 Validators: Improve the error handling.
591 * libxml++/validators/validator.[h|cc]:
592 * libxml++/validators/dtdvalidator.[h|cc]:
593 * libxml++/validators/schemavalidator.[h|cc]: Check more return codes from
594 libxml2 functions. Improve the description of member functions in the
595 reference documentation. Bug #635846.
597 2012-08-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
599 Add incremental parsing to the SaxParser example program.
601 * examples/sax_parser/main.cc: Uncomment and correct the code that shows
602 incremental parsing with SaxParser::parse_chunk().
604 2012-08-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
606 Parsers: Improve the error handling.
608 * libxml++/parsers/domparser.[h|cc]:
609 * libxml++/parsers/saxparser.[h|cc]:
610 * libxml++/parsers/textreader.[h|cc]: Check more return codes from libxml2
611 functions. Improve the description of errors in the reference documentation.
614 2012-08-07 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
616 Document, Element, Node: Remove unnecessary tests for null pointers.
618 * libxml++/document.cc:
619 * libxml++/nodes/element.cc:
620 * libxml++/nodes/node.cc: Remove tests for null pointer before calling
621 xmlFreeNode(), which does nothing if given a null pointer. These unnecessary
622 tests were newly added when error handling was improved. Bug #635846.
624 2012-08-05 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
626 Schema::set_document(): Create empty document.
628 * libxml++/schema.[h|cc]: set_document(): If the argument 'document' is 0,
629 create an empty document, as the documentation says.
631 2012-08-05 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
633 Document, Schema: Improve the error handling.
635 * libxml++/document.[h|cc]:
636 * libxml++/schema.[h|cc]: Check more return codes from libxml2 functions.
637 Improve the description of errors in the reference documentation. Bug #635846.
639 2012-08-02 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
641 Element, Node: Improve the error handling.
643 * libxml++/nodes/element.[h|cc]:
644 * libxml++/nodes/node.[h|cc]: Check more return codes from libxml2 functions.
645 Improve the description of errors in the reference documentation. Bug #635846.
647 2012-06-21 Murray Cumming <murrayc@murrayc.com>
651 2012-06-19 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
653 Add examples/Makefile.am. Let 'make check' run the examples.
655 * examples/Makefile.am: New file. Let 'make check' both compile and run the
657 * Makefile.am: Call examples/Makefile. Move all 'examples' stuff to
658 examples/Makefile.am.
659 * configure.ac: Remove --enable-examples. Generate examples/Makefile.
660 * .gitignore: Ignore make-check-sh. Bug #678390.
662 2012-06-19 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
664 Example programs: Fix return codes and print errors on std::cerr.
666 * examples/*/main.cc: Return EXIT_FAILURE in case of failure. Print error
667 messages on std::cerr. The example programs can then be run by 'make check'.
670 2012-04-20 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
672 Node: Add functions eval_to_[boolean|number|string]().
674 * examples/dom_xpath/example.xml: Add an element with numeric value.
675 * examples/dom_xpath/main.cc: Add calls to the new functions.
676 * libxml++/nodes/node.[h|cc]:
677 Add the functions eval_to_[boolean|number|string](). Bug #316244.
679 2012-04-19 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
681 Node: Make the previous fix thread-safe.
683 * libxml++/nodes/node.cc: Delete the C++ wrapper of a deleted attribute node
684 without using xmlDeregisterNodeDefault. Bug #672992 comments 9-12.
686 2012-04-19 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
688 Node: Fix memory problems in import_node().
690 * libxml++/nodes/node.[h|cc]: Return added_node instead of imported_node,
691 which libxml2 may delete. Delete the C++ wrapper of a deleted attribute node.
692 * examples/import_node/example[1|2].xml:
693 * examples/import_node/main.cc: Import attributes and a text node which is
694 merged with an existing text node. Bug #672992.
696 2012-04-12 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
698 Define LIBXMLCPP_EXCEPTIONS_ENABLED unconditionally.
700 * configure.ac: Add AC_DEFINE([LIBXMLCPP_EXCEPTIONS_ENABLED],[1],...
702 2012-03-30 Murray Cumming <murrayc@murrayc.com>
704 Node: Check for a null pointer, to fix a scan-build warning.
706 * libxml++/nodes/node.cc: This seems unlikely.
708 2012-03-22 Murray Cumming <murrayc@murrayc.com>
712 2012-03-21 Murray Cumming <murrayc@murrayc.com>
714 Fix a warning found by clang++
716 * libxml++/parsers/textreader.h: PropertyReader is a class, not
719 2012-03-20 Murray Cumming <murrayc@murrayc.com>
721 Remove the --disable-api-exceptions configure option.
723 And remove the #ifdefs and #else blocks from the code.
724 This is not used by anybody now, as far as I know, so this makes the
725 code easier to maintain.
727 2012-03-20 Murray Cumming <murrayc@murrayc.com>
729 A fix for the previous commit.
731 * libxml++/nodes/node.cc: get_first_child() const: Use the name
734 2012-03-19 Murray Cumming <murrayc@murrayc.com>
736 Node: Add get_first_child().
738 * libxml++/nodes/node.[h|cc]: This is like get_children(),
739 but it returns only the first node, optionally returning
740 the first one with a certain name.
741 Based on a patch by Ilya Murav'jov in bug #648125 .
743 2012-02-16 Murray Cumming <murrayc@murrayc.com>
747 2012-02-15 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
749 Handle attributes with default values correctly.
751 * libxml++/attributedeclaration.[h|cc]:
752 * libxml++/attributenode.[h|cc]: New files.
754 * libxml++/Makefile.am: Add the new files.
755 * libxml++/libxml++.h: Add the new .h files.
756 * docs/manual/libxml++_without_code.xml: Add AttributeDeclaration and
757 AttributeNode in the list of node classes.
758 * libxml++/attribute.[h|cc]: Make get_value() useful also for default values
759 (XML_ATTRIBUTE_DECL). Fix set_value() for attributes in a namespace.
760 * libxml++/nodes/element.[h|cc]: get_attribute(): Add description. Don't use
761 xmlHasProp(), it ignores namespace.
762 * libxml++/nodes/node.cc: get_namespace_prefix(), get_namespace_uri(),
763 set_namespace(), create_wrapper(): Add code for XML_ATTRIBUTE_DECL.
764 * examples/dom_parser/example.dtd: Add attribute 'title' with default value.
765 * examples/dom_parser/example.xml: Add attribute 'title' with explicit value.
768 2012-02-15 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
770 Node: Correct mis-spelt LIBXMLCPP_EXCEPTIONS_ENABLED.
772 * libxml++/nodes/node.h: Add some "@throws exception".
773 * libxml++/nodes/node.cc: Change LIBXMLCPP_EXCEPTIONS_ENABLE to
774 LIBXMLCPP_EXCEPTIONS_ENABLED in find_impl() and set_namespace().
776 2012-02-15 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
778 Improved handling of entity references and processing instructions.
780 * libxml++/nodes/entitydeclaration.[h|cc]: New files.
782 * libxml++/Makefile.am: Add the new files.
783 * libxml++/libxml++.h: Add the new .h file.
784 * docs/manual/libxml++_without_code.xml: Add EntityDeclaration in the list
786 * libxml++/document.[h|cc]: Add add_processing_instruction().
787 * libxml++/nodes/element.[h|cc]: Add add_child_entity_reference() and
788 add_child_processing_instruction().
789 * libxml++/nodes/entityreference.h: Improve the description of
790 get_resolved_text() and get_original_text().
791 * libxml++/nodes/node.cc: get_namespace_prefix() and get_namespace_uri():
792 XML_ENTITY_DECL has no namespace. Don't try to find it.
793 create_wrapper(): Create an EntityDeclaration when type == XML_ENTITY_DECL.
794 free_wrappers(): Don't walk the child list when type == XML_ENTITY_REF_NODE.
795 * examples/dom_build/main.cc: Add entity declarations and references, and
796 processing instructions to the built xml file.
797 * examples/dom_parse_entities/example.dtd: Make it compatible with example.xml.
798 * examples/dom_parse_entities/example.xml: Add an entity definition that
799 contains entity references.
800 * examples/dom_parse_entities/main.cc: Print the parsed file both with and
801 without entity substitution.
802 * examples/dom_parser/example.dtd: Make it compatible with example.xml.
803 * examples/dom_parser/main.cc: Add command flag -E (Don't substitute entities).
806 2012-02-15 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
808 Add some files to .gitignore.
810 * .gitignore: Add docs files that are copied from mm-common.
811 Add /MSVC_Net2010/libxml++/libxml++.rc and
812 /examples/dom_read_write/example_output.xml.
814 2012-02-15 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
816 Add @newin{2,36} to some new functions where it's missing.
818 * libxml++/exceptions/exception.h: Add @newin{2,36} to format_xml_error() and
819 format_xml_parser_error().
820 * libxml++/parsers/parser.h: Add @newin{2,36} to [set|get]_throw_messages().
823 2012-02-10 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
825 Make the schema validation example program work with no arguments.
827 * examples/schemavalidation/main.cc: Correct the test for number of arguments.
829 2012-01-30 Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
831 Parser: Throw more detailed error messages.
833 * examples/dom_parser/main.cc: Add command parameters -v -e -t.
834 * libxml++/exceptions/exception.[h|cc]: Add format_xml_error() and
835 format_xml_parser_error().
836 * libxml++/parsers/domparser.cc: Call format_xml_error() and
837 format_xml_parser_error() to get more detailed messages in exceptions.
838 * libxml++/parsers/parser.[h|cc]: Add [set|get]_throw_messages() and (local in
839 .cc until ABI can be broken) on_parser_[error|warning](). Bug #304020.
841 2012-01-30 Murray Cumming <murrayc@murrayc.com>
843 Document: Make the Document(xmlDoc*) constructor protected.
845 * libxml++/document.h: This was requested in bug #668980 (A. Pignotti).
847 2011-09-09 Murray Cumming <murrayc@murrayc.com>
849 Document: write_to_*(): Make sure that we write UTF-8 out.
851 * libxml++/document.cc: Because the xmlDocDump*() functions use some other
852 encoding if you specify NULL, causing errors such as:
853 xmlEscapeEntities : char out of range
855 2011-09-06 Murray Cumming <murrayc@murrayc.com>
859 2011-09-06 Mathias Lorente <mathias.lorente@free.fr>
861 Node::create_new_child_node(): Use the default namespace if none is specified.
863 * libxml++/nodes/node.cc: This is better than just ignoring it.
866 2011-07-20 Murray Cumming <murrayc@murrayc.com>
868 ContentNode::get_content(): Fix a documentation typo.
870 * libxml++/nodes/contentnode.h: Mention > instead of &qt (a q
871 instead of a g, and no ;.).
873 2011-07-20 Mathias Lorente <mathias.lorente@free.fr>
875 Add Element::add_child_cdata().
877 * libxml++/nodes/element.[h|cc]: Add add_child_cdata(), using
878 xmlNewCDataBlock(), like the existing add_child_text().
879 * examples/sax_parser_build_dom/example.xml:
880 * examples/sax_parser_build_dom/svgparser.[h|cc]: Use the new API.
882 2011-04-18 Murray Cumming <murrayc@murrayc.com>
886 2011-04-17 Murray Cumming <murrayc@murrayc.com>
890 * Makefile.am: Specify the full path to docbook-customisation.xsl,
891 which is apparently necessary with the autotools that I have here.
893 2011-04-17 Murray Cumming <murrayc@murrayc.com>
895 Fix the build with --enable-warnings=fatal.
897 * configure.ac: Use -no-long-long to avoid an (apparently new) compiler
898 warning about long long not being supported by C++98. glibmm already had
901 2011-04-17 Murray Cumming <murrayc@murrayc.com>
903 Do not require mm-common during the tarball build.
905 * configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call.
907 2011-04-15 Murray Cumming <murrayc@murrayc.com>
911 2011-04-15 Murray Cumming <murrayc@murrayc.com>
915 2011-04-15 Murray Cumming <murrayc@murrayc.com>
919 2011-02-24 Murray Cumming <murrayc@murrayc.com>
921 Fix the build with the changed linker behaviour on Ubuntu Natty.
923 * Makefile.am: Link the examples to glibmm explicitly.
925 2011-02-11 Murray Cumming <murrayc@murrayc.com>
929 2011-02-11 Murray Cumming <murrayc@murrayc.com>
931 Node::remove_child(): Fix a use of deleted memory
933 * libxml++/nodes/node.cc:
934 Use a temporary variable to avoid accessing the node C++ instance after we
935 have deleted it. Valgrind foudn this.
936 Also remove the comment about the libxml deleting our C++ instance via a
937 callback, because we don't do that anymore.
939 2010-11-26 Murray Cumming <murrayc@murrayc.com>
941 Check some libxml function return values.
943 * libxml++/document.cc: do_write_to_stream():
944 * libxml++/schema.cc: set_document(): Check the results from
945 xmlSchemaNewDocParserCtxt() and xmlSaveFormatFileTo().
946 Bug #635846 (Markus Elfring).
948 2010-11-22 Murray Cumming <murrayc@murrayc.com>
950 Fix NEWS: 2.33.1 is _not_ stable.
952 2010-11-18 Murray Cumming <murrayc@murrayc.com>
956 2010-11-14 Murray Cumming <murrayc@murrayc.com>
958 free_wrappers(): Fix crash.
960 * libxml++/nodes/node.cc: free_wrappers(): Revert my change to check
961 xmlNode::properties for all types, because the layout of some structs
962 is apparently completely different (not really deriving fully), and this
963 caused a crash in examples/sax_parser/.
964 Added an explanatory comment.
966 2010-11-14 Murray Cumming <murrayc@murrayc.com>
968 Change the --enable-examples default to yes.
970 * configure.ac: Build the examples by default, so we at least check the
971 build more often. Disabling them is only useful for package building,
972 which is the less common case.
974 2010-11-14 Murray Cumming <murrayc@murrayc.com>
976 Moved create_wrapper() and free_wrappers() to Node.
978 * libxml++/document.[h|cc]:
979 * libxml++/nodes/node.[h|cc]: Moved create_wrapper() and free_wrappers()
980 to here from Document.
981 free_wrappers(): Never return inside the switch/case, so we check
982 xmlNode::properties for all struct types, and to avoid making the behaviour
984 * libxml++/parsers/textreader.cc:
985 * libxml++/validators/dtdvalidator.cc:
986 * libxml++/nodes/element.cc: Adapted.
988 2010-11-14 Alessandro Pignotti <a.pignotti@sssup.it>
990 Make libxml++ compatible with libxml2 usage
992 2010-11-08 Murray Cumming <murrayc@murrayc.com>
994 Do not call xmlCleanupParser() because it is brutal.
996 * libxml++/document.cc: ~Init(): Do not call xmlCleanupParser() because it
997 breaks libxml generally and should only be called by an application
998 explicitly before it ends, for instance at the end of its main().
1000 2010-10-19 Murray Cumming <murrayc@murrayc.com>
1002 Added another TODO for when we can break ABI
1004 2010-10-19 Murray Cumming <murrayc@murrayc.com>
1006 Added a TODO for when we can break ABI
1008 2010-10-19 Knut Aksel Røysland <knutroy@ifi.uio.no>
1010 Node::get_parent(): Removed code duplication.
1012 * libxml++/nodes/node.cc: get_parent() const: Use const_cast<> to call
1013 the non-const version, instead of duplicating the code.
1015 2010-10-14 Murray Cumming <murrayc@murrayc.com>
1019 2010-10-14 Murray Cumming <murrayc@murrayc.com>
1021 website: Change the mailing list location, because I moved it.
1023 * docs/index.html: The mailing list is now at gnome.org.
1025 2010-10-03 Armin Burgmeier <armin@arbur.net>
1027 Add support for MSVC 2010 and 64 bit to MSVC project files
1029 2010-10-03 Armin Burgmeier <armin@arbur.net>
1031 * MSVC_Net2005/README:
1032 * MSVC_Net2005/examples/dom_build/dom_build.vcproj:
1033 * MSVC_Net2005/examples/dom_parse_entities/dom_parse_entities.vcproj:
1034 * MSVC_Net2005/examples/dom_parser/dom_parser.vcproj:
1035 * MSVC_Net2005/examples/dom_parser_raw/dom_parser_raw.vcproj:
1036 * MSVC_Net2005/examples/dom_read_write/dom_read_write.vcproj:
1037 * MSVC_Net2005/examples/dom_xpath/dom_xpath.vcproj:
1038 * MSVC_Net2005/examples/dtdvalidation/dtdvalidation.vcproj:
1039 * MSVC_Net2005/examples/import_node/import_node.vcproj:
1040 * MSVC_Net2005/examples/sax_exception/sax_exception.vcproj:
1041 * MSVC_Net2005/examples/sax_parser/sax_parser.vcproj:
1042 * MSVC_Net2005/examples/sax_parser_build_dom/sax_parser_build_dom.vcproj:
1043 * MSVC_Net2005/examples/sax_parser_entities/sax_parser_entities.vcproj:
1044 * MSVC_Net2005/examples/schemavalidation/schemavalidation.vcproj:
1045 * MSVC_Net2005/examples/textreader/textreader.vcproj:
1046 * MSVC_Net2005/gendef/gendef.vcproj:
1047 * MSVC_Net2005/libxml++.sln:
1048 * MSVC_Net2005/libxml++/libxml++.vcproj:
1049 * MSVC_Net2008/README:
1050 * MSVC_Net2008/examples/dom_build/dom_build.vcproj:
1051 * MSVC_Net2008/examples/dom_parse_entities/dom_parse_entities.vcproj:
1052 * MSVC_Net2008/examples/dom_parser/dom_parser.vcproj:
1053 * MSVC_Net2008/examples/dom_parser_raw/dom_parser_raw.vcproj:
1054 * MSVC_Net2008/examples/dom_read_write/dom_read_write.vcproj:
1055 * MSVC_Net2008/examples/dom_xpath/dom_xpath.vcproj:
1056 * MSVC_Net2008/examples/dtdvalidation/dtdvalidation.vcproj:
1057 * MSVC_Net2008/examples/import_node/import_node.vcproj:
1058 * MSVC_Net2008/examples/sax_exception/sax_exception.vcproj:
1059 * MSVC_Net2008/examples/sax_parser/sax_parser.vcproj:
1060 * MSVC_Net2008/examples/sax_parser_build_dom/sax_parser_build_dom.vcproj:
1061 * MSVC_Net2008/examples/sax_parser_entities/sax_parser_entities.vcproj:
1062 * MSVC_Net2008/examples/schemavalidation/schemavalidation.vcproj:
1063 * MSVC_Net2008/examples/textreader/textreader.vcproj:
1064 * MSVC_Net2008/gendef/gendef.vcproj:
1065 * MSVC_Net2008/libxml++.sln:
1066 * MSVC_Net2008/libxml++/libxml++.vcproj:
1067 * MSVC_Net2010/README:
1068 * MSVC_Net2010/examples/dom_build/dom_build.vcxproj:
1069 * MSVC_Net2010/examples/dom_build/dom_build.vcxproj.filters:
1070 * MSVC_Net2010/examples/dom_parse_entities/dom_parse_entities.vcxproj:
1071 * MSVC_Net2010/examples/dom_parse_entities/dom_parse_entities.vcxproj.filters:
1072 * MSVC_Net2010/examples/dom_parser/dom_parser.vcxproj:
1073 * MSVC_Net2010/examples/dom_parser/dom_parser.vcxproj.filters:
1074 * MSVC_Net2010/examples/dom_parser_raw/dom_parser_raw.vcxproj:
1075 * MSVC_Net2010/examples/dom_parser_raw/dom_parser_raw.vcxproj.filters:
1076 * MSVC_Net2010/examples/dom_read_write/dom_read_write.vcxproj:
1077 * MSVC_Net2010/examples/dom_read_write/dom_read_write.vcxproj.filters:
1078 * MSVC_Net2010/examples/dom_xpath/dom_xpath.vcxproj:
1080 2010-06-13 Murray Cumming <murrayc@murrayc.com>
1082 Node::find(): Check xmlNode::type for a XML_NAMESPACE_DECL.
1084 * libxml++/nodes/node.cc: find_impl(): if the xmlNode has type
1085 XML_NAMESPACE_DECL then it is actually a xmlNs, which is not like a xmlNode
1086 at all (thanks to the awful undocumented libxml++ system of struct
1088 So we just igore these items. We need to decide what the caller really
1091 2010-06-13 Murray Cumming <murrayc@murrayc.com>
1093 Node::find(): Revert some of my previous change because it breaks some code.
1095 * libxml++/nodes/node.cc: find_impl(): Restore the previous behaviour,
1096 because the strange use of _private only seems to happen sometimes.
1098 2010-06-13 Murray Cumming <murrayc@murrayc.com>
1100 Node::find(): Cope with weird use of _private in xmlNodeSet.
1102 * libxml++/nodes/node.cc: The xmlNodeSet seems to contain extra xmlNodes that
1103 were never given to on_libxml_construct(). Those xmlNodes seem to abuse
1104 private_, where we find our real xmlNodes containing our C++ Nodes.
1105 This fixes bug #386013 (Max Kirillov) though it depends on undocumented
1108 2010-06-13 Murray Cumming <murrayc@murrayc.com>
1110 Node::find(): Use libxml functions instead of direct C access.
1112 * libxml++/nodes/node.cc: Use xmlXPathNodeSetIsEmpty(),
1113 xmlXPathNodeSetGetLength() and xmlXPathNodeSetItem() instead of direct
1114 xmlNodeSet struct access.
1116 2010-06-13 Murray Cumming <murrayc@murrayc.com>
1118 Manual: Use git.gnome.org as the link to the examples source code.
1120 * docs/manual/libxml++_without_code.xml: Use git.gnome.org for the examples
1121 url base, as we do in gtkmm-documentation.
1123 2010-06-13 Murray Cumming <murrayc@murrayc.com>
1125 Restore the mm-common make target and update a link.
1127 * Makefile.am: Restore (and update) the post-html target that was lost when
1128 we redid the build system for mm-common.
1129 * docs/index.html: Change the link to the manual to point to its new location
1130 at library.gnome.org.
1132 2010-05-04 Murray Cumming <murrayc@murrayc.com>
1136 2010-05-04 Murray Cumming <murrayc@murrayc.com>
1138 Documentation: Don't hide undocumented API.
1140 * docs/reference/Doxyfile.in: Use the same options as gtkmm (mostly).
1141 In particular, don't hide undocumented API, such as NodeSet, to fix
1142 bug #583412 (Hubert Figuiere).
1144 2010-05-04 Murray Cumming <murrayc@murrayc.com>
1146 Documentation: Improvements.
1148 * libxml++/libxml++.h: Expand the main page text, linking to the tutorial
1149 and to important classes.
1150 * libxml++/parsers/domparser.h:
1151 * libxml++/schema.h: Correct the class descriptions.
1152 * libxml++/parsers/textreader.h: Add a class description.
1153 * libxml++/nodes/element.h:
1154 * libxml++/nodes/node.h:
1155 * libxml++/parsers/saxparser.h:
1156 * libxml++/validators/schemavalidator.h:
1157 Correct @newin2p2* to @newin{2,*} now that we use mm-common.
1159 2010-04-27 David King <davidk@openismus.com>
1161 Further documentation main page improvements
1163 * libxml++/libxml++.h: Some minor improvements.
1165 2010-04-23 David King <davidk@openismus.com>
1167 Fix typo in main page documentation
1169 2010-04-23 David King <davidk@openismus.com>
1171 Documentation main page improvements
1173 * libxml++/libxml++.h: Add external links and compilation example.
1175 2010-04-18 Olav Vitters <olav@vitters.nl>
1179 2010-04-16 David King <davidk@openismus.com>
1181 Minor documentation update
1183 * docs/index.html: Link to latest gnome.org resources.
1184 * libxml++/libxml++.h: Add minimal documentation for main page.
1186 2010-04-06 Murray Cumming <murrayc@murrayc.com>
1188 .pc file: Add datarootdir.
1190 * libxml++-2.6.pc.in: Add datarootdir and datadir, as in the gtkmm .pc.in
1191 file, because I started seeing this warning when running autogen.sh in Glom:
1192 Variable 'datarootdir' not defined in '/opt/gnome228/lib/pkgconfig/libxml++-2.6.pc'
1194 2010-04-03 Armin Burgmeier <armin@arbur.net>
1196 Add dom_parser_raw to MSVC solution files
1198 2010-04-03 Armin Burgmeier <armin@arbur.net>
1200 * MSVC_Net2005/libxml++.sln:
1201 * MSVC_Net2008/libxml++.sln: Add dom_parser_raw project to the
1204 2010-03-30 Murray Cumming <murrayc@murrayc.com>
1206 Stop exceptions when using std::cout and UTF-8.
1208 * examples/*/main.cc: Initialize the global C and C++ locale to prevent
1209 exceptions when ouputing a ustring (with non-ASCII UTF-8) to std::cout.
1210 We don't see this problem when writing gtkmm apps because gtk_init() (via
1211 Gtk::Main) initializes the C locale correctly.
1213 Thanks to Daniel Elstner for the solution (he will document it properly
1214 in the Glib::ustring API reference) and to Nic Reveles and others for
1215 noticing the problem.
1217 2010-03-30 David King <davidk@openismus.com>
1219 Update pkg-config file
1221 * libxml++-2.6.pc.in: Add documentation locations to pkg-config file.
1222 Update other fields to use variables, rather than hardcoded values.
1224 2010-03-30 David King <davidk@openismus.com>
1228 2010-03-30 David King <davidk@openismus.com>
1230 Disable AM_MAINTAINER_MODE by default
1232 * configure.ac: Pass the disable parameter to AM_MAINTAINER_MODE so
1233 that tarball users do not need doxygen, mm-common, etc. if they modify
1234 files. Maintainer mode is still enabled if running autogen.sh.
1236 2010-03-29 David King <davidk@openismus.com>
1238 Move a target outside a conditional block to fix the build
1240 * Makefile.am: Move docs/manual/libxml++.xml target outside the
1241 ENABLE_DOCUMENTATION conditional block.
1243 2010-03-29 David King <amigadave@amigadave.com>
1245 Use mm-common for reference documentation generation
1247 * .gitignore: Update.
1249 * Makefile.am: Remove SUBDIRS. Make examples build and documentation
1250 build conditional. Build reference documentation with doc-reference.am
1251 from mm-common. Add docs/manual/libxml++.pdf target, but do not enable
1252 it by default. Add autogen.sh and docs/manual/insert_example_code.pl to
1253 dist_noinst_SCRIPTS. Add docs/manual/html/*.html to
1254 MAINTAINERCLEANFILES.
1256 * autogen.sh: Add --enable-maintainer-mode to arguments passed to
1259 * configure.ac: Add AM_MAINTAINER_MODE. Add a configure argument to
1260 enable the build of the examples. Use mm-common macros to add a
1261 configure argument to enable documentation, and use the glibmm
1262 tagfile. Check for xmllint and db2latex for DTD validation of the
1263 DocBook manual and building the PDF documentation, repectively. Remove
1264 the last non-toplevel Makefiles from AC_CONFIG_FILES.
1267 * docs/Makefile_web.am_fragment:
1268 * docs/manual/Makefile.am:
1269 * docs/reference/Makefile.am: Remove from repository, and move content
1272 * docs/manual/docbook-customisation.xsl: Add DocBook customisation
1275 * docs/manual/libxml++_without_code.xml: Make validate.
1277 * docs/reference/Doxyfile.in: Update from mm-common.
1279 * docs/reference/README: Remove empty file.
1281 * examples/README: Mention the --enable-examples configure argument.
1283 2010-03-27 David King <amigadave@amigadave.com>
1285 Fix several compiler warnings
1287 * examples/dom_build/main.cc:
1288 * examples/dtdvalidation/main.cc:
1289 * examples/import_node/main.cc:
1290 * examples/sax_exception/main.cc:
1291 * examples/sax_exception/my_parser.cc:
1292 * examples/sax_parser/main.cc:
1293 * examples/sax_parser/my_parser.cc:
1294 * examples/sax_parser_build_dom/svgparser.cc:
1295 * examples/sax_parser_entities/myparser.cc:
1296 * examples/textreader/main.cc:
1297 * libxml++/parsers/textreader.cc: Comment out unused parameters and
1300 * libxml++/parsers/saxparser.cc: Fill in missing fields of
1301 xmlSAXHandler struct.
1303 2010-03-27 David King <davidk@openismus.com>
1305 Refactor build system
1307 * Makefile.am: Merge from subdir Makefile.am files, excluding doc.
1309 * MSVC_Net2005/examples/dom_parser_raw/dom_parser_raw.vcproj:
1310 * MSVC_Net2008/examples/dom_parser_raw/dom_parser_raw.vcproj: Add
1311 missing Visual studio project files.
1313 * MSVC_Net2005/examples/*/Makefile.am:
1314 * MSVC_Net2005/examples/Makefile.am:
1315 * MSVC_Net2005/gendef/Makefile.am:
1316 * MSVC_Net2005/libxml++/Makefile.am:
1317 * MSVC_Net2008/examples/*/Makefile.am:
1318 * MSVC_Net2008/examples/Makefile.am:
1319 * MSVC_Net2008/gendef/Makefile.am:
1320 * MSVC_Net2008/libxml++/Makefile.am: Remove from repository, and move
1321 content to Makefile.am, making the MSVC project file build
1326 * autogen.sh: Copy from gtkmm.
1328 * configure.in: Move to configure.ac.
1330 * configure.ac: Require autoconf 2.59 and automake 1.9. Use new-style
1331 AC_INIT() with bug-report link and homepage URL. Use mm-common for
1332 initialisation of version variables. Require libtool 2.2.6 for much
1333 faster builds. Use MM_ARG_ENABLE_WARNINGS to configure compiler
1334 warning flags. Use MM_CHECK_PERL to check for the required Perl
1335 version. Use AC_CONFIG_FILES rather than AC_OUTPUT. Update for
1336 Makefile.am changes.
1338 * config.h.in: Remove from repository, as autoheader is now used.
1340 * */.cvsignore: Remove old files.
1342 * doc/manual/Makefile.am: Use the correct Perl.
1344 * doc/reference/Doxyfile.in:
1345 * MSVC_Net2005/libxml++/libxml++.rc.in:
1346 * MSVC_Net2008/libxml++/libxml++.rc.in: Use new-style variable names.
1348 * examples/Makefile.am_fragment:
1349 * examples/Makefile.am:
1350 * examples/*/Makefile.am: Remove from repository, and move content to
1351 Makefile.am, making the examples build non-recursive.
1353 * .gitignore: Update.
1355 * libxml++/Makefile.am:
1356 * libxml++/*/Makefile.am: Remove from repository, and move content to
1357 Makefile.am, making the libxml++ build non-recursive.
1360 * INSTALL: Remove from repository.
1363 * scripts/Makfile.am: Remove from repository.
1365 * scripts/reduced.m4: Move to macros/reduced.m4
1367 2010-03-08 Murray Cumming <murrayc@murrayc.com>
1369 Use 0 instead of NULL.
1371 * MSVC_Net2005/gendef/gendef.cc:
1372 * MSVC_Net2008/gendef/gendef.cc:
1373 * libxml++/attribute.cc:
1374 * libxml++/document.cc:
1375 * libxml++/io/outputbuffer.cc:
1376 * libxml++/io/parserinputbuffer.cc:
1377 * libxml++/nodes/node.cc:
1378 * libxml++/parsers/domparser.cc:
1379 * libxml++/parsers/parser.cc:
1380 * libxml++/parsers/textreader.cc:
1381 * libxml++/schema.cc:
1382 * libxml++/schema.h: Do not use NULL. It is unwise in C++.
1384 2009-11-17 Murray Cumming <murrayc@murrayc.com>
1388 2009-07-27 Johannes Schmid <jhs@gnome.org>
1390 Fixed various bits to allow building with disabled exceptions
1392 2009-07-27 Johannes Schmid <jhs@gnome.org>
1396 2009-06-24 Daniel Elstner <danielk@openismus.com>
1398 Add DOAP category and fix mbox resource
1400 2009-05-07 Murray Cumming <murrayc@murrayc.com>
1402 Fix the build without exceptions, hopefully.
1404 * libxml++/parsers/textreader.cc: check_for_exceptions():
1405 Add an ifdef so that this should build with exceptions disabled,
1406 though there is no alternative API yet. Noticed by David King.
1408 2009-05-07 Murray Cumming <murrayc@murrayc.com>
1410 Whitespace corrections.
1412 2009-04-22 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
1416 2009-04-21 Hubert Figuiere <hub@figuiere.net>
1418 add .doap and .gitignore
1420 2009-03-25 Hubert Figuiere <hub@src.gnome.org>
1422 add missingf bug# to the changelog
1424 svn path=/trunk/; revision=200
1426 2009-03-25 Hubert Figuiere <hub@src.gnome.org>
1428 Fix some warnings triggered by -Wshadow.
1430 * libxml++/parsers/saxparser.h: Fix some warnings triggered
1433 svn path=/trunk/; revision=199
1435 2009-03-25 Hubert Figuiere <hub@src.gnome.org>
1437 severity_ was not initialised at construction time.
1439 * libxml++/parsers/textreader.cc: severity_ was not initialised
1440 at construction time.
1442 svn path=/trunk/; revision=198
1444 2009-03-16 Murray Cumming <murrayc@src.gnome.org>
1448 svn path=/trunk/; revision=197
1450 2009-03-03 Murray Cumming <murrayc@src.gnome.org>
1454 svn path=/trunk/; revision=196
1456 2009-03-02 Armin Burgmeier <armin@openismus.com>
1458 Removed the vsnprintf #define on Windows. This could conflict with another
1460 2009-03-02 Armin Burgmeier <armin@openismus.com>
1462 * libxml++/validators/validator.h:
1463 * libxml++/parsers/parser.h: Removed the vsnprintf #define on Windows.
1464 This could conflict with another define otherwise. Both MSVC and MinGW
1465 have vsnprintf (without underscore) as well, and I verified libxml++
1466 still compiles in both. If we still need the definition for some
1467 reason, then we should re-add it into the source files, so that other
1468 libraries don't conflict with our definition.
1470 svn path=/trunk/; revision=195
1472 2009-01-09 Stef Walter <stef-list@memberwebs.com>
1474 Add setup_exceptions(), setting the on_libxml_error() callback, and call
1476 2009-01-09 Stef Walter <stef-list@memberwebs.com>
1478 * libxml++/parsers/textreader.[h|cc]: Add setup_exceptions(), setting
1479 the on_libxml_error() callback, and call it from the constructors.
1480 check_for_exceptions(): Actually check some member variables and throw an
1481 exception if necessary.
1482 This should fix bug #348006.
1483 It breaks ABI because it adds member variables, but we decided that is
1484 OK because nobody could actually be using this class seriously before
1485 now because it had no error checking.
1487 svn path=/trunk/; revision=194
1489 2008-12-22 Armin Burgmeier <arminb@src.gnome.org>
1493 svn path=/trunk/; revision=192
1495 2008-12-22 Armin Burgmeier <armin@openismus.com>
1497 Set embedded_doc_ according to the embed parameter instead of always
1499 2008-12-20 Armin Burgmeier <armin@openismus.com>
1501 * libxml++/schema.cc (set_document): Set embedded_doc_ according to
1502 the embed parameter instead of always setting it to false, so that we
1503 actually release the document in release_underlying().
1504 (release_underlying): Free the schema in all cases, also when the
1505 document was not embedded, to avoid a memory leak.
1507 * libxml++/validators/schemavalidator.cc (parse_file, parse_memory,
1508 parse_document): Make sure not to leak the xmlSchemaParserCtxtPtr in
1509 case of an exception. Bug #563321, Arjan Franzen.
1511 svn path=/trunk/; revision=191
1513 2008-12-18 Armin Burgmeier <armin@openismus.com>
1515 Removed outdated MSVC6 project.
1517 2008-12-18 Armin Burgmeier <armin@openismus.com>
1521 * configure.in: Removed outdated MSVC6 project.
1523 svn path=/trunk/; revision=190
1525 2008-12-12 Armin Burgmeier <arminb@src.gnome.org>
1527 libxml++ 2.24.1 release
1529 svn path=/trunk/; revision=189
1531 2008-12-12 Armin Burgmeier <armin@openismus.com>
1533 Removed this generated file. It went in by accident.
1535 2008-12-12 Armin Burgmeier <armin@openismus.com>
1537 * MSVC_Net2008/examples/sax_parser/sax_parser.vcproj.HALLWA.Armin.user:
1538 Removed this generated file. It went in by accident.
1540 * MSVC_Net2008/exapmles/sax_parser/sax_parser.vcproj: Added the
1541 example project file instead, which should have been added from the
1544 svn path=/trunk/; revision=188
1546 2008-12-12 Armin Burgmeier <armin@openismus.com>
1548 Added schema.cc and schemavalidator.cc to the project. Bug #563664 (Arjan
1550 2008-12-12 Armin Burgmeier <armin@openismus.com>
1552 * MSVC_Net2005/libxml++/libxml++.vcproj:
1553 * MSVC_Net2008/libxml++/libxml++.vcproj: Added schema.cc and
1554 schemavalidator.cc to the project. Bug #563664 (Arjan Franzen).
1556 * MSVC_Net2005/examples/schemavalidation/schemavalidation.vcproj:
1557 * MSVC_Net2005/examples/schemavalidation/Makefile.am:
1558 * MSVC_Net2005/examples/Makefile.am:
1559 * MSVC_Net2005/libxml++.sln: Added the schema validator example to the
1560 MSVC8 solution file.
1562 * MSVC_Net2008/examples/schemavalidation/schemavalidation.vcproj:
1563 * MSVC_Net2008/examples/schemavalidation/Makefile.am:
1564 * MSVC_Net2008/examples/Makefile.am:
1565 * MSVC_Net2008/libxml++.sln: Added the schema validator example to the
1566 MSVC9 solution file.
1568 svn path=/trunk/; revision=187
1570 2008-12-12 Przemysław Grzegorczyk <pgrzegorczyk@gmail.com>
1572 Fix a typo to fix the build.
1574 2008-12-12 Przemysław Grzegorczyk <pgrzegorczyk@gmail.com>
1576 * libxml++/schema.cc: Fix a typo to fix the build.
1578 svn path=/trunk/; revision=186
1580 2008-12-08 Murray Cumming <murrayc@murrayc.com>
1582 check_for_exception(): Use an auto_ptr<> to avoid leaking the exception,
1584 2008-12-08 Murray Cumming <murrayc@murrayc.com>
1586 * libxml++/validators/validator.cc: check_for_exception(): Use an
1587 auto_ptr<> to avoid leaking the exception, as in
1588 Parser::check_for_exception().
1589 Bug #563321 (Arjan Franzen)
1591 svn path=/trunk/; revision=185
1593 2008-12-05 Murray Cumming <murrayc@murrayc.com>
1595 release_underlying(): Use xmlSchemaFree() to avoid a leak, as suggested by
1597 2008-12-05 Murray Cumming <murrayc@murrayc.com>
1599 * libxml++/schema.cc: release_underlying(): Use xmlSchemaFree()
1600 to avoid a leak, as suggested by Balazs Tirpak. Bug #312216.
1602 svn path=/trunk/; revision=184
1604 2008-10-09 Armin Burgmeier <armin@openismus.com>
1606 Adapt the new DLL naming convention.
1608 2008-10-09 Armin Burgmeier <armin@openismus.com>
1610 * MSVC_Net2005/*/*.vcproj: Adapt the new DLL naming convention.
1612 * MSVC_Net2008/: Added project files for Visual Studio 2008.
1615 * configure.in: Added the new files to the distribution.
1617 svn path=/trunk/; revision=183
1619 2008-09-21 Murray Cumming <murrayc@src.gnome.org>
1623 svn path=/trunk/; revision=182
1625 2008-08-18 Murray Cumming <murrayc@src.gnome.org>
1629 svn path=/trunk/; revision=181
1631 2008-08-16 Murray Cumming <murrayc@murrayc.com>
1633 get_value(): xmlGetNsProp() takes the namespace URI, not the prefix. Bug
1635 2008-08-16 Murray Cumming <murrayc@murrayc.com>
1637 * libxml++/attribute.cc: get_value(): xmlGetNsProp() takes the
1638 namespace URI, not the prefix.
1639 Bug #547689 (Sergei Fedorov)
1641 svn path=/trunk/; revision=180
1643 2008-08-14 Murray Cumming <murrayc@murrayc.com>
1645 Added an example using namespace prefixes, from bug #547689. Comment out
1647 2008-08-14 Murray Cumming <murrayc@murrayc.com>
1649 * examples/dom_parser/Makefile.am:
1650 * examples/dom_parser/example_with_namespace.xml:
1651 Added an example using namespace prefixes, from bug
1653 * examples/dom_parser/main.cc: Comment out the call to set_validate(),
1654 because that example does not have a DTD.
1655 Show the namespace prefixes in the output.
1656 * libxml++/attribute.cc: get_value(): Use xmlGetNsProp() instead of
1657 xmlGetProp(), so we don't ignore the namespace prefix, so we get
1659 Bug #547689 (Sergei Fedorov)
1661 svn path=/trunk/; revision=179
1663 2008-08-10 Armin Burgmeier <armin@arbur.net>
1665 Renamed from MSVC_Net2003.
1667 2008-08-10 Armin Burgmeier <armin@arbur.net>
1669 * MSVC_Net2005/: Renamed from MSVC_Net2003.
1671 * MSVC_Net2005/libxml++/libxml++.vcproj: Link against libxml2.lib
1672 instead of xml2.lib because that's how it is called in Tor's GTK+
1675 * MSVC_Net2005/libxml++/libxml++.rc.in: Removed "#include resource.h"
1676 because there is no resource.h.
1678 * MSVC_Net2005/libxml++/libxml++.sln: Build all examples by default.
1681 * configure.in: Adapt build files for the MSVC_Net2003 -> MSVC_Net2005
1684 svn path=/trunk/; revision=178
1686 2008-06-12 Murray Cumming <murrayc@src.gnome.org>
1690 svn path=/trunk/; revision=177
1692 2008-05-05 Murray Cumming <murrayc@murrayc.com>
1694 Use parse_file() but leave the parse_chunk() version commented out, to
1696 2008-05-05 Murray Cumming <murrayc@murrayc.com>
1698 * examples/sax_parser/main.cc (main): Use parse_file() but leave
1699 the parse_chunk() version commented out, to simplify this example.
1700 * examples/sax_parser/myparser.cc
1701 Catch Glib::ConvertError exceptions when using std::cout, though
1702 libxml++ should really always supply valid UTF-8 to us.
1704 svn path=/trunk/; revision=176
1706 2008-05-05 Murray Cumming <murrayc@src.gnome.org>
1708 Increased version. I forgot to commit this at the time
1710 svn path=/trunk/; revision=175
1712 2008-04-14 Armin Burgmeier <armin@arbur.net>
1714 Added a parse_chunk_raw() method and changed parse_chunk() to use it.
1716 2008-04-14 Armin Burgmeier <armin@arbur.net>
1718 * libxml++/parsers/saxparser.h:
1719 * libxml++/parsers/saxparser.cc: Added a parse_chunk_raw() method and
1720 changed parse_chunk() to use it.
1722 svn path=/trunk/; revision=174
1724 2008-03-26 Murray Cumming <murrayc@murrayc.com>
1726 Corrected a filename to fix distcheck
1728 2008-03-26 Murray Cumming <murrayc@murrayc.com>
1730 * examples/schemavalidation/Makefile.am: Corrected a filename to
1732 * libxml++/schema.h:
1733 * libxml++/validators/schemavalidator.h: Added the newin2p24 doxygen
1736 svn path=/trunk/; revision=173
1738 2008-03-26 Emilien KIA <cursor@free.fr>
1740 Added Schema class, similar to the existing Dtd class.
1742 2008-03-26 Emilien KIA <cursor@free.fr>
1745 * libxml++/Makefile.am:
1746 * libxml++/libxml++.h:
1747 * libxml++/schema.cc:
1748 * libxml++/schema.h: Added Schema class, similar to the existing Dtd
1750 * libxml++/validators/Makefile.am:
1751 * libxml++/validators/schemavalidator.cc
1752 * libxml++/validators/schemavalidator.h: Added Schema validator class,
1753 similar to the existing DtdValidator class.
1755 * examples/Makefile.am:
1756 * examples/schemavalidation/: New example, similar to the
1757 existing dtdvalidation example.
1761 svn path=/trunk/; revision=172
1763 2008-03-26 Murray Cumming <murrayc@murrayc.com>
1765 Fixed the post-html rule. Corrected some links. Corrected documentation
1767 2008-03-26 Murray Cumming <murrayc@murrayc.com>
1769 * docs/Makefile.am: Fixed the post-html rule.
1770 * docs/index.html: Corrected some links.
1771 * libxml++/nodes/node.h: Corrected documentation for the new methods
1772 from the previous commit.
1774 svn path=/trunk/; revision=171
1776 2008-03-26 Murray Cumming <murrayc@murrayc.com>
1778 Added add_child_text() with a previous_node parameter, for adding between
1780 2008-03-26 Murray Cumming <murrayc@murrayc.com>
1782 * libxml++/nodes/element.cc:
1783 * libxml++/nodes/element.h: Added add_child_text() with a previous_node
1784 parameter, for adding between existing nodes.
1785 Added add_child_text_before() too.
1786 * libxml++/nodes/node.cc:
1787 * libxml++/nodes/node.h: Added add_child() with a previous_node
1788 parameter, for adding between existing nodes.
1789 Added add_child_before() too.
1791 * docs/index.html: Removed the license clarifications text because I
1792 always found it to be arbitrary and not very informative.
1793 * docs/reference/Doxyfile.in: Added a newin2p24 doxygen keyword.
1794 * docs/reference/Makefile.am: Do not create a version-specific
1795 directory name for reference documentation. The Since: text and links
1796 in the documentation are enough to know what was in what version.
1798 svn path=/trunk/; revision=170
1800 2008-03-07 Murray Cumming <murrayc@src.gnome.org>
1804 svn path=/trunk/; revision=167
1806 2008-03-07 Deng Xiyue <murrayc@murrayc.com>
1808 Add a destructor (does not break ABI because the base class already has a
1810 2008-03-07 Deng Xiyue <murrayc@murrayc.com>
1812 * libxml++/document.cc:
1813 * libxml++/document.h: Add a destructor
1814 (does not break ABI because the base class already has a
1815 virtual destructor) that calls xmlCleanupParser to match the
1816 existing call to xmlInitParser() in the constructor. Fixes
1818 Bug #501168 (Matt G.)
1820 svn path=/trunk/; revision=166
1822 2008-01-17 Murray Cumming <murrayc@src.gnome.org>
1824 Corrected the ChangeLog.
1826 svn path=/trunk/; revision=165
1828 2008-01-17 Murray Cumming <murrayc@src.gnome.org>
1830 2008-01-17 Martin Michlmayr <tbm@cyrius.com>>
1832 * libxml++/attribute.cc:
1835 * libxml++/io/ostreamoutputbuffer.h:
1836 * libxml++/io/outputbuffer.h:
1837 * libxml++/keepblanks.cc:
1838 * libxml++/keepblanks.h:
1839 * libxml++/libxml++.h:
1840 * libxml++/nodes/cdatanode.cc:
1841 * libxml++/nodes/cdatanode.h:
1842 * libxml++/nodes/commentnode.cc:
1843 * libxml++/nodes/commentnode.h:
1844 * libxml++/nodes/contentnode.cc:
1845 * libxml++/nodes/element.cc:
1846 * libxml++/nodes/element.h:
1847 * libxml++/nodes/entityreference.cc:
1848 * libxml++/nodes/entityreference.h:
1849 * libxml++/nodes/node.cc:
1850 * libxml++/nodes/processinginstructionnode.cc:
1851 * libxml++/nodes/processinginstructionnode.h:
1852 * libxml++/nodes/textnode.cc:
1853 * libxml++/nodes/textnode.h:
1854 * libxml++/parsers/domparser.cc:
1855 * libxml++/parsers/domparser.h:
1856 * libxml++/parsers/parser.cc:
1857 * libxml++/parsers/parser.h:
1858 * libxml++/parsers/saxparser.cc:
1859 * libxml++/parsers/textreader.h:
1860 Correct the name of the files in their comment blocks,
1861 though this could just be removed instead.
1864 svn path=/trunk/; revision=164
1866 2008-01-17 Murray Cumming <murrayc@src.gnome.org>
1868 2008-01-17 Martin Michlmayr <tbm@cyrius.com>>
1870 * libxml++/parsers/parser.cc:
1871 * libxml++/parsers/textreader.h:
1872 Added includes to fix the build with gcc 4.3
1876 svn path=/trunk/; revision=163
1878 2007-08-30 Murray Cumming <murrayc@murrayc.com>
1880 When exceptions are disabled, assume that they are also disabled in glibmm
1882 2007-08-30 Murray Cumming <murrayc@murrayc.com>
1884 * examples/dom_parser_raw/main.cc: When exceptions are disabled, assume that they are also
1885 disabled in glibmm and then use the extra error parameter to Glib::convert(), to fix the
1886 build when using glibmm with disabled exceptions.
1887 * docs/manual/Makefile.am: Use maintainer-clean instead of clean-local to delete the html,
1888 but this still seems to be deleted when building debian packages.
1890 svn path=/trunk/; revision=162
1892 2007-08-29 Murray Cumming <murrayc@src.gnome.org>
1896 svn path=/trunk/; revision=161
1898 2007-08-29 Murray Cumming <murrayc@murrayc.com>
1902 2007-08-29 Murray Cumming <murrayc@murrayc.com>
1904 * scripts/Makefile.am: distcheck fixes.
1906 svn path=/trunk/; revision=160
1908 2007-08-29 Murray Cumming <murrayc@murrayc.com>
1910 Added an --enable-api-exceptions configure option, which defines
1912 2007-08-29 Murray Cumming <murrayc@murrayc.com>
1917 * scripts/Makefile.am:
1918 * scripts/reduced.m4: Added an --enable-api-exceptions
1919 configure option, which defines LIBXMLCPP_EXCEPTIONS_ENABLED
1920 in libxml++config.h.
1921 * examples/dom_build/main.cc:
1922 * examples/dom_parse_entities/main.cc:
1923 * examples/dom_parser/main.cc:
1924 * examples/dom_parser_raw/main.cc:
1925 * examples/dom_read_write/main.cc:
1926 * examples/dom_xpath/main.cc:
1927 * examples/dtdvalidation/main.cc:
1928 * examples/import_node/main.cc:
1929 * examples/sax_exception/main.cc:
1930 * examples/sax_exception/myparser.cc:
1931 * examples/sax_parser/main.cc:
1932 * examples/sax_parser_build_dom/main.cc:
1933 * examples/sax_parser_entities/main.cc:
1934 * examples/textreader/main.cc:
1935 * libxml++/document.cc:
1936 * libxml++/exceptions/exception.cc:
1937 * libxml++/exceptions/internal_error.cc:
1938 * libxml++/exceptions/parse_error.cc:
1939 * libxml++/exceptions/validity_error.cc:
1940 * libxml++/io/outputbuffer.cc:
1941 * libxml++/io/parserinputbuffer.cc:
1942 * libxml++/libxml++config.h.in:
1943 * libxml++/nodes/contentnode.cc:
1944 * libxml++/nodes/element.cc:
1945 * libxml++/nodes/node.cc:
1946 * libxml++/parsers/domparser.cc:
1947 * libxml++/parsers/parser.cc:
1948 * libxml++/parsers/saxparser.cc:
1949 * libxml++/parsers/textreader.cc:
1950 * libxml++/validators/dtdvalidator.cc:
1951 * libxml++/validators/validator.cc:
1952 Put LIBXMLCPP_EXCEPTIONS_ENABLED ifdefs around uses of
1953 try, catch, and throw, so that libxml++ can build with
1954 CXXFLAGS=-fno-exceptions. However, we might still
1955 need some alternative error checking API.
1957 svn path=/trunk/; revision=159
1959 2007-07-30 Murray Cumming <murrayc@src.gnome.org>
1963 svn path=/trunk/; revision=158
1965 2007-07-30 Stef Walter <stef@memberwebs.com>
1967 Added get_attribute_value(), to get a simple text value for an attribute,
1969 2007-07-30 Stef Walter <stef@memberwebs.com>
1971 * libxml++/nodes/element.cc:
1972 * libxml++/nodes/element.h: Added get_attribute_value(),
1973 to get a simple text value for an attribute, as a
1976 2007-07-30 Murray Cumming <murrayc@murrayc.com>
1978 * docs/reference/Doxyfile.in: Added newin2p18,
1979 newin2p20, and newin2p22 tags.
1981 This is the trunk branch for libxml++ 2.19/2.20.
1982 See also the gnome-2-18 branch.
1984 svn path=/trunk/; revision=157
1986 2007-07-30 Murray Cumming <murrayc@src.gnome.org>
1990 svn path=/trunk/; revision=155
1992 2007-07-25 Christophe de Vienne <cdevienn@src.gnome.org>
1996 svn path=/trunk/; revision=154
1998 2007-06-10 Murray Cumming <murrayc@murrayc.com>
2000 Avoid accessing freed memory when the text nodes are merged by
2002 2007-06-10 Murray Cumming <murrayc@murrayc.com>
2004 * libxml++/document.cc:
2005 * libxml++/nodes/element.cc: Avoid accessing freed memory
2006 when the text nodes are merged by xmlAddChild().
2008 svn path=/trunk/; revision=153
2010 2007-03-05 Murray Cumming <murrayc@src.gnome.org>
2014 svn path=/trunk/; revision=152
2016 2007-02-10 Murray Cumming <murrayc@murrayc.com>
2018 Use std::string for file paths, because we can not know the encoding of
2020 2007-02-10 Murray Cumming <murrayc@murrayc.com>
2022 * examples/dom_parse_entities/main.cc:
2023 * examples/dom_parser/main.cc:
2024 * examples/dom_parser_raw/main.cc:
2025 * examples/dom_read_write/main.cc:
2026 * examples/dom_xpath/main.cc:
2027 * examples/dtdvalidation/main.cc:
2028 * examples/sax_parser/main.cc:
2029 * examples/sax_parser_build_dom/main.cc:
2030 * examples/sax_parser_entities/main.cc: Use std::string for file paths,
2031 because we can not know the encoding of file paths. std::string therefore
2032 means unknown encoding.
2034 svn path=/trunk/; revision=151
2036 2007-02-06 Artur Wegele <a.wegele@web.de>
2038 Check for _MSC_VER instead of WIN32 before setting MSVC++ pragmas, because
2040 2007-02-06 Artur Wegele <a.wegele@web.de>
2042 * libxml++/parsers/parser.h:
2043 * libxml++/validators/validator.h: Check for _MSC_VER instead
2044 of WIN32 before setting MSVC++ pragmas, because that is apparently
2045 more reliable. Bug #380110.
2047 svn path=/trunk/; revision=150
2049 2006-12-21 Murray Cumming <murrayc@src.gnome.org>
2053 2006-11-17 Stefan Walter <stefw@src.gnome.org>
2055 Node::get_next_sibling(), Node::get_previous_sibling(). Bug #351867
2057 * libxml++/nodes/node.cc:
2058 * libxml++/nodes/node.h: Node::get_next_sibling(),
2059 Node::get_previous_sibling(). Bug #351867
2061 2006-11-17 Stefan Walter <stefw@src.gnome.org>
2063 libxml++/parsers/textreader.cc Clean up TextReader() data constructor
2065 * libxml++/parsers/textreader.cc
2066 * libxml++/parsers/textreader.h: Clean up TextReader() data
2067 constructor signature. Removed '-1' as a special null terminated
2068 value. This brings it inline with other parsers.
2070 2006-11-17 Murray Cumming <murrayc@src.gnome.org>
2074 2006-11-11 Stefan Walter <stefw@src.gnome.org>
2076 Element::set_attribute(): Fix redeclaration of variable in if-block. Bug
2078 * libxml++/nodes/element.cc: Element::set_attribute():
2079 Fix redeclaration of variable in if-block. Bug #361950
2081 2006-11-11 Stefan Walter <stefw@src.gnome.org>
2083 libxml++/parsers/textreader.cc TextReader() can now parse memory buffers
2085 * libxml++/parsers/textreader.cc
2086 * libxml++/parsers/textreader.h: TextReader() can now parse memory
2087 buffers as well as files. Bug #351215
2089 2006-11-11 Nate Nielsen <nielsen@memberwebs.com>
2091 Add Node::get_parent() Bug #351876
2093 2006-11-11 Nate Nielsen <nielsen@memberwebs.com>
2095 * libxml++/nodes/node.cc:
2096 * libxml++/nodes/node.h: Add Node::get_parent() Bug #351876
2098 2006-04-24 Cedric Gustin <cedric.gustin@gmail.com>
2100 Disable autoheader. New file. Added comments about the difference between
2102 2006-04-24 Cedric Gustin <cedric.gustin@gmail.com>
2104 * configure.in: Disable autoheader.
2105 * config.h.in: New file. Added comments about the difference
2106 between config.h.in and libxml++config.h.in.
2108 2006-04-21 Cedric Gustin <cedric.gustin@gmail.com>
2110 Added libxml++config.h.in to EXTRA_DIST.
2112 2006-04-21 Cedric Gustin <cedric.gustin@gmail.com>
2114 * libxml++/Makefile.am: Added libxml++config.h.in to EXTRA_DIST.
2116 2006-04-21 Cedric Gustin <cedric.gustin@gmail.com>
2118 Updated for Visual Studio 2005. Added the /vd2 compiler flag (Bug
2120 2006-04-21 Cedric Gustin <cedric.gustin@gmail.com>
2122 * MSVC_Net2003/*.vcproj: Updated for Visual Studio 2005. Added the
2123 /vd2 compiler flag (Bug #158040). Renamed target DLL to
2124 xml++-2.6 to comply to the value returned by "pkg-config --libs
2125 --msvc-syntax libxml++-2.6".
2126 * MSVC_Net2003/libxml++.sln: Updated for Visual Studio 2005.
2127 * MSVC_Net2003/gendef/gendef.cc: Redirect output of dumpbin to a
2129 * MSVC_Net2003/libxml++/Makefile.am: Get a local copy of the
2130 libxml++config.h file created at configure time and distribute it
2131 in the source tarball.
2132 * libxml++/Makefile.am: Add -DLIBXMLPP_BUILD to the DEFS compiler
2133 flags (switch between dllexport/dllimport on win32). Also install
2134 libxml++config.h to $(prefix)/lib/libxml++-2.6/include.
2135 * libxml++/*/*.Makefile.am: Add -DLIBXMLPP_BUILD to the DEFS
2136 compiler flags (switch between dllexport/dllimport on win32).
2137 * libxml++/exceptions/exception.h: Tag the xmlpp:exception classs
2138 with LIBXMLPP_API to get rid of auto-import errors on win32
2140 * libxml++/libxml++config.h.in: New file. Define LIBXMLPP_API and
2141 switch between dllimport and dllexport on win32.
2142 * libxml++-2.6.pc.in: Add ${libdir}/libxml++-2.6/include to Cflags
2143 (for libxml++config.h).
2144 * configure.in: Added test for a native win32 platform. Use the
2145 ms-bitfields on this platform only. Added the libxml++config.h
2148 2006-03-13 Christophe de Vienne <cdevienne@netcourrier.com>
2150 Updated version number
2152 2006-03-13 Christophe de Vienne <cdevienne@netcourrier.com>
2154 * docs/index.html: Updated version number
2156 2006-03-13 Christophe de Vienne <cdevienne@netcourrier.com>
2158 Prepared release 2.14.0
2160 2006-03-13 Christophe de Vienne <cdevienne@netcourrier.com>
2162 * NEWS, configure.in: Prepared release 2.14.0
2164 2006-03-08 Murray Cumming <murrayc@murrayc.com>
2166 get_content() documentation: Replace the TODO because I know know that
2168 2006-03-08 Murray Cumming <murrayc@murrayc.com>
2170 * libxml++/nodes/contentnode.h: get_content() documentation:
2171 Replace the TODO because I know know that apos is the fifth
2173 set_content(): Mention that the predefined entities are used
2174 _where necessary_ because XML does not require use of quot or
2175 apos in text nodes - just in attribute values.
2177 2006-01-14 Murray Cumming <murrayc@src.gnome.org>
2181 2005-12-20 Murray Cumming <murrayc@src.gnome.org>
2185 2005-12-20 Murray Cumming <murrayc@murrayc.com>
2189 2005-12-20 Murray Cumming <murrayc@murrayc.com>
2191 * docs/manual/libxml++_without_code.xml: Mention pkg-config.
2193 2005-12-16 Murray Cumming <murrayc@murrayc.com>
2195 Minor grammar fixes in documentation. Correct find() documentation
2197 2005-12-16 Murray Cumming <murrayc@murrayc.com>
2199 * libxml++/document.h: Minor grammar fixes in documentation.
2200 * libxml++/nodes/node.h: Correct find() documentation slightly.
2202 2005-12-15 Robert Fleming <fleming@cs.washington.edu>
2204 Add find() overload that takes namespaces to register, using
2206 2005-12-15 Robert Fleming <fleming@cs.washington.edu>
2208 * libxml++/nodes/node.cc:
2209 * libxml++/nodes/node.h: Add find() overload that
2210 takes namespaces to register, using xmlXPathRegisterNs().
2213 2005-12-15 Murray Cumming <murrayc@murrayc.com>
2215 set_namespace(): Pass 0 to xmlSearchNs() for empty (default) namespaces,
2217 2005-12-15 Murray Cumming <murrayc@murrayc.com>
2219 * libxml++/nodes/node.cc: set_namespace(): Pass 0 to
2220 xmlSearchNs() for empty (default) namespaces, instead of
2221 an empty string, as we do elsewhere. This makes
2222 Document::create_root_node() for when not specifying a
2223 namespace. Bug #318186 from Erik Oestby.
2225 2005-12-15 Vadim Zeitlin <vadim@wxwindows.org>
2227 Fix paths so buildir!=srcdir builds work. Bug #319863.
2229 2005-12-15 Vadim Zeitlin <vadim@wxwindows.org >
2231 * docs/reference/Doxyfile.in: Fix paths so buildir!=srcdir
2232 builds work. Bug #319863.
2234 2005-10-03 Christophe de Vienne <cdevienn@src.gnome.org>
2236 file defaultmake.inc was initially added on branch LIBXMLPP_BRANCH_1_0.
2238 2005-10-03 Christophe de Vienne <cdevienn@src.gnome.org>
2240 file libxmlpp_generic.mak was initially added on branch LIBXMLPP_BRANCH_1_0.
2242 2005-10-03 Christophe de Vienne <cdevienn@src.gnome.org>
2244 file makefile was initially added on branch LIBXMLPP_BRANCH_1_0.
2246 2005-10-03 Christophe de Vienne <cdevienn@src.gnome.org>
2248 file readme.txt was initially added on branch LIBXMLPP_BRANCH_1_0.
2250 2005-09-21 Christophe de Vienne <cdevienne@netcourrier.com>
2252 Fixed include and .pc paths. Fixes #316827.
2254 2005-09-21 Christophe de Vienne <cdevienne@netcourrier.com>
2256 * libxml++.spec.in: Fixed include and .pc paths. Fixes #316827.
2258 2005-09-08 Christophe de Vienne <cdevienn@src.gnome.org>
2260 Prepared 2.12 release.
2262 2005-08-26 Christophe de Vienne <cdevienne@gmail.com>
2264 Added xmlReadState "Reading" as suggested by Sebastian Moss.
2266 2005-08-26 Christophe de Vienne <cdevienne@gmail.com>
2268 * libxml++/parsers/textreader.h: Added xmlReadState "Reading" as
2269 suggested by Sebastian Moss.
2271 2005-08-24 Christophe de Vienne <cdevienn@src.gnome.org>
2273 Prepared release 2.11.0
2275 2005-08-24 YS <yselkowitz@users.sourceforge.net>
2277 Changed link order to solve a link issue on cygwin. Bug #314419.
2279 2005-08-25 YS <yselkowitz@users.sourceforge.net>
2281 * libxml++/Makefile.am: Changed link order to solve a link issue
2282 on cygwin. Bug #314419.
2284 2005-06-13 Marek Rouchal <marek.rouchal@infineon.com>
2286 Remove extra ;s. Bug #307481
2288 2005-06-13 Marek Rouchal <marek.rouchal@infineon.com>
2290 * libxml++/io/istreamparserinputbuffer.cc:
2291 * libxml++/io/istreamparserinputbuffer.h:
2292 * libxml++/io/parserinputbuffer.cc:
2293 * libxml++/io/parserinputbuffer.h: Remove extra ;s.
2296 2005-05-15 Murray Cumming <murrayc@src.gnome.org>
2298 Fixed the ChangeLog duplication.
2300 2005-05-15 Murray Cumming <murrayc@murrayc.com>
2302 Add comments about possibly deriving this from Node, though it needs
2304 2005-05-15 Murray Cumming <murrayc@murrayc.com>
2306 * libxml++/document.h: Add comments about possibly deriving this
2307 from Node, though it needs investigation, and we can not do this
2309 * libxml++/nodes/node.cc: get_namespace(), get_namespace_prefix():
2310 Return an empty string if the node is actually a Document, because
2311 the underlying xmlDocument struct has no ns field. This should
2312 prevent the crash in bug #161825.
2314 2005-05-15 Murray Cumming <murrayc@murrayc.com>
2316 Add link to the LGPL text.
2318 2005-05-15 Murray Cumming <murrayc@murrayc.com>
2320 * docs/index.html: Add link to the LGPL text.
2322 2005-04-24 Murray Cumming <murrayc@murrayc.com>
2324 parse_context(): Delete the context after, not before, checking it for an
2326 2005-04-24 Murray Cumming <murrayc@murrayc.com>
2328 * libxml++/parsers/domparser.cc: parse_context():
2329 Delete the context after, not before, checking it for an error.
2330 Bug #156352 from Jim Garrison.
2332 2005-04-24 Murray Cumming <murrayc@murrayc.com>
2334 SaxParserCallback::characters() Call on_characters(), not
2336 2005-04-24 Murray Cumming <murrayc@murrayc.com>
2338 * libxml++/parsers/saxparser.cc: SaxParserCallback::characters()
2339 Call on_characters(), not on_cdata_block(), so that the correct
2340 derived handler is called. Bug #301712 and patch from
2343 2005-04-24 Murray Cumming <murrayc@murrayc.com>
2345 Remove -I for the include location of a config file, because we don't
2347 2005-04-24 Murray Cumming <murrayc@murrayc.com>
2349 * libxml++-2.6.pc.in: Remove -I for the include location of
2350 a config file, because we don't install one. Bug #301727
2353 2005-03-15 Murray Cumming <murrayc@murrayc.com>
2355 set_entity_declaration(): Pass 0 instead of empty strings for the public
2357 2005-03-15 Murray Cumming <murrayc@murrayc.com>
2359 * libxml++/document.cc: set_entity_declaration(): Pass 0 instead
2360 of empty strings for the public ID and system ID, if an empty
2361 string is provided. This stops libxml from using a useless empty
2364 2005-03-09 Cedric Gustin <cedric.gustin@swing.be>
2366 Add blank.cpp to EXTRA_DIST. Change name of PDB file to
2368 2005-03-09 Cedric Gustin <cedric.gustin@swing.be>
2370 * MSVC_Net2003/Makefile.am: Add blank.cpp to EXTRA_DIST.
2371 * MSVC_Net2003/examples/*/*.vcproj: Change name of PDB file to
2372 $(OutDir)/$(TargetName).pdb.
2374 2005-03-08 Christophe de Vienne <cdevienn@src.gnome.org>
2378 2005-03-08 Christophe de Vienne <cdevienne@netcourrier.com>
2380 Added one more rule so the "make distcheck" works from a clean cvs working
2382 2005-03-08 Christophe de Vienne <cdevienne@netcourrier.com>
2384 * docs/reference/Makefile.am: Added one more rule so the "make distcheck"
2385 works from a clean cvs working copy.
2387 2005-03-08 Christophe de Vienne <cdevienn@src.gnome.org>
2389 Prepared release 2.10
2391 2005-03-08 Christophe de Vienne <cdevienne@netcourrier.com>
2393 Added a few rules so that "make dist" generated the documentation if it's
2395 2005-03-08 Christophe de Vienne <cdevienne@netcourrier.com>
2397 * docs/manual/Makefile.am, docs/reference/Makefile.am: Added a few rules
2398 so that "make dist" generated the documentation if it's absent.
2400 2005-02-15 Murray Cumming <murrayc@murrayc.com>
2402 Added insert_example_code to EXTRA_DIST, though it should not be needed
2404 2005-02-15 Murray Cumming <murrayc@murrayc.com>
2406 * docs/manual/Makefule.am: Added insert_example_code to EXTRA_DIST,
2407 though it should not be needed when building from a DIST anyway,
2408 because we distribute the html.
2410 2005-02-13 Christophe de Vienne <cdevienne@netcourrier.com>
2412 Removed README from EXTRA_DIST.
2414 2005-02-13 Christophe de Vienne <cdevienne@netcourrier.com>
2416 * docs/manual/Makefile.am: Removed README from EXTRA_DIST.
2418 2005-02-11 Christophe de Vienne <cdevienne@netcourrier.com>
2420 Fixed a little inefficency in find (#161925)
2422 2005-02-12 Christophe de Vienne <cdevienne@netcourrier.com>
2424 * libxml++/nodes/node.cc: Fixed a little inefficency in find (#161925)
2426 2005-02-11 Christophe de Vienne <cdevienn@src.gnome.org>
2430 2005-02-11 Murray Cumming <murrayc@murrayc.com>
2432 Added manual. Use GLIBMM_CHECK_PERL to get the perl path, needed to insert
2434 2005-02-11 Murray Cumming <murrayc@murrayc.com>
2436 * docs/: Added manual.
2437 * configure.in: Use GLIBMM_CHECK_PERL to get the perl path, needed
2438 to insert the example code in the manual.
2439 * docs/Makefile.am: Move the reference and manual into a docs folder
2440 so that the docs and the examples have the same relative path.
2441 * docs/index.html: Mention the manual and update the links.
2443 2005-02-11 Murray Cumming <murrayc@murrayc.com>
2445 do_write_to_string(): libml returns the number of bytes instead of the
2447 2005-02-11 Murray Cumming <murrayc@murrayc.com>
2449 * libxml++/document.cc: do_write_to_string(): libml returns the
2450 number of bytes instead of the number of characters, so use the
2451 appropriate ustring constructor, to avoid an exception later.
2452 Bug found by Cyril Picard.
2453 * docs/reference/Makefile.am: Install the reference documentation.
2454 Distribute the built reference documentatoin, and Do not rebuild it
2456 * docs/reference/Doxyfile.in: Generate doxygen tags so that other
2457 documentation can link to the libxml++ documentation. Use the
2458 libstdc++ and glibmm doxygen tags to link to their documentation,
2459 for instance for Glib::ustring.
2461 2005-01-27 Cedric Gustin <cedric.gustin@swing.be>
2465 2005-01-26 Cedric Gustin <cedric.gustin@swing.be>
2467 * MSVC_Net2003/README: Updated for 2.8.0.
2469 2005-01-26 Cedric Gustin <cedric.gustin@swing.be>
2471 parse micro version tags at configure time (for libxml++.rc). Added
2473 2005-01-26 Cedric Gustin <cedric.gustin@swing.be>
2475 * configure.in : parse micro version tags at configure time (for
2476 libxml++.rc). Added support for shared libraries (DLL) on
2477 win32. Added MSVC_Net2003 Makefiles.
2478 * Makefile.am: Added MSVC_Net2003 subdir.
2479 * libxml++/Makefile.am: Added linker flags for shared libraries
2481 * examples/Makefile.am_fragment: Removed trailing slash in INCLUDES.
2482 * MSVC_Net2003/*: Initial release.
2484 2004-12-25 Murray Cumming <murrayc@src.gnome.org>
2488 2004-12-25 Murray Cumming <murrayc@murrayc.com>
2490 Added parse_memory_raw() for libxml documents that are not utf8-encoded or
2492 2004-12-25 Murray Cumming <murrayc@murrayc.com>
2494 * libxml++/parsers/domparser.[h|cc], saxparser.[h|cc]: Added
2495 parse_memory_raw() for libxml documents that are not utf8-encoded or
2496 are encoded in an unknown encoding.
2497 * examples/: Added dom_parser_raw() to test parsing of UCS2-encoded
2500 2004-12-20 Murray Cumming <murrayc@murrayc.com>
2502 This is the HEAD branch, for gnome 2.9/2.10.
2504 2004-12-20 Murray Cumming <murrayc@murrayc.com>
2506 * This is the HEAD branch, for gnome 2.9/2.10.
2508 2004-12-18 Murray Cumming <murrayc@murrayc.com>
2510 Node::find(): Check the result of xmlXPathEval and throw an exception
2512 2004-12-18 Murray Cumming <murrayc@murrayc.com>
2514 * libxml++/nodes/node.cc: Node::find(): Check the result of
2515 xmlXPathEval and throw an exception about invalid xpaths, instead of
2516 crashing. Bug #161549 from Caleb Epstein.
2518 2004-12-18 Murray Cumming <murrayc@murrayc.com>
2520 parse_memory(), parse_chunk(), domparser.cc: parse_memory, parse_chunk():
2522 2004-12-18 Murray Cumming <murrayc@murrayc.com>
2524 * libxml++/parsers/saxparser.cc: parse_memory(), parse_chunk(),
2525 domparser.cc: parse_memory, parse_chunk(): Use Glib::ustring::bytes()
2526 to get the size of the array, not size() or length(), which gets
2527 the number of utf8 characters. It might not even be utf8.
2528 size() > 0. It is more efficient.
2530 2004-11-30 Murray Cumming <murrayc@murrayc.com>
2532 Removed an extra ; that g++ 3.4 complains about.
2534 2004-11-30 Murray Cumming <murrayc@murrayc.com>
2536 * libxml++/validator.h: Removed an extra ; that g++ 3.4 complains
2539 2004-11-29 Murray Cumming <murrayc@src.gnome.org>
2541 I forgot to commit this NEWS change, I think.
2543 2004-09-14 Christophe de Vienne <cdevienn@src.gnome.org>
2545 Changed the .so version number from GENERIC_LIBRARY_VERSION=2:1:1 to
2547 Changed the .so version number from
2548 GENERIC_LIBRARY_VERSION=2:1:1
2550 GENERIC_LIBRARY_VERSION=2:1:0
2552 to avoid re-linking issues. cf
2553 http://sourceforge.net/mailarchive/forum.php?thread_id=5559194&forum_id=12784
2555 for more informations.
2557 2004-09-14 Christophe de Vienne <cdevienn@src.gnome.org>
2559 Don't exclude 2.6/* anymore.
2561 2004-09-14 Christophe de Vienne <cdevienn@src.gnome.org>
2563 Prepared release 2.8
2565 2004-09-13 Christophe de Vienne <cdevienn@src.gnome.org>
2567 Added some clarifications on the LGPL license.
2569 2004-09-12 Murray Cumming <murrayc@murrayc.com>
2571 Add include for xmlreader.h. Correct (and uncomment) the code to read the
2573 2004-09-12 Murray Cumming <murrayc@murrayc.com>
2575 * libxml++/libxml++.h: Add include for xmlreader.h.
2576 * examples/saxparser/myparser.cc, saxparser_entities/myparser.cc:
2577 Correct (and uncomment) the code to read the attribute values.
2579 2004-09-06 Christophe de Vienne <cdevienn@src.gnome.org>
2581 Prepared release 2.7.1
2583 2004-08-13 Christophe de Vienne <cdevienne@netcourrier.com>
2587 2004-08-13 Christophe de Vienne <cdevienne@netcourrier.com>
2589 * libxml++/parsers/domparser.cc, libxml++/parsers/parser.cc: Fixed
2592 2004-07-02 Christophe de Vienne <cdevienn@src.gnome.org>
2596 2004-06-24 Murray Cumming <murrayc@.com>
2598 Reverted the changes that made it install a 2.8 pc.in file, and which
2600 2004-06-24 Murray Cumming <murrayc@.com>
2602 * configure.in, Makefile.am, libxml++-2.*.pc.in: Reverted the changes
2603 that made it install a 2.8 pc.in file, and which decreased the .so
2604 name. 2.8 is not parallel-installable with 2.6, and this would only
2605 have been a half-done transition if it was.
2607 2004-06-22 Murray Cumming <murrayc@murrayc.com>
2609 Added include of libxml/globals.h before include of libxml/xmlIO.h,
2611 2004-06-22 Murray Cumming <murrayc@murrayc.com>
2613 * libxml++/io/outputbuffer.cc, inputbuffer.cc:
2614 Added include of libxml/globals.h before include of libxml/xmlIO.h,
2615 because xmlIO.h needs the definition of
2616 xmlParserInputBufferCreateFilenameFunc.
2618 2004-05-28 Christophe de Vienne <cdevienne@netcourrier>
2620 Integrated dtdvalidator patch proposed by Guillaume Arreckx. Modified a
2622 2004-05-28 Christophe de Vienne <cdevienne@netcourrier>
2624 * configure.in, examples/Makefile.am, examples/dtdvalidation/Makefile.am,
2625 examples/dtdvalidation/example.dtd, examples/dtdvalidation/main.cc,
2626 libxml++/Makefile.am, libxml++/dtd.[h|cc], libxml++/io/Makefile.am,
2627 libxml++/io/istreamparserinputbuffer.[h|cc],
2628 libxml++/io/parserinputbuffer.[h|cc],
2629 libxml++/libxml++.h, libxml++/validators/Makefile.am,
2630 libxml++/validators/dtdvalidator.[h|cc]
2631 libxml++/validators/validator.[h|cc]:
2632 Integrated dtdvalidator patch proposed by Guillaume Arreckx.
2633 Modified a bit the patch:
2634 - renamed *.cpp -> *.cc
2635 - fixed a few comments which where copy/paste from other files
2636 - replaced std::string with Glib::ustring
2637 - Added Dtd::cobj, since the patch rely on it.
2638 - added a validaty_error as suggested by jon
2640 2004-05-06 Christophe de Vienne <cdevienn@src.gnome.org>
2642 Prepared HEAD branch for version 2.7/2.8.
2644 2004-05-05 Christophe de Vienne <cdevienn@src.gnome.org>
2646 Prepared 2.6.1 release.
2648 2004-05-05 Christophe de Vienne <cdevienn@src.gnome.org>
2650 Completed for 2.6.1 release.
2652 2004-05-05 Christophe de VIENNE <cdevienne@netcourrier.com>
2654 Fixed set_content which used xmlNodeAddContent instead of
2656 2004-04-26 Christophe de VIENNE <cdevienne@netcourrier.com>
2658 * libxml++/nodes/contentnode.cc: Fixed set_content which used xmlNodeAddContent
2659 instead of xmlNodeSetContent (thanks to Marcello Orizi who outlined it).
2661 2004-05-05 Christophe de Vienne <cdevienne@netcourrier.com>
2663 One more (last one I hope) change about Glib::ustring instanciation from a
2665 2004-05-05 Christophe de Vienne <cdevienne@netcourrier.com>
2667 * libxml++/parsers/saxparser.cc: One more (last one I hope) change
2668 about Glib::ustring instanciation from a buffer + lenght. We now
2669 use Glib::ustring::ustring(In begin, In end) constructor. Thanks to
2672 2004-05-04 Christophe de Vienne <cdevienne@netcourrier.com>
2674 Replaced again the use of Glib::ustring(const char*) constructor by
2676 2004-05-03 Christophe de Vienne <cdevienne@netcourrier.com>
2678 * libxml++/parsers/saxparser.cc: Replaced again the use of
2679 Glib::ustring(const char*) constructor by Glib::ustring(std::string).
2682 2004-05-04 Christophe de Vienne <cdevienn@src.gnome.org>
2684 *** empty log message ***
2686 2004-05-04 Christophe de Vienne <cdevienne@netcourrier.com>
2688 Replace the use of Glib::ustring(const char*, unsigned) constructor by
2690 2004-05-03 Christophe de Vienne <cdevienne@netcourrier.com>
2692 * libxml++/parsers/saxparser.cc: Replace the use of
2693 Glib::ustring(const char*, unsigned) constructor by Glib::ustring(const char*).
2696 2004-05-04 Murray Cumming <murrayc@murrayc@com>
2698 Made it require glibmm-2.4, so that apps do not have to check for this
2700 2004-05-04 Murray Cumming <murrayc@murrayc@com>
2702 * libxml++-2.6.pc.in: Made it require glibmm-2.4, so that apps do not
2703 have to check for this themselves.
2705 2004-04-13 Murray Cumming <murrayc@murrayc.com>
2707 Change library name to 2.6 instead of 2.5. Report the changed library
2709 2004-04-13 Murray Cumming <murrayc@murrayc.com>
2711 * libxml++/Makefile.am: Change library name to 2.6 instead of 2.5.
2712 * libxml++-2.6.pc.in: Report the changed library name.
2714 2004-04-13 Christophe de Vienne <cdevienn@src.gnome.org>
2718 2004-04-13 Christophe de Vienne <cdevienn@src.gnome.org>
2720 Updated dependencies and reference documentation links.
2722 2004-04-13 Christophe de Vienne <cdevienn@src.gnome.org>
2724 Switched to version 2.6. Reset library version.
2726 2004-04-13 Christophe de Vienne <cdevienn@src.gnome.org>
2728 Adapted Doxyfile to more recent version of Doxygen. The documentation is now published in a versionned directory on the website.
2730 2004-03-27 Murray Cumming <murrayc@murrayc.com>
2732 Correct constness of get_current_node(), so there is a const and non-const
2734 2004-03-27 Murray Cumming <murrayc@murrayc.com>
2736 * libxml++/parsers/textreader.[h|cc]: Correct constness of
2737 get_current_node(), so there is a const and non-const version.
2739 2004-03-03 Christophe de Vienne <cdevienn@src.gnome.org>
2741 file api_export.h was initially added on branch LIBXMLPP_BRANCH_1_0.
2743 2004-03-02 Christophe de Vienne <cdevienn@src.gnome.org>
2745 Prepared release 2.5.2 (2.6.0 beta1)
2747 2004-02-16 Christophe de VIENNE <cdevienne@netcourrier.com>
2749 Check return value of xmlHasNsProp to fix issue #134390 (as reported by
2751 2004-02-16 Christophe de VIENNE <cdevienne@netcourrier.com>
2753 * libxml++/nodes/element.cc: Check return value of xmlHasNsProp to
2754 fix issue #134390 (as reported by John Coyle). Use xmlHasProp instead
2755 of testing each attributes.
2757 2004-02-16 Christophe de Vienne <cdevienn@src.gnome.org>
2759 Changed two remaining 1.0 to 2.6.
2761 2004-02-16 Christophe de VIENNE <cdevienne@netcourrier.com>
2763 Added libxml-2.0 to Requires: and removed @LIBXML_LIBS@ from libs, as
2765 2004-02-16 Christophe de VIENNE <cdevienne@netcourrier.com>
2767 * libxml++-2.6.pc.in: Added libxml-2.0 to Requires: and removed
2768 @LIBXML_LIBS@ from libs, as suggested by Albert Chin.
2770 2004-02-16 Christophe de VIENNE <cdevienne@netcourrier.com>
2772 Merged in patches from Albert Chin to get libxml++ build using the SUN,
2774 2004-02-16 Christophe de VIENNE <cdevienne@netcourrier.com>
2776 * libxml++/nodes/node.cc, libxml++/parsers/parser.h:
2777 Merged in patches from Albert Chin to get libxml++ build using the SUN,
2778 HP, SGI & AIX C++ compilers.
2780 2004-02-13 Jim Garrison <garrison@case.edu>
2782 Removed unnecessary semicolons
2784 2004-02-13 Jim Garrison <garrison@case.edu>
2786 * libxml++/attribute.h, libxml++/document.h, libxml++/dtd.h,
2787 libxml++/io/ostreamoutputbuffer.[h|cc],
2788 libxml++/io/outputbuffer.[h|cc], libxml++/keepblanks.[h|cc],
2789 libxml++/nodes/node.h, libxml++/parsers/parser.h,
2790 libxml++/parsers/saxparser.h, libxml++/parsers/textreader.[h|cc]:
2791 Removed unnecessary semicolons
2793 2004-02-13 Jim Garrison <garrison@src.gnome.org>
2795 added cvsignore files
2797 2004-02-13 Christophe de Vienne <cdevienn@src.gnome.org>
2799 Makefile of examples/textreader was forgotten in last commit.
2801 2004-02-09 Murray Cumming <murrayc@src.gnome.org>
2803 Corrected my email address, though I'm not really a libxml++ maintainer.
2805 2004-02-09 Christophe de Vienne <cdevienn@src.gnome.org>
2807 prepared release 2.5.1
2809 2004-02-09 Jim Garrison <garrison@case.edu>
2811 added Document::cobj() function
2813 2004-02-08 Jim Garrison <garrison@case.edu>
2815 * libxml++/document.[h|cc]: added Document::cobj() function
2817 2004-02-06 Christophe de Vienne <cdevienne@netcourrier.com>
2819 Fixed issue #132014.
2821 2004-02-06 Christophe de Vienne <cdevienne@netcourrier.com>
2823 * libxml++/parsers/sax_parser.cc: Fixed issue #132014.
2825 2004-02-06 Christophe de Vienne <cdevienne@netcourrier.com>
2827 Added TextReader interface. It is almost the patch which is here :
2829 2004-02-06 Christophe de Vienne <cdevienne@netcourrier.com>
2831 * libxml++/parsers/[Makefile.am|textreader.h|textreader.cc]: Added
2832 TextReader interface. It is almost the patch which is here :
2833 http://sourceforge.net/tracker/index.php?func=detail&aid=842730&group_id=12999&atid=312999
2834 with Glib::ustring instead of std::string, and member functions names
2835 changed to be consistent with other interfaces.
2836 * configure.in, examples/Makefile.am, examples/textreader: Added an example
2837 of TextReader interface.
2839 2004-02-05 Jim Garrison <garrison@case.edu>
2841 added create_root_node_by_import()
2843 2004-02-05 Jim Garrison <garrison@case.edu>
2844 * libxml++/document.[h|cc]: added create_root_node_by_import()
2846 2004-01-13 Christophe de Vienne <cdevienne@alphacent.com>
2848 Gives NULL strings instead of empty ones to xmlCreateIntSubset. Fixes
2850 2004-01-13 Christophe de Vienne <cdevienne@alphacent.com>
2852 * libxml++/io/document.cc: Gives NULL strings instead of empty ones to
2853 xmlCreateIntSubset. Fixes issue #131329.
2855 2004-01-12 Christophe de Vienne <cdevienne@alphacent.com>
2857 * libxml++/io/outputbuffer.cc: Fix return value of xmlIO callbacks. (Fixes
2860 2003-12-19 Murray Cumming <murrayc@usa.net>
2862 Added glibmm-2.4 to the pkg-config check. :string/Glib::ustring rename.
2864 2003-12-19 Murray Cumming <murrayc@usa.net>
2866 * configure.in: Added glibmm-2.4 to the pkg-config check.
2867 * Used regexxer to do a complete std::string/Glib::ustring rename.
2868 Everything seems to still work. I think the parse_chunk(stream)
2869 stuff might need some attention/thought.
2871 2003-12-19 Murray Cumming <murrayc@usa.net>
2873 libxml++ has moved to the GNOME cvs.
2875 2003-12-19 Murray Cumming <murrayc@usa.net>
2877 * modulesets/gnome26.modules: libxml++ has moved to the GNOME cvs.
2879 2003-12-19 Murray Cumming <murrayc@usa.net>
2881 removed acinclude.m4 because we do not need it anymore because we do not
2883 2003-12-19 Murray Cumming <murrayc@usa.net>
2885 * removed acinclude.m4 because we do not need it anymore because
2886 we do not need AM_LIBXML now that we use pkg-config.
2887 * libxml++/Makefile.am: Generate a library with 2.5 in the name,
2889 * configure.in: Change version to 2.5.0.
2890 * examples/Makefile.am_fragment: Link to the new library name.
2891 * Renamed libxml++-1.0.pc.in to libxml++-2.6.pc.in: and changed the
2892 library name that pkg-config reports for --libs.
2893 * So, this is now the libxml++ 2.6 API, with a library name of 2.5
2894 while it is unstable. It is parallel-installable with libxml++ 1.0.
2896 2003-12-18 Christophe de Vienne <cdevienn@src.gnome.org>
2898 updated CVS repositery and bugtracker url.
2900 2003-12-18 Christophe de Vienne <cdevienn@src.gnome.org>
2902 Initial import into gnome CVS repositery
2904 2003-12-18 Christophe de Vienne <cdevienn@src.gnome.org>