Commit Graph

902 Commits

Author SHA1 Message Date
kezenator 5a70071241 Added static method to convert arbitrary ErrorID to a string.
Updated tests to print ErrorID and bool values as strings.
2016-11-26 13:54:42 +10:00
Dmitry-Me 0d2cef0cba Reuse code for error clearing 2016-11-25 18:39:52 +03:00
Dmitry-Me a60caa28cc Reuse attribute creation code 2016-11-22 18:28:08 +03:00
Lee Thomason f80d78d938 Merge pull request #499 from Dmitry-Me/unifyNullComparisons
Unify null pointer checks
2016-11-17 14:43:55 -08:00
Dmitry-Me ebb1660c2f Unify null pointer checks 2016-11-16 17:22:45 +03:00
Lee Thomason 7de0b6dd8c Merge pull request #493 from leethomason/jwittner
Friendly API for attribute query.
2016-11-15 14:09:03 -08:00
Lee Thomason d04f21cab8 Merge pull request #496 from Dmitry-Me/detectDeclarationPlacement
Declarations should occur before anything else
2016-11-15 14:08:04 -08:00
Dmitry-Me 446c3bcae3 Declarations should occur before anything else 2016-11-11 10:34:56 +03:00
Lee Thomason cd47f8e0d3 Merge pull request #495 from Dmitry-Me/pointerAssertionAfterIdentify
Pointer post-assertion
2016-11-10 14:36:10 -08:00
Dmitry-Me 4336431272 Pointer post-assertion 2016-11-07 18:48:50 +03:00
Lee Thomason 13cbc9a708 add test files. fix doc. 2016-10-27 14:55:07 -07:00
Lee Thomason c9a6102bf1 Merge branch 'master' of git://github.com/jwittner/tinyxml2 into jwittner-master 2016-10-27 14:33:52 -07:00
Lee Thomason 6bbcda0215 Merge pull request #490 from Dmitry-Me/avoidCastToSigned
Avoid cast to signed integer type
2016-10-17 15:34:20 -07:00
Lee Thomason 15ad07170d Merge pull request #489 from Armagetron/master
Use correct file pointer
2016-10-17 15:33:57 -07:00
Lee Thomason ed2627e5a7 Merge pull request #487 from jwittner/dev/slnFixes
Fixes for Visual Studio builds and gitignore output
2016-10-17 15:33:26 -07:00
Dmitry-Me c5f1e7ce6e Avoid cast to signed integer type 2016-10-14 10:33:02 +03:00
Armagetron 3c21d6fbb7 Use correct file pointer 2016-10-13 13:31:23 +02:00
Lee Thomason f6106bec9a Merge pull request #488 from Dmitry-Me/reuseElementWithNameCheck
Reuse "is element with name" check
2016-10-12 15:23:39 -07:00
Dmitry-Me ecb9b07476 Reuse "is element with name" check 2016-10-12 16:44:59 +03:00
Josh Wittner edb3261c51 Ignore SLn output dirs, VC files 2016-10-11 19:04:15 -07:00
Josh Wittner 01f6cca9e1 Standardize output directory - fixes conflicts 2016-10-11 19:03:10 -07:00
Josh Wittner 513e69ba68 Merge branch 'master' of https://github.com/leethomason/tinyxml2 2016-10-11 19:00:53 -07:00
Josh Wittner cf3dd09b08 Move implementations to cpp 2016-10-11 18:57:17 -07:00
Lee Thomason e8157ff9ae Merge pull request #484 from kainjow/patch-2
Fix warning on PowerPC
2016-10-11 13:52:45 -07:00
Lee Thomason b2f4dc2a7b Merge pull request #483 from kainjow/patch-1
Fix typo
2016-10-11 13:45:35 -07:00
Lee Thomason 0d3de1edbe Merge pull request #482 from Dmitry-Me/stringEqualAssertions
Assertions in string comparison
2016-10-11 13:11:06 -07:00
Kevin Wojniak 318252a973 Fix warning on PowerPC
GCC 5+ will generate "error: comparison is always true due to limited range of data type" when -Wextra is used because PowerPC by default uses unsigned char, so it can never be less than 0.
2016-10-07 10:37:02 -07:00
Kevin Wojniak 3c97724d0e Fix typo 2016-10-06 16:05:59 -07:00
Dmitry-Me 21f996960d Assertions in string comparison 2016-10-03 13:01:57 +03:00
Lee Thomason f00c179eba Merge pull request #480 from kurylo/fix/2016-09-29-cmake-warning
Fix cmake warnings on new cmake versions.
2016-10-02 21:24:49 -07:00
Lee Thomason 7fcf31b2c3 Merge pull request #477 from bejado/XML_NO_ERROR_Comments
Update comments to reflect single successful return type
2016-10-02 21:22:42 -07:00
Lee Thomason 6f1ad6153e Merge pull request #471 from Dmitry-Me/loopInvariantAssertions
Loop invariant pointer assertions
2016-10-02 21:21:38 -07:00
Łukasz Kuryło aad61870a9 Fix cmake warnings on new cmake versions. 2016-09-29 18:59:07 +02:00
Benjamin Doherty 3b9cf99916 Update comments to reflect single successful return type 2016-09-23 18:42:23 -06:00
Lee Thomason e9b547a9ee Merge pull request #475 from Dmitry-Me/splitAccessAndAdjustment
Split access and pointer adjustment
2016-09-14 10:31:10 -07:00
Josh Wittner 3a621f5b6e Added default values TypeText accessors 2016-09-12 19:17:54 -07:00
Dmitry-Me fed511276f Split access and pointer adjustment 2016-09-06 18:08:55 +03:00
Lee Thomason 584af57086 fix error string memory errors 2016-09-05 14:14:16 -07:00
Lee Thomason 2e14517c89 Merge pull request #474 from Dmitry-Me/unifyIncDecOps
Unify increments and decrements
2016-09-05 13:52:58 -07:00
Lee Thomason 24694e9519 Merge pull request #473 from Dmitry-Me/preferConstAccess
Use const where const is enough
2016-09-05 13:52:22 -07:00
Lee Thomason 0d667f8fef Merge pull request #472 from Dmitry-Me/pointerAssertionsStrPairSet
Pointer assertions for substring
2016-09-05 13:51:59 -07:00
Dmitry-Me 3161a33c86 Unify increments and decrements 2016-09-02 16:58:06 +03:00
Dmitry-Me 2449582eaf Use const where const is enough 2016-09-02 16:53:32 +03:00
Dmitry-Me 6fc38ec7cc Pointer assertions for substring 2016-09-01 17:59:44 +03:00
Dmitry-Me f9f3c3e85c Loop invariant pointer assertions 2016-08-30 15:51:55 +03:00
Lee Thomason 4fe8c102da Merge pull request #469 from Trebgarta/master
Bool true/false rather than 0/1 : #399
2016-08-28 17:21:04 -07:00
Lee Thomason a369d4b614 Merge pull request #468 from Dmitry-Me/reuseDeleteChild
Reuse DeleteChild()
2016-08-28 17:13:28 -07:00
Doruk Turak 1f212f3ab0 Bool-related tests modified to pass 2016-08-28 20:54:17 +02:00
Doruk Turak de45d04711 SetAttribute: true/false rather 1/0 2016-08-28 20:47:08 +02:00
Dmitry-Me 9cb4eca596 Reuse DeleteChild() 2016-08-18 18:10:59 +03:00