summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
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-25Internal charN_t types now use fixed size uintN_t typesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@448 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25Optimized utf8 decodingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@447 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25Optimized utf8 -> wchar_t conversion, replaced assert with static assertarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@446 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25Changed memory management so that the document node lives inside document; ↵arseny.kapoulkine
this way a default-constructed document does not allocate any dynamic memory git-svn-id: http://pugixml.googlecode.com/svn/trunk@445 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-21Nodes/attributes with empty names now are printed as :anonymousarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@441 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-20as_* functions now all use strto*/wcsto* functions; this unifies the ↵arseny.kapoulkine
behavior and fixes large unsigned integer parsing in as_uint git-svn-id: http://pugixml.googlecode.com/svn/trunk@438 99668b35-9821-0410-8761-19e4c4f06640
2010-05-20Assume that all compilers (except Microsoft) have stdint.harseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@437 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-12Fixed GCC buildarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@419 99668b35-9821-0410-8761-19e4c4f06640
2010-05-11Fixed incorrect allocator pointer in pages during parsingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@415 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10Various test compilation fixesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@414 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10Implemented better DOCTYPE parsing, added more DOCTYPE testsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@409 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10Optimized memory consumption (removed last_child and last_attribute, ↵arseny.kapoulkine
sibling/attribute lists are now one-way cyclic) git-svn-id: http://pugixml.googlecode.com/svn/trunk@405 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10Minor allocation refactoring and optimizationarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@404 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10Internal iterator constructors are now private, added empty document testarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@403 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10Optimized xml_document::destroyarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@402 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10Reworked DOM memory allocation scheme (name/value allocations use the same ↵arseny.kapoulkine
pages as node/attribute structures, pages are now deallocated when completely free) git-svn-id: http://pugixml.googlecode.com/svn/trunk@401 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-09Added empty stream/buffer tests, fixed null buffer parsing in wchar_t modearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@397 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