1. 09 Sep, 2015 1 commit
    • Kjell Ahlstedt's avatar
      Remove MSVC 2005 and 2008 projects · f014f5ee
      Kjell Ahlstedt authored
      MSVC_Net2005/*:
      MSVC_Net2008/*: Remove the whole directories.
      configure.ac:
      Makefile.am:
      .gitignore: Remove MSVC_Net2005 and 2008 files.
      
      It's no longer possible to build libxml++ with MSVC 2005 or 2008, when C++11
      features are used. MSVC 2010 is not useful either, but its project files
      are kept for now. They can perhaps be useful as a starting point when building
      with later MSVC versions. See also libsigc++ bug 754082.
      f014f5ee
  2. 05 Sep, 2015 1 commit
  3. 27 Aug, 2015 3 commits
    • Kjell Ahlstedt's avatar
      xmlpp::wrapped_exception: Add comments · 23a566f0
      Kjell Ahlstedt authored
      Bug #753570
      23a566f0
    • Kjell Ahlstedt's avatar
      Fix make check with --enable-warnings=fatal and fix make distcheck · e728c92f
      Kjell Ahlstedt authored
      * tests/saxparser_chunk_parsing_inconsistent_state/main.cc:
      * tests/saxparser_parse_double_free/main.cc: Comment out names of unused
      parameters in function definitions.
      * Makefile.am: Add wrapped_exception.h to h_exceptions_sources_public or else
      it won't be distributed.
      * libxml++/exceptions/wrapped_exception.h: Add DOXYGEN_SHOULD_SKIP_THIS.
      xmlpp::wrapped_exception is a private class that shall not be included in
      the documentation. Bug #753570.
      e728c92f
    • Daniel Trebbien's avatar
      Introduce xmlpp::wrapped_exception · 12861530
      Daniel Trebbien authored
      This is an internal class which is used by SaxParser and Validator to
      save the exception object thrown by a handler method when the exception
      does not derive from xmlpp::exception (e.g. std::exception). The Raise()
      method of xmlpp::wrapped_exception calls std::rethrow_exception() to
      rethrow the exception object thrown by the handler method.
      
      Catching any exception object thrown by a handler method is important in
      ensuring that we are able to reset the internal state, and, in the case
      of SaxParser::parse(), that we restore the old _xmlSAXHandler pointer so
      that we do not double-free the _xmlSAXHandler object held by SaxParser.
      
      Fixes Bug 753570 - “double free or corruption” if a std::exception is thrown
      https://bugzilla.gnome.org/show_bug.cgi?id=753570
      12861530
  4. 02 Aug, 2015 1 commit
    • Kjell Ahlstedt's avatar
      Replace some auto_ptr by unique_ptr · b3155523
      Kjell Ahlstedt authored
      * libxml++/parsers/parser.cc:
      * libxml++/parsers/saxparser.cc:
      * libxml++/validators/relaxngvalidator.cc:
      * libxml++/validators/validator.cc:
      * libxml++/validators/xsdvalidator.cc: Replace the deprecated std::auto_ptr
      by std::unique_ptr. There are still auto_ptrs in header files. Replacing
      them would break ABI. Bug #753123.
      b3155523
  5. 20 Jul, 2015 7 commits
  6. 19 Jul, 2015 5 commits
  7. 08 Jun, 2015 1 commit
  8. 30 Apr, 2015 1 commit
  9. 04 Mar, 2015 2 commits
  10. 27 Feb, 2015 2 commits
  11. 28 Oct, 2014 1 commit
  12. 21 Oct, 2014 1 commit
    • Kjell Ahlstedt's avatar
      Parser: Add input operator>>() · 2bd4773c
      Kjell Ahlstedt authored
      * libxml++/parsers/parser.h: Add operator>>(std::istream& in, Parser& parser).
      * examples/dom_parse_entities/main.cc: Use operator>>(). Bug #329281.
      2bd4773c
  13. 17 Oct, 2014 1 commit
  14. 16 Oct, 2014 2 commits
    • Kjell Ahlstedt's avatar
      Add RelaxNGSchema and RelaxNGValidator · cc998a01
      Kjell Ahlstedt authored
      * Makefile.am: Add new files.
      * libxml++/libxml++.h: Add new header files.
      * examples/Makefile.am: Add schemavalidation/example.rng.
      * examples/schemavalidation/main.cc: Add test of RelaxNGValidator.
      * examples/schemavalidation/example.rng:
      * libxml++/relaxngschema.[cc|h]:
      * libxml++/validators/relaxngvalidator.[cc|h]: New files.
      
      Thanks to Tjalling Hattink <t.hattink@fugro.nl>, who made other versions
      of the new files, which were attached to bug #737712.
      cc998a01
    • Kjell Ahlstedt's avatar
      Add XsdSchema and XsdValidator. Deprecate Schema and SchemaValidator · dd71d631
      Kjell Ahlstedt authored
      * configure.ac: Add MM_ARG_DISABLE_DEPRECATED_API([LIBXMLXX]).
      * Makefile.am: Add new files.
      * libxml++config.h.in: Add LIBXMLXX_DISABLE_DEPRECATED.
      * libxml++/libxml++.h: Add new header files.
      * libxml++/schema.[cc|h]:
      * libxml++/validators/schemavalidator.[cc|h]: Deprecate the whole files.
      * examples/schemavalidation/main.cc: Add test of XsdValidator.
      * libxml++/schemabase.[cc|h]:
      * libxml++/xsdschema.[cc|h]:
      * libxml++/validators/schemavalidatorbase.[cc|h]:
      * libxml++/validators/xsdvalidator.[cc|h]: New files. Bug #737712.
      dd71d631
  15. 15 Oct, 2014 1 commit
  16. 11 Oct, 2014 1 commit
  17. 10 Oct, 2014 4 commits
  18. 18 Sep, 2014 1 commit
    • Kjell Ahlstedt's avatar
      Docs: Use doxygen-extra.css · 80dd0597
      Kjell Ahlstedt authored
      * configure.ac: Require mm-common 0.9.7.
      * .gitignore: Ignore doxygen-extra.css.
      * docs/reference/Doxyfile.in: Use doxygen-extra.css instead of doxygen.css.
      80dd0597
  19. 17 Sep, 2014 1 commit
    • Kjell Ahlstedt's avatar
      Late update of configure.ac and NEWS for 2.37.1 · ccc0052d
      Kjell Ahlstedt authored
      The changes in configure.ac and NEWS were not pushed to the git repository
      when libxml++ 2.37.1 was released. These are the changes that are included
      in the tarball.
      The last commit in 2.37.1 is "Fix examples/Makefile.am for new versions
      of automake" from 2013-09-14.
      ccc0052d
  20. 12 Sep, 2014 1 commit
    • Kjell Ahlstedt's avatar
      Update libxml++.doap · 992896be
      Kjell Ahlstedt authored
      * libxml++.doap: Update homepage and mailing-list.
      Add description, download-page, bug-database and programming-language.
      Comment category, because no allowed category seems suitable for libxml++.
      992896be
  21. 14 Aug, 2014 1 commit
    • Kjell Ahlstedt's avatar
      Remove MAINTAINERS · b99148ec
      Kjell Ahlstedt authored
      * MAINTAINERS: Removed file. It has been replaced by libxml++.doap.
      * Makefile.am: Don't distribute MAINTAINERS.
      b99148ec
  22. 04 Jul, 2014 1 commit