summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
AgeCommit message (Collapse)Author
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-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-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-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-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
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-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: 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-10-28Fixed MSVC6 compilation errorarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@184 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20Added memory allocation function getters (can't write generic function to ↵arseny.kapoulkine
parse with ownership transfer without them) git-svn-id: http://pugixml.googlecode.com/svn/trunk@164 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20Removed dead code (UTF8 sequences of length 5 are considered broken, removed ↵arseny.kapoulkine
dead branch in PI parsing) git-svn-id: http://pugixml.googlecode.com/svn/trunk@161 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20Fixed node_pi and node_declaration copyingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@160 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12PCDATA is now output with trailing newline if format_raw is not set and ↵arseny.kapoulkine
PCDATA is not the only child git-svn-id: http://pugixml.googlecode.com/svn/trunk@153 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12Fixed xml_node::remove_attribute in case of empty attribute as a parameterarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@151 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11Const-correctness fix for print/save functionsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@149 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11traverse now sets depth to -1 for both begin() and end()arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@146 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11Fixed offset_debug for pi nodesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@144 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17Changed header versionarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@129 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17Fixed compilation warnings on BCCarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@128 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17Added xml_attribute::set_value overloadsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@127 99668b35-9821-0410-8761-19e4c4f06640
2009-08-31Fixed iterator functions and xml_node::print to work correctly with empty ↵arseny.kapoulkine
nodes, replaced empty() with direct _root/_attr check everywhere git-svn-id: http://pugixml.googlecode.com/svn/trunk@126 99668b35-9821-0410-8761-19e4c4f06640
2009-08-31Added optional PUGIXML_API, PUGIXML_CLASS and PUGIXML_FUNCTION defines to ↵arseny.kapoulkine
control class/function attributes (DLL export/import, calling conventions, etc.) git-svn-id: http://pugixml.googlecode.com/svn/trunk@125 99668b35-9821-0410-8761-19e4c4f06640
2009-08-31Fixed xml_node::all_elements_by_name include dependenciesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@124 99668b35-9821-0410-8761-19e4c4f06640
2009-04-10Fixed destroying of attribute/node name/values (it now uses custom ↵arseny.kapoulkine
deallocation function, if any) git-svn-id: http://pugixml.googlecode.com/svn/trunk@121 99668b35-9821-0410-8761-19e4c4f06640
2009-03-29Const-correctness fixes for find_child_by_attributearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@120 99668b35-9821-0410-8761-19e4c4f06640
2009-03-04Fixed compilation warning for gcc-4.3arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@119 99668b35-9821-0410-8761-19e4c4f06640
2009-02-28Fixed compilation warning in case char type is signedarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@118 99668b35-9821-0410-8761-19e4c4f06640
2009-02-08Updated version (source, documentation)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@117 99668b35-9821-0410-8761-19e4c4f06640
2009-02-08Fixed bug in xml_buffer_writer::writearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@116 99668b35-9821-0410-8761-19e4c4f06640
2009-01-26Fixed nostl modearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@115 99668b35-9821-0410-8761-19e4c4f06640
2009-01-25Added xml_node::print for stream to make migration easierarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@112 99668b35-9821-0410-8761-19e4c4f06640
2009-01-25Added proper parse errors with description, parsed offsets and stuffarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@111 99668b35-9821-0410-8761-19e4c4f06640
2009-01-19Added invalidate_document_order, now detaching deleted nodes and setting ↵arseny.kapoulkine
name/value to 0 after deleting (less bugs/debugging confusion) git-svn-id: http://pugixml.googlecode.com/svn/trunk@110 99668b35-9821-0410-8761-19e4c4f06640