summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-29tests: Deallocation of null pointer is illegal for custom allocatorsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@656 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-29tests: Added more string allocation testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@652 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-29tests: Added XPath out of memory parse testarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@648 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-29tests: Removed redundant includesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@642 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-09tests: Added tests for short buffers (they duplicate the progressive ↵arseny.kapoulkine
truncation test, but it's better to have explicit tests) git-svn-id: http://pugixml.googlecode.com/svn/trunk@632 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-04tests: Fixed tests for wchar_t mode, added dummy std::cout/wcout usage for ↵arseny.kapoulkine
MSVC in order to create locales beforehand (avoids memory leaks during tests), minor additional test fixes git-svn-id: http://pugixml.googlecode.com/svn/trunk@629 99668b35-9821-0410-8761-19e4c4f06640
2010-08-04tests: Added more XPath testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@628 99668b35-9821-0410-8761-19e4c4f06640
2010-08-04tests: Added even more tests for better code coveragearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@627 99668b35-9821-0410-8761-19e4c4f06640
2010-08-04tests: Added more tests for better code coveragearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@626 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-03tests: New and delete operators now use test allocator and thus are subject ↵arseny.kapoulkine
to leak detection and memory threshold failure git-svn-id: http://pugixml.googlecode.com/svn/trunk@624 99668b35-9821-0410-8761-19e4c4f06640
2010-08-03tests: Reduce address space pressure of test allocatorarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@623 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-08-03tests: Preparations for custom new/delete (leak detection)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@620 99668b35-9821-0410-8761-19e4c4f06640
2010-08-02tests: More miscellaneous testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@619 99668b35-9821-0410-8761-19e4c4f06640
2010-07-22tests: Miscellaneous test fixesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@618 99668b35-9821-0410-8761-19e4c4f06640
2010-07-22tests: Added more CDATA writing testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@617 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-22tests: Removed invalid document order test, improved document order coverage ↵arseny.kapoulkine
by adding tests that are not subject to document order optimization git-svn-id: http://pugixml.googlecode.com/svn/trunk@615 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-22tests: Fixed warningarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@612 99668b35-9821-0410-8761-19e4c4f06640
2010-07-22tests: Added stream exception testarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@611 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-21docs: Added line endings informationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@609 99668b35-9821-0410-8761-19e4c4f06640
2010-07-20Removed svn:eol-style from utftest_utf8_clean.xml (it should have Unix ↵arseny.kapoulkine
newlines so that contents preservation test works) git-svn-id: http://pugixml.googlecode.com/svn/trunk@608 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