0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-28 23:03:00 +08:00

98 Commits

Author SHA1 Message Date
arseny.kapoulkine
c026597234 tests: Added more tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@162 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 20:25:35 +00:00
arseny.kapoulkine
a2249c1304 Removed dead code (UTF8 sequences of length 5 are considered broken, removed dead branch in PI parsing)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@161 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 20:25:13 +00:00
arseny.kapoulkine
5624befce1 Fixed node_pi and node_declaration copying
git-svn-id: http://pugixml.googlecode.com/svn/trunk@160 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 19:21:34 +00:00
arseny.kapoulkine
02cb7bf685 tests: More tree modification tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@159 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 19:21:13 +00:00
arseny.kapoulkine
dce82d3fb7 tests: More coverage
git-svn-id: http://pugixml.googlecode.com/svn/trunk@158 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 18:04:18 +00:00
arseny.kapoulkine
3d986d2b0d tests: Added declaration and document load/load_file error tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@157 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 17:49:52 +00:00
arseny.kapoulkine
a0990f0975 tests: Added parsing tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@156 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 17:41:08 +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
557a690529 tests: Added document tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@154 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12 16:42:13 +00:00
arseny.kapoulkine
e1013bfcd8 PCDATA is now output with trailing newline if format_raw is not set and PCDATA is not the only child
git-svn-id: http://pugixml.googlecode.com/svn/trunk@153 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12 16:27:05 +00:00
arseny.kapoulkine
80d778d053 tests: Refactored checking macros, added writing tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@152 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12 16:26:18 +00:00
arseny.kapoulkine
9c7d93817e Fixed xml_node::remove_attribute in case of empty attribute as a parameter
git-svn-id: http://pugixml.googlecode.com/svn/trunk@151 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12 10:34:49 +00:00
arseny.kapoulkine
8cc555de36 tests: More DOM modification tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@150 99668b35-9821-0410-8761-19e4c4f06640
2009-10-12 10:34:24 +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
b6433db226 tests: Initial tree modification tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@148 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 10:24:12 +00:00
arseny.kapoulkine
473ab35934 tests: Some finishing touches for test_dom_traverse (for now)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@147 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 09:06:01 +00:00
arseny.kapoulkine
f3ef88386c traverse now sets depth to -1 for both begin() and end()
git-svn-id: http://pugixml.googlecode.com/svn/trunk@146 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 08:40:11 +00:00
arseny.kapoulkine
29e42bb25f tests: Added more node tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@145 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 08:39:40 +00:00
arseny.kapoulkine
b50199492b Fixed offset_debug for pi nodes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@144 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 07:47:43 +00:00
arseny.kapoulkine
e350e9553c tests: Added more node/attribute tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@143 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 07:47:28 +00:00
arseny.kapoulkine
e11a81455a tests: Added more node/attribute tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@142 99668b35-9821-0410-8761-19e4c4f06640
2009-10-11 06:49:30 +00:00
arseny.kapoulkine
6ff7e79575 tests: Added more node/attribute tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@141 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 21:58:44 +00:00
arseny.kapoulkine
6db04f4320 tests: Added simple test framework, added a couple of tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@140 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 21:36:03 +00:00
arseny.kapoulkine
ab28c3b45e Minor build framework fixes
git-svn-id: http://pugixml.googlecode.com/svn/trunk@139 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 20:48:55 +00:00
arseny.kapoulkine
52aa5325f3 Initial test building support along with a stub test file
git-svn-id: http://pugixml.googlecode.com/svn/trunk@138 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 20:14:04 +00:00
arseny.kapoulkine
78eddacef5 XPath: translate() function fixed
git-svn-id: http://pugixml.googlecode.com/svn/trunk@137 99668b35-9821-0410-8761-19e4c4f06640
2009-10-10 10:12:43 +00:00
arseny.kapoulkine
7209359dfe Fixed documentation changelog
git-svn-id: http://pugixml.googlecode.com/svn/trunk@136 99668b35-9821-0410-8761-19e4c4f06640
2009-10-09 18:10:33 +00:00
arseny.kapoulkine
2530e304a5 Updated changelog once more
git-svn-id: http://pugixml.googlecode.com/svn/trunk@132 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17 18:29:58 +00:00
arseny.kapoulkine
27b7f61525 Updated changelog
git-svn-id: http://pugixml.googlecode.com/svn/trunk@131 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17 18:27:06 +00:00
arseny.kapoulkine
ca8a2a450c Updated doxygen-generated documentation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@130 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17 18:20:49 +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
fcce7152ac Fixed compilation warnings on BCC
git-svn-id: http://pugixml.googlecode.com/svn/trunk@128 99668b35-9821-0410-8761-19e4c4f06640
2009-09-17 18:14:05 +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
7797d49ed6 XPath fixes (now it should fail to compile incorrect queries)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@123 99668b35-9821-0410-8761-19e4c4f06640
2009-08-31 12:28:20 +00:00
arseny.kapoulkine
0eb2da4686 Fix multithreaded XPath evaluation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@122 99668b35-9821-0410-8761-19e4c4f06640
2009-06-24 12:05:56 +00:00
arseny.kapoulkine
c95b553a81 Fixed destroying of attribute/node name/values (it now uses custom deallocation function, if any)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@121 99668b35-9821-0410-8761-19e4c4f06640
2009-04-10 10:06:47 +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
9e3d8be0d0 Fixed compilation warning for gcc-4.3
git-svn-id: http://pugixml.googlecode.com/svn/trunk@119 99668b35-9821-0410-8761-19e4c4f06640
2009-03-04 22:11:06 +00:00
arseny.kapoulkine
e5bd53e319 Fixed compilation warning in case char type is signed
git-svn-id: http://pugixml.googlecode.com/svn/trunk@118 99668b35-9821-0410-8761-19e4c4f06640
2009-02-28 18:00:42 +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
af27b0937b Fixed bug in xml_buffer_writer::write
git-svn-id: http://pugixml.googlecode.com/svn/trunk@116 99668b35-9821-0410-8761-19e4c4f06640
2009-02-08 07:39:49 +00:00
arseny.kapoulkine
3579de9141 Fixed nostl mode
git-svn-id: http://pugixml.googlecode.com/svn/trunk@115 99668b35-9821-0410-8761-19e4c4f06640
2009-01-26 06:10:36 +00:00
arseny.kapoulkine
c20b3a73e2 Minor documentation fix
git-svn-id: http://pugixml.googlecode.com/svn/trunk@114 99668b35-9821-0410-8761-19e4c4f06640
2009-01-25 21:40:33 +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