Skip to content

Commit

Permalink
Uno.Data.Xml: pugixml -> 1.13
Browse files Browse the repository at this point in the history
This upgrades pugixml to the latest version, silencing compile time
warnings seen when building using Xcode 14.
  • Loading branch information
mortend committed May 1, 2023
1 parent f6fa289 commit d0e26e3
Show file tree
Hide file tree
Showing 4 changed files with 5,856 additions and 2,696 deletions.
28 changes: 18 additions & 10 deletions lib/Uno.Data.Xml/cpp/pugiconfig.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**
* pugixml parser - version 1.2
* pugixml parser - version 1.13
* --------------------------------------------------------
* Copyright (C) 2006-2012, by Arseny Kapoulkine ([email protected])
* Report bugs and download new versions at http://pugixml.org/
* Copyright (C) 2006-2022, by Arseny Kapoulkine ([email protected])
* Report bugs and download new versions at https://pugixml.org/
*
* This library is distributed under the MIT License. See notice at the end
* of this file.
Expand All @@ -17,6 +17,9 @@
// Uncomment this to enable wchar_t mode
// #define PUGIXML_WCHAR_MODE

// Uncomment this to enable compact mode
// #define PUGIXML_COMPACT

// Uncomment this to disable XPath
#define PUGIXML_NO_XPATH

Expand All @@ -32,19 +35,24 @@
// #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead

// Tune these constants to adjust memory-related behavior
// #define PUGIXML_MEMORY_PAGE_SIZE 32768
// #define PUGIXML_MEMORY_OUTPUT_STACK 10240
// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096

// Tune this constant to adjust max nesting for XPath queries
// #define PUGIXML_XPATH_DEPTH_LIMIT 1024

// Uncomment this to switch to header-only version
// #define PUGIXML_HEADER_ONLY
// #include "pugixml.cpp"

// Tune these constants to adjust memory-related behavior
#define PUGIXML_MEMORY_PAGE_SIZE 2048
#define PUGIXML_MEMORY_OUTPUT_STACK 640
// #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096
// Uncomment this to enable long long support
// #define PUGIXML_HAS_LONG_LONG

#endif

/**
* Copyright (c) 2006-2012 Arseny Kapoulkine
* Copyright (c) 2006-2022 Arseny Kapoulkine
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand All @@ -57,7 +65,7 @@
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Expand Down
Loading

0 comments on commit d0e26e3

Please sign in to comment.