- Jan 01, 2019
-
-
Arseny Kapoulkine authored
-
- Nov 12, 2018
-
-
Arseny Kapoulkine authored
-
- Oct 16, 2018
-
-
Lipsa, Dan authored
The following warning is removed: Visual Studio 14.0 1. warning C4275: non dll-interface class 'std::exception' used as base for dll-interface class 'vtkpugixml::xpath_exception'
-
- Sep 25, 2018
-
-
Arseny Kapoulkine authored
This change replaces xpath_node_set single element storage with a single-element array in hopes that this would silence Coverity false positive about getting a singleton pointer. Additionally, it refactors _assign member to unify small and large buffer codepaths since they are basically identical. Fixes #233 (hopefully)
-
- Jul 28, 2018
-
-
Arseny Kapoulkine authored
Fixes #224.
-
- Apr 03, 2018
-
-
Arseny Kapoulkine authored
-
- Mar 16, 2018
-
-
Arseny Kapoulkine authored
Define noexcept using _MSC_VER instead of _MSC_FULL_VER (first release of MSVC 2015 should have it), remove redundant PUGIXML_HAS_NOEXCEPT and define PUGIXML_NOEXCEPT_IF_NOT_COMPACT in terms of PUGIXML_NOEXCEPT.
-
- Mar 03, 2018
-
-
Matthäus Brandl authored
* Adds noexcept specifiers to the move special members of xml_document, but only #ifndef PUGIXML_COMPACT
-
- Mar 02, 2018
-
-
Matthäus Brandl authored
* Adds a macro definition to be able to use noexcept with supporting compilers * Adds noexcept specifier to move special members of xpath_node_set, xpath_variable_set and xpath_query, but not of xml_document as it has a throwing implementation
-
- Feb 27, 2018
-
-
Brandl, Matthäus (MBR) authored
Enables usage of override specifier for MSVC compilers (beginning with 17.0 which is the compiler of Visual Studio 2012)
-
- Jan 08, 2018
-
-
Arseny Kapoulkine authored
-
- Sep 26, 2017
-
-
Arseny Kapoulkine authored
This change implements the initial version of move construction and assignment support for documents. When moving a document to another document, we always make sure move target is in "clean" state (empty document), and proceed by relocating all structures in the most efficient way possible. Complications arise from the fact that the root (document) node is embedded into xml_document object, so all pointers to it have to change; this includes parent pointers of all first-level children as well as allocator pointers in all memory pages and previous pointer in the first on-heap memory page. Additionally, compact mode makes everything even more complicated because some of the pointers we need to update are stored in the hash table (in fact, document first_child pointer is very likely to be there; some parent pointers in first-level children will be using compact_shared_parent but some won't be) which requires allocating a new hash table which can fail. Some details of this process are not fully fleshed out, especially for compact mode; and this definitely requires many tests.
-
- Jun 22, 2017
-
-
Arseny Kapoulkine authored
These functions were deprecated via comments in 1.5 but never got the deprecated attribute; now is the time! Using deprecated functions produces a warning; to silence it, this change moves the relevant tests to a separate translation unit that has deprecation disabled.
-
- Jan 27, 2017
-
-
Arseny Kapoulkine authored
-
- Nov 09, 2016
-
-
Arseny Kapoulkine authored
Setting this flag outputs start and end tag for every element, including empty elements. Fixes #118.
-
Arseny Kapoulkine authored
-
- Nov 07, 2016
-
-
Arseny Kapoulkine authored
-
- Nov 06, 2016
-
-
Arseny Kapoulkine authored
MSVC 2010 supported move semantics (partially - but should be good enough for our use case).
-
Arseny Kapoulkine authored
Do it in one place and set PUGIXML_HAS_MOVE if it's available.
-
iFarbod authored
VS 2013 supports C++11, but __cplusplus macro isn't updated, and it is 199711 so the old check always fails, even though the compiler supports c++11.
-
- Oct 17, 2016
-
-
Pavel Kryukov authored
-
- Oct 05, 2016
-
-
Pavel Kryukov authored
-
- Feb 02, 2016
-
-
Arseny Kapoulkine authored
This makes the coverage for basic numeric types complete (sans long double). Fixes #78.
-
- Jan 24, 2016
-
-
Stephan Beyer authored
Git warns when it finds "whitespace errors". This commit gets rid of these whitespace errors for code and adoc files.
-
- Jan 13, 2016
-
-
Arseny Kapoulkine authored
Since round-tripping should not be a problem any more don't mention it.
-
- Jan 08, 2016
-
-
Arseny Kapoulkine authored
When this flag is true, PCDATA value is saved to the parent element instead of allocating a new node. This prevents some documents from round-tripping since it loses information, but can provide a significant memory reduction and parsing speedup for some documents.
-
- Dec 31, 2015
-
-
Arseny Kapoulkine authored
-
- Oct 10, 2015
-
-
Arseny Kapoulkine authored
-
- Sep 20, 2015
-
-
Arseny Kapoulkine authored
This does not really matter too much but it's better to be consistent.
-
- May 14, 2015
-
-
Arseny Kapoulkine authored
Extra argument 'hint' is used to start the attribute lookup; if the attribute is not found the lookup is restarted from the beginning of the attriubte list. This allows to optimize attribute lookups if you need to get many attributes from the node and can make assumptions about the likely ordering. The code is correct regardless of the order, but it is faster than using vanilla lookups if the order matches the calling order. Fixes #30.
-
- Apr 22, 2015
-
-
Arseny Kapoulkine authored
xpath_query, xpath_node_set and xpath_variable_set are now moveable. This is a nice performance optimization for variable/node sets, and enables storing xpath_query in containers without using pointers (it's only possible now since the query is not copyable).
-
- Apr 16, 2015
-
-
Arseny Kapoulkine authored
xpath_variable_set is essentially an associative container; it's about time it became copyable. Implementation is slightly tricky due to out of memory handling. Both copy ctor and assignment operator have strong exception guarantee (even if exceptions are disabled! which translates to "roll back on allocation errors").
-
- Apr 15, 2015
-
-
Arseny Kapoulkine authored
The type of the variable is now initialized correctly in the ctor, so that there is no interim invalid state.
-
Arseny Kapoulkine authored
Since the type of the set was updated before assignment, assigning in out-of-memory condition could change the type to not match the content.
-
- Apr 14, 2015
-
-
Arseny Kapoulkine authored
Fix code style and revert redundant parameters/whitespace changes. Also remove format_each_attribute_on_new_line - we're only introducing one extra formatting flag. The flag implies format_indent but does not include its bitmask. Also add a few more tests. Fixes #14.
-
- Apr 13, 2015
-
-
halex2005 authored
-
- Mar 21, 2015
-
-
Arseny Kapoulkine authored
-
- Mar 19, 2015
-
-
Arseny Kapoulkine authored
-
- Jan 17, 2015
-
-
Arseny Kapoulkine authored
Also fix the float/double member order in the header file.
-
Arseny Kapoulkine authored
-