summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2010-05-08Minor coverage improvementsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@392 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08Don't use global no-deprecate switch for newer GCC/MinGW, fixed warnings ↵arseny.kapoulkine
because of deprecation git-svn-id: http://pugixml.googlecode.com/svn/trunk@390 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08Deprecated all wildcard functions and parse_wnorm_attributearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@389 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08Fixed tests in NO_STL mode and IntelC deprecated constantarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@388 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08Implemented PUGIXML_DEPRECATED for GCC and MSVC7+arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@387 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08Added 0.5-compatible interfaces for compatibilityarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@386 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-04-21Fixed invalid document contents when document parsing failsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@282 99668b35-9821-0410-8761-19e4c4f06640
2010-02-08Replaced int with ptrdiff_t for offset_debug() and last parsed offset in ↵arseny.kapoulkine
xml_parse_result git-svn-id: http://pugixml.googlecode.com/svn/trunk@248 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-21Renamed ERROR to THROW_ERROR to solve macro name conflictsv0.5arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@240 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-10More branch probability tuningarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@236 99668b35-9821-0410-8761-19e4c4f06640
2009-11-10Parsing optimization: removed some redundant checks, reordered branches by ↵arseny.kapoulkine
probability, extracted two unlikely code paths in separate functions, node construction tuning git-svn-id: http://pugixml.googlecode.com/svn/trunk@235 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08docs: Minor documentation changesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@233 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