0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-31 00:13:01 +08:00

169 Commits

Author SHA1 Message Date
arseny.kapoulkine
45dc0226d1 tests: Added one more normalize-space test, added tests for all logical & comparison operators
git-svn-id: http://pugixml.googlecode.com/svn/trunk@183 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 18:39:43 +00:00
arseny.kapoulkine
babd0c2c9b tests: More function argument parsing tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@182 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 07:45:33 +00:00
arseny.kapoulkine
83183769c1 tests: Added function arguments tests, added arithmetic operators tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@181 99668b35-9821-0410-8761-19e4c4f06640
2009-10-28 07:40:15 +00:00
arseny.kapoulkine
3472d0272c XPath: Fixed string-value evaluation for node set
git-svn-id: http://pugixml.googlecode.com/svn/trunk@180 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27 21:57:39 +00:00
arseny.kapoulkine
bf92a09870 tests: Completed string function tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@179 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27 21:56:49 +00:00
arseny.kapoulkine
3a9ba80368 XPath: Fixed concat() crash
git-svn-id: http://pugixml.googlecode.com/svn/trunk@178 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27 20:16:30 +00:00
arseny.kapoulkine
fb689fed2b tests: More decimal digits are tested
git-svn-id: http://pugixml.googlecode.com/svn/trunk@177 99668b35-9821-0410-8761-19e4c4f06640
2009-10-27 20:16:08 +00:00
arseny.kapoulkine
45298c730b tests: Added different casing to lang test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@176 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 20:47:52 +00:00
arseny.kapoulkine
1b0a27c7f4 XPath: Fixed lang() function
git-svn-id: http://pugixml.googlecode.com/svn/trunk@175 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 20:46:57 +00:00
arseny.kapoulkine
9233e86055 tests: Added lang() tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@174 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 20:46:42 +00:00
arseny.kapoulkine
5cc45c8289 tests: Added tests for some XPath functions
git-svn-id: http://pugixml.googlecode.com/svn/trunk@173 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 20:37:54 +00:00
arseny.kapoulkine
27ec5a0b37 XPath: Fixed empty string literals, don't add empty nodes/attributes in node sets (i.e. for self axis)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@172 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 20:37:25 +00:00
arseny.kapoulkine
aabb302d60 Fixed parsing of empty strings in rare cases for XPath
git-svn-id: http://pugixml.googlecode.com/svn/trunk@171 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 19:09:39 +00:00
arseny.kapoulkine
40c0a5f09a tests: Added basic XPath tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@170 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 19:09:12 +00:00
arseny.kapoulkine
cbdce99d5c tests: Added more escape error tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@169 99668b35-9821-0410-8761-19e4c4f06640
2009-10-21 08:52:27 +00:00
arseny.kapoulkine
0ceaa38aeb tests: Added forgotten test files
git-svn-id: http://pugixml.googlecode.com/svn/trunk@168 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 21:39:43 +00:00
arseny.kapoulkine
009f3d50d2 tests: Restored -n flag for gcov
git-svn-id: http://pugixml.googlecode.com/svn/trunk@167 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 21:39:27 +00:00
arseny.kapoulkine
2d6dd88454 tests: Final core tests, 99.0% coverage for pugixml.cpp
git-svn-id: http://pugixml.googlecode.com/svn/trunk@166 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 21:36:56 +00:00
arseny.kapoulkine
c4fbc83cd0 tests: Added memory leak detection
git-svn-id: http://pugixml.googlecode.com/svn/trunk@165 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 21:36:29 +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
a837271e9d tests: Added wildcard and doctype tests
git-svn-id: http://pugixml.googlecode.com/svn/trunk@163 99668b35-9821-0410-8761-19e4c4f06640
2009-10-20 20:51:20 +00:00
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