Commit Graph

932 Commits

Author SHA1 Message Date
Lee Thomason 8ac308d433 Merge pull request #376 from renu555/renu555-patch-1
Build tinyxml2 as static library
2015-09-21 07:40:39 -07:00
renu555 871d72f3a8 Build tinyxml2 as static library
By Default shared libs are built
To build static library also configure  cmake with -DBUILD_STATIC_LIBS:BOOL=ON
To build only static library configure cmake with -DBILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON
2015-09-18 13:39:51 +05:30
Lee Thomason b5d51e8f90 Merge pull request #371 from PKEuS/master
Declared *PRINTF wrappers as static
2015-08-20 07:37:00 -07:00
jasjuang f6002e6a99 add in support for sudo make uninstall 2015-08-15 16:50:55 -07:00
PKEuS cac75789ba Declared *PRINTF wrappers as static 2015-08-15 18:19:53 +02:00
Lee Thomason 2beb560a3e Merge pull request #367 from Dmitry-Me/preAssertsToEnsureNoBufferLeaks
Asserts to ensure old buffer is not leaked when allocating a new one
2015-08-14 13:57:53 -07:00
Dmitry-Me 96f38cca95 Asserts to ensure old buffer is not leaked when allocating a new one 2015-08-10 16:45:12 +03:00
Lee Thomason bb8fd3c29c Merge pull request #364 from PKEuS/master
Moved include of <cstdarg> to cpp file
2015-08-07 15:51:02 -07:00
Lee Thomason 7ae888a601 Merge pull request #363 from Dmitry-Me/outputLengthAsserts
Asserts for formatted output length
2015-08-07 15:50:16 -07:00
Lee Thomason d101a9b1a6 Merge pull request #366 from yang-le/master
add *.o to .gitignore
2015-08-07 15:46:51 -07:00
Yang Le 14d5490618 add *.o to .gitignore 2015-08-06 22:38:48 +08:00
Philipp Kloke 358202c77a Moved include of <cstdarg> to cpp file 2015-07-30 16:02:26 +02:00
Dmitry-Me 1d32e586d5 Asserts for formatted output length 2015-07-27 17:11:51 +03:00
Lee Thomason 78fca3db83 Merge pull request #361 from RossBencina/master
fix compiler warning (XCode 4.6.1 x86_64) tinyxml2.cpp:2146:77: Impli…
2015-07-23 17:00:05 -07:00
Lee Thomason fd6ad7e3a7 Merge pull request #362 from Dmitry-Me/useElementName
Use "name" for element name
2015-07-23 16:59:20 -07:00
Dmitry-Me 886ad9787c Use "name" for element name 2015-07-22 11:00:51 +03:00
Ross Bencina e7fa0e159e fix compiler warning (XCode 4.6.1 x86_64) tinyxml2.cpp:2146:77: Implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'const int' 2015-07-22 16:58:05 +10:00
Lee Thomason eb89ef6f0d Merge pull request #360 from Dmitry-Me/documentConsistencyAsserts
Document consistency asserts
2015-07-21 16:20:12 -07:00
Dmitry-Me 66487eb8f9 Document consistency asserts 2015-07-20 18:21:04 +03:00
Lee Thomason 400e5b2d60 Merge pull request #358 from Dmitry-Me/betterDocumentWarningSuppression
Better document warning suppression code
2015-07-06 14:17:30 -07:00
Dmitry-Me 8dd493b268 Better document warning suppression code 2015-07-02 13:59:30 +03:00
Lee Thomason 4824e95bc0 Merge pull request #343 from Dmitry-Me/checkEntityWasPrinted
Ensure proper pattern was found and printed
2015-07-01 14:18:15 -07:00
Lee Thomason 70fd52a574 Merge pull request #354 from Dmitry-Me/properCapsVisualStudio
Proper capitalize Visual Studio in comment
2015-06-23 16:30:01 -07:00
Dmitry-Me 1ca593c4ca Proper capitalize Visual Studio in comment 2015-06-22 12:49:32 +03:00
Lee Thomason aebaeea687 Merge pull request #353 from Dmitry-Me/unselessConst
Useless const
2015-06-19 16:55:19 -07:00
Lee Thomason 73f08a3185 Merge pull request #352 from Dmitry-Me/consistencyAsserts
Consistency asserts
2015-06-19 16:54:54 -07:00
Lee Thomason aa8566b137 fix a macro version check 2015-06-19 16:52:40 -07:00
Dmitry-Me 7865aad09b Useless const 2015-06-19 16:23:35 +03:00
Dmitry-Me 2f5a103992 Consistency asserts 2015-06-18 16:40:09 +03:00
Lee Thomason 53db4a6cf4 move to cpp file. 2015-06-11 22:52:08 -07:00
pffang 1527cf4b2f Patch for Visual Studio 2003 and earlier.
This patch will be easy to extend in the future.
2015-06-09 13:57:11 +08:00
Lee Thomason 2b2649e1e4 Merge pull request #349 from Dmitry-Me/properHandleSmallBufferOnCe
Don't use -1 as buffer length
2015-06-08 17:14:14 -07:00
Dmitry-Me 687bf8211f Don't use -1 as buffer length 2015-06-08 18:06:44 +03:00
Dmitry-Me 39c399a0f2 Ensure proper pattern was found and printed 2015-05-28 15:32:27 +03:00
Lee Thomason 91f2dcfb5c Merge pull request #342 from Dmitry-Me/testErrorNames
Test error name is non-empty for the whole range
2015-05-26 11:09:12 -07:00
Lee Thomason 32de9f02f5 Merge pull request #341 from Dmitry-Me/cleanupComment
Remove redundant comment, fix typo and formatting
2015-05-26 09:18:55 -07:00
Dmitry-Me a1beddf486 Test error name is non-empty for the whole range 2015-05-26 16:19:21 +03:00
Dmitry-Me 962083b9d1 Remove redundant comment, fix typo and formatting 2015-05-26 11:38:30 +03:00
Lee Thomason 735ce51124 Merge pull request #339 from Dmitry-Me/properFixGccSignCompare
Proper fix gcc -Wsign-compare
2015-05-25 10:40:45 -07:00
Dmitry-Me ca86a0fa2a Proper fix gcc -Wsign-compare 2015-05-25 11:29:14 +03:00
Lee Thomason c879a4d48c Merge pull request #338 from Dmitry-Me/removeAmbiguousEnumItems
Get rid of two distinct enum items with same same
2015-05-22 11:09:33 -07:00
Lee Thomason 949ae37e0a Merge pull request #337 from Dmitry-Me/checkEntityFoundExplicitly
Explicitly check entity was not found
2015-05-22 11:08:31 -07:00
Lee Thomason 03d0f4ea25 Merge branch 'SirR4T-assert-fires-when-calling-XMLDocument--Value' 2015-05-22 11:07:58 -07:00
Lee Thomason 8549202800 clean up Value of XMLDocument 2015-05-22 11:07:45 -07:00
Lee Thomason c52aa55a86 Merge branch 'SirR4T-patch-1' 2015-05-22 11:00:59 -07:00
Lee Thomason 7a93b33160 tighten up the error checks 2015-05-22 11:00:32 -07:00
Lee Thomason 2ecc203835 Merge branch 'patch-1' of https://github.com/SirR4T/tinyxml2 into SirR4T-patch-1 2015-05-22 10:57:00 -07:00
Dmitry-Me 5420e547d3 Get rid of two distinct enum items with same same 2015-05-20 10:51:26 +03:00
Dmitry-Me 764545e02a Explicitly check entity was not found 2015-05-20 10:29:24 +03:00
Sarat Addepalli 3df007ef9d Fix and use correct pointers and types.
Should have been `XMLDeclaration* decl = ...` instead of `XMLElement* ele = ...`
2015-05-20 10:43:51 +05:30