Commit Graph

117 Commits

Author SHA1 Message Date
arseny.kapoulkine
a248138ced Constant deprecation is disabled only on old IntelC, removed deprecation 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-06-01 05:40:03 +00:00
arseny.kapoulkine
7e94e0c5ef Removed redundant template
git-svn-id: http://pugixml.googlecode.com/svn/trunk@457 99668b35-9821-0410-8761-19e4c4f06640
2010-05-26 05:17:13 +00:00
arseny.kapoulkine
cd9bc5fa83 Added support for Sun C++ compiler
git-svn-id: http://pugixml.googlecode.com/svn/trunk@452 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25 21:46:07 +00:00
arseny.kapoulkine
75a0d2379a Updated version, updated changelog, minor Doxygen fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@449 99668b35-9821-0410-8761-19e4c4f06640
2010-05-25 19:24:32 +00:00
arseny.kapoulkine
ece9147611 Changed memory management so that the document node lives inside document; 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-25 07:55:44 +00:00
arseny.kapoulkine
9441757ef6 Internal iterator constructors are now private, added empty document test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@403 99668b35-9821-0410-8761-19e4c4f06640
2010-05-10 13:31:38 +00:00
arseny.kapoulkine
47c23efe62 Reworked DOM memory allocation scheme (name/value allocations use the same 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-10 08:59:48 +00:00
arseny.kapoulkine
5ff56a6d68 Removed document order optimization (it helps on a tiny percentage of 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-09 20:37:49 +00:00
arseny.kapoulkine
427714178e Minor loading functions refactoring, fixed XPath append_node for MSVC10
git-svn-id: http://pugixml.googlecode.com/svn/trunk@395 99668b35-9821-0410-8761-19e4c4f06640
2010-05-09 17:25:35 +00:00
arseny.kapoulkine
6706a3f8ba Deprecated all wildcard functions and parse_wnorm_attribute
git-svn-id: http://pugixml.googlecode.com/svn/trunk@389 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 20:30:29 +00:00
arseny.kapoulkine
1172d9bc4a Fixed tests in NO_STL mode and IntelC deprecated constant
git-svn-id: http://pugixml.googlecode.com/svn/trunk@388 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 17:32:01 +00:00
arseny.kapoulkine
981a445319 Implemented PUGIXML_DEPRECATED for GCC and MSVC7+
git-svn-id: http://pugixml.googlecode.com/svn/trunk@387 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 17:10:16 +00:00
arseny.kapoulkine
021574a484 Added 0.5-compatible interfaces for compatibility
git-svn-id: http://pugixml.googlecode.com/svn/trunk@386 99668b35-9821-0410-8761-19e4c4f06640
2010-05-08 16:44:04 +00:00
arseny.kapoulkine
18819327e9 Updated copyright year, updated changelog in documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@385 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06 20:54:02 +00:00
arseny.kapoulkine
d217517975 Changed version number to 0.6, merged Unicode utilities to pugixml.cpp
git-svn-id: http://pugixml.googlecode.com/svn/trunk@384 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06 20:39:14 +00:00
arseny.kapoulkine
f542c5ebb8 Integrated changes from unicode branch to trunk
git-svn-id: http://pugixml.googlecode.com/svn/trunk@383 99668b35-9821-0410-8761-19e4c4f06640
2010-05-06 20:28:36 +00:00
arseny.kapoulkine
a78e1ec91c Replaced int with ptrdiff_t for offset_debug() and last parsed offset in xml_parse_result
git-svn-id: http://pugixml.googlecode.com/svn/trunk@248 99668b35-9821-0410-8761-19e4c4f06640
2010-02-08 11:52:45 +00:00
arseny.kapoulkine
3cf6af6428 docs: Minor documentation changes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@233 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 19:16:43 +00:00
arseny.kapoulkine
f0f7ac697b XPath: Added xpath_query::return_type() function, fixed evaluate_node_set documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@232 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 19:05:05 +00:00
arseny.kapoulkine
c389916348 Updated header/footer comments - included MIT license text as per user request, removed old notes, updated version number
git-svn-id: http://pugixml.googlecode.com/svn/trunk@230 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 18:34:59 +00:00
arseny.kapoulkine
74737f97ba XPath: Node set copy now preserves sorted flag (for performance and 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-08 14:23:40 +00:00
arseny.kapoulkine
c8a8b30bdd XPath: Fixed const-correctness, added boolean operators and operator! for Borland compilers, added operator[], minor other changes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@220 99668b35-9821-0410-8761-19e4c4f06640
2009-11-08 13:52:11 +00:00
arseny.kapoulkine
3f5ee885a5 Fixed MSVC6 compilation of template member functions
git-svn-id: http://pugixml.googlecode.com/svn/trunk@187 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 20:50:39 +00:00
arseny.kapoulkine
327096ae0d Added memory allocation function getters (can't write generic function to parse with ownership transfer without them)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@164 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 21:36:02 +00:00
arseny.kapoulkine
c43af7d3b2 Fixed documentation bug
git-svn-id: http://pugixml.googlecode.com/svn/trunk@155 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 17:40:56 +00:00
arseny.kapoulkine
50214146de Const-correctness fix for print/save functions
git-svn-id: http://pugixml.googlecode.com/svn/trunk@149 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 10:24:37 +00:00
arseny.kapoulkine
10b1a0c481 Changed header version
git-svn-id: http://pugixml.googlecode.com/svn/trunk@129 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17 18:19:44 +00:00
arseny.kapoulkine
01d8a24051 Added xml_attribute::set_value overloads
git-svn-id: http://pugixml.googlecode.com/svn/trunk@127 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17 18:02:21 +00:00
arseny.kapoulkine
3a9e08becd Fixed iterator functions and xml_node::print to work correctly with empty 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-31 14:11:23 +00:00
arseny.kapoulkine
bc98c9e585 Added optional PUGIXML_API, PUGIXML_CLASS and PUGIXML_FUNCTION defines to 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-31 13:40:20 +00:00
arseny.kapoulkine
530b0dec21 Fixed xml_node::all_elements_by_name include dependencies
git-svn-id: http://pugixml.googlecode.com/svn/trunk@124 99668b35-9821-0410-8761-19e4c4f06640
2009-08-31 12:32:21 +00:00
arseny.kapoulkine
1e37455c1b Const-correctness fixes for find_child_by_attribute
git-svn-id: http://pugixml.googlecode.com/svn/trunk@120 99668b35-9821-0410-8761-19e4c4f06640
2009-03-29 06:37:39 +00:00
arseny.kapoulkine
a3ef08eed7 Updated version (source, documentation)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@117 99668b35-9821-0410-8761-19e4c4f06640
2009-02-08 07:44:14 +00:00
arseny.kapoulkine
208a6b4ecc Documentation updated
git-svn-id: http://pugixml.googlecode.com/svn/trunk@113 99668b35-9821-0410-8761-19e4c4f06640
2009-01-25 20:54:00 +00:00
arseny.kapoulkine
46da814b42 Added xml_node::print for stream to make migration easier
git-svn-id: http://pugixml.googlecode.com/svn/trunk@112 99668b35-9821-0410-8761-19e4c4f06640
2009-01-25 20:49:53 +00:00
arseny.kapoulkine
600c3814e9 Added proper parse errors with description, parsed offsets and stuff
git-svn-id: http://pugixml.googlecode.com/svn/trunk@111 99668b35-9821-0410-8761-19e4c4f06640
2009-01-25 20:40:10 +00:00
arseny.kapoulkine
0949bd80b6 Added invalidate_document_order, now detaching deleted nodes and setting 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-19 11:21:49 +00:00
arseny.kapoulkine
f57ab52894 Added offset_debug
git-svn-id: http://pugixml.googlecode.com/svn/trunk@108 99668b35-9821-0410-8761-19e4c4f06640
2009-01-18 11:44:57 +00:00
arseny.kapoulkine
9bc19368f2 Added find_child_by_attribute
git-svn-id: http://pugixml.googlecode.com/svn/trunk@107 99668b35-9821-0410-8761-19e4c4f06640
2009-01-18 11:18:35 +00:00
arseny.kapoulkine
355d0f0697 Implemented attribute and node copying
git-svn-id: http://pugixml.googlecode.com/svn/trunk@106 99668b35-9821-0410-8761-19e4c4f06640
2009-01-08 19:30:42 +00:00
arseny.kapoulkine
e305a07249 Custom memory management functions implemented
git-svn-id: http://pugixml.googlecode.com/svn/trunk@105 99668b35-9821-0410-8761-19e4c4f06640
2009-01-06 13:14:13 +00:00
arseny.kapoulkine
5054325378 Added node_declaration node type for <?xml nodes, added corresponding 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-06 12:20:22 +00:00
arseny.kapoulkine
c507d9b10e Less header dependencies, some compilation fixes for Borland/Intel/MW compilers
git-svn-id: http://pugixml.googlecode.com/svn/trunk@103 99668b35-9821-0410-8761-19e4c4f06640
2009-01-06 00:02:42 +00:00
arseny.kapoulkine
5a2fa3fe50 Unsigned integer support for attributes (as_uint, operator=)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@101 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05 22:47:35 +00:00
arseny.kapoulkine
245e26de92 Updated pugixml version
git-svn-id: http://pugixml.googlecode.com/svn/trunk@99 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05 22:33:00 +00:00
arseny.kapoulkine
29e7b7bfd3 Node/document saving is now performed via new xml_writer interface, save_file now works without STL
git-svn-id: http://pugixml.googlecode.com/svn/trunk@97 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05 22:16:46 +00:00
arseny.kapoulkine
e59c153d97 Compilation fix, renamed format_write_bom to format_write_bom_utf8
git-svn-id: http://pugixml.googlecode.com/svn/trunk@96 99668b35-9821-0410-8761-19e4c4f06640
2009-01-05 20:44:27 +00:00
arseny.kapoulkine
d2443e8948 Document saving improvements - no escaping is done for ' character or for 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
2009-01-05 20:23:14 +00:00
arseny.kapoulkine
2c06637bf8 Merged 0.34 in trunk (revisions 69:84)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@85 99668b35-9821-0410-8761-19e4c4f06640
2007-10-31 17:46:35 +00:00
arseny.kapoulkine
faf69388f0 Fixed find_element
git-svn-id: http://pugixml.googlecode.com/svn/trunk@72 99668b35-9821-0410-8761-19e4c4f06640
2007-02-21 22:43:29 +00:00
arseny.kapoulkine
0a97bad660 Merged 0.3 in trunk
git-svn-id: http://pugixml.googlecode.com/svn/trunk@68 99668b35-9821-0410-8761-19e4c4f06640
2007-02-21 19:41:31 +00:00
arseny.kapoulkine
58be69c574 Removed comments (cppguru does not want them), refactored chartype_symbol parsing, documentation fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@28 99668b35-9821-0410-8761-19e4c4f06640
2007-01-08 16:24:53 +00:00
arseny.kapoulkine
9433bd5d62 Updated copyright notice, reworked internal parsing (completely different 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-08 02:51:49 +00:00
arseny.kapoulkine
2777da9faa Parsing flags refactoring (removed trim flags, eol flags merged together, 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
2007-01-05 20:05:10 +00:00
arseny.kapoulkine
79769db47c Now should compile on gcc without errors/warnings
git-svn-id: http://pugixml.googlecode.com/svn/trunk@20 99668b35-9821-0410-8761-19e4c4f06640
2006-12-11 14:00:37 +00:00
arseny.kapoulkine
9db5197f82 Default parsing mode now does not include parsing PI and comments.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@19 99668b35-9821-0410-8761-19e4c4f06640
2006-12-11 13:04:04 +00:00
arseny.kapoulkine
0d7e7a54f6 Fixed memory leak, correct behavior for several parse() on one parser
git-svn-id: http://pugixml.googlecode.com/svn/trunk@15 99668b35-9821-0410-8761-19e4c4f06640
2006-12-08 14:38:34 +00:00
arseny.kapoulkine
1ea53e16dd More NO_STL fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@14 99668b35-9821-0410-8761-19e4c4f06640
2006-12-08 14:25:56 +00:00
arseny.kapoulkine
2164a1ddb5 Path and iterator fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@13 99668b35-9821-0410-8761-19e4c4f06640
2006-12-08 14:21:48 +00:00
arseny.kapoulkine
2fdfe430a2 PUGIXML_NO_STL mode, transfer_ownership ctor/parse function
git-svn-id: http://pugixml.googlecode.com/svn/trunk@12 99668b35-9821-0410-8761-19e4c4f06640
2006-12-08 14:18:07 +00:00
arseny.kapoulkine
89076ef2e5 Fixed comment for node_pcdata type
git-svn-id: http://pugixml.googlecode.com/svn/trunk@11 99668b35-9821-0410-8761-19e4c4f06640
2006-12-06 12:41:06 +00:00
arseny.kapoulkine
44a433ba0e Added #include <istream>
git-svn-id: http://pugixml.googlecode.com/svn/trunk@10 99668b35-9821-0410-8761-19e4c4f06640
2006-11-22 09:13:01 +00:00
arseny.kapoulkine
6e12a6a274 Moved STL includes into header file
git-svn-id: http://pugixml.googlecode.com/svn/trunk@9 99668b35-9821-0410-8761-19e4c4f06640
2006-11-22 09:09:10 +00:00
arseny.kapoulkine
55a37382ff Updated version number
git-svn-id: http://pugixml.googlecode.com/svn/trunk@6 99668b35-9821-0410-8761-19e4c4f06640
2006-11-06 19:03:54 +00:00
arseny.kapoulkine
965ca3b6ca Name/email updated in source files.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@5 99668b35-9821-0410-8761-19e4c4f06640
2006-11-06 19:02:21 +00:00
arseny.kapoulkine
9a5d7f62fd Added child_value and child_value_w helpers, added more eol handling flags, optimized strconv_t, fixed warnings in MSVC (W4), some inner refactoring, fixed child_value for empty nodes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@3 99668b35-9821-0410-8761-19e4c4f06640
2006-11-06 18:38:04 +00:00
arseny.kapoulkine
69cc3fcb3a pugixml 0.1: sources and documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@2 99668b35-9821-0410-8761-19e4c4f06640
2006-11-06 18:31:28 +00:00