summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2010-06-19Replaced _CRT_SECURE macros with #pragma to avoid warnings because of ↵arseny.kapoulkine
multiple macro definitions/forced includes git-svn-id: http://pugixml.googlecode.com/svn/trunk@526 99668b35-9821-0410-8761-19e4c4f06640
2010-06-19Fixed SNC warningsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@525 99668b35-9821-0410-8761-19e4c4f06640
2010-06-16Automatically disable XPath when either PUGIXML_NO_STL or ↵arseny.kapoulkine
PUGIXML_NO_EXCEPTIONS is defined git-svn-id: http://pugixml.googlecode.com/svn/trunk@524 99668b35-9821-0410-8761-19e4c4f06640
2010-06-14XPath: Rewritten number->string conversion using CRT scientific format (much ↵arseny.kapoulkine
better XPath REC compliance) git-svn-id: http://pugixml.googlecode.com/svn/trunk@523 99668b35-9821-0410-8761-19e4c4f06640
2010-06-13Fixed MSVC x64 warningarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@522 99668b35-9821-0410-8761-19e4c4f06640
2010-06-13Internal XML parsing error handling is done via setjmp/longjmp, all ↵arseny.kapoulkine
allocation errors are now handled correctly (parser returns status_out_of_memory, modification functions return errors); added tests for some out of memory situations git-svn-id: http://pugixml.googlecode.com/svn/trunk@520 99668b35-9821-0410-8761-19e4c4f06640
2010-06-12Fixed IntelC warnings, removed unnecessary hack for BCCarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@518 99668b35-9821-0410-8761-19e4c4f06640
2010-06-12Declaration nodes improvements (they now automatically get name "xml", they ↵arseny.kapoulkine
can't be inserted as a non-document child, document saving prints declaration only if there is none present in the document) git-svn-id: http://pugixml.googlecode.com/svn/trunk@517 99668b35-9821-0410-8761-19e4c4f06640
2010-06-12Refactored PI/declaration parsing, now non top-level declarations result in ↵arseny.kapoulkine
parsing errors git-svn-id: http://pugixml.googlecode.com/svn/trunk@515 99668b35-9821-0410-8761-19e4c4f06640
2010-06-11Rewritten numeric character reference parsing (fixed &#; and &#x; parsing), ↵arseny.kapoulkine
added more character reference tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@512 99668b35-9821-0410-8761-19e4c4f06640
2010-06-11Minor refactoring (moved unicode utilities to anonymous namespace, moved ↵arseny.kapoulkine
decode functions to templated class to work around function instantiation bugs, removed optN_to_type) git-svn-id: http://pugixml.googlecode.com/svn/trunk@511 99668b35-9821-0410-8761-19e4c4f06640
2010-06-06Replaced charN_t types with uintN_t (C++0x compatibility)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@504 99668b35-9821-0410-8761-19e4c4f06640
2010-06-04Optimized attribute parsing; behavior of parse_wconv changed, it now assumes ↵arseny.kapoulkine
that parse_eol is set git-svn-id: http://pugixml.googlecode.com/svn/trunk@503 99668b35-9821-0410-8761-19e4c4f06640
2010-06-03Minor strcpy_insitu optimization for large strings, removed now redundant ↵arseny.kapoulkine
impl::strcpy git-svn-id: http://pugixml.googlecode.com/svn/trunk@502 99668b35-9821-0410-8761-19e4c4f06640
2010-06-01Removed redundant functionarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@491 99668b35-9821-0410-8761-19e4c4f06640
2010-06-01Constant deprecation is disabled only on old IntelC, removed deprecation ↵arseny.kapoulkine
warnings with appropriate define instead of disabling warning via pragma git-svn-id: http://pugixml.googlecode.com/svn/trunk@489 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31XPath: Added check for fpclassify presence before usearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@488 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31XPath: Slightly optimized lexerarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@487 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31XPath: Replaced backtracking with lookahead in absolute path parsingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@485 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31Fixed DMC compilationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@484 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31XPath: Removed separate semantics checking pass, types are verified during ↵arseny.kapoulkine
parsing git-svn-id: http://pugixml.googlecode.com/svn/trunk@482 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31Simplified fp specials handling in XPath (using common faster implementation ↵arseny.kapoulkine
for both MSVC and BCC) git-svn-id: http://pugixml.googlecode.com/svn/trunk@480 99668b35-9821-0410-8761-19e4c4f06640
2010-05-31Changed fp specials handling in XPath (using fpclassify/fpclass where ↵arseny.kapoulkine
possible, NaN generation is based on float QNaN, removed magic double constants/byte arrays) git-svn-id: http://pugixml.googlecode.com/svn/trunk@479 99668b35-9821-0410-8761-19e4c4f06640
2010-05-30Fixed XPath parsing (numbers of the form \d+\. are now parsed correctly, ↵arseny.kapoulkine
stray colon does not act as eof token) git-svn-id: http://pugixml.googlecode.com/svn/trunk@476 99668b35-9821-0410-8761-19e4c4f06640
2010-05-30Fixed node tests for attributesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@472 99668b35-9821-0410-8761-19e4c4f06640