summaryrefslogtreecommitdiff
path: root/src/pugixpath.cpp
AgeCommit message (Collapse)Author
2010-08-29XPath: Context node for evaluate is now an xpath_node (can use attribute ↵arseny.kapoulkine
contexts) git-svn-id: http://pugixml.googlecode.com/svn/trunk@663 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Fixed evaluate_string for wchar modearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@660 99668b35-9821-0410-8761-19e4c4f06640
2010-08-29XPath: Introduced new evaluate_string API (without STL), enabled XPath ↵arseny.kapoulkine
without STL git-svn-id: http://pugixml.googlecode.com/svn/trunk@659 99668b35-9821-0410-8761-19e4c4f06640
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-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-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-05XPath: Minor refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@631 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-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-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-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-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-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-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-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-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-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-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
2010-05-29Fixed descendant-or-self axis for attributesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@468 99668b35-9821-0410-8761-19e4c4f06640
2010-05-29Fixed following:: and preceding:: axes for attribute nodesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@466 99668b35-9821-0410-8761-19e4c4f06640
2010-05-29Added round_nearest_nzero explanationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@462 99668b35-9821-0410-8761-19e4c4f06640
2010-05-29XPath round() is now fully compliantarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@461 99668b35-9821-0410-8761-19e4c4f06640