Commit Graph

274 Commits

Author SHA1 Message Date
Kevin Saul
98303bbda3 add pedantic whitespace mode 2023-05-28 21:36:28 +12:00
Lee Thomason
9706d2cdc0 reorder tests 2023-01-14 17:43:38 -08:00
dinghao188
3e94e4a047 add testcase 2022-04-03 06:03:33 +08:00
dinghao188
9efb6b0b66 fix assertion - Assertion '_elementPool.CurrentAllocs() == _elementPool.Untracked()' failed. 2021-09-17 17:49:01 +08:00
cugone
5e76573894 Fix Query function results being assigned to int instead of XMLError 2021-05-09 02:05:54 -05:00
Lee Thomason
4637965335 add test case 2020-07-02 15:23:00 -07:00
Lee Thomason
18468b8cc4 minor changes to hex parsing 2020-06-13 17:35:21 -07:00
Lee Thomason
c9c9d8cdfa Merge branch 'master' of https://github.com/netcan/tinyxml2 into netcan-master 2020-06-13 17:26:30 -07:00
netcan
dfb45cb73b support IntText(),UnsignedText(),Int64Text() for hex value 2020-03-02 22:26:03 +08:00
Lee Thomason
37ccc71008 fix some casting 2020-03-01 16:52:42 -08:00
Lee Thomason
3574d3e22f Merge branch 'tinyxml2_addtestcase' of https://github.com/Alanscut/tinyxml2 into Alanscut-tinyxml2_addtestcase 2020-03-01 16:49:10 -08:00
Alanscut
7d9ca1e73c Supplementary test case
Update xmltest.cpp

Update xmltest.cpp
2019-09-27 16:22:49 +08:00
Alanscut
8916a3c587 fix wrong symbol 2019-09-16 17:03:12 +08:00
Lee Thomason
50daa32fc2 minor fixes to test cases 2019-08-10 18:00:57 -07:00
Lee Thomason
f60928eaa4 Merge branch 'supplementary_test_case' of git://github.com/wangkirin/tinyxml2 into wangkirin-supplementary_test_case 2019-08-10 17:58:17 -07:00
Lee Thomason
4994f1cc57 Merge pull request #754 from wangkirin/reorg_file_path
adjust path of testfile `bomtest.xml` to `resources/out`
2019-08-10 17:54:54 -07:00
Lee Thomason
141d2117ba Merge pull request #751 from wangkirin/fix_comment
fix comment in Programmatic DOM test case
2019-08-10 17:52:25 -07:00
Lee Thomason
effdf95f8c add test cases 2019-08-10 17:49:42 -07:00
wangkirin
f12d7a241f Supplement test case in xmltest.cpp 2019-07-03 14:48:44 +08:00
Wang Kirin
e08c2d2e0e adjust path of testfile bomtest.xml to resource/out 2019-05-30 15:25:04 +08:00
Wang Kirin
4add958b49 fix comment in Programmatic DOM test case 2019-04-29 09:54:45 +08:00
Lee Thomason
992e405384 Merge pull request #716 from Dmitry-Me/fixInt64Slicing
Fix slicing of int64_t
2018-11-06 09:09:57 -08:00
Dmitry-Me
ed3e9dc82e Fix slicing of int64_t 2018-10-17 00:27:33 +03:00
Dmitry-Me
1781494391 Check the element is the last child of the document 2018-10-16 00:11:39 +03:00
Lee Thomason
92506ca698 Merge remote-tracking branch 'origin/master' into manydecs 2018-08-05 17:33:11 -07:00
Lee Thomason
db13a82e62 fix huge number of declaration security issue 2018-07-28 14:56:20 -07:00
orbitcowboy
22b21ec9bc Fixed typos in comments. There are no functional changes intended. 2018-07-17 11:52:57 +02:00
Lee Thomason
c483646db0 fix test cases 2018-06-29 15:57:55 -07:00
Derek Quam
be69ae6352 In PrintString, move the optimization under the if ( _processEntities ) block and retain the strlen Write in the new else block. Added a test case. 2018-04-18 13:40:55 -05:00
Lee Thomason
e2d02e1623 and the same fix in the test case 2018-04-05 15:57:48 -07:00
Lee Thomason
f928c35186 clean up the depth tracking a bit 2018-04-05 09:24:20 -07:00
Lee Thomason
d946ddadc2 upgrade to vs2017. fix stack overflow attack. 2018-04-05 09:11:08 -07:00
Lee Thomason
65b5366a02 Merge pull request #667 from Dmitry-Me/simplifyToUnknownTests
Simplify checks
2018-03-23 12:02:55 -07:00
Lee Thomason
e59e3c3460 Merge pull request #668 from Dmitry-Me/improveDeclarationTestMessage
Improve test message to avoid duplicate log output
2018-03-23 11:26:06 -07:00
Dmitry-Me
6a18a3105c Improve test message to avoid duplicate log output 2018-03-23 21:09:13 +03:00
Dmitry-Me
f5af951f1d Simplify checks 2018-03-23 21:01:25 +03:00
Dmitry-Me
95f687b1f1 Cleanup ErrorName() tests
* clarify what is being tested to avoid duplicate lines in output
* prevent optimizations based on undefined behavior
2018-03-23 20:56:46 +03:00
Dmitry-Me
938560f9f0 Improve handles tests 2018-03-15 01:30:39 +03:00
Lee Thomason
cc1745b552 Merge pull request #649 from PeterMatula/rename-DEBUG-define
rename DEBUG define to TINYXML2_DEBUG
2018-01-18 15:20:59 -08:00
Peter Matula
50689919b7 rename DEBUG define to TINYXML2_DEBUG
The original name is to general. This prevents possible name collisions with other defines, enums, etc. from projects where tinyxml2 is used.
2018-01-09 12:52:26 +01:00
Dmitry-Me
63d8de6278 Remove unneeded conversions 2018-01-09 00:20:45 +03:00
Lee Thomason
703f91e6b8 Merge pull request #643 from leethomason/querystring
QueryStringAttribute
2018-01-05 10:32:18 -08:00
Lee Thomason
28f9a48d5e Merge branch 'master' into querystring 2017-12-29 09:13:50 -08:00
Lee Thomason
ff97dbb2cc Merge branch 'master' into error-str 2017-12-29 09:11:27 -08:00
Lee Thomason
5b00e0662f add query string method 2017-12-28 14:07:47 -08:00
Lee Thomason
a36f7ac776 fix error string output when there is no formatting 2017-12-28 13:48:54 -08:00
Lee Thomason
cf1006943b tweaking docs 2017-12-10 20:03:39 -08:00
Lee Thomason
d556e6df9d Merge branch 'master' into errorstr 2017-10-11 10:57:52 -07:00
Lee Thomason
f49b9658bb fix up error system issues 2017-10-11 10:57:49 -07:00
Lee Thomason
714ccfe29b fix line number tracker. error msg wip 2017-10-10 17:08:12 -07:00