summaryrefslogtreecommitdiff
path: root/docs/manual/changes.html
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-10 22:26:57 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-10 22:26:57 -0700
commite90d2ac8ba44fbcf4d5702643f708f2c86bde42e (patch)
treea52fe8e4efee8176da169998c203c1a93f6a6ff1 /docs/manual/changes.html
parent6457f0941204a79ec5ba359a12aa00bf06f0e621 (diff)
parent405fefc8777c55900a4e44561b545a9abb5276ba (diff)
Merge branch 'master' into compact
Diffstat (limited to 'docs/manual/changes.html')
-rw-r--r--docs/manual/changes.html1064
1 files changed, 0 insertions, 1064 deletions
diff --git a/docs/manual/changes.html b/docs/manual/changes.html
deleted file mode 100644
index a3495b2..0000000
--- a/docs/manual/changes.html
+++ /dev/null
@@ -1,1064 +0,0 @@
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Changelog</title>
-<link rel="stylesheet" href="../pugixml.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
-<link rel="home" href="../manual.html" title="pugixml 1.5">
-<link rel="up" href="../manual.html" title="pugixml 1.5">
-<link rel="prev" href="xpath.html" title="XPath">
-<link rel="next" href="apiref.html" title="API Reference">
-</head>
-<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table width="100%"><tr>
-<td>
-<a href="http://pugixml.org/">pugixml 1.5</a> manual |
- <a href="../manual.html">Overview</a> |
- <a href="install.html">Installation</a> |
- Document:
- <a href="dom.html">Object model</a> &middot; <a href="loading.html">Loading</a> &middot; <a href="access.html">Accessing</a> &middot; <a href="modify.html">Modifying</a> &middot; <a href="saving.html">Saving</a> |
- <a href="xpath.html">XPath</a> |
- <a href="apiref.html">API Reference</a> |
- <a href="toc.html">Table of Contents</a>
-</td>
-<td width="*" align="right"><div class="spirit-nav">
-<a accesskey="p" href="xpath.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../manual.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../manual.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="apiref.html"><img src="../images/next.png" alt="Next"></a>
-</div></td>
-</tr></table>
-<hr>
-<div class="section">
-<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="manual.changes"></a><a class="link" href="changes.html" title="Changelog"> Changelog</a>
-</h2></div></div></div>
-<a name="manual.changes.27_11_2014___version_1_5"></a><h6>
- <a class="link" href="changes.html#manual.changes.27_11_2014___version_1_5">27.11.2014 - version
- 1.5</a>
- </h6>
-<p>
- Major release, featuring a lot of performance improvements and some new features.
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- Specification changes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- xml_document::load(const char_t*) was renamed to load_string; the
- old method is still available and will be deprecated in a future
- release
- </li>
-<li class="listitem">
- xml_node::select_single_node was renamed to select_node; the old
- method is still available and will be deprecated in a future release.
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- New features:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Added xml_node::append_move and other functions for moving nodes
- within a document
- </li>
-<li class="listitem">
- Added xpath_query::evaluate_node for evaluating queries with a single
- node as a result
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Performance improvements:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Optimized XML parsing (10-40% faster with clang/gcc, up to 10% faster
- with MSVC)
- </li>
-<li class="listitem">
- Optimized memory consumption when copying nodes in the same document
- (string contents is now shared)
- </li>
-<li class="listitem">
- Optimized node copying (10% faster for cross-document copies, 3x
- faster for inter-document copies; also it now consumes a constant
- amount of stack space)
- </li>
-<li class="listitem">
- Optimized node output (60% faster; also it now consumes a constant
- amount of stack space)
- </li>
-<li class="listitem">
- Optimized XPath allocation (query evaluation now results in fewer
- temporary allocations)
- </li>
-<li class="listitem">
- Optimized XPath sorting (node set sorting is 2-3x faster in some
- cases)
- </li>
-<li class="listitem">
- Optimized XPath evaluation (XPathMark suite is 100x faster; some
- commonly used queries are 3-4x faster)
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Compatibility improvements:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed xml_node::offset_debug for corner cases
- </li>
-<li class="listitem">
- Fixed undefined behavior while calling memcpy in some cases
- </li>
-<li class="listitem">
- Fixed MSVC 2015 compilation warnings
- </li>
-<li class="listitem">
- Fixed contrib/foreach.hpp for Boost 1.56.0
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Bug fixes
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Adjusted comment output to avoid malformed documents if the comment
- value contains "--"
- </li>
-<li class="listitem">
- Fix XPath sorting for documents that were constructed using append_buffer
- </li>
-<li class="listitem">
- Fix load_file for wide-character paths with non-ASCII characters
- in MinGW with C++11 mode enabled
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.27_02_2014___version_1_4"></a><h6>
- <a class="link" href="changes.html#manual.changes.27_02_2014___version_1_4">27.02.2014 - version
- 1.4</a>
- </h6>
-<p>
- Major release, featuring various new features, bug fixes and compatibility
- improvements.
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- Specification changes:
- <div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
- Documents without element nodes are now rejected with status_no_document_element
- error, unless parse_fragment option is used
- </li></ol></div>
- </li>
-<li class="listitem">
- New features:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Added XML fragment parsing (parse_fragment flag)
- </li>
-<li class="listitem">
- Added PCDATA whitespace trimming (parse_trim_pcdata flag)
- </li>
-<li class="listitem">
- Added long long support for xml_attribute and xml_text (as_llong,
- as_ullong and set_value/set overloads)
- </li>
-<li class="listitem">
- Added hexadecimal integer parsing support for as_int/as_uint/as_llong/as_ullong
- </li>
-<li class="listitem">
- Added xml_node::append_buffer to improve performance of assembling
- documents from fragments
- </li>
-<li class="listitem">
- xml_named_node_iterator is now bidirectional
- </li>
-<li class="listitem">
- Reduced XPath stack consumption during compilation and evaluation
- (useful for embedded systems)
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Compatibility improvements:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Improved support for platforms without wchar_t support
- </li>
-<li class="listitem">
- Fixed several false positives in clang static analysis
- </li>
-<li class="listitem">
- Fixed several compilation warnings for various GCC versions
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed undefined pointer arithmetic in XPath implementation
- </li>
-<li class="listitem">
- Fixed non-seekable iostream support for certain stream types, i.e.
- boost file_source with pipe input
- </li>
-<li class="listitem">
- Fixed xpath_query::return_type() for some expressions
- </li>
-<li class="listitem">
- Fixed dllexport issues with xml_named_node_iterator
- </li>
-<li class="listitem">
- Fixed find_child_by_attribute assertion for attributes with null
- name/value
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.1_05_2012___version_1_2"></a><h6>
- <a class="link" href="changes.html#manual.changes.1_05_2012___version_1_2">1.05.2012 - version
- 1.2</a>
- </h6>
-<p>
- Major release, featuring header-only mode, various interface enhancements (i.e.
- PCDATA manipulation and C++11 iteration), many other features and compatibility
- improvements.
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- New features:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Added xml_text helper class for working with PCDATA/CDATA contents
- of an element node
- </li>
-<li class="listitem">
- Added optional header-only mode (controlled by PUGIXML_HEADER_ONLY
- define)
- </li>
-<li class="listitem">
- Added xml_node::children() and xml_node::attributes() for C++11 ranged
- for loop or BOOST_FOREACH
- </li>
-<li class="listitem">
- Added support for Latin-1 (ISO-8859-1) encoding conversion during
- loading and saving
- </li>
-<li class="listitem">
- Added custom default values for xml_attribute::as_* (they are returned if the attribute
- does not exist)
- </li>
-<li class="listitem">
- Added parse_ws_pcdata_single flag for preserving whitespace-only
- PCDATA in case it's the only child
- </li>
-<li class="listitem">
- Added format_save_file_text for xml_document::save_file to open files
- as text instead of binary (changes newlines on Windows)
- </li>
-<li class="listitem">
- Added format_no_escapes flag to disable special symbol escaping (complements
- ~parse_escapes)
- </li>
-<li class="listitem">
- Added support for loading document from streams that do not support
- seeking
- </li>
-<li class="listitem">
- Added PUGIXML_MEMORY_* constants for tweaking allocation behavior (useful for embedded
- systems)
- </li>
-<li class="listitem">
- Added PUGIXML_VERSION preprocessor define
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Compatibility improvements:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Parser does not require setjmp support (improves compatibility with
- some embedded platforms, enables clr:pure compilation)
- </li>
-<li class="listitem">
- STL forward declarations are no longer used (fixes SunCC/RWSTL compilation,
- fixes clang compilation in C++11 mode)
- </li>
-<li class="listitem">
- Fixed AirPlay SDK, Android, Windows Mobile (WinCE) and C++/CLI compilation
- </li>
-<li class="listitem">
- Fixed several compilation warnings for various GCC versions, Intel
- C++ compiler and Clang
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed unsafe bool conversion to avoid problems on C++/CLI
- </li>
-<li class="listitem">
- Iterator dereference operator is const now (fixes Boost filter_iterator
- support)
- </li>
-<li class="listitem">
- xml_document::save_file now checks for file I/O errors during saving
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.1_11_2010___version_1_0"></a><h6>
- <a class="link" href="changes.html#manual.changes.1_11_2010___version_1_0">1.11.2010 - version
- 1.0</a>
- </h6>
-<p>
- Major release, featuring many XPath enhancements, wide character filename support,
- miscellaneous performance improvements, bug fixes and more.
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- XPath:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- XPath implementation is moved to pugixml.cpp (which is the only source
- file now); use PUGIXML_NO_XPATH if you want to disable XPath to reduce
- code size
- </li>
-<li class="listitem">
- XPath is now supported without exceptions (PUGIXML_NO_EXCEPTIONS);
- the error handling mechanism depends on the presence of exception
- support
- </li>
-<li class="listitem">
- XPath is now supported without STL (PUGIXML_NO_STL)
- </li>
-<li class="listitem">
- Introduced variable support
- </li>
-<li class="listitem">
- Introduced new xpath_query::evaluate_string, which works without
- STL
- </li>
-<li class="listitem">
- Introduced new xpath_node_set constructor (from an iterator range)
- </li>
-<li class="listitem">
- Evaluation function now accept attribute context nodes
- </li>
-<li class="listitem">
- All internal allocations use custom allocation functions
- </li>
-<li class="listitem">
- Improved error reporting; now a last parsed offset is returned together
- with the parsing error
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed memory leak for loading from streams with stream exceptions
- turned on
- </li>
-<li class="listitem">
- Fixed custom deallocation function calling with null pointer in one
- case
- </li>
-<li class="listitem">
- Fixed missing attributes for iterator category functions; all functions/classes
- can now be DLL-exported
- </li>
-<li class="listitem">
- Worked around Digital Mars compiler bug, which lead to minor read
- overfetches in several functions
- </li>
-<li class="listitem">
- load_file now works with 2+ Gb files in MSVC/MinGW
- </li>
-<li class="listitem">
- XPath: fixed memory leaks for incorrect queries
- </li>
-<li class="listitem">
- XPath: fixed xpath_node() attribute constructor with empty attribute
- argument
- </li>
-<li class="listitem">
- XPath: fixed lang() function for non-ASCII arguments
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Specification changes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- CDATA nodes containing ]]&gt; are printed as several nodes; while
- this changes the internal structure, this is the only way to escape
- CDATA contents
- </li>
-<li class="listitem">
- Memory allocation errors during parsing now preserve last parsed
- offset (to give an idea about parsing progress)
- </li>
-<li class="listitem">
- If an element node has the only child, and it is of CDATA type, then
- the extra indentation is omitted (previously this behavior only held
- for PCDATA children)
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Additional functionality:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Added xml_parse_result default constructor
- </li>
-<li class="listitem">
- Added xml_document::load_file and xml_document::save_file with wide
- character paths
- </li>
-<li class="listitem">
- Added as_utf8 and as_wide overloads for std::wstring/std::string
- arguments
- </li>
-<li class="listitem">
- Added DOCTYPE node type (node_doctype) and a special parse flag,
- parse_doctype, to add such nodes to the document during parsing
- </li>
-<li class="listitem">
- Added parse_full parse flag mask, which extends parse_default with
- all node type parsing flags except parse_ws_pcdata
- </li>
-<li class="listitem">
- Added xml_node::hash_value() and xml_attribute::hash_value() functions
- for use in hash-based containers
- </li>
-<li class="listitem">
- Added internal_object() and additional constructor for both xml_node
- and xml_attribute for easier marshalling (useful for language bindings)
- </li>
-<li class="listitem">
- Added xml_document::document_element() function
- </li>
-<li class="listitem">
- Added xml_node::prepend_attribute, xml_node::prepend_child and xml_node::prepend_copy
- functions
- </li>
-<li class="listitem">
- Added xml_node::append_child, xml_node::prepend_child, xml_node::insert_child_before
- and xml_node::insert_child_after overloads for element nodes (with
- name instead of type)
- </li>
-<li class="listitem">
- Added xml_document::reset() function
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Performance improvements:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- xml_node::root() and xml_node::offset_debug() are now O(1) instead
- of O(logN)
- </li>
-<li class="listitem">
- Minor parsing optimizations
- </li>
-<li class="listitem">
- Minor memory optimization for strings in DOM tree (set_name/set_value)
- </li>
-<li class="listitem">
- Memory optimization for string memory reclaiming in DOM tree (set_name/set_value
- now reallocate the buffer if memory waste is too big)
- </li>
-<li class="listitem">
- XPath: optimized document order sorting
- </li>
-<li class="listitem">
- XPath: optimized child/attribute axis step
- </li>
-<li class="listitem">
- XPath: optimized number-to-string conversions in MSVC
- </li>
-<li class="listitem">
- XPath: optimized concat for many arguments
- </li>
-<li class="listitem">
- XPath: optimized evaluation allocation mechanism: constant and document
- strings are not heap-allocated
- </li>
-<li class="listitem">
- XPath: optimized evaluation allocation mechanism: all temporaries'
- allocations use fast stack-like allocator
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Compatibility:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Removed wildcard functions (xml_node::child_w, xml_node::attribute_w,
- etc.)
- </li>
-<li class="listitem">
- Removed xml_node::all_elements_by_name
- </li>
-<li class="listitem">
- Removed xpath_type_t enumeration; use xpath_value_type instead
- </li>
-<li class="listitem">
- Removed format_write_bom_utf8 enumeration; use format_write_bom instead
- </li>
-<li class="listitem">
- Removed xml_document::precompute_document_order, xml_attribute::document_order
- and xml_node::document_order functions; document order sort optimization
- is now automatic
- </li>
-<li class="listitem">
- Removed xml_document::parse functions and transfer_ownership struct;
- use xml_document::load_buffer_inplace and xml_document::load_buffer_inplace_own
- instead
- </li>
-<li class="listitem">
- Removed as_utf16 function; use as_wide instead
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.1_07_2010___version_0_9"></a><h6>
- <a class="link" href="changes.html#manual.changes.1_07_2010___version_0_9">1.07.2010 - version
- 0.9</a>
- </h6>
-<p>
- Major release, featuring extended and improved Unicode support, miscellaneous
- performance improvements, bug fixes and more.
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- Major Unicode improvements:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Introduced encoding support (automatic/manual encoding detection
- on load, manual encoding selection on save, conversion from/to UTF8,
- UTF16 LE/BE, UTF32 LE/BE)
- </li>
-<li class="listitem">
- Introduced wchar_t mode (you can set PUGIXML_WCHAR_MODE define to
- switch pugixml internal encoding from UTF8 to wchar_t; all functions
- are switched to their Unicode variants)
- </li>
-<li class="listitem">
- Load/save functions now support wide streams
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed document corruption on failed parsing bug
- </li>
-<li class="listitem">
- XPath string &lt;-&gt; number conversion improvements (increased
- precision, fixed crash for huge numbers)
- </li>
-<li class="listitem">
- Improved DOCTYPE parsing: now parser recognizes all well-formed DOCTYPE
- declarations
- </li>
-<li class="listitem">
- Fixed xml_attribute::as_uint() for large numbers (i.e. 2^32-1)
- </li>
-<li class="listitem">
- Fixed xml_node::first_element_by_path for path components that are
- prefixes of node names, but are not exactly equal to them.
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Specification changes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- parse() API changed to load_buffer/load_buffer_inplace/load_buffer_inplace_own;
- load_buffer APIs do not require zero-terminated strings.
- </li>
-<li class="listitem">
- Renamed as_utf16 to as_wide
- </li>
-<li class="listitem">
- Changed xml_node::offset_debug return type and xml_parse_result::offset
- type to ptrdiff_t
- </li>
-<li class="listitem">
- Nodes/attributes with empty names are now printed as :anonymous
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Performance improvements:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Optimized document parsing and saving
- </li>
-<li class="listitem">
- Changed internal memory management: internal allocator is used for
- both metadata and name/value data; allocated pages are deleted if
- all allocations from them are deleted
- </li>
-<li class="listitem">
- Optimized memory consumption: sizeof(xml_node_struct) reduced from
- 40 bytes to 32 bytes on x86
- </li>
-<li class="listitem">
- Optimized debug mode parsing/saving by order of magnitude
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Miscellaneous:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- All STL includes except &lt;exception&gt; in pugixml.hpp are replaced
- with forward declarations
- </li>
-<li class="listitem">
- xml_node::remove_child and xml_node::remove_attribute now return
- the operation result
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Compatibility:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- parse() and as_utf16 are left for compatibility (these functions
- are deprecated and will be removed in version 1.0)
- </li>
-<li class="listitem">
- Wildcard functions, document_order/precompute_document_order functions,
- all_elements_by_name function and format_write_bom_utf8 flag are
- deprecated and will be removed in version 1.0
- </li>
-<li class="listitem">
- xpath_type_t enumeration was renamed to xpath_value_type; xpath_type_t
- is deprecated and will be removed in version 1.0
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.8_11_2009___version_0_5"></a><h6>
- <a class="link" href="changes.html#manual.changes.8_11_2009___version_0_5">8.11.2009 - version
- 0.5</a>
- </h6>
-<p>
- Major bugfix release. Changes:
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- XPath bugfixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed translate(), lang() and concat() functions (infinite loops/crashes)
- </li>
-<li class="listitem">
- Fixed compilation of queries with empty literal strings ("")
- </li>
-<li class="listitem">
- Fixed axis tests: they never add empty nodes/attributes to the resulting
- node set now
- </li>
-<li class="listitem">
- Fixed string-value evaluation for node-set (the result excluded some
- text descendants)
- </li>
-<li class="listitem">
- Fixed self:: axis (it behaved like ancestor-or-self::)
- </li>
-<li class="listitem">
- Fixed following:: and preceding:: axes (they included descendent
- and ancestor nodes, respectively)
- </li>
-<li class="listitem">
- Minor fix for namespace-uri() function (namespace declaration scope
- includes the parent element of namespace declaration attribute)
- </li>
-<li class="listitem">
- Some incorrect queries are no longer parsed now (i.e. foo: *)
- </li>
-<li class="listitem">
- Fixed text()/etc. node test parsing bug (i.e. foo[text()] failed
- to compile)
- </li>
-<li class="listitem">
- Fixed root step (/) - it now selects empty node set if query is evaluated
- on empty node
- </li>
-<li class="listitem">
- Fixed string to number conversion ("123 " converted to
- NaN, "123 .456" converted to 123.456 - now the results
- are 123 and NaN, respectively)
- </li>
-<li class="listitem">
- Node set copying now preserves sorted type; leads to better performance
- on some queries
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Miscellaneous bugfixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed xml_node::offset_debug for PI nodes
- </li>
-<li class="listitem">
- Added empty attribute checks to xml_node::remove_attribute
- </li>
-<li class="listitem">
- Fixed node_pi and node_declaration copying
- </li>
-<li class="listitem">
- Const-correctness fixes
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Specification changes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- xpath_node::select_nodes() and related functions now throw exception
- if expression return type is not node set (instead of assertion)
- </li>
-<li class="listitem">
- xml_node::traverse() now sets depth to -1 for both begin() and end()
- callbacks (was 0 at begin() and -1 at end())
- </li>
-<li class="listitem">
- In case of non-raw node printing a newline is output after PCDATA
- inside nodes if the PCDATA has siblings
- </li>
-<li class="listitem">
- UTF8 -&gt; wchar_t conversion now considers 5-byte UTF8-like sequences
- as invalid
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- New features:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Added xpath_node_set::operator[] for index-based iteration
- </li>
-<li class="listitem">
- Added xpath_query::return_type()
- </li>
-<li class="listitem">
- Added getter accessors for memory-management functions
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.17_09_2009___version_0_42"></a><h6>
- <a class="link" href="changes.html#manual.changes.17_09_2009___version_0_42">17.09.2009 - version
- 0.42</a>
- </h6>
-<p>
- Maintenance release. Changes:
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed deallocation in case of custom allocation functions or if delete[]
- / free are incompatible
- </li>
-<li class="listitem">
- XPath parser fixed for incorrect queries (i.e. incorrect XPath queries
- should now always fail to compile)
- </li>
-<li class="listitem">
- Const-correctness fixes for find_child_by_attribute
- </li>
-<li class="listitem">
- Improved compatibility (miscellaneous warning fixes, fixed cstring
- include dependency for GCC)
- </li>
-<li class="listitem">
- Fixed iterator begin/end and print function to work correctly for
- empty nodes
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- New features:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Added PUGIXML_API/PUGIXML_CLASS/PUGIXML_FUNCTION configuration macros
- to control class/function attributes
- </li>
-<li class="listitem">
- Added xml_attribute::set_value overloads for different types
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.8_02_2009___version_0_41"></a><h6>
- <a class="link" href="changes.html#manual.changes.8_02_2009___version_0_41">8.02.2009 - version
- 0.41</a>
- </h6>
-<p>
- Maintenance release. Changes:
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem">
- Fixed bug with node printing (occasionally some content was not written
- to output stream)
- </li></ol></div>
- </li></ul></div>
-<a name="manual.changes.18_01_2009___version_0_4"></a><h6>
- <a class="link" href="changes.html#manual.changes.18_01_2009___version_0_4">18.01.2009 - version
- 0.4</a>
- </h6>
-<p>
- Changes:
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Documentation fix in samples for parse() with manual lifetime control
- </li>
-<li class="listitem">
- Fixed document order sorting in XPath (it caused wrong order of nodes
- after xpath_node_set::sort and wrong results of some XPath queries)
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Node printing changes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Single quotes are no longer escaped when printing nodes
- </li>
-<li class="listitem">
- Symbols in second half of ASCII table are no longer escaped when
- printing nodes; because of this, format_utf8 flag is deleted as it's
- no longer needed and format_write_bom is renamed to format_write_bom_utf8.
- </li>
-<li class="listitem">
- Reworked node printing - now it works via xml_writer interface; implementations
- for FILE* and std::ostream are available. As a side-effect, xml_document::save_file
- now works without STL.
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- New features:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Added unsigned integer support for attributes (xml_attribute::as_uint,
- xml_attribute::operator=)
- </li>
-<li class="listitem">
- Now document declaration (&lt;?xml ...?&gt;) is parsed as node with
- type node_declaration when parse_declaration flag is specified (access
- to encoding/version is performed as if they were attributes, i.e.
- doc.child("xml").attribute("version").as_float());
- corresponding flags for node printing were also added
- </li>
-<li class="listitem">
- Added support for custom memory management (see set_memory_management_functions
- for details)
- </li>
-<li class="listitem">
- Implemented node/attribute copying (see xml_node::insert_copy_* and
- xml_node::append_copy for details)
- </li>
-<li class="listitem">
- Added find_child_by_attribute and find_child_by_attribute_w to simplify
- parsing code in some cases (i.e. COLLADA files)
- </li>
-<li class="listitem">
- Added file offset information querying for debugging purposes (now
- you're able to determine exact location of any xml_node in parsed
- file, see xml_node::offset_debug for details)
- </li>
-<li class="listitem">
- Improved error handling for parsing - now load(), load_file() and
- parse() return xml_parse_result, which contains error code and last
- parsed offset; this does not break old interface as xml_parse_result
- can be implicitly casted to bool.
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.31_10_2007___version_0_34"></a><h6>
- <a class="link" href="changes.html#manual.changes.31_10_2007___version_0_34">31.10.2007 - version
- 0.34</a>
- </h6>
-<p>
- Maintenance release. Changes:
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed bug with loading from text-mode iostreams
- </li>
-<li class="listitem">
- Fixed leak when transfer_ownership is true and parsing is failing
- </li>
-<li class="listitem">
- Fixed bug in saving (\r and \n are now escaped in attribute values)
- </li>
-<li class="listitem">
- Renamed free() to destroy() - some macro conflicts were reported
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- New features:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Improved compatibility (supported Digital Mars C++, MSVC 6, CodeWarrior
- 8, PGI C++, Comeau, supported PS3 and XBox360)
- </li>
-<li class="listitem">
- PUGIXML_NO_EXCEPTION flag for platforms without exception handling
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.21_02_2007___version_0_3"></a><h6>
- <a class="link" href="changes.html#manual.changes.21_02_2007___version_0_3">21.02.2007 - version
- 0.3</a>
- </h6>
-<p>
- Refactored, reworked and improved version. Changes:
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- Interface:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Added XPath
- </li>
-<li class="listitem">
- Added tree modification functions
- </li>
-<li class="listitem">
- Added no STL compilation mode
- </li>
-<li class="listitem">
- Added saving document to file
- </li>
-<li class="listitem">
- Refactored parsing flags
- </li>
-<li class="listitem">
- Removed xml_parser class in favor of xml_document
- </li>
-<li class="listitem">
- Added transfer ownership parsing mode
- </li>
-<li class="listitem">
- Modified the way xml_tree_walker works
- </li>
-<li class="listitem">
- Iterators are now non-constant
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- Implementation:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Support of several compilers and platforms
- </li>
-<li class="listitem">
- Refactored and sped up parsing core
- </li>
-<li class="listitem">
- Improved standard compliancy
- </li>
-<li class="listitem">
- Added XPath implementation
- </li>
-<li class="listitem">
- Fixed several bugs
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.6_11_2006___version_0_2"></a><h6>
- <a class="link" href="changes.html#manual.changes.6_11_2006___version_0_2">6.11.2006 - version
- 0.2</a>
- </h6>
-<p>
- First public release. Changes:
- </p>
-<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
-<li class="listitem">
- Bug fixes:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Fixed child_value() (for empty nodes)
- </li>
-<li class="listitem">
- Fixed xml_parser_impl warning at W4
- </li>
-</ol></div>
- </li>
-<li class="listitem">
- New features:
- <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem">
- Introduced child_value(name) and child_value_w(name)
- </li>
-<li class="listitem">
- parse_eol_pcdata and parse_eol_attribute flags + parse_minimal optimizations
- </li>
-<li class="listitem">
- Optimizations of strconv_t
- </li>
-</ol></div>
- </li>
-</ul></div>
-<a name="manual.changes.15_07_2006___version_0_1"></a><h6>
- <a class="link" href="changes.html#manual.changes.15_07_2006___version_0_1">15.07.2006 - version
- 0.1</a>
- </h6>
-<p>
- First private release for testing purposes
- </p>
-</div>
-<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"></td>
-<td align="right"><div class="copyright-footer">Copyright &#169; 2014 Arseny Kapoulkine<p>
- Distributed under the MIT License
- </p>
-</div></td>
-</tr></table>
-<hr>
-<table width="100%"><tr>
-<td>
-<a href="http://pugixml.org/">pugixml 1.5</a> manual |
- <a href="../manual.html">Overview</a> |
- <a href="install.html">Installation</a> |
- Document:
- <a href="dom.html">Object model</a> &middot; <a href="loading.html">Loading</a> &middot; <a href="access.html">Accessing</a> &middot; <a href="modify.html">Modifying</a> &middot; <a href="saving.html">Saving</a> |
- <a href="xpath.html">XPath</a> |
- <a href="apiref.html">API Reference</a> |
- <a href="toc.html">Table of Contents</a>
-</td>
-<td width="*" align="right"><div class="spirit-nav">
-<a accesskey="p" href="xpath.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../manual.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../manual.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="apiref.html"><img src="../images/next.png" alt="Next"></a>
-</div></td>
-</tr></table>
-</body>
-</html>