Commit Graph

364 Commits

Author SHA1 Message Date
Alex Alabuzhev 90e69c95ef
Suppress MSVC warning C4267: conversion from 'size_t' to 'int', possible loss of data 2017-11-09 00:33:05 +00:00
Lee Thomason d548b7e717 Merge branch 'master' into errorstr 2017-11-01 07:52:46 -07:00
Lee Thomason eb2f51e63b removed unused variables 2017-11-01 07:52:43 -07:00
Brad Anderson 85aac02172 Minor performance tweaks 2017-10-24 21:48:28 -06:00
Alexander Golubev b2e08e4bc0 XMLPrinter optimization
Stream writing to buffer will be x5 faster
2017-10-24 17:31:33 -06:00
Lee Thomason 0c0f98bf84 merge from master 2017-10-11 11:03:49 -07:00
Lee Thomason d556e6df9d Merge branch 'master' into errorstr 2017-10-11 10:57:52 -07:00
Lee Thomason f49b9658bb fix up error system issues 2017-10-11 10:57:49 -07:00
Lee Thomason 714ccfe29b fix line number tracker. error msg wip 2017-10-10 17:08:12 -07:00
Lee Thomason 7abfa6b1a0 Merge branch 'gccWeffc' of git://github.com/lelegard/tinyxml2 into lelegard-gccWeffc 2017-10-10 16:33:58 -07:00
Lee Thomason aa1883928b Error string re-work 2017-09-19 17:54:31 -07:00
Dmitry-Me e8f4a8b567 Fix crash when element is being inserted "after itself" 2017-09-15 19:34:36 +03:00
Thierry Lelegard 7f0f754cb7 Code cleanup to pass gcc -Weffc++ warnings 2017-09-01 10:14:16 +02:00
Dmitry-Me a28eb0763d Extract and reuse conversion code 2017-08-25 18:34:18 +03:00
Shuichiro Suzuki 87cd4e0582 Add 'const' on XMLDocument::DeepCopy. This make us copy const
XMLDocument being copied to another document.
2017-08-24 11:20:26 +09:00
Dmitry-Me 3cc6f5c6f2 Annotate fall throughs with comments 2017-08-03 18:42:20 +03:00
Lee Thomason 8c9e3133c4 remove error string inline. hopefully helps with odd linking issues 2017-06-26 16:55:01 -07:00
Lee Thomason 8bba8b41d6 mark unused enums 2017-06-20 09:18:41 -07:00
Lee Thomason 9201bb96d3 Merge pull request #563 from Dmitry-Me/betterParameterNameInClone
Better parameter name
2017-06-19 14:23:39 -07:00
Dmitry-Me 3f63f21cf5 Better parameter name 2017-06-19 18:25:19 +03:00
Lee Thomason 8a763619ac fix incorrect factoring 2017-06-16 09:30:16 -07: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 a30f8bd136 Merge remote-tracking branch 'origin/master' into clone 2017-06-01 18:46:53 -07:00
Lee Thomason 7085f00e40 deep copy and clone 2017-06-01 18:09:43 -07: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 ba68a3aea6 Pointer assertion 2017-03-21 11:39:48 +03:00
Lee Thomason 395ea09f83 Merge pull request #538 from Dmitry-Me/suppressC6011
Suppress C6011 code analysis false positive warning
2017-03-06 12:49:35 -08:00
Dmitry-Me 7221b49fea Suppress C6011 code analysis false positive warning 2017-03-03 15:45:51 +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 f89bd3ef68 Initialize member variables 2017-01-18 18:33:55 +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 5b733ff481 Merge pull request #504 from Dmitry-Me/ensureLinkPointersAreNotOverwritten
Ensure existing attributes are not leaked on attribute insertion
2016-12-24 07:39:17 -08:00
Lee Thomason e90e901041 tweaks, clarification to line numbers 2016-12-24 07:34:39 -08:00
Dmitry-Me 34a3f8e34d Ensure existing attributes are not leaked on attribute insertion 2016-12-19 12:05:21 +03:00
kezenator e353181a46 CodeReview Fix: initialLineNum? Something a little more descriptive? 2016-11-29 19:49:07 +10:00
kezenator e3d44159e3 CodeReview Fix: The initializer syntax isn't used. Should be 'int unusedLineNum = 0` 2016-11-29 19:47:55 +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