Commit Graph

1216 Commits

Author SHA1 Message Date
Lee Thomason
a0f66fdf71 Merge pull request #984 from Blake-Madden/master
Fix typo in comment
2024-06-13 08:29:51 -07:00
Lee Thomason
a965e28c4f Merge pull request #978 from AlbertHungGarmin/fix-format-specifier
Fix format specifier mismatch in XMLUtil::ToStr
2024-06-13 08:17:16 -07:00
Blake-Madden
5b04868fee Fix typo in comment 2024-06-01 15:41:57 -04:00
Albert Hung
dded8bb2e9 Fix format specifier mismatch in XMLUtil::ToStr
In the XMLUtil::ToStr( uint64_t v, char* buffer, int bufferSize ) function, the format specifier %llu was used with a signed long long argument. This caused a type mismatch warning. The argument has been changed to unsigned long long to match the format specifier, resolving the warning.
2024-05-15 19:43:55 +08:00
Lee Thomason
312a809224 Merge pull request #976 from leethomason/AlbertHungGarmin-format_error
Albert hung garmin format error
2024-04-20 19:46:41 -07:00
Lee Thomason
c33aae04d9 kick the system 2024-04-20 19:44:22 -07:00
Lee Thomason
0f9c021a44 Merge pull request #973 from davidoakley/fix-android-before-api24
Use fseek/ftell on Android when api level < 24
2024-04-20 19:34:58 -07:00
David Oakley
dfc20c5f8f Android SDK<24 doesn’t support fseeko/ftello
Fall back to using fseek/ftell;
This was broken by d9fb8d3443
2024-04-08 12:58:12 +01:00
Albert Hung
1d658f0d95 Fix format error of TIXML_SNPRINTF
The format "%x" is treated as an unsigned int by the GCC compiler. Use static_cast to cast the error to an unsigned int to match the "%x" type. Additionally, replace int(error) with static_cast<int>(error) to avoid the old-style cast warning.
2024-03-19 14:22:17 +08:00
Lee Thomason
321ea883b7 Merge pull request #965 from leethomason/v10.0.0
V10.0.0
10.0.0
2023-12-30 18:08:30 -08:00
Lee Thomason
26985b5785 new docs 2023-12-30 18:03:36 -08:00
Lee Thomason
35099af4f3 updating version 2023-12-30 17:56:34 -08:00
Lee Thomason
c2d30872e2 Merge pull request #963 from leethomason/dfaure-kdab-work/dfaure/Wundef
Add missing "defined"
2023-11-21 12:39:33 -08:00
Lee Thomason
6b6d1214a7 Merge branch 'work/dfaure/Wundef' of https://github.com/dfaure-kdab/tinyxml2 into dfaure-kdab-work/dfaure/Wundef 2023-11-21 12:35:56 -08:00
Lee Thomason
800431aa68 Merge pull request #962 from leethomason/leethomason/vs
Remove non-cmake build systems
2023-11-21 12:35:20 -08:00
Lee Thomason
b69be03db2 update the readme 2023-11-21 12:28:05 -08:00
Lee Thomason
016ef7798d remove vs; easier to use cmake 2023-11-21 12:26:45 -08:00
Lee Thomason
7c99119fd2 Merge pull request #961 from leethomason/vimproved-master
Testing build fixes
2023-11-21 12:25:57 -08:00
Lee Thomason
2d59aaf0da Merge branch 'master' of https://github.com/vimproved/tinyxml2 into vimproved-master 2023-11-21 12:16:06 -08:00
Lee Thomason
e0302bfd44 merged 2023-11-21 12:15:37 -08:00
Lee Thomason
bfc4ac4f58 Merge pull request #960 from leethomason/kcsaul-pedantic-whitespace
Integrate branch with Pedantic whitespace
2023-11-21 12:12:41 -08:00
Lee Thomason
8d3cdf50db now fix the badge 2023-11-21 12:02:26 -08:00
Lee Thomason
941e2d9018 fix the tests? 2023-11-21 11:58:20 -08:00
Lee Thomason
428cd1be42 update readme 2023-11-21 11:52:44 -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
8158ba05ac fix readme link 2023-11-21 11:40:28 -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
David Faure
5080faafe6 Add missing "defined", to fix building with -Werror=undef 2023-09-17 21:39:55 +02:00
谭九鼎
cc4c1df7ec fix compiler detection 2023-08-09 18:28:44 +08:00
Violet Purcell
f439598036 Remove LFS64 calls and set _FILE_OFFSET_BITS=64
Musl 1.2.4 made the LFS64 interfaces only available when
_LARGEFILE64_SOURCE is defined, and they will be removed altogether in
Musl 1.2.5. This commit replaces the LFS64 calls with their non-LFS64
versions and defines _FILE_OFFSET_BITS=64, which makes all interfaces
64-bit.

Bug: https://bugs.gentoo.org/905999
2023-06-09 01:43:27 +00: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
kb1sph
5926ec938a Added ChildElementCount()
Added the ChildElementCount function that was initially suggested by msteiger on sourceforge for the original tinyxml.  Modified to work with TinyXML-2.
2023-02-06 19:04:57 -05:00
Lee Thomason
e05956094c Merge pull request #925 from hordi/patch-1
Update tinyxml2.h
2023-01-14 18:02:53 -08:00
Lee Thomason
9a89766acc Merge pull request #910 from quagla/maxdepth
Increase depth recursion limit
2023-01-14 17:50:19 -08:00
Lee Thomason
9706d2cdc0 reorder tests 2023-01-14 17:43:38 -08:00
Lee Thomason
94f52b5cbe Merge branch 'dinghao188-dev' of https://github.com/dinghao188/tinyxml2 into dinghao188-dinghao188-dev 2023-01-14 17:41:42 -08:00
Lee Thomason
9ad3f2745b update to vs2022 2023-01-14 17:41:11 -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
dinghao188
3e94e4a047 add testcase 2022-04-03 06:03:33 +08:00
Lee Thomason
e45d9d16d4 Merge pull request #907 from leethomason/leethomason/fix-android
Fix android build
2022-04-02 14:20:20 -07:00
Lee Thomason
7e310468f3 typo 2022-04-02 14:15:59 -07:00
Lee Thomason
953018ab93 fix android build 2022-04-02 14:14:20 -07:00