Commit Graph

14 Commits

Author SHA1 Message Date
Wang Mingyu 19e2f3f15a pugixml: upgrade 1.14 -> 1.15
License-Update: Copyright year updated to 2025.

Changelog:
==========
- Many xml_attribute:: and xml_node:: functions now transparently support
  std::string_view and std::string when C++17 support is detected.
- Improve pkg-config file generation for NixOS
- PUGIXML_BUILD_APPLE_FRAMEWORK CMake option can be used to build pugixml
  as .xcframework
- PUGIXML_INSTALL CMake option can be used to disable installation targets
- Fix clang/gcc warnings -Wzero-as-null-pointer-constant, -Wuseless-cast,
  -Wshorten-64-to-32
- Fix unreferenced function warnings in PUGIXML_NO_STL configuration
- Fix CMake 3.31 deprecation warnings
- Stop using deprecated throw() when noexcept is available

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-14 08:52:05 -08:00
Yoann Congal a6ddec6171 pugixml: update UPSTREAM_CHECK_* variables to fix devtool upgrades
Update UPSTREAM_CHECK_* variables to fix UNKNOWN_BROKEN status with devtool
check-upgrade-status.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Alexandre Truong <alexandre.truong@smile.fr>
2024-07-24 08:56:47 -07:00
Markus Volk 4b59083f4c pugixml: Update 1.13 -> 1.14
Improvements:

xml_attribute::set_name and xml_node::set_name now have overloads that accept pointer to non-null-terminated string and size
Implement parse_merge_pcdata parsing mode in which PCDATA contents is merged into a single node when original document had comments that were skipped during parsing
xml_document::load_file now returns a more consistent error status when given a path to a folder
Bug fixes:

Fix assertion in XPath number→string conversion when using non-English locales
Fix PUGIXML_STATIC_CRT CMake option to correctly select static CRT when using MSVC and recent CMake
Compatibility improvements:

Fix GCC 2.95/3.3 builds
Fix CMake 3.27 deprecation warnings
Fix XCode 14 sprintf deprecation warning when compiling in C++03 mode
Fix clang/gcc warnings -Wweak-vtables, -Wreserved-macro-identifier
Thanks to @DavidKorczynski, @jiangqucheng, @SoapGentoo, @asmaloney, @ArchXUser, @stefanroellin and @vineethkuttan for contributions!

- license checksum has changed because of copyright year

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-04 13:09:38 -07:00
Markus Volk c1b13a0682 pugixml: upgrade 1.12 -> 1.13
v1.13 2022-11-01
Maintenance release. Changes:

Improvements:
- xml_attribute::set_value, xml_node::set_value and xml_text::set now have overloads that accept pointer to non-null-terminated string and size
- Improve performance of tree traversal when using compact mode (PUGIXML_COMPACT)

Bug fixes:
- Fix error handling in xml_document::save_file that could result in the function succeeding while running out of disk space
- Fix memory leak during error handling of some out-of-memory conditions during xml_document::load

Compatibility improvements:
- Fix exported symbols in CMake DLL builds when using CMake
- Fix exported symbols in CMake shared object builds when using -fvisibility=hidden

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-07 08:39:05 -08:00
Zheng Ruoqin e40eb83ded pugixml: upgrade 1.11.4 -> 1.12
License-Update: year updated to 2022.

Changelog:
=========
Bug fixes:
----------
-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

XPath improvements:
-------------------
-Improved detection of overly complex queries that may result in stack overflow
 during parsing

Compatibility improvements:
--------------------------
-Fix Cygwin support for DLL builds
-Fix Windows CE support
-Add NuGet builds and project files for VS2022

Build system changes:
--------------------
-All CMake options now have the prefix PUGIXML_. This may require changing
 dependent build configurations.
-Many build settings are now exposed via CMake settings, most notably
 PUGIXML_COMPACT and PUGIXML_WCHAR_MODE can be set without changing pugiconfig.hpp

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-23 09:25:19 -08:00
zhengruoqin 79a08a94b1 pugixml: upgrade 1.11.2 -> 1.11.4
Changelog:
=========
This patch reintroduces pugixml target for CMake when find_package is used,
which was accidentally removed from v1.11.
It's recommended that pugixml::pugixml target is used instead, but this patch
restores pugixml target for existing applications / libraries that depend on it.

The previous patch, v1.11.3, did not handle repeated attempts to call
find_package; this patch fixes that particular corner case.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-05 11:10:02 -08:00
zhengruoqin 94fe89bbaf pugixml: upgrade 1.11 -> 1.11.2
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-18 08:23:14 -08:00
Zang Ruochen 9099626c21 pugixml: upgrade 1.10 -> 1.11
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-03 22:32:56 -08:00
Konrad Weihmann 31fb85103b pugixml: fix typo for homepage
Fix typo for HOMEPAGE var

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-31 22:42:25 -07:00
Bartłomiej Burdukiewicz 157b563cc9 pugixml: add native and nativesdk BBCLASSEXTEND
Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-05 16:23:36 -07:00
Bartłomiej Burdukiewicz dcede6c504 pugixml: generate pkgconfig files.
This fixes build of kodi that is expecting proper
pkgconfig files for pugixml.

Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-05 16:23:36 -07:00
Pierre-Jean Texier 07196b6a8c pugixml: fix upstream version check
Fixes:

INFO: Skip package pugixml (status = UNKNOWN_BROKEN, current version = 1.10, next version = N/A)

After this commit:

INFO: Skip package pugixml (status = MATCH, current version = 1.10, next version = 1.10)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-05 07:11:50 -08:00
Andreas Oberritter fba182f5e5 pugixml: Update to version 1.10
Licence checksum changed due to updated copyright statement.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-10 07:52:39 -08:00
Anuj Mittal c15a701afd pugixml: add recipe
pugixml is a light-weight, simple and fast XML parser for C++ with XPath
support.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-27 12:11:16 -07:00