halx99
377a2a91fd
c++20 compiler support
2022-10-05 10:58:55 +08:00
halx99
72e32013fc
c++ 20 compiler support
2022-10-05 10:55:57 +08:00
halx99
4bec1e8a9c
C++20 compiler support
2022-10-05 10:49:18 +08:00
Arseny Kapoulkine
1c6a55f422
Use more idiomatic code in this codebase
2022-06-09 13:38:21 +08:00
Arseny Kapoulkine
7f2d74df4a
Fix memory leak during OOM in convert_buffer
...
This is the same fix as #497 , but we're using auto_deleter instead
because if allocation function throws, we can't rely on an explicit call
to deallocate.
Comes along with two tests that validate the behavior.
2022-06-09 13:37:59 +08:00
TodorHryn
62e2407c86
Fix memory leak
2022-06-09 13:37:25 +08:00
deal
ce19f19632
Merge branch 'zeux:master' into dev
2022-02-16 17:32:19 +08:00
Arseny Kapoulkine
363ebdde91
Merge pull request #482 from zeux/fix-msvc-test
...
tests: Fix MSVC 2022 build
2022-02-15 21:12:03 -08:00
Arseny Kapoulkine
c60ca94cdd
tests: Fix MSVC 2022 build
...
Instead of trying to detect if we can safely use random shuffle simply reimplement it ourselves.
The quality of the RNG is not essential for these tests.
2022-02-15 20:23:05 -08:00
Arseny Kapoulkine
dd50fa5b45
Fix PUGIXML_VERSION macro
...
Also make sure the line shows up in grep when using the current version
number.
Fixes #478 .
2022-02-10 08:36:19 -08:00
Arseny Kapoulkine
314baf6605
docs: Regenerate HTML documentation
2022-02-08 20:09:10 -08:00
Arseny Kapoulkine
eb918f2078
docs: Update manual with 1.12 changelog
2022-02-08 19:59:44 -08:00
Arseny Kapoulkine
25c4fb74a8
Update copyright year to 2022
2022-02-08 19:58:58 -08:00
Arseny Kapoulkine
c9e219c17b
Update version to 1.12
2022-02-08 19:56:41 -08:00
Arseny Kapoulkine
9ba92a7fa7
Restore compatibility with WinCE
...
WinCE lacks most recent CRT additions to MSVC; we used to explicitly disable specific sections
of code, but it's more comprehensive to just specify that the CRT is from MSVC7 instead of MSVC8.
Fixes #401
2022-02-08 19:19:34 -08:00
Arseny Kapoulkine
6ce48ec379
Merge pull request #468 from appls/master
...
Add support for Visual Studio 2022 with Platform Toolset v143.
2022-02-08 12:43:53 -08:00
halx99
6c2bb13a44
Fix ci
2022-02-08 21:52:04 +08:00
halx99
d6fac0ac39
More string_view
2022-02-08 21:41:28 +08:00
Arseny Kapoulkine
428606b3c1
Create SECURITY.md
...
Fixes #475
2022-02-06 09:13:33 -08:00
tobias
64de196ba9
Fix path.
2022-01-21 15:56:25 +01:00
tobias
bd90579718
Add missing build script and test script entries for appveyor.
2022-01-21 15:44:39 +01:00
tobias
16a4f382ac
Add missing appveyor test config for Visual Studio 2022.
2022-01-21 15:30:45 +01:00
tobias
bc2448afbb
Add support for Visual Studio 2022 with Platform Toolset v143.
2022-01-21 15:06:27 +01:00
deal
3c9111dc8c
Allow build compact mode
2021-12-24 14:21:02 +08:00
halx99
c95044df05
Fix for compact mode
2021-12-24 14:01:46 +08:00
deal
3ceb703935
Update pugixml.cpp
2021-12-24 01:54:39 +08:00
halx99
d3a8b86f17
Add missing commit from shallow_copy branch
2021-12-23 21:14:51 +08:00
halx99
f0259eb00a
Fix ci
2021-12-23 19:14:53 +08:00
halx99
46805e8c08
Fix warnings
2021-12-23 18:54:30 +08:00
halx99
0d87d4f717
Fix ci & add run test cost
2021-12-23 18:52:33 +08:00
halx99
32cccfe377
Use string_view for all dom APIs
2021-12-23 18:44:32 +08:00
halx99
b634ea55df
Node copy avoid stringlen operation
2021-12-23 17:17:33 +08:00
halx99
7791e7dfbb
Store length for setters
2021-12-23 16:55:08 +08:00
halx99
9129d7900c
Fix ci
2021-12-23 16:15:30 +08:00
halx99
b025069fbe
Fix for old compilers
2021-12-23 16:11:40 +08:00
deal
4e4af11838
Fix warnings on PUGIXML_WCHAR_MODE
2021-12-23 16:05:36 +08:00
deal
233d7fd4f3
Update build.yml
2021-12-23 16:00:12 +08:00
halx99
69e24c7fdd
Add string_view name & value getter with suffix for compatible
2021-12-23 15:45:20 +08:00
halx99
909b3b65f1
Add length field for name & value
2021-12-23 15:13:59 +08:00
halx99
bd0fd02860
Delete unused
2021-09-30 14:39:01 +08:00
halx99
15cec5f982
Fix logic
2021-09-30 14:36:42 +08:00
halx99
366113e72e
Make logic more clearly
2021-09-30 13:27:39 +08:00
halx99
0d9a303991
Add shallow_copy support for improve performance of literal string
2021-09-30 13:00:58 +08:00
halx99
4852708894
Fix for non-cpp11 compiler
2021-09-30 11:42:35 +08:00
halx99
dbced76d85
Update pugixml.hpp
2021-09-30 11:30:17 +08:00
halx99
bffbcfddd3
Fix for non-cpp11 compiler
2021-09-30 08:46:06 +08:00
halx99
e3af24413d
Fix for non-cpp11 compiler
2021-09-30 08:26:45 +08:00
halx99
fd795fdf64
Avoid unnecessary strlen operations
2021-09-29 17:01:12 +08:00
halx99
4ed7a7f746
Fix compile issue for compiler without cpp11
2021-09-29 16:48:25 +08:00
halx99
5f1eb20568
Fix appveyor msvc120 compile error
2021-09-29 15:19:22 +08:00