summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
AgeCommit message (Collapse)Author
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
2009-01-18Added offset_debugarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@108 99668b35-9821-0410-8761-19e4c4f06640
2009-01-18Added find_child_by_attributearseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@107 99668b35-9821-0410-8761-19e4c4f06640
2009-01-08Implemented attribute and node copyingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@106 99668b35-9821-0410-8761-19e4c4f06640
2009-01-06Custom memory management functions implementedarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@105 99668b35-9821-0410-8761-19e4c4f06640
2009-01-06Added node_declaration node type for <?xml nodes, added corresponding ↵arseny.kapoulkine
parse_declaration and format_no_declaration flags and parsing/saving/DOM functionality git-svn-id: http://pugixml.googlecode.com/svn/trunk@104 99668b35-9821-0410-8761-19e4c4f06640
2009-01-06Less header dependencies, some compilation fixes for Borland/Intel/MW compilersarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@103 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05Unsigned integer support for attributes (as_uint, operator=)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@101 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05Updated pugixml versionarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@99 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05Node/document saving is now performed via new xml_writer interface, ↵arseny.kapoulkine
save_file now works without STL git-svn-id: http://pugixml.googlecode.com/svn/trunk@97 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05Compilation fix, renamed format_write_bom to format_write_bom_utf8arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@96 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05Document saving improvements - no escaping is done for ' character or for ↵arseny.kapoulkine
symbols in second half of ASCII table; format_utf8 is therefore gone git-svn-id: http://pugixml.googlecode.com/svn/trunk@95 99668b35-9821-0410-8761-19e4c4f06640
2007-10-31Merged 0.34 in trunk (revisions 69:84)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@85 99668b35-9821-0410-8761-19e4c4f06640
2007-02-21Merged 0.3 in trunkarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@68 99668b35-9821-0410-8761-19e4c4f06640
2007-01-08Removed comments (cppguru does not want them), refactored chartype_symbol ↵arseny.kapoulkine
parsing, documentation fixes git-svn-id: http://pugixml.googlecode.com/svn/trunk@28 99668b35-9821-0410-8761-19e4c4f06640
2007-01-08Updated copyright notice, reworked internal parsing (completely different ↵arseny.kapoulkine
strategy for performing text conversions (EOL, etc.) - lazy gaps, reworked character classes) git-svn-id: http://pugixml.googlecode.com/svn/trunk@27 99668b35-9821-0410-8761-19e4c4f06640
2007-01-05Parsing flags refactoring (removed trim flags, eol flags merged together, ↵arseny.kapoulkine
escapes flags merged together, removed wnorm_pcdata flag, changed wnorm_attribute flag (it's space normalization + trimming now), fixed default flags, changed documentation accordingly git-svn-id: http://pugixml.googlecode.com/svn/trunk@26 99668b35-9821-0410-8761-19e4c4f06640
2006-12-27STLPort warning fixedarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@25 99668b35-9821-0410-8761-19e4c4f06640
2006-12-14Fixed strconv_t (incorrect skipping of non-escape symbols)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@24 99668b35-9821-0410-8761-19e4c4f06640
2006-12-13Fixed istream parsing (again)arseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@23 99668b35-9821-0410-8761-19e4c4f06640
2006-12-13Fixed istream loadingarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@22 99668b35-9821-0410-8761-19e4c4f06640
2006-12-11More gcc fixesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@21 99668b35-9821-0410-8761-19e4c4f06640
2006-12-11Now should compile on gcc without errors/warningsarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@20 99668b35-9821-0410-8761-19e4c4f06640
2006-12-08Fixed memory leak, correct behavior for several parse() on one parserarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@15 99668b35-9821-0410-8761-19e4c4f06640
2006-12-08More NO_STL fixesarseny.kapoulkine
git-svn-id: http://pugixml.googlecode.com/svn/trunk@14 99668b35-9821-0410-8761-19e4c4f06640