Commit Graph

382 Commits

Author SHA1 Message Date
Lee Thomason
35099af4f3 updating version 2023-12-30 17:56:34 -08:00
Lee Thomason
9d026527a4 Merge branch 'pedantic-whitespace' of https://github.com/kcsaul/tinyxml2 into kcsaul-pedantic-whitespace 2023-11-21 11:40:52 -08:00
Lee Thomason
4c27b08f62 Merge pull request #949 from imba-tjd/master-1
fix compiler detection
2023-11-20 21:27:14 -08:00
Lee Thomason
ac23537e06 Merge pull request #933 from kb1sph/master
Added ChildElementCount()
2023-11-20 21:22:19 -08:00
Lee Thomason
52035717a3 Merge pull request #911 from JurajX/fix_warnings
Fix warnings
2023-11-20 21:11:09 -08:00
谭九鼎
cc4c1df7ec fix compiler detection 2023-08-09 18:28:44 +08:00
Kevin Saul
98303bbda3 add pedantic whitespace mode 2023-05-28 21:36:28 +12:00
kb1sph
904ad04bea Added ChildElementCount
Added ChildElementCount suggested by msteiger on sourceforge for original tinyxml.  Modified for TinyXML-2.
2023-02-06 19:07:13 -05:00
Lee Thomason
e05956094c Merge pull request #925 from hordi/patch-1
Update tinyxml2.h
2023-01-14 18:02:53 -08:00
Yurii Hordiienko
2555efa919 Update tinyxml2.h
do we really need that implicit memset call in line 378?
2022-11-15 17:49:45 -05:00
Juraj
8fd6cc6d2d fix gcc sizetype complaint 2022-06-07 08:07:33 +02:00
Juraj
beb2b2f82d fix more -Wsign-conversion warnings 2022-06-07 07:53:54 +02:00
Juraj
07f497d6d8 fix -Wsuggest-override warnings 2022-06-07 07:27:41 +02:00
Juraj
0691cf72b4 fix -Wsign-conversion warnings 2022-06-07 07:27:27 +02:00
Alessio Quaglino
736659015c Update tinyxml2.h
Increase maximum recursion depth
2022-06-06 14:08:40 +02:00
firewave
c27699a9d6 fixed Clang -Wextra-stmt warnings with TIXMLASSERT 2021-10-30 13:57:50 +02:00
Lee Thomason
1dee28e51f setting the version to 9.0.0 2021-06-06 17:10:24 -07:00
Lee Thomason
9c6752a641 setting the version to 8.1.0 2021-05-15 20:21:47 -07:00
Lee Thomason
91bfd4b7fc Merge pull request #827 from ngc92/ClearError
removed overhead of clear error
2020-12-30 10:35:45 -08:00
Pantelis Lekakis
c87bf8187d reverted the strong typed enum change 2020-09-23 21:59:13 +01:00
Pantelis Lekakis
6df0cae189 - Allowing TIXMLASERT to be defined before including the main header.
- Fix for enum bitmask usage
2020-09-08 00:41:58 +01:00
ngc92
2c6a41a92e removed overhead of clear error 2020-07-30 23:51:30 +03:00
Lee Thomason
4637965335 add test case 2020-07-02 15:23:00 -07:00
justnope
5ee20feaf0 Add QueryAttribute for const char** 2020-06-15 00:47:48 +02:00
Lee Thomason
098eb37398 Merge branch 'master' of github.com:leethomason/tinyxml2 2020-06-13 17:46:53 -07:00
Lee Thomason
8812f197ac make printer functions virtual 2020-06-13 17:46:44 -07:00
Lee Thomason
1578df3bf8 Merge pull request #811 from hyperair/fix-first-line-indentation
XMLPrinter: Fix first line indentation
2020-06-13 17:38:20 -07:00
Lee Thomason
18468b8cc4 minor changes to hex parsing 2020-06-13 17:35:21 -07:00
Lee Thomason
c9c9d8cdfa Merge branch 'master' of https://github.com/netcan/tinyxml2 into netcan-master 2020-06-13 17:26:30 -07:00
Chow Loong Jin
6a514399c2 XMLPrinter: Fix first line indentation
Fix indentation of first line when called with !compactMode.
2020-03-26 17:04:41 +08:00
netcan
dfb45cb73b support IntText(),UnsignedText(),Int64Text() for hex value 2020-03-02 22:26:03 +08:00
Lee Thomason
bf15233ad8 Setting the version to 8.0.0 2020-03-01 17:40:07 -08:00
Lee Thomason
e444268103 add convenience methods 2020-03-01 17:10:38 -08:00
Lee Thomason
6ac05b2b9a Merge branch 'push' of https://github.com/ngc92/tinyxml2 into ngc92-push 2020-03-01 17:01:33 -08:00
ngc92
e620245043 PushNewChild* family of convenience functions 2019-12-03 16:25:53 +01:00
orbitcowboy
73f5409b62 Improved const correctness. There are no functional changes intended. 2019-08-14 09:30:30 +02:00
Lee Thomason
9c740e8d23 setting the version to 7.1.0 2019-08-10 18:05:22 -07:00
Lee Thomason
5bf58f0d1f Merge pull request #753 from orbitcowboy/master
Fixed -Wold-style-cast warnings from g++.
2019-08-10 17:53:39 -07:00
Lee Thomason
effdf95f8c add test cases 2019-08-10 17:49:42 -07:00
Lee Thomason
c36d59f6b5 Merge branch 'master' of git://github.com/cugone/tinyxml2 into cugone-master 2019-08-10 17:40:46 -07:00
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
aaronkirkham07@gmail.com
c341cea501 add missing uint64_t methods to XMLPrinter
add missing XMLElement::Unsigned64Attribute body
2019-05-22 00:05:27 +01:00
orbitcowboy
710a3324f4 Fixed -Wold-style-cast warnings from g++. 2019-05-16 15:30:47 +02:00
cugone
47e229e189 Forgot Text and XMLElement versions; 2019-04-12 17:27:28 -05:00
cugone
75a5acc6bb UnsignedInt64 support 2019-04-11 22:03:43 -05: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