Commit Graph

254 Commits

Author SHA1 Message Date
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
Lee Thomason
7abfa6b1a0 Merge branch 'gccWeffc' of git://github.com/lelegard/tinyxml2 into lelegard-gccWeffc 2017-10-10 16:33:58 -07:00
Lee Thomason
dd4034c518 Merge pull request #626 from Dmitry-Me/betterTestDeletionLoop
Better test deletion loop
2017-10-09 16:00:27 -07:00
Dmitry-Me
b41e24aa1c Better test deletion loop 2017-09-27 18:51:01 +03:00
Dmitry-Me
f0f2e99cf2 Check result of Accept() 2017-09-25 17:38:42 +03:00
Lee Thomason
3a37e64113 Merge pull request #623 from Dmitry-Me/testErrorName
Test ErrorName() returns valid string after SetError()
2017-09-18 09:40:20 -07:00
Dmitry-Me
e8f4a8b567 Fix crash when element is being inserted "after itself" 2017-09-15 19:34:36 +03:00
Dmitry-Me
47845b699a Test ErrorName() returns valid string after SetError() 2017-09-15 19:03:02 +03:00
Dmitry-Me
a9e75d1b25 Clarify comment 2017-09-08 19:05:23 +03:00
Thierry Lelegard
7f0f754cb7 Code cleanup to pass gcc -Weffc++ warnings 2017-09-01 10:14:16 +02:00
Lee Thomason
dbf18add4c Merge pull request #613 from Dmitry-Me/testResultOfSetError
Test SetError() has effect
2017-08-30 10:42:50 -07:00
Dmitry-Me
d3f6c6361c Test SetError() has effect 2017-08-30 17:43:14 +03:00
Dmitry-Me
2604336737 Fix misleading comment 2017-08-30 17:40:15 +03:00
Dmitry-Me
985ea1f78f Test Clear() clears the error 2017-08-28 18:36:29 +03:00
Dmitry-Me
caed4ec7d8 Clarify what is being tested 2017-08-11 17:39:47 +03:00
Lee Thomason
4bbf74205c Merge pull request #603 from Dmitry-Me/cleanupFopenTests
Cleanup fopen() tests
2017-08-10 15:08:34 -07:00
Lee Thomason
30dec75919 Merge pull request #602 from Dmitry-Me/testWithStopwatchOff
Stopwatch must be stopped before test check
2017-08-10 15:07:11 -07:00
Lee Thomason
cd453f86e8 Merge pull request #596 from Dmitry-Me/useValidPointerForUserData
Use valid pointer for user data
2017-08-10 15:06:26 -07:00
Dmitry-Me
520009ef1c Cleanup fopen() tests 2017-08-10 17:50:03 +03:00
Dmitry-Me
1ab85878ba Stopwatch must be stopped before test check 2017-08-10 17:28:10 +03:00
Lee Thomason
82e20b1831 Merge pull request #601 from Dmitry-Me/testErrorIdAfterParse
Test ErrorID after Parse()
2017-08-09 11:12:18 -07:00