2015-10-28 Kjell Ahlstedt 2.40.1 2015-10-28 Kjell Ahlstedt Parser, Validator: Make handle_exception() private * libxml++/exceptions/wrapped_exception.h: Added comment. * libxml++/parsers/parser.h: * libxml++/validators/validator.h: Make handle_exception() private. Then it will certainly not be considered added API, and it can be included in libxml++ 2.40.1. Bug #757042. 2015-10-27 Kjell Ahlstedt SaxParser docs: Describe exception handling * libxml++/parsers/saxparser.h: Note in the class description that some exceptions are replaced by xmlpp::exception if std::exception_ptr is not supported. Bug #757042. 2015-10-26 Daniel Trebbien Work around some platforms' lack of support for std::exception_ptr * libxml++/exceptions/wrapped_exception.[cc|h]: Declare the wrapped_exception class only if LIBXMLXX_HAVE_EXCEPTION_PTR is defined. * libxml++/parsers/parser.[cc|h]: * libxml++/parsers/saxparser.cc: Add Parser::handle_exception(), and call it instead the handleException(). * libxml++/validators/validator.[cc|h]: Add Validator::handle_exception(), and call it instead the handleException(). * 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. Kjell Ahlstedt added handle_exception() and modified Daniel Trebbien's patch to fit with the previous commit. 2015-10-26 Kjell Ahlstedt 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 , who supplied a patch with the test code in LIBXMLXX_HAVE_EXCEPTION_PTR. 2015-10-09 Kjell Ahlstedt Still more use of nullptr instead of 0 2015-10-08 Kjell Ahlstedt More use of nullptr instead of 0 Bug #756166 (also the previous commit) 2015-10-08 Gaurav Gupta Use nullptr instead of 0 at missing places - C++-11