mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 08:07:17 +07:00
update pugixml to 1.10
This commit is contained in:
2
headers/3rdparty/pugixml/pugiconfig.hpp
vendored
2
headers/3rdparty/pugixml/pugiconfig.hpp
vendored
@@ -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)
|
||||
* Report bugs and download new versions at https://pugixml.org/
|
||||
|
||||
16
headers/3rdparty/pugixml/pugixml.cpp
vendored
16
headers/3rdparty/pugixml/pugixml.cpp
vendored
@@ -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)
|
||||
* Report bugs and download new versions at https://pugixml.org/
|
||||
@@ -1861,7 +1861,7 @@ PUGI__NS_BEGIN
|
||||
enum chartypex_t
|
||||
{
|
||||
ctx_special_pcdata = 1, // Any symbol >= 0 and < 32 (except \t, \r, \n), &, <, >
|
||||
ctx_special_attr = 2, // Any symbol >= 0 and < 32, &, <, >, ", '
|
||||
ctx_special_attr = 2, // Any symbol >= 0 and < 32, &, <, ", '
|
||||
ctx_start_symbol = 4, // Any symbol > 127, a-z, A-Z, _
|
||||
ctx_digit = 8, // 0-9
|
||||
ctx_symbol = 16 // Any symbol > 127, a-z, A-Z, 0-9, _, -, .
|
||||
@@ -1872,7 +1872,7 @@ PUGI__NS_BEGIN
|
||||
3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 3, 3, 2, 3, 3, // 0-15
|
||||
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, // 16-31
|
||||
0, 0, 2, 0, 0, 0, 3, 2, 0, 0, 0, 0, 0, 16, 16, 0, // 32-47
|
||||
24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 0, 0, 3, 0, 3, 0, // 48-63
|
||||
24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 0, 0, 3, 0, 1, 0, // 48-63
|
||||
|
||||
0, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, // 64-79
|
||||
20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 0, 0, 0, 0, 20, // 80-95
|
||||
@@ -3930,11 +3930,17 @@ PUGI__NS_BEGIN
|
||||
++s;
|
||||
break;
|
||||
case '"':
|
||||
writer.write('&', 'q', 'u', 'o', 't', ';');
|
||||
if (flags & format_attribute_single_quote)
|
||||
writer.write('"');
|
||||
else
|
||||
writer.write('&', 'q', 'u', 'o', 't', ';');
|
||||
++s;
|
||||
break;
|
||||
case '\'':
|
||||
writer.write('&', 'a', 'p', 'o', 's', ';');
|
||||
if (flags & format_attribute_single_quote)
|
||||
writer.write('&', 'a', 'p', 'o', 's', ';');
|
||||
else
|
||||
writer.write('\'');
|
||||
++s;
|
||||
break;
|
||||
default: // s is not a usual symbol
|
||||
|
||||
7
headers/3rdparty/pugixml/pugixml.hpp
vendored
7
headers/3rdparty/pugixml/pugixml.hpp
vendored
@@ -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)
|
||||
* Report bugs and download new versions at https://pugixml.org/
|
||||
@@ -12,8 +12,9 @@
|
||||
*/
|
||||
|
||||
#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 PUGIXML_VERSION 190
|
||||
// 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
|
||||
#endif
|
||||
|
||||
// Include user configuration file (this can define various configuration macros)
|
||||
|
||||
Submodule modules/pugixml updated: fdf0295753...3c59df555b
Reference in New Issue
Block a user