From 186e491d1e7f7bddc04d5169084b224a648aa457 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sun, 31 Oct 2010 07:45:27 +0000 Subject: docs: Regenerated HTML documentation git-svn-id: http://pugixml.googlecode.com/svn/trunk@790 99668b35-9821-0410-8761-19e4c4f06640 --- docs/manual/changes.html | 228 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 224 insertions(+), 4 deletions(-) (limited to 'docs/manual/changes.html') diff --git a/docs/manual/changes.html b/docs/manual/changes.html index 38e0cda..78cde23 100644 --- a/docs/manual/changes.html +++ b/docs/manual/changes.html @@ -4,14 +4,15 @@ Changelog - - + + -
pugixml 0.9 manual | + +pugixml 1.0 manual | Overview | Installation | Document: @@ -29,6 +30,224 @@ +
+ 1.11.2010 - version + 1.0 +
+

+ Major release, featuring many XPath enhancements, wide character filename support, + miscellaneous performance improvements, bug fixes and more. +

+
    +
  • + XPath: +
      +
    1. + 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 +
    2. +
    3. + XPath is now supported without exceptions (PUGIXML_NO_EXCEPTIONS); + the error handling mechanism depends on the presence of exception + support +
    4. +
    5. + XPath is now supported without STL (PUGIXML_NO_STL) +
    6. +
    7. + Introduced variable support +
    8. +
    9. + Introduced new xpath_query::evaluate_string, which works without + STL +
    10. +
    11. + Introduced new xpath_node_set constructor (from an iterator range) +
    12. +
    13. + Evaluation function now accept attribute context nodes +
    14. +
    15. + All internal allocations use custom allocation functions +
    16. +
    17. + Improved error reporting; now a last parsed offset is returned together + with the parsing error +
    18. +
    +
  • +
  • + Bug fixes: +
      +
    1. + Fixed memory leak for loading from streams with stream exceptions + turned on +
    2. +
    3. + Fixed custom deallocation function calling with null pointer in one + case +
    4. +
    5. + Fixed missing attributes for iterator category functions; all functions/classes + can now be DLL-exported +
    6. +
    7. + Worked around Digital Mars compiler bug, which lead to minor read + overfetches in several functions +
    8. +
    9. + load_file now works with 2+ Gb files in MSVC/MinGW +
    10. +
    11. + XPath: fixed memory leaks for incorrect queries +
    12. +
    13. + XPath: fixed xpath_node() attribute constructor with empty attribute + argument +
    14. +
    15. + XPath: fixed lang() function for non-ASCII arguments +
    16. +
    +
  • +
  • + Specification changes: +
      +
    1. + CDATA nodes containing ]]> are printed as several nodes; while + this changes the internal structure, this is the only way to escape + CDATA contents +
    2. +
    3. + Memory allocation errors during parsing now preserve last parsed + offset (to give an idea about parsing progress) +
    4. +
    5. + 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) +
    6. +
    +
  • +
  • + Additional functionality: +
      +
    1. + Added xml_parse_result default constructor +
    2. +
    3. + Added xml_document::load_file and xml_document::save_file with wide + character paths +
    4. +
    5. + Added as_utf8 and as_wide overloads for std::wstring/std::string + arguments +
    6. +
    7. + Added DOCTYPE node type (node_doctype) and a special parse flag, + parse_doctype, to add such nodes to the document during parsing +
    8. +
    9. + Added parse_full parse flag mask, which extends parse_default with + all node type parsing flags except parse_ws_pcdata +
    10. +
    11. + Added xml_node::hash_value() and xml_attribute::hash_value() functions + for use in hash-based containers +
    12. +
    13. + Added internal_object() and additional constructor for both xml_node + and xml_attribute for easier marshalling (useful for language bindings) +
    14. +
    15. + Added xml_document::document_element() function +
    16. +
    17. + Added xml_node::prepend_attribute, xml_node::prepend_child and xml_node::prepend_copy + functions +
    18. +
    19. + 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) +
    20. +
    21. + Added xml_document::reset() function +
    22. +
    +
  • +
  • + Performance improvements: +
      +
    1. + xml_node::root() and xml_node::offset_debug() are now O(1) instead + of O(logN) +
    2. +
    3. + Minor parsing optimizations +
    4. +
    5. + Minor memory optimization for strings in DOM tree (set_name/set_value) +
    6. +
    7. + Memory optimization for string memory reclaiming in DOM tree (set_name/set_value + now reallocate the buffer if memory waste is too big) +
    8. +
    9. + XPath: optimized document order sorting +
    10. +
    11. + XPath: optimized child/attribute axis step +
    12. +
    13. + XPath: optimized number-to-string conversions in MSVC +
    14. +
    15. + XPath: optimized concat for many arguments +
    16. +
    17. + XPath: optimized evaluation allocation mechanism: constant and document + strings are not heap-allocated +
    18. +
    19. + XPath: optimized evaluation allocation mechanism: all temporaries' + allocations use fast stack-like allocator +
    20. +
    +
  • +
  • + Compatibility: +
      +
    1. + Removed wildcard functions (xml_node::child_w, xml_node::attribute_w, + etc.) +
    2. +
    3. + Removed xml_node::all_elements_by_name +
    4. +
    5. + Removed xpath_type_t enumeration; use xpath_value_type instead +
    6. +
    7. + Removed format_write_bom_utf8 enumeration; use format_write_bom instead +
    8. +
    9. + Removed xml_document::precompute_document_order, xml_attribute::document_order + and xml_node::document_order functions; document order sort optimization + is now automatic +
    10. +
    11. + Removed xml_document::parse functions and transfer_ownership struct; + use xml_document::load_buffer_inplace and xml_document::load_buffer_inplace_own + instead +
    12. +
    13. + Removed as_utf16 function; use as_wide instead +
    14. +
    +
  • +
1.07.2010 - version 0.9 @@ -548,7 +767,8 @@

-
pugixml 0.9 manual | + +pugixml 1.0 manual | Overview | Installation | Document: -- cgit v1.2.3