summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-08-29XPath: Minor xpath_string refactoring, replaced STL algorithms with ↵arseny.kapoulkine
equivalent implementations (sort is quadratic for now) git-svn-id: http://pugixml.googlecode.com/svn/trunk@658 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Replaced std::string with xpath_string, refactored normalize_space, ↵arseny.kapoulkine
namespace_uri and translate git-svn-id: http://pugixml.googlecode.com/svn/trunk@657 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Fixed null pointer deallocationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@655 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29strcpy_insitu improvements: empty string forces deallocation, memory is ↵arseny.kapoulkine
reclaimed if waste is too great (small string is copied to the large buffer) git-svn-id: http://pugixml.googlecode.com/svn/trunk@654 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Reduced allocation header for strings from 8/16 to 4 bytesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@653 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Correct out of memory handling for string to number conversion during ↵arseny.kapoulkine
parsing, added corresponding test git-svn-id: http://pugixml.googlecode.com/svn/trunk@651 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Final MinGW unwind workaroundarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@650 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Number to string conversion uses ecvt_s under MSVC8+ (major speedup), ↵arseny.kapoulkine
minor conversion refactoring git-svn-id: http://pugixml.googlecode.com/svn/trunk@649 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Allocator now uses custom allocation functions and has single static ↵arseny.kapoulkine
page, added out of memory handling during parsing git-svn-id: http://pugixml.googlecode.com/svn/trunk@647 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Minor comment fixarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@646 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Minor refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@645 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: m_ prefix changed to _arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@644 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Added workaround for MinGW4.5 unwind crash by removing unwind ↵arseny.kapoulkine
information from longjmp stack git-svn-id: http://pugixml.googlecode.com/svn/trunk@643 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Minor parsing refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@641 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Added workarounds for all instances of DMC overfetch bugarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@640 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Added error offset reportingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@639 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29tests: Extended XPath testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@638 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29tests: Added support for XPath without exceptionsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@637 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Initial support for operation without exceptionsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@636 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Minor iterator refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@635 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29root and offset_debug are now O(1)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@634 99668b35-9821-0410-8761-19e4c4f06640
2010-08-09Added null pointer assertion to load_buffer, refactored get_buffer_encodingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@633 99668b35-9821-0410-8761-19e4c4f06640
2010-08-05XPath: Minor refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@631 99668b35-9821-0410-8761-19e4c4f06640
2010-08-05Removed some redundant code from pugixml.cpp, added internal ↵arseny.kapoulkine
xml_document::reset() function git-svn-id: http://pugixml.googlecode.com/svn/trunk@630 99668b35-9821-0410-8761-19e4c4f06640
2010-08-03XPath: Removed redundant whitespace skippingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@625 99668b35-9821-0410-8761-19e4c4f06640
2010-08-03XPath: Added a workaround for DMC bugarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@622 99668b35-9821-0410-8761-19e4c4f06640
2010-08-03XPath: Fixed leaks in case query compilation failedarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@621 99668b35-9821-0410-8761-19e4c4f06640
2010-07-22CDATA section is output as multiple sections if it contains ]]>arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@616 99668b35-9821-0410-8761-19e4c4f06640
2010-07-22xml_node::find_node is now not recursivearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@614 99668b35-9821-0410-8761-19e4c4f06640
2010-07-22XPath: Restored document order sorting optimization (it's now automatic for ↵arseny.kapoulkine
nodes that were loaded and not significantly altered), minor traversal optimizations git-svn-id: http://pugixml.googlecode.com/svn/trunk@613 99668b35-9821-0410-8761-19e4c4f06640
2010-07-22Fixed stream loading memory leaks in the unlikely case streams have ↵arseny.kapoulkine
exception mask set, better stream error handling. git-svn-id: http://pugixml.googlecode.com/svn/trunk@610 99668b35-9821-0410-8761-19e4c4f06640
2010-07-19Set svn:eol-style to native for all text filesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@607 99668b35-9821-0410-8761-19e4c4f06640
2010-07-15Fixed alignment padding warning for Xbox 360arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@601 99668b35-9821-0410-8761-19e4c4f06640
2010-07-11Changed version in headersarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@588 99668b35-9821-0410-8761-19e4c4f06640
2010-07-10XPath: Capitalized all error messagesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@582 99668b35-9821-0410-8761-19e4c4f06640
2010-07-10XPath: Out-of-bounds xpath_node_set access is now undefinedarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@581 99668b35-9821-0410-8761-19e4c4f06640
2010-07-07remove_child and remove_attribute now return operation resultarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@572 99668b35-9821-0410-8761-19e4c4f06640
2010-07-07Fixed strequalrange so that it matches the description (this also fixes ↵arseny.kapoulkine
first_element_by_path prefix bug), added more first_element_by_path tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@570 99668b35-9821-0410-8761-19e4c4f06640
2010-07-07traverse() function is now foolproof against walkers that modify node handlesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@568 99668b35-9821-0410-8761-19e4c4f06640
2010-07-06Iterator fixes: added assertions, fixed past-the-end iterator behavior wrt ↵arseny.kapoulkine
to iterator invalidation and comparisons git-svn-id: http://pugixml.googlecode.com/svn/trunk@566 99668b35-9821-0410-8761-19e4c4f06640
2010-07-06xml_node::all_elements_by_name is now deprecatedarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@563 99668b35-9821-0410-8761-19e4c4f06640
2010-07-06Minor traverse() refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@561 99668b35-9821-0410-8761-19e4c4f06640
2010-07-01parse_wnorm_attribute is no longer deprecated (it's part of W3C ↵arseny.kapoulkine
recommendations, after all) git-svn-id: http://pugixml.googlecode.com/svn/trunk@557 99668b35-9821-0410-8761-19e4c4f06640
2010-06-28XPath: Argument parsing and position invariance refactoring, reduced AST ↵arseny.kapoulkine
node size, moved literal string->number conversion to compile time git-svn-id: http://pugixml.googlecode.com/svn/trunk@549 99668b35-9821-0410-8761-19e4c4f06640
2010-06-27Defined a deprecated xpath_type_t for compatibilityarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@547 99668b35-9821-0410-8761-19e4c4f06640
2010-06-27Renamed encoding_t to xml_encoding, renamed xpath_type_t to xpath_value_typearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@544 99668b35-9821-0410-8761-19e4c4f06640
2010-06-27Renamed name parameter in load_file/save_file to patharseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@540 99668b35-9821-0410-8761-19e4c4f06640
2010-06-23Added null pointer assertions to as_utf8 and as_widearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@531 99668b35-9821-0410-8761-19e4c4f06640
2010-06-20Spelling fixesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@528 99668b35-9821-0410-8761-19e4c4f06640
2010-06-19Fixed deprecation warnings for IntelCarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@527 99668b35-9821-0410-8761-19e4c4f06640