Commit Graph

279 Commits

Author SHA1 Message Date
Lee Thomason e90e901041 tweaks, clarification to line numbers 2016-12-24 07:34:39 -08:00
kezenator 19d8ea836f CodeReview Fix: GetLineNum()? 2016-11-29 19:50:27 +10:00
kezenator 4f756161d0 CodeReview Fix: The non-const reference syntax isn't used in the codebase. Should be a pointer. 2016-11-29 19:46:27 +10:00
kezenator 2489afcc61 Merge branch 'master' of https://github.com/leethomason/tinyxml2 2016-11-29 19:33:44 +10:00
kezenator ec6941503c Added line number reporting to parse errors and to all nodes and attributes for parsed documents. 2016-11-26 17:21:43 +10:00
Lee Thomason 156bc1b99f Merge pull request #502 from Dmitry-Me/reuseClearError
Reuse code for error clearing
2016-11-25 22:06:11 -08:00
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
Dmitry-Me ebb1660c2f Unify null pointer checks 2016-11-16 17:22:45 +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
Dmitry-Me ecb9b07476 Reuse "is element with name" check 2016-10-12 16:44:59 +03: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
Dmitry-Me 21f996960d Assertions in string comparison 2016-10-03 13:01:57 +03:00
Benjamin Doherty 3b9cf99916 Update comments to reflect single successful return type 2016-09-23 18:42:23 -06: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
Dmitry-Me 3161a33c86 Unify increments and decrements 2016-09-02 16:58:06 +03:00
Dmitry-Me 6fc38ec7cc Pointer assertions for substring 2016-09-01 17:59:44 +03:00
Lee Thomason cb6461ca9c Merge pull request #464 from mwoehlke-kitware/elf-visibility
ELF visibility
2016-08-11 07:32:50 -07: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 74d44acb17 fix compile issues on clang 2016-07-17 22:57:36 -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 1889c3e679 try to make gcc happier 2016-06-04 20:22:57 -07:00
Lee Thomason 51c1271797 add int64 support 2016-06-04 20:18:49 -07:00
Lee Thomason a572db13cf ps3 support 2016-06-04 19:16:24 -07:00
Lee Thomason 8553625730 one successful return type. simplify build on vs2015 2016-06-04 19:10:53 -07:00
Lee Thomason d3f5c318ae remove unused XMLBase 2016-06-03 07:49:35 -07:00
Lee Thomason dffea5747b remove mystery comment 2015-10-19 22:51:49 -07:00
Dmitry-Me 9e9c85b3ae Fix SetText() description spelling 2015-10-19 18:04:46 +03:00
Lee Thomason 7bc9201322 remove static-assert accidentally checked in. 2015-10-09 14:45:08 -07:00
Lee Thomason 598a88d9fd used stdlib strncmp function 2015-10-09 14:42:12 -07:00
Philipp Kloke 358202c77a Moved include of <cstdarg> to cpp file 2015-07-30 16:02:26 +02:00
Dmitry-Me 886ad9787c Use "name" for element name 2015-07-22 11:00:51 +03:00
Dmitry-Me 66487eb8f9 Document consistency asserts 2015-07-20 18:21:04 +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
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 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
Dmitry-Me 5420e547d3 Get rid of two distinct enum items with same same 2015-05-20 10:51:26 +03:00
Sarat Addepalli 9afd1d0ceb Clarify meaning of 'empty'
When `XMLDocument::Value()` is called, we intend to return NULL (`( const char* )0`). State that explicitly in the documentation, so as to disambiguate between "empty string" (`""`) and NULL.
2015-05-19 12:56:27 +05:30