mirror of
https://github.com/zeux/pugixml.git
synced 2025-01-12 16:57:59 +08:00
Update library version to 1.15 and update docs
This commit is contained in:
parent
b299231ff7
commit
e7ed748b02
@ -5,7 +5,7 @@ if(POLICY CMP0091)
|
||||
cmake_policy(SET CMP0091 NEW) # Enables use of MSVC_RUNTIME_LIBRARY
|
||||
endif()
|
||||
|
||||
project(pugixml VERSION 1.14 LANGUAGES CXX)
|
||||
project(pugixml VERSION 1.15 LANGUAGES CXX)
|
||||
|
||||
include(CMakePackageConfigHelpers)
|
||||
include(CMakeDependentOption)
|
||||
|
@ -2203,6 +2203,25 @@ Because of the differences in document object models, performance considerations
|
||||
|
||||
:!numbered:
|
||||
|
||||
[[v1.15]]
|
||||
=== v1.15 ^2024-01-10^
|
||||
|
||||
Maintenance release. Changes:
|
||||
|
||||
* Improvements:
|
||||
. Many `xml_attribute::` and `xml_node::` functions now transparently support `std::string_view` and `std::string` when C++17 support is detected.
|
||||
|
||||
* CMake improvements:
|
||||
. 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
|
||||
|
||||
* Compatibility improvements:
|
||||
. 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
|
||||
|
||||
[[v1.14]]
|
||||
=== v1.14 ^2023-10-01^
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="generator" content="Asciidoctor 2.0.20">
|
||||
<meta name="author" content="website, repository">
|
||||
<title>pugixml 1.14 manual</title>
|
||||
<title>pugixml 1.15 manual</title>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
|
||||
<style>
|
||||
/*! Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */
|
||||
@ -508,7 +508,7 @@ pre.pygments .tok-il { color: #666666 } /* Literal.Number.Integer.Long */
|
||||
</head>
|
||||
<body class="article toc2 toc-right">
|
||||
<div id="header">
|
||||
<h1>pugixml 1.14 manual</h1>
|
||||
<h1>pugixml 1.15 manual</h1>
|
||||
<div class="details">
|
||||
<span id="author" class="author">website</span><br>
|
||||
<span id="email" class="email"><a href="https://pugixml.org" class="bare">https://pugixml.org</a></span><br>
|
||||
@ -603,6 +603,7 @@ pre.pygments .tok-il { color: #666666 } /* Literal.Number.Integer.Long */
|
||||
</li>
|
||||
<li><a href="#changes">9. Changelog</a>
|
||||
<ul class="sectlevel2">
|
||||
<li><a href="#v1.15">v1.15 <sup>2024-01-10</sup></a></li>
|
||||
<li><a href="#v1.14">v1.14 <sup>2023-10-01</sup></a></li>
|
||||
<li><a href="#v1.13">v1.13 <sup>2022-11-01</sup></a></li>
|
||||
<li><a href="#v1.12">v1.12 <sup>2022-02-09</sup></a></li>
|
||||
@ -758,9 +759,9 @@ pugixml is Copyright (C) 2006-2025 Arseny Kapoulkine.</pre>
|
||||
<p>You can download the latest source distribution as an archive:</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p><a href="https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.zip">pugixml-1.14.zip</a> (Windows line endings)
|
||||
<p><a href="https://github.com/zeux/pugixml/releases/download/v1.15/pugixml-1.15.zip">pugixml-1.15.zip</a> (Windows line endings)
|
||||
/
|
||||
<a href="https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz">pugixml-1.14.tar.gz</a> (Unix line endings)</p>
|
||||
<a href="https://github.com/zeux/pugixml/releases/download/v1.15/pugixml-1.15.tar.gz">pugixml-1.15.tar.gz</a> (Unix line endings)</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>The distribution contains library source, documentation (the manual you’re reading now and the quick start guide) and some code examples. After downloading the distribution, install pugixml by extracting all files from the compressed archive.</p>
|
||||
@ -781,7 +782,7 @@ pugixml is Copyright (C) 2006-2025 Arseny Kapoulkine.</pre>
|
||||
<div class="content">
|
||||
<pre class="pygments highlight"><code data-lang="bash">git clone https://github.com/zeux/pugixml
|
||||
cd pugixml
|
||||
git checkout v1.14</code></pre>
|
||||
git checkout v1.15</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
@ -798,7 +799,7 @@ git checkout v1.14</code></pre>
|
||||
</div>
|
||||
<div class="listingblock">
|
||||
<div class="content">
|
||||
<pre class="pygments highlight"><code data-lang="bash">svn checkout https://github.com/zeux/pugixml/tags/v1.14 pugixml</code></pre>
|
||||
<pre class="pygments highlight"><code data-lang="bash">svn checkout https://github.com/zeux/pugixml/tags/v1.15 pugixml</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -4129,6 +4130,61 @@ If exceptions are disabled, then in the event of parsing failure the query is in
|
||||
<h2 id="changes"><a class="anchor" href="#changes"></a><a class="link" href="#changes">9. Changelog</a></h2>
|
||||
<div class="sectionbody">
|
||||
<div class="sect2">
|
||||
<h3 id="v1.15"><a class="anchor" href="#v1.15"></a><a class="link" href="#v1.15">v1.15 <sup>2024-01-10</sup></a></h3>
|
||||
<div class="paragraph">
|
||||
<p>Maintenance release. Changes:</p>
|
||||
</div>
|
||||
<div class="ulist">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Improvements:</p>
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
<li>
|
||||
<p>Many <code>xml_attribute::</code> and <code>xml_node::</code> functions now transparently support <code>std::string_view</code> and <code>std::string</code> when C++17 support is detected.</p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<p>CMake improvements:</p>
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
<li>
|
||||
<p>Improve <code>pkg-config</code> file generation for NixOS</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>PUGIXML_BUILD_APPLE_FRAMEWORK</code> CMake option can be used to build pugixml as <code>.xcframework</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p><code>PUGIXML_INSTALL</code> CMake option can be used to disable installation targets</p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<p>Compatibility improvements:</p>
|
||||
<div class="olist arabic">
|
||||
<ol class="arabic">
|
||||
<li>
|
||||
<p>Fix clang/gcc warnings <code>-Wzero-as-null-pointer-constant</code>, <code>-Wuseless-cast</code>, <code>-Wshorten-64-to-32</code></p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Fix unreferenced function warnings in <code>PUGIXML_NO_STL</code> configuration</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Fix CMake 3.31 deprecation warnings</p>
|
||||
</li>
|
||||
<li>
|
||||
<p>Stop using deprecated <code>throw()</code> when <code>noexcept</code> is available</p>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="v1.14"><a class="anchor" href="#v1.14"></a><a class="link" href="#v1.14">v1.14 <sup>2023-10-01</sup></a></h3>
|
||||
<div class="paragraph">
|
||||
<p>Maintenance release. Changes:</p>
|
||||
@ -6216,7 +6272,7 @@ If exceptions are disabled, then in the event of parsing failure the query is in
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2025-01-10 07:29:37 -0800
|
||||
Last updated 2025-01-10 08:48:45 -0800
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -1,4 +1,4 @@
|
||||
pugixml 1.14 - an XML processing library
|
||||
pugixml 1.15 - an XML processing library
|
||||
|
||||
Copyright (C) 2006-2025, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
|
||||
Report bugs and download new versions at https://pugixml.org/
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>pugixml</id>
|
||||
<version>1.14.0-appveyor</version>
|
||||
<version>1.15.0-appveyor</version>
|
||||
<title>pugixml</title>
|
||||
<authors>Arseny Kapoulkine</authors>
|
||||
<owners>Arseny Kapoulkine</owners>
|
||||
|
@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "pugixml"
|
||||
s.version = "1.14"
|
||||
s.version = "1.15"
|
||||
s.summary = "C++ XML parser library."
|
||||
s.homepage = "https://pugixml.org"
|
||||
s.license = "MIT"
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include <winver.h>
|
||||
|
||||
#define PUGIXML_VERSION_MAJOR 1
|
||||
#define PUGIXML_VERSION_MINOR 14
|
||||
#define PUGIXML_VERSION_MINOR 15
|
||||
#define PUGIXML_VERSION_PATCH 0
|
||||
#define PUGIXML_VERSION_NUMBER "1.14.0\0"
|
||||
#define PUGIXML_VERSION_NUMBER "1.15.0\0"
|
||||
|
||||
#if defined(GCC_WINDRES) || defined(__MINGW32__) || defined(__CYGWIN__)
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* pugixml parser - version 1.14
|
||||
* pugixml parser - version 1.15
|
||||
* --------------------------------------------------------
|
||||
* Copyright (C) 2006-2025, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
|
||||
* Report bugs and download new versions at https://pugixml.org/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* pugixml parser - version 1.14
|
||||
* pugixml parser - version 1.15
|
||||
* --------------------------------------------------------
|
||||
* Copyright (C) 2006-2025, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
|
||||
* Report bugs and download new versions at https://pugixml.org/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* pugixml parser - version 1.14
|
||||
* pugixml parser - version 1.15
|
||||
* --------------------------------------------------------
|
||||
* Copyright (C) 2006-2025, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
|
||||
* Report bugs and download new versions at https://pugixml.org/
|
||||
@ -14,7 +14,7 @@
|
||||
// Define version macro; evaluates to major * 1000 + minor * 10 + patch so that it's safe to use in less-than comparisons
|
||||
// Note: pugixml used major * 100 + minor * 10 + patch format up until 1.9 (which had version identifier 190); starting from pugixml 1.10, the minor version number is two digits
|
||||
#ifndef PUGIXML_VERSION
|
||||
# define PUGIXML_VERSION 1140 // 1.14
|
||||
# define PUGIXML_VERSION 1150 // 1.15
|
||||
#endif
|
||||
|
||||
// Include user configuration file (this can define various configuration macros)
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "../src/pugixml.hpp"
|
||||
|
||||
#if PUGIXML_VERSION != 1140 // 1.14
|
||||
#if PUGIXML_VERSION != 1150 // 1.15
|
||||
#error Unexpected pugixml version
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user