Commit Graph

338 Commits

Author SHA1 Message Date
Lee Thomason
1675bec2f2 Merge pull request #743 from deduktionstheorem/master
Issue 742: allow intermittent calls of XMLPrinter::ClearBuffer
2019-08-10 17:35:08 -07:00
Stephan Friedrichs
e1b3013182 Issue 742: allow intermittent calls of XMLPrinter::ClearBuffer
XMLPrinter::ClearBuffer shouldn't set _firstElement to true, unless
called after the document is completely generated. Otherwise, the
layout of the XML file is messed up when the buffer is flushed
intermittently. This commit enables this using a default-initialized
parameter, chosen such that the existing behavior remains uneffected.
2019-03-07 21:30:23 +01:00
orbitcowboy
0e7f289590 Improved const correctness of local variables. There are no functional changes intended. 2019-01-15 11:28:49 +01:00
Lee Thomason
de6d164822 fix export issue and cmake. version to 7.0.1 2018-11-17 19:53:46 -08:00
Lee Thomason
397f22581b setting the version to 7.0.0 2018-11-06 09:37:43 -08:00
Bo Rydberg
65c1b86582 Correct assigment interface for StrPair
Assigment operator takes non-const reference when const reference is the norm.
2018-10-19 18:45:53 +02:00
orbitcowboy
2cc8a4c712 Added explicit-keyword to constructors having 1 argument. 2018-09-05 08:46:21 +02:00
Lee Thomason
c07409b5c3 remove virtual call in destruction 2018-08-25 11:04:13 -07:00
orbitcowboy
22b21ec9bc Fixed typos in comments. There are no functional changes intended. 2018-07-17 11:52:57 +02:00
Lee Thomason
93a8fb18ea Merge branch 'issue647' 2018-06-29 15:53:32 -07:00
Lee Thomason
92fc089e17 remove deprecated errors. next version will be major. 2018-06-29 15:51:37 -07:00
Lee Thomason
2bdb13ae5e Merge pull request #686 from leethomason/issue647
Fix Query return type
2018-06-29 15:42:28 -07:00
Lee Thomason
fc80df3b39 fix query return type 2018-06-29 15:37:29 -07:00
Lee Thomason
70d942e307 remove dead yet conflicting method 2018-06-29 15:31:59 -07:00
Lee Thomason
c1424ee4e1 setting the version to 6.2.0 2018-04-05 23:09:23 -07:00
Lee Thomason
f928c35186 clean up the depth tracking a bit 2018-04-05 09:24:20 -07:00
Lee Thomason
d946ddadc2 upgrade to vs2017. fix stack overflow attack. 2018-04-05 09:11:08 -07:00
Peter Matula
50689919b7 rename DEBUG define to TINYXML2_DEBUG
The original name is to general. This prevents possible name collisions with other defines, enums, etc. from projects where tinyxml2 is used.
2018-01-09 12:52:26 +01:00
Lee Thomason
703f91e6b8 Merge pull request #643 from leethomason/querystring
QueryStringAttribute
2018-01-05 10:32:18 -08:00
Lee Thomason
f26a547fdc sync the version 2017-12-29 09:30:39 -08:00
Lee Thomason
28f9a48d5e Merge branch 'master' into querystring 2017-12-29 09:13:50 -08:00
Lee Thomason
f6dc9be122 merge master 2017-12-29 09:13:15 -08:00
Lee Thomason
5b00e0662f add query string method 2017-12-28 14:07:47 -08:00
Lee Thomason
bd197877ca write the version number as a macro 2017-12-28 13:31:48 -08:00
Lee Thomason
8c8293ba89 setting the version to 6.0.0 2017-12-10 19:55:35 -08:00
Lee Thomason
d548b7e717 Merge branch 'master' into errorstr 2017-11-01 07:52:46 -07:00
Alexander Golubev
b2e08e4bc0 XMLPrinter optimization
Stream writing to buffer will be x5 faster
2017-10-24 17:31:33 -06: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
aa1883928b Error string re-work 2017-09-19 17:54:31 -07:00
Thierry Lelegard
7f0f754cb7 Code cleanup to pass gcc -Weffc++ warnings 2017-09-01 10:14:16 +02: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
effab6ff06 Better variable name 2017-07-26 17:57:50 +03:00
Lee Thomason
37bc3aca42 upping the version to 5.0.1 to fix release vs. source problem 2017-06-26 16:56:16 -07: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
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