Skip to content

Commit

Permalink
Update version to 1.11 and update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zeux committed Nov 25, 2020
1 parent 8afc123 commit 70bd6a6
Show file tree
Hide file tree
Showing 12 changed files with 394 additions and 300 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.4)
project(pugixml VERSION 1.10 LANGUAGES CXX)
project(pugixml VERSION 1.11 LANGUAGES CXX)

include(CMakePackageConfigHelpers)
include(CMakeDependentOption)
Expand Down
18 changes: 18 additions & 0 deletions docs/manual.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2138,6 +2138,24 @@ Because of the differences in document object models, performance considerations

:!numbered:

[[v1.11]]
=== v1.11 ^2020-11-26^

Maintenance release. Changes:

* New features:
. 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 improvements:
. XPath parser now limits recursion depth which prevents stack overflow on malicious queries

* Compatibility improvements:
. Fix Visual Studio warnings when built using clang-cl compiler
. Fix Wconversion warnings in gcc
. Fix Wzero-as-null-pointer-constant warnings in pugixml.hpp
. Work around several static analysis false positives

[[v1.10]]
=== v1.10 ^2019-09-15^

Expand Down
374 changes: 222 additions & 152 deletions docs/manual.html

Large diffs are not rendered by default.

280 changes: 143 additions & 137 deletions docs/quickstart.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pugixml 1.10 - an XML processing library
pugixml 1.11 - an XML processing library

Copyright (C) 2006-2019, by Arseny Kapoulkine ([email protected])
Report bugs and download new versions at https://pugixml.org/
Expand Down
2 changes: 1 addition & 1 deletion scripts/nuget/pugixml.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata>
<id>pugixml</id>
<version>1.10.0-appveyor</version>
<version>1.11.0-appveyor</version>
<title>pugixml</title>
<authors>Arseny Kapoulkine</authors>
<owners>Arseny Kapoulkine</owners>
Expand Down
2 changes: 1 addition & 1 deletion scripts/pugixml.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "pugixml"
s.version = "1.10"
s.version = "1.11"
s.summary = "C++ XML parser library."
s.homepage = "https://pugixml.org"
s.license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions scripts/pugixml_dll.rc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include <winver.h>

#define PUGIXML_VERSION_MAJOR 1
#define PUGIXML_VERSION_MINOR 10
#define PUGIXML_VERSION_MINOR 11
#define PUGIXML_VERSION_PATCH 0
#define PUGIXML_VERSION_NUMBER "1.10.0\0"
#define PUGIXML_VERSION_NUMBER "1.11.0\0"

#if defined(GCC_WINDRES) || defined(__MINGW32__)
VS_VERSION_INFO VERSIONINFO
Expand Down
2 changes: 1 addition & 1 deletion src/pugiconfig.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* pugixml parser - version 1.10
* pugixml parser - version 1.11
* --------------------------------------------------------
* Copyright (C) 2006-2019, by Arseny Kapoulkine ([email protected])
* Report bugs and download new versions at https://pugixml.org/
Expand Down
2 changes: 1 addition & 1 deletion src/pugixml.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* pugixml parser - version 1.10
* pugixml parser - version 1.11
* --------------------------------------------------------
* Copyright (C) 2006-2019, by Arseny Kapoulkine ([email protected])
* Report bugs and download new versions at https://pugixml.org/
Expand Down
4 changes: 2 additions & 2 deletions src/pugixml.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* pugixml parser - version 1.10
* pugixml parser - version 1.11
* --------------------------------------------------------
* Copyright (C) 2006-2019, by Arseny Kapoulkine ([email protected])
* Report bugs and download new versions at https://pugixml.org/
Expand All @@ -14,7 +14,7 @@
#ifndef PUGIXML_VERSION
// 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
# define PUGIXML_VERSION 1100
# define PUGIXML_VERSION 1110
#endif

// Include user configuration file (this can define various configuration macros)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_version.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "../src/pugixml.hpp"

#if PUGIXML_VERSION != 1100
#if PUGIXML_VERSION != 1110
#error Unexpected pugixml version
#endif

0 comments on commit 70bd6a6

Please sign in to comment.