summaryrefslogtreecommitdiff
path: root/src/pugixpath.cpp
AgeCommit message (Collapse)Author
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
2010-05-29Very minor XPath refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@459 99668b35-9821-0410-8761-19e4c4f06640
2010-05-26Removed redundant templatearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@457 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25Added support for Sun C++ compilerarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@452 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25Updated version, updated changelog, minor Doxygen fixesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@449 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25Fixed BCC and MSVC6 compilationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@444 99668b35-9821-0410-8761-19e4c4f06640
2010-05-20Optimized debug mode parsing/saving by order of magnitudearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@440 99668b35-9821-0410-8761-19e4c4f06640
2010-05-20More compare_eq/rel refactoringarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@439 99668b35-9821-0410-8761-19e4c4f06640
2010-05-17XPath refactoring (ast_filter/filter_posinv/predicates use the same ↵arseny.kapoulkine
function, removed greater* specializations for compare_rel, starts_with is used more extensively, const-correctness fixes) git-svn-id: http://pugixml.googlecode.com/svn/trunk@425 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09Removed document order optimization (it helps on a tiny percentage of ↵arseny.kapoulkine
queries), XPath tests now compute their own order git-svn-id: http://pugixml.googlecode.com/svn/trunk@400 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09Minor loading functions refactoring, fixed XPath append_node for MSVC10arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@395 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09Removed std::string and contents_push from XPath parsingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@393 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06Updated copyright year, updated changelog in documentationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@385 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06Changed version number to 0.6, merged Unicode utilities to pugixml.cpparseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@384 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06Integrated changes from unicode branch to trunkarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@383 99668b35-9821-0410-8761-19e4c4f06640
2010-02-06Added inline directive to ischartype in case automatic inlining is not enabledarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@247 99668b35-9821-0410-8761-19e4c4f06640
2010-02-02XPath: Renamed character type-related functions/types to avoid conflict with ↵arseny.kapoulkine
pugixml ones (for header-only mode) git-svn-id: http://pugixml.googlecode.com/svn/trunk@244 99668b35-9821-0410-8761-19e4c4f06640
2010-02-02XPath: xpath_ast_node ctors now initialize all members (code analysis ↵arseny.kapoulkine
warnings fix) git-svn-id: http://pugixml.googlecode.com/svn/trunk@242 99668b35-9821-0410-8761-19e4c4f06640
2010-01-20Fixed several code analysis warningsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@239 99668b35-9821-0410-8761-19e4c4f06640
2010-01-20XPath: Removed variable shadowing (fixes warnings in static analyzers)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@238 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Added xpath_query::return_type() function, fixed evaluate_node_set ↵arseny.kapoulkine
documentation git-svn-id: http://pugixml.googlecode.com/svn/trunk@232 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08Updated header/footer comments - included MIT license text as per user ↵arseny.kapoulkine
request, removed old notes, updated version number git-svn-id: http://pugixml.googlecode.com/svn/trunk@230 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Removed redundant codearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@227 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08tests: More coverage testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@225 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: evaluate_node_set (and select_nodes/select_single_node) now throw ↵arseny.kapoulkine
exception if expression return type is not node set (instead of assertion) git-svn-id: http://pugixml.googlecode.com/svn/trunk@223 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Node set copy now preserves sorted flag (for performance and ↵arseny.kapoulkine
consistency), removed redundant m_using_storage internal flag git-svn-id: http://pugixml.googlecode.com/svn/trunk@222 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Fixed const-correctness, added boolean operators and operator! for ↵arseny.kapoulkine
Borland compilers, added operator[], minor other changes git-svn-id: http://pugixml.googlecode.com/svn/trunk@220 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Fixed minor string to number conversion bugarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@219 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Minor fixarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@218 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Fixed minor root step bug - don't select empty nodesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@215 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Fixed all_in_namespace node testarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@213 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Minor refactoring, fixed text()/etc. parsing bug (issue 33)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@211 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08XPath: Refactored tokenization/parsing to be more compliantarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@210 99668b35-9821-0410-8761-19e4c4f06640