Imported Upstream version 2.91.2
[platform/upstream/libxml++.git] / ChangeLog
index ad7e586..69bf6df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,98 @@
+2015-10-30  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       2.91.2
+
+2015-10-29  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       Work around some platforms' lack of support for std::exception_ptr
+
+       * libxml++/exceptions/exception.[cc|h]:
+       * libxml++/exceptions/internal_error.[cc|h]:
+       * libxml++/exceptions/parse_error.[cc|h]:
+       * libxml++/exceptions/validity_error.[cc|h]: Reintroduce Raise() and Clone(),
+       now renamed to raise() and clone().
+       * libxml++/exceptions/wrapped_exception.[cc|h]: Reintroduced files, now
+       with the wrapped_exception class declared only if LIBXMLXX_HAVE_EXCEPTION_PTR
+       is defined.
+       * libxml++/filelist.am: Add wrapped_exception.h.
+       * libxml++/parsers/parser.[cc|h]: Replace std::exception_ptr exception_ptr_
+       by std::unique_ptr<xmlpp::exception> exception_.
+       * libxml++/parsers/saxparser.cc: exception_ptr_ -> exception_
+       * libxml++/parsers/saxparser.h: Note in the class description that some
+       exceptions are replaced by xmlpp::exception if std::exception_ptr is not
+       supported.
+       * libxml++/validators/validator.[cc|h]: Replace std::exception_ptr
+       exception_ptr_ by std::unique_ptr<xmlpp::exception> exception_.
+       * examples/sax_exception/myparser.[cc|h]: Reintroduce Raise() and Clone(),
+       now renamed to raise() and clone().
+       * tests/saxparser_chunk_parsing_inconsistent_state/main.cc:
+       * tests/saxparser_parse_double_free/main.cc:
+       * tests/saxparser_parse_stream_inconsistent_state/main.cc: Catch
+       xmlpp::exception, if LIBXMLXX_HAVE_EXCEPTION_PTR is not defined.
+       Bug #757042.
+
+       The substitution of exception_ for exception_ptr_ in Parser and Validator
+       breaks ABI. The ABI of libxml++ 3.x has not yet been frozen.
+
+       Thanks to Daniel Trebbien <dtrebbien@gmail.com>, who supplied a patch for
+       libxml++ 2.40.
+
+2015-10-27  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       Add LIBXMLXX_HAVE_EXCEPTION_PTR
+
+       * build/.gitignore: New file.
+       * build/cxx_std.m4: New file with LIBXMLXX_CXX_HAS_EXCEPTION_PTR
+       autoconf macro. Defines LIBXMLXX_HAVE_EXCEPTION_PTR if std::exception_ptr
+       exists.
+       * .gitignore: Move some lines to build/.gitignore.
+       * configure.ac: Store some build files in the build directory, like most mm
+       packages. Don't use the macros directory.
+       * libxml++config.h.in: Add LIBXMLXX_HAVE_EXCEPTION_PTR.
+       * Makefile.am:
+       * docs/Makefile.am: macros -> build. Bug #757042.
+
+       Thanks to Daniel Trebbien <dtrebbien@gmail.com>, who supplied a patch with
+       the test code in LIBXMLXX_HAVE_EXCEPTION_PTR.
+
+2015-10-12  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       Remove LIBXMLCPP_EXCEPTIONS_ENABLED
+
+       * configure.ac:
+       * libxml++config.h.in: Remove LIBXMLCPP_EXCEPTIONS_ENABLED. Bug #754673.
+
+2015-10-09  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       Still more use of nullptr instead of 0
+
+2015-10-09  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       Still more use of nullptr instead of 0
+
+2015-10-08  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       More use of nullptr instead of 0
+
+       Bug #756166 (also the previous commit)
+
+2015-10-08  Gaurav Gupta  <g.gupta@samsung.com>
+
+       Use nullptr instead of 0 at missing places - C++-11
+
+2015-10-08  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       Remove some TODO comments
+
+2015-10-08  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
+
+       Add xmlpp::format_printf_message()
+
+       * libxml++/exceptions/exception.[h|cc]: Add format_printf_message().
+       * libxml++/parsers/parser.cc:
+       * libxml++/parsers/saxparser.cc:
+       * libxml++/validators/validator.cc: Call format_printf_message().
+
 2015-10-05  Kjell Ahlstedt  <kjell.ahlstedt@bredband.net>
 
        2.91.1