Commit Graph

932 Commits

Author SHA1 Message Date
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
Lee Thomason 0bb5901961 Merge pull request #466 from Dmitry-Me/makeCommentMoreConcise
Make comment more concise
2016-08-11 07:34:16 -07:00
Lee Thomason 9faf14df53 Merge pull request #465 from Dmitry-Me/unifyNodeDeletion
Unify node deletion
2016-08-11 07:33:53 -07:00
Lee Thomason cb6461ca9c Merge pull request #464 from mwoehlke-kitware/elf-visibility
ELF visibility
2016-08-11 07:32:50 -07:00
Lee Thomason c7805c541c Merge pull request #463 from Dmitry-Me/clarifyMemoryPoolParts
Clarify "block" and "chunk"
2016-08-11 07:28:08 -07:00
Dmitry-Me caa72a641e Make comment more concise 2016-08-10 17:34:34 +03:00
Dmitry-Me 4de7abb573 Unify node deletion 2016-08-10 17:30:02 +03:00
Matthew Woehlke 8170bdc693 Build with hidden symbols by default
Turn on options to tell CMake to use -fvisibility=hidden by default (on
applicable platforms). This has some optimization benefits, and more
closely mirrors the Windows behavior of only exporting symbols marked
for export, which can help catch errors doing so on non-Windows
platforms.

This requires CMake 2.8.12 to be effective. (Otherwise, the logic will
simply have no effect.)
2016-08-09 13:21:06 -04:00
Matthew Woehlke a8e7ea7fb0 Set ELF visibility
Set symbol visibility to "default" on non-Windows platforms. This allows
building with -fvisibility=hidden, which has various advantages, and
which some projects will almost certainly want to do.
2016-08-09 13:16:26 -04:00
Dmitry-Me 88145b8ae6 Clarify "block" and "chunk" 2016-08-09 17:59:31 +03:00
Lee Thomason 75c8f40640 Merge pull request #459 from Elbrasch/master
Added void XMLPrinter::PushText( int64_t value ), which was declared …
2016-08-05 13:10:16 -07:00
Lee Thomason 1043f6feed Merge pull request #460 from Dmitry-Me/pointerAssertion
Pointer assertion for contract clarity
2016-08-05 13:09:25 -07:00
Dmitry-Me db02b21bc5 Pointer assertion for contract clarity 2016-08-04 17:16:05 +03:00
Stefan Asbeck e1a82c1a50 Added void XMLPrinter::PushText( int64_t value ), which was declared but not implemented. 2016-08-04 09:12:45 +02:00
Lee Thomason 74d44acb17 fix compile issues on clang 2016-07-17 22:57:36 -07:00
Lee Thomason c9445466de fix permissive casting. 2016-07-17 22:53:48 -07:00
Lee Thomason 5bf60e9dc6 try to fix the lld issue 2016-07-17 22:49:40 -07:00
Lee Thomason 6ba2a077ed upping the major version. lots of small (incompatible) changes, and the addition of int64 support. 2016-07-17 22:40:43 -07:00
Lee Thomason af9bce1762 support user data 2016-07-17 22:35:52 -07:00
Lee Thomason 536a4cde37 Merge branch 'master' into int64support 2016-07-17 21:37:39 -07:00
Lee Thomason 098bd1f17a fix project file version 2016-07-17 21:35:10 -07:00