summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-10-22XPath: Minor refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@776 99668b35-9821-0410-8761-19e4c4f06640
2010-10-22XPath: Moved implementation details to anonymous namespacearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@775 99668b35-9821-0410-8761-19e4c4f06640
2010-10-19If an element node has the only child, and it is of CDATA type, then the ↵arseny.kapoulkine
extra indentation is omitted (previously this behavior only held for PCDATA children) git-svn-id: http://pugixml.googlecode.com/svn/trunk@770 99668b35-9821-0410-8761-19e4c4f06640
2010-10-19Added prepend_attribute, prepend_child and prepend_copy functionsarseny.kapoulkine@gmail.com
git-svn-id: http://pugixml.googlecode.com/svn/trunk@769 99668b35-9821-0410-8761-19e4c4f06640
2010-10-18Added xml_document::document_element functionarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@768 99668b35-9821-0410-8761-19e4c4f06640
2010-10-18Fixed internal_object() const-correctness, added xml_node::hash_value and ↵arseny.kapoulkine
xml_attribute::hash_value functions git-svn-id: http://pugixml.googlecode.com/svn/trunk@767 99668b35-9821-0410-8761-19e4c4f06640
2010-10-14Updated site URL everywherearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@766 99668b35-9821-0410-8761-19e4c4f06640
2010-10-03XPath: evaluate_string now guarantees zero-terminated result (unless the ↵arseny.kapoulkine
buffer size is zero) git-svn-id: http://pugixml.googlecode.com/svn/trunk@762 99668b35-9821-0410-8761-19e4c4f06640
2010-10-03XPath: If exceptions are enabled, std::bad_alloc is thrown for all out of ↵arseny.kapoulkine
memory situation (instead of xpath_exception) git-svn-id: http://pugixml.googlecode.com/svn/trunk@759 99668b35-9821-0410-8761-19e4c4f06640
2010-09-26Added DOCTYPE node and parse_doctype flag (the node contains DOCTYPE value ↵arseny.kapoulkine
so that the document contents can be preserved) git-svn-id: http://pugixml.googlecode.com/svn/trunk@756 99668b35-9821-0410-8761-19e4c4f06640
2010-09-25Fixed MinGW45 in C++0x modearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@755 99668b35-9821-0410-8761-19e4c4f06640
2010-09-22Minor UTF8 conversion refactoring, added as_utf8 and as_wide overloads with ↵arseny.kapoulkine
string arguments git-svn-id: http://pugixml.googlecode.com/svn/trunk@749 99668b35-9821-0410-8761-19e4c4f06640
2010-09-22Removed document_order() function, added internal_object() accessor and ↵arseny.kapoulkine
exposed xml_node/xml_attribute constructor from internal object pointer (this makes implementing fast binding to scripting languages easier) git-svn-id: http://pugixml.googlecode.com/svn/trunk@747 99668b35-9821-0410-8761-19e4c4f06640
2010-09-21Major header cleanup: removed redundant comments (single-line function/type ↵arseny.kapoulkine
descriptions are left for convenience), removed parse()/as_utf16(), removed deprecated function tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@746 99668b35-9821-0410-8761-19e4c4f06640
2010-09-21Minor load_file_impl refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@745 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20Added large file support for MinGWarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@744 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20Improved large file support: added overflow checks, _ftelli64/_fseeki64 are ↵arseny.kapoulkine
used on MSVC git-svn-id: http://pugixml.googlecode.com/svn/trunk@743 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20Implemented load_file and save_file for wide character pathsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@741 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20XPath: xpath_parse_result is now default-initialized to object with failed ↵arseny.kapoulkine
status git-svn-id: http://pugixml.googlecode.com/svn/trunk@738 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20xml_parse_result now has a default ctor, minor parsing optimizationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@736 99668b35-9821-0410-8761-19e4c4f06640
2010-09-20Memory allocation error now preserves last parsed offset, minor optimization ↵arseny.kapoulkine
(removed by-reference parameters where possible) git-svn-id: http://pugixml.googlecode.com/svn/trunk@735 99668b35-9821-0410-8761-19e4c4f06640
2010-09-15Added more assertionsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@734 99668b35-9821-0410-8761-19e4c4f06640
2010-09-14XPath: evaluate_string refactoring (also fixes setjmp warning on MinGW ↵arseny.kapoulkine
without breaking DMC/SunCC) git-svn-id: http://pugixml.googlecode.com/svn/trunk@733 99668b35-9821-0410-8761-19e4c4f06640
2010-09-14XPath: Fixed MinGW compilation warningarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@732 99668b35-9821-0410-8761-19e4c4f06640
2010-09-14XPath: Fixed MSVC6 compilationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@729 99668b35-9821-0410-8761-19e4c4f06640
2010-09-14XPath: Added out of memory handling during evaluationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@727 99668b35-9821-0410-8761-19e4c4f06640
2010-09-13XPath: Minor speed/memory improvementsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@726 99668b35-9821-0410-8761-19e4c4f06640
2010-09-13XPath: Stack construction refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@725 99668b35-9821-0410-8761-19e4c4f06640
2010-09-13XPath: Fixed MSVC7 compilation, removed redundant includearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@724 99668b35-9821-0410-8761-19e4c4f06640
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