Update version to 1.10

Note: this chang also updates PUGIXML_VERSION macro to allow for
double-digit minor versions; this preserves the continuity of versions
so PUGIXML_VERSION >= 190 will still work.
This commit is contained in:
Arseny Kapoulkine 2019-09-11 20:53:14 -07:00
parent 84e322738b
commit 44e4d7e40b
8 changed files with 11 additions and 10 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.0)
project(pugixml VERSION 1.9) project(pugixml VERSION 1.10)
option(BUILD_SHARED_AND_STATIC_LIBS "Build both shared and static libraries" OFF) option(BUILD_SHARED_AND_STATIC_LIBS "Build both shared and static libraries" OFF)
option(BUILD_SHARED_LIBS "Build shared instead of static library" OFF) option(BUILD_SHARED_LIBS "Build shared instead of static library" OFF)

View File

@ -1,4 +1,4 @@
pugixml 1.9 - an XML processing library pugixml 1.10 - an XML processing library
Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
Report bugs and download new versions at https://pugixml.org/ Report bugs and download new versions at https://pugixml.org/

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/10/nuspec.xsd">
<metadata> <metadata>
<id>pugixml</id> <id>pugixml</id>
<version>1.9.0-appveyor</version> <version>1.10.0-appveyor</version>
<title>pugixml</title> <title>pugixml</title>
<authors>Arseny Kapoulkine</authors> <authors>Arseny Kapoulkine</authors>
<owners>Arseny Kapoulkine</owners> <owners>Arseny Kapoulkine</owners>

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = "pugixml" s.name = "pugixml"
s.version = "1.9" s.version = "1.10"
s.summary = "C++ XML parser library." s.summary = "C++ XML parser library."
s.homepage = "https://pugixml.org" s.homepage = "https://pugixml.org"
s.license = "MIT" s.license = "MIT"

View File

@ -1,5 +1,5 @@
/** /**
* pugixml parser - version 1.9 * pugixml parser - version 1.10
* -------------------------------------------------------- * --------------------------------------------------------
* Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) * Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
* Report bugs and download new versions at https://pugixml.org/ * Report bugs and download new versions at https://pugixml.org/

View File

@ -1,5 +1,5 @@
/** /**
* pugixml parser - version 1.9 * pugixml parser - version 1.10
* -------------------------------------------------------- * --------------------------------------------------------
* Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) * Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
* Report bugs and download new versions at https://pugixml.org/ * Report bugs and download new versions at https://pugixml.org/

View File

@ -1,5 +1,5 @@
/** /**
* pugixml parser - version 1.9 * pugixml parser - version 1.10
* -------------------------------------------------------- * --------------------------------------------------------
* Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com) * Copyright (C) 2006-2019, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
* Report bugs and download new versions at https://pugixml.org/ * Report bugs and download new versions at https://pugixml.org/
@ -12,8 +12,9 @@
*/ */
#ifndef PUGIXML_VERSION #ifndef PUGIXML_VERSION
// Define version macro; evaluates to major * 100 + minor * 10 + patch so that it's safe to use in less-than comparisons // Define version macro; evaluates to major * 1000 + minor * 10 + patch so that it's safe to use in less-than comparisons
# define PUGIXML_VERSION 190 // 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
#endif #endif
// Include user configuration file (this can define various configuration macros) // Include user configuration file (this can define various configuration macros)

View File

@ -1,5 +1,5 @@
#include "../src/pugixml.hpp" #include "../src/pugixml.hpp"
#if PUGIXML_VERSION != 190 #if PUGIXML_VERSION != 1100
#error Unexpected pugixml version #error Unexpected pugixml version
#endif #endif