summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
AgeCommit message (Collapse)Author
2010-09-13XPath: Added xpath_node_set constructor, redesigned evaluation memory ↵arseny.kapoulkine
management (alternating stacks instead of heap) git-svn-id: http://pugixml.googlecode.com/svn/trunk@722 99668b35-9821-0410-8761-19e4c4f06640
2010-09-13XPath: Fixed sorting bugarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@720 99668b35-9821-0410-8761-19e4c4f06640
2010-09-13XPath: Allocator refactoring: xpath_allocator now only consists of allocator ↵arseny.kapoulkine
state and can be copied git-svn-id: http://pugixml.googlecode.com/svn/trunk@719 99668b35-9821-0410-8761-19e4c4f06640
2010-09-13XPath: self axis now preserves the original set order, optimized ↵arseny.kapoulkine
remove_duplicates calls git-svn-id: http://pugixml.googlecode.com/svn/trunk@718 99668b35-9821-0410-8761-19e4c4f06640
2010-09-12XPath: Minor ast_step processing refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@717 99668b35-9821-0410-8761-19e4c4f06640
2010-09-11XPath: Minor lang() fix (use ASCII lowercase because language names are ↵arseny.kapoulkine
ASCII-only anyway) git-svn-id: http://pugixml.googlecode.com/svn/trunk@716 99668b35-9821-0410-8761-19e4c4f06640
2010-09-01XPath: Minor refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@715 99668b35-9821-0410-8761-19e4c4f06640
2010-09-01XPath: Don't use longjmp at all if exceptions are enabled; this solves all ↵arseny.kapoulkine
problems with GCC SJLJ exceptions git-svn-id: http://pugixml.googlecode.com/svn/trunk@714 99668b35-9821-0410-8761-19e4c4f06640
2010-08-30Added gcc 4.0.1 bogus warning workaroundarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@710 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Added a workaround for MSVC6 wcsstr bugarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@708 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Fixed longjmp clobber warning in xml_parser::parsearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@706 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Fixed variable memory leaks for MSVC6arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@704 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Fixed BCC and MSVC6 compilation errors and warningsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@703 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Minor xpath_string refactoring, minor xpath_string::append fixarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@701 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Fixed substring (3) implementation, optimized substring-after and ↵arseny.kapoulkine
substring for constant strings git-svn-id: http://pugixml.googlecode.com/svn/trunk@699 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Optimized concat (it's now O(n) instead of O(n^2) and there are less ↵arseny.kapoulkine
allocations) git-svn-id: http://pugixml.googlecode.com/svn/trunk@698 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Introduced optimized sort (quicksort with median of nine and ↵arseny.kapoulkine
recursion for smaller half, insertion sort for small chunks) git-svn-id: http://pugixml.googlecode.com/svn/trunk@697 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Document order comparator refactoring, document order is now a total ↵arseny.kapoulkine
order even for nodes from different documents git-svn-id: http://pugixml.googlecode.com/svn/trunk@695 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Fixed missing attributes for some functions/classes, minor XPath error ↵arseny.kapoulkine
message changes git-svn-id: http://pugixml.googlecode.com/svn/trunk@694 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: xpath_node attribute constructor now never constructs a non-attribute ↵arseny.kapoulkine
node git-svn-id: http://pugixml.googlecode.com/svn/trunk@690 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Minor refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@689 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Removed more deprecated functionality (xpath_type_t type, ↵arseny.kapoulkine
format_write_bom_utf8 flag, precompute_document_order method) git-svn-id: http://pugixml.googlecode.com/svn/trunk@686 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Minor unspecified bool refactoring (removed redundant CW workaround)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@685 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Fixed default variable values, minor algorithm refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@684 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Reworked variable reference parsing, '$ name' and '$foo:*' are now ↵arseny.kapoulkine
correctly rejected git-svn-id: http://pugixml.googlecode.com/svn/trunk@682 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Implemented variable support in queriesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@680 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Several variable fixesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@678 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Minor refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@677 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Added variable interface and implementationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@676 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Removed redundant internal functionarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@674 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Refactoring: Merged two chartype tablesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@672 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Refactoring: merged includes/warnings sections, moved string utilities to ↵arseny.kapoulkine
anonymous namespace, shared chartype implementation git-svn-id: http://pugixml.googlecode.com/svn/trunk@671 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Moved implementation to pugixml.cpparseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@670 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29Removed deprecated wildcard functions, removed deprecated all_elements_by_namearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@669 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-29Minor comment fixarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@646 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-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-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-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-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-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