------------------------------------------------------------------- Wed Feb 9 20:55:17 UTC 2022 - Antoine Belvire - Update to version 1.12: * Fix a bug in xml_document move construction when the source of the move is empty. * Fix const-correctness issues with iterator objects to support C++20 ranges. * Improved detection of overly complex queries that may result in stack overflow during parsing. ------------------------------------------------------------------- Mon Jan 11 22:08:11 UTC 2021 - Dirk Müller - update to 1.11.4: * Add xml_node::remove_attributes and xml_node::remove_children * Add a way to customize floating point precision via xml_attribute::set and xml_text::set overloads * XPath parser now limits recursion depth which prevents stack overflow on malicious queries * Exported CMake target name changed to pugixml::pugixml; see subsequent patch releases * Regression bugfixes ------------------------------------------------------------------- Tue Feb 4 19:46:01 UTC 2020 - Antoine Belvire - Update to version 1.10: * XPath union operation now is ~2x faster to compute and results in a stable order that doesn't depend on pointer order. * Add format_skip_control_chars formatting flag to skip non-printable ASCII characters. * Add format_attribute_single_quote formatting flag to use single quotes for attribute values. * Add Visual Studio .natvis files to improve debugging experience. - Remove merged patches: * pugixml-1.9-use-CMAKE_INSTALL_LIBDIR.patch. * pugixml-1.9-install-pc-file.patch. ------------------------------------------------------------------- Mon Mar 25 11:26:08 UTC 2019 - Jan Engelhardt - Ensure neutrality of descriptions. ------------------------------------------------------------------- Tue Jul 24 10:27:08 UTC 2018 - antoine.belvire@opensuse.org - Install pc file: * Add pugixml-1.9-install-pc-file.patch (picked from upstream). * Add pugixml-1.9-use-CMAKE_INSTALL_LIBDIR.patch (picked from upstream). ------------------------------------------------------------------- Tue Apr 10 19:06:38 UTC 2018 - bjoern@schramke-online.de - Update to version 1.9 * Specification changes + xml_document::load(const char*) (deprecated in 1.5) now has deprecated attribute; use xml_document::load_string instead + xml_node::select_single_node (deprecated in 1.5) now has deprecated attribute; use xml_node::select_node instead * New features + Add move semantics support for xml_document and improve move semantics support for other objects + CMake build now exports include directories + CMake build with BUILD_SHARED_LIBS=ON now uses dllexport attribute for MSVC * XPath improvements + Rework parser/evaluator to not rely on exceptional control flow; longjmp is no longer used when exceptions are disabled + Improve error messages for certain invalid expressions such as .[1] or (1 + Minor performance improvements * Compatibility improvements + Fix Texas Instruments compiler warnings + Fix compilation issues with limits.h for some versions of gcc + Fix compilation issues with Clang/C2 + Fix implicit fallthrough warnings in gcc 7 + Fix unknown attribute directive warnings in gcc 8 + Fix cray++ compiler errors + Fix unsigned integer overflow errors with -fsanitize=integer + Fix undefined behavior sanitizer issues in compact mode ------------------------------------------------------------------- Thu Feb 16 15:32:17 UTC 2017 - joerg.lorenzen@ki.tng.de - Update to version 1.8 * Specification changes + When printing empty elements, a space is no longer added before / in format_raw mode. * New features + Added parse_embed_pcdata parsing mode in which PCDATA value is stored in the element node if possible (significantly reducing memory consumption for some documents). + Added auto-detection support for Latin-1 (ISO-8859-1) encoding during parsing. + Added format_no_empty_element_tags formatting flag that outputs start/end tags instead of empty element tags for empty elements. * Performance improvements + Minor memory allocation improvements (yielding up to 1% memory savings in some cases). * Compatibility improvements + Fixed compilation issues for Borland C++ 5.4. + Fixed compilation issues for some distributions of MinGW 3.8. + Fixed various Clang/GCC warnings. + Enabled move semantics support for XPath objects for MSVC 2010 and above. ------------------------------------------------------------------- Wed Oct 21 09:26:33 UTC 2015 - idonmez@suse.com - Update to version 1.7 * New integer parsing/formatting implementation + Functions that convert from and to integers (e.g. as_int/set_value) do not rely on CRT any more. + New implementation is 3-5x faster and is always correct wrt overflow or underflow. This is a behavior change - where previously as_uint() would return UINT_MAX on a value "-1", it now returns 0. * New features + XPath objects (xpath_query, xpath_node_set, xpath_variable_set) are now movable if your compiler supports C++11. Additionally, xpath_variable_set is copyable. + Added format_indent_attributes that makes the resulting XML friendlier to line diff/merge tools. + Added a variant of xml_node::attribute function with a hint that can improve lookup performance. + Custom allocation functions are now allowed (but not required) to throw instead of returning a null pointer. * Bug fixes + Fix Clang 3.7 crashes in out-of-memory cases (C++ DR 1748) + Fix xpath_node_set assignment to provide strong exception guarantee + Fix saving for custom xml_writer implementations that can throw from write() - Add pugixml-config.patch to enable long long support, works better than enabling via build flags. ------------------------------------------------------------------- Fri Oct 9 08:41:24 UTC 2015 - idonmez@suse.com - Manually enable long long support ------------------------------------------------------------------- Fri Sep 4 13:09:48 UTC 2015 - tchvatal@suse.com - Version bump to 1.6: * See manual.html for in-depth changelog - Use %cmake macros properly ------------------------------------------------------------------- Thu Mar 5 06:44:51 UTC 2015 - davejplater@gmail.com - Update to version 1.5 and prepare for submission to factory See bnc#905649 enable blender cycles. Pugixml needed by OpenImageIO needed by blender for cycles. - Upstream changes: see http://cdn.rawgit.com/zeux/pugixml/v1.5/docs/manual/changes.html ------------------------------------------------------------------- Tue Jul 15 19:28:01 UTC 2014 - asterios.dramis@gmail.com - Update to version 1.4: Specification changes: * Documents without element nodes are now rejected with status_no_document_element error, unless parse_fragment option is used New features: * Added XML fragment parsing (parse_fragment flag) * Added PCDATA whitespace trimming (parse_trim_pcdata flag) * Added long long support for xml_attribute and xml_text (as_llong, as_ullong and set_value/set overloads) * Added hexadecimal integer parsing support for as_int/as_uint/as_llong/as_ullong * Added xml_node::append_buffer to improve performance of assembling documents from fragments * xml_named_node_iterator is now bidirectional * Reduced XPath stack consumption during compilation and evaluation (useful for embedded systems) Compatibility improvements: * Improved support for platforms without wchar_t support * Fixed several false positives in clang static analysis * Fixed several compilation warnings for various GCC versions Bug fixes: * Fixed undefined pointer arithmetic in XPath implementation * Fixed non-seekable iostream support for certain stream types, i.e. boost file_source with pipe input * Fixed xpath_query::return_type() for some expressions * Fixed dllexport issues with xml_named_node_iterator * Fixed find_child_by_attribute assertion for attributes with null name/value - Removed fix_install_libdir.patch (not needed anynore). ------------------------------------------------------------------- Tue Jun 24 17:27:50 UTC 2014 - perry.werneck@gmail.com - Small change in "make install" to fix SLES build. ------------------------------------------------------------------- Sun Feb 17 22:02:33 UTC 2013 - asterios.dramis@gmail.com - Initial release (version 1.2). - Added a patch (fix_install_libdir.patch) to make the package install the library in the correct libdir (lib or lib64).