Commit Graph

302 Commits

Author SHA1 Message Date
Dmitry-Me 3f63f21cf5 Better parameter name 2017-06-19 18:25:19 +03:00
Lee Thomason bc527554e8 Merge pull request #558 from leethomason/clone
Support clone (deep copy) of XMLDocument and XMLNode
2017-06-15 12:01:48 -07:00
Dmitry-Me c2f677b05e Unlinked nodes assertions 2017-06-15 12:44:27 +03:00
Lee Thomason 1346a174ae tweak comments. fix copy to self case. 2017-06-14 15:14:19 -07:00
Lee Thomason 1bbc66b193 Merge branch 'master' into clone 2017-06-14 15:10:37 -07:00
Lee Thomason b754ddf0fb address feedback from review 2017-06-14 15:02:38 -07:00
Lee Thomason 816d3fa0cd Fix string leaking (and destructors not getting called) when there are XMLNodes that aren't in the document tree 2017-06-05 14:35:55 -07:00
Lee Thomason 53858b4490 minor formatting fix and very strange memory tracker missing 2017-06-01 19:09:16 -07:00
Lee Thomason a30f8bd136 Merge remote-tracking branch 'origin/master' into clone 2017-06-01 18:46:53 -07:00
Lee Thomason b29f556ab0 comment 2017-06-01 18:45:32 -07:00
Lee Thomason 7085f00e40 deep copy and clone 2017-06-01 18:09:43 -07:00
Lee Thomason 33a1f8bd6c Merge pull request #552 from Dmitry-Me/ensureNoOverrunBeforeCopy
Ensure no overrun before copying
2017-05-18 21:13:48 -07:00
Dmitry-Me 243ddf5304 Ensure no overrun before copying 2017-05-18 17:27:14 +03:00
Dmitry-Me 10b8ecc99b Clarify variable names 2017-04-12 17:57:44 +03:00
Dmitry-Me e503563f47 Fully use enum 2017-04-05 18:02:40 +03:00
Dmitry-Me ae8a82a734 Clearer variable name 2017-03-03 15:40:32 +03:00
Lee Thomason 92c0ef327f Merge pull request #527 from Dmitry-Me/reuseNodesCreationCode
Extract and reuse nodes creation code
2017-03-01 13:15:52 -08:00
Dmitry-Me 2aebfb7123 Extract and reuse nodes creation code 2017-02-27 15:53:40 +03:00
Lee Thomason b37cb42b78 Merge pull request #513 from leethomason/bool-write
Bool serialization.
2017-02-17 12:39:06 -08:00
Dmitry-Me d120d64b86 Initialize member variable 2017-01-27 18:35:02 +03:00
Lee Thomason c5c99c2ba0 tweaks to bool serialization 2016-12-29 11:19:17 -08:00
Lee Thomason f458d265c1 fix const. hopefully. 2016-12-26 22:47:25 -08:00
Lee Thomason ce667c9233 ability to set bool write values 2016-12-26 16:45:30 -08:00
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