Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mojang_main to a98e99992bd633a2736cc41f96ec85ef0c50e44d #8

Open
wants to merge 233 commits into
base: mojang_main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
ad2e536
Adding a single customization point that ensures all allocations with…
Feb 10, 2019
cef07fb
Added parameters to RAPIDJSON_MALLOC, RAPIDJSON_REALLOC and RAPIDJSON…
Feb 10, 2019
c840a7a
Fix vs2017 compile error C2105: '--' needs l-value
MalcolmTyrrell Apr 15, 2019
b4538b5
Fix compilation of sortkeys.cpp with MSVC 2013 (hopefully).
ylavic Apr 27, 2019
92f99bc
RAPIDJSON_NOEXCEPT_ASSERT() should never throw.
ylavic Apr 11, 2019
c43697c
- Fixed a build issue by initializing "index" in the header file
rennykoshy Jun 22, 2019
d87b698
Change all GenericMemberIterator from struct to class
miloyip Jun 28, 2019
a133b16
Merge pull request #1 from Tencent/master
fredgan Jul 16, 2019
d5d7171
Fix ARM NEON under MSVC
sylveon Jul 25, 2019
07e1d78
Fix build error under non-Clang compilers
sylveon Jul 25, 2019
0d671a2
Fix signedness error
sylveon Jul 25, 2019
dfc0b35
Update comment
sylveon Jul 25, 2019
02230fe
Change #ifdef to #if defined
sylveon Jul 25, 2019
8973b27
fixed Uint case in docs
MBoldyrev Aug 22, 2019
2648a73
Merge pull request #1557 from MBoldyrev/doc/fix-uint-case
miloyip Aug 23, 2019
6fe9977
Allow pointer tokens to have non-null-terminated strings
Sep 11, 2019
6102f0b
fix template parameter
Sep 11, 2019
123d7c8
add test for non-null-terminated token
Sep 12, 2019
fcec773
Merge pull request #1567 from AtnNn/master
miloyip Sep 12, 2019
ebc003e
Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBER…
ericrannaud Sep 12, 2019
d3c4b2b
Update .travis.yml
esrrhs Sep 25, 2019
ed234bf
Update .travis.yml
esrrhs Sep 25, 2019
b286156
Update travis-doxygen.sh
esrrhs Sep 25, 2019
c136acf
Update travis-doxygen.sh
esrrhs Sep 25, 2019
4c1d9ed
Update travis-doxygen.sh
esrrhs Sep 25, 2019
02d4ae8
Update travis-doxygen.sh
esrrhs Sep 25, 2019
6006d6b
Merge pull request #1573 from esrrhs/master
miloyip Sep 25, 2019
c36b713
Disable copy constructor in GenericMember
miloyip Sep 25, 2019
88a1ba9
Provide default implementations for move constructor/assignment in Ge…
miloyip Sep 25, 2019
5777291
Merge pull request #1579 from Tencent/vs2010
miloyip Sep 26, 2019
d67a69a
Merge pull request #1490 from MalcolmTyrrell/fixCompileErrorInPointerH
miloyip Sep 26, 2019
4116912
Use C++17 fallthrough tag instead of disabling warning
crazyscot Oct 1, 2019
39db117
fix some misspellings
fredgan Oct 8, 2019
5592c2e
Merge pull request #1544 from fredgan/master
miloyip Oct 8, 2019
6a6bed2
Merge pull request #1582 from crazyscot/master
miloyip Oct 8, 2019
1a825d2
Merge pull request #1529 from rkoshy/master
miloyip Oct 15, 2019
67b245e
doc: fix a typo
veekxt Oct 18, 2019
bb5f966
Merge pull request #1591 from veekxt/patch-1
miloyip Oct 21, 2019
e54aca7
Merge branch 'master' of https://github.com/Tencent/rapidjson
sylveon Nov 1, 2019
c4c6a65
Merge pull request #1548 from TranslucentTB/master
miloyip Nov 1, 2019
46d980b
fix CMake policy CMP0048 warning #1154
piratf Nov 11, 2019
6534506
Merge pull request #1603 from piratf/cmakelist_upgrade
miloyip Nov 11, 2019
6cadd4b
add contributing section in readme.md, introduced the basic cooperati…
piratf Nov 12, 2019
35e480f
Merge pull request #1609 from piratf/readme_contributing
miloyip Nov 25, 2019
134af9d
Remove shadow typedef
JPEWdev Dec 2, 2019
eeb9d55
Merge pull request #1617 from JPEWdev/master
miloyip Dec 3, 2019
dfbe1db
Merge pull request #1502 from ylavic/compilation_fixes
miloyip Dec 3, 2019
b4cf6e7
Add vcpkg installation instructions
Jan 16, 2020
418331e
Merge pull request #1631 from PhoebeHui/dev/Phoebe/vcpkg_instructions
miloyip Jan 17, 2020
a895ce1
Allow escaped apostrophe in values (#1639)
xpahos Feb 13, 2020
98f52b6
Fix simple typo: drived -> derived (#1646)
timgates42 Feb 21, 2020
b16cec1
Closes #1643 (#1644)
mdamle Feb 25, 2020
2bed293
Update biginteger.h (#1652)
miloyip Mar 5, 2020
563fe5b
PrettyWriter constructor uninitialized member (#1654)
miloyip Mar 5, 2020
814bb27
Replace RAPIDJSON_CLZLL with internal clzll (#1660)
JunHe77 Mar 11, 2020
2661a17
Avoid warnings when using -std=c++20 and clang 10: use three way comp…
Romain-Geissler-1A Mar 20, 2020
ebcbd04
Three-way comparison for CLang 10 fix (#1679)
kolya7k Mar 30, 2020
d4f03d0
Doc: Fix some typos. (#1675)
H4M5TER Mar 30, 2020
36481c3
Update Visual Studio Visualizer (#1665)
ioannis-e Mar 30, 2020
234ff04
ci: upgrade distro to xenial and add arm64 test cases (#1662)
JunHe77 Mar 30, 2020
f376690
Add a target to RapidJSONConfig.cmake.in (#1350)
tchernobog Mar 30, 2020
1ce28f4
Add CMake minimum version required.
Apr 10, 2020
8f4c021
Merge pull request #1689 from g199209/master
miloyip Apr 10, 2020
ac0fc79
Fixes issue #1718
madeso May 18, 2020
1a80382
Merge pull request #1720 from madeso/master
miloyip May 18, 2020
004e8e6
Merge branch 'master' into custom_malloc
Jun 23, 2020
88bd956
Merge pull request #1453 from eidosmontreal/custom_malloc
miloyip Jun 23, 2020
ed73d7b
Improve surrogate handling
Jul 4, 2020
6694c99
Add test case for low surrogate handling
Jul 4, 2020
f56928d
Merge pull request #1744 from lklein53/improve-surrogate-handling
miloyip Jul 13, 2020
6364c8e
fix _BitScanReverse() usage for CE6
escherstair Aug 4, 2020
91940e8
fallback to the naive version for CE6
escherstair Aug 4, 2020
aa5dd60
fix naive version implementation
escherstair Aug 4, 2020
58e2964
add unit test for clzll()
escherstair Aug 6, 2020
7f559ec
fix naive implementation for clzll()
escherstair Aug 6, 2020
5fbf8bf
fix unit test
escherstair Aug 6, 2020
ce81bc9
Merge pull request #1760 from escherstair/fix_ce6_support
miloyip Aug 7, 2020
3a65e2d
fix https://github.com/Tencent/rapidjson/issues/1778 (part 1)
pavel-pimenov Sep 12, 2020
b7734d9
Remove unnecessary wording from BSD license not needed for MIT licens…
ssb22 Oct 9, 2020
0ccdbf3
Merge pull request #1786 from ssb22/master
miloyip Oct 13, 2020
56f215e
Merge pull request #1568 from ericrannaud/ericrannaud/memberiterator-…
miloyip Dec 23, 2020
13f5ab4
fix schema test compile error
lukedan Dec 27, 2020
3006926
suppress enum bitwise operation warnings on msvc
lukedan Dec 27, 2020
d742a03
add body to private copy constructor & copy assignment
lukedan Dec 27, 2020
1e4f59d
add return statement & comment
lukedan Dec 27, 2020
5e50f27
also initialize class member
lukedan Dec 27, 2020
3cdd3c8
Merge pull request #1817 from lukedan/lukedan_cpp20
miloyip Dec 28, 2020
cbf62de
Add implicit conversion from Object and Array to Value (#1404)
slsyy Jan 5, 2021
585042c
Merge pull request #1821 from slsyy/master
miloyip Jan 6, 2021
5d17b24
Merge pull request #1 from Tencent/master
Jan 12, 2021
05e7b33
code and tests
Jan 28, 2021
6f3cccd
remove debug std::cout, handle empty error object in example
Jan 28, 2021
c491dd5
remove C++ 11 enum syntax
Jan 29, 2021
f89e75a
remove C++ 11 std::string to_string() syntax
Jan 29, 2021
221e8d5
revert perftest
Jan 29, 2021
7fee368
Revert "revert perftest"
Jan 29, 2021
a375745
correct workaround for issue 1805
Jan 29, 2021
28dc42d
restore coverage
Jan 29, 2021
167efb4
work around issue 1089
Feb 3, 2021
13dfc96
Merge pull request #1837 from smhdfdl/multiple-validation-failures-an…
miloyip Feb 3, 2021
9bb81e2
fix crash where simple type with sub-schema has a bad value
Feb 12, 2021
8bce684
Merge pull request #1844 from smhdfdl/multiple-validation-failures-an…
miloyip Feb 21, 2021
24ebd51
Fix recursive operator== call in C++20 (#1846)
Feb 22, 2021
8be6459
Merge pull request #1847 from stac47/fix_1846
miloyip Feb 23, 2021
b1a4d91
Merge pull request #1779 from pavel-pimenov/fix-1778-part-1
miloyip Feb 23, 2021
dad85ca
Merge pull request #2 from smhdfdl/multiple-validation-failures-and-v…
Feb 25, 2021
7698b3c
code and tests
Feb 25, 2021
cabc3d5
merge
Feb 25, 2021
892f6e3
fix bracket
Feb 25, 2021
ad73c03
fix compile errors
Feb 25, 2021
fe1a29c
fix platform-dependent compiler error with >>
Feb 25, 2021
1c2c8e0
doc: fix incorrect template parameters in EncodedOutputStream example
miloyip Mar 2, 2021
6b57738
handle internal refs properly
Mar 11, 2021
6c9da69
remove comma
Mar 11, 2021
8768b5b
correct #defines in uri.h
Mar 11, 2021
32722fa
satisfy all compilers
Mar 11, 2021
24b9b7e
satisfy all compilers 2
Mar 11, 2021
bc026e3
satisfy all compilers 3
Mar 11, 2021
cdb2d47
Provide RAPIDJSON_HAS_CXX11 and use it for RAPIDJSON_HAS_CXX11_RVALUE…
ylavic Mar 12, 2021
d51dd2d
RAPIDJSON_NOEXCEPT_ASSERT should assert regardless of RAPIDJSON_HAS_C…
ylavic Mar 12, 2021
c033292
Safer GenericValue& operator=(GenericValue& rhs).
ylavic Apr 27, 2019
50cb424
Test assignment from inner Value.
ylavic Mar 15, 2021
49e4dd6
Provide StdAllocator, STL compatible, for use with STL types.
ylavic Mar 12, 2021
2e6f761
Tests for StdAllocator.
ylavic Mar 13, 2021
3d77d11
add traverse as pointer example
miloyip Mar 24, 2021
cd5ee4d
Merge pull request #1858 from ylavic/std_allocator
miloyip Mar 25, 2021
02f4260
Make StdAllocator C++17-20 compatible.
ylavic Mar 28, 2021
08cf9a5
Make StdAllocator C++17-20 compatible.
ylavic Mar 28, 2021
b996a23
Merge pull request #1866 from ylavic/std_allocator_traits
miloyip Mar 30, 2021
e336667
Handle C++17 (and C++11 with MSVC) in CI.
ylavic Mar 29, 2021
6bed9b2
Don't define StdAllocator<void> from C++17.
ylavic Mar 30, 2021
a8bd931
Tests for C++17 with VS 2019.
ylavic Mar 30, 2021
49aa0fc
Merge pull request #1868 from ylavic/cpp17_in_ci
miloyip Apr 1, 2021
117276c
Fix would-crash tests if the default allocator used were kNeedFree.
ylavic Apr 27, 2019
683010b
Add rvalue copy and assignment to MemoryPoolAllocator and StdAllocator.
ylavic Apr 2, 2021
5c764d9
Tests for Allocators copy by rvalue reference.
ylavic Apr 3, 2021
aa0675f
Try some tests with -D_GLIBCXX_DEBUG and coverage with -O0.
ylavic Apr 3, 2021
03676c9
Merge pull request #1870 from ylavic/allocators_rvalues
miloyip Apr 7, 2021
7d801bb
Merge pull request #1503 from ylavic/sub_value_assignment
miloyip Apr 7, 2021
71f0fa7
Set RAPIDJSON_USE_MEMBERSMAP to use a (std::multi)map for object memb…
ylavic Apr 1, 2021
fc08f4f
Tests for Members in std::multimap.
ylavic Apr 1, 2021
be4a5a9
Turn some Tests to RAPIDJSON_USE_MEMBERSMAP in CI.
ylavic Apr 1, 2021
47b837e
Merge pull request #1485 from ylavic/MemberMap
miloyip Apr 8, 2021
3168d7c
add a test that provokes a compile time error on windows
hendrikmuhs Apr 18, 2021
d179fac
don't let the GetObject macro rewrite the GetObject method, add a Get…
hendrikmuhs Apr 19, 2021
3cdfde1
replace auto with concrete type
hendrikmuhs Apr 19, 2021
e0f68a4
Merge pull request #1877 from hendrikmuhs/windows-GetObject-conflict-…
miloyip Apr 20, 2021
3aa8d04
Fixed -Wshadow warning.
nkolotov May 2, 2021
25fa7a1
Merge pull request #1883 from nkolotov/fix/issues/1882
miloyip May 6, 2021
cd737fb
Improve documentation
schardev May 7, 2021
17aa824
Merge pull request #1885 from saurabhchardereal/master
miloyip May 7, 2021
9c1002f
rge branch 'master' of https://github.com/Tencent/rapidjson
May 20, 2021
3987d82
Merge branch 'master' of https://github.com/Tencent/rapidjson into id…
May 20, 2021
6e58a53
fix coverage
May 20, 2021
494447b
remove copyright & debug statements
May 21, 2021
28bcbd3
make std::string optional
Jun 8, 2021
6d253c1
remove compiler warning
Jun 8, 2021
18ab3b1
remove temp debug statements
Jun 8, 2021
3df804c
fix coverage, unit test allocators and equality
Jun 9, 2021
f6ebcb2
fix Uri.Match optional arg
Jun 9, 2021
12b88ef
fix coverage again
Jun 9, 2021
8c29a7b
Fix Pointer::Append() crash for custom allocator on Windows
miloyip Jun 11, 2021
a21cf9f
equiv fix for issue 1899
Jun 14, 2021
b557259
Merge pull request #1904 from Tencent/issue1899_pointerappend
miloyip Jun 14, 2021
8d16abd
Uri Parse improvements
Jun 30, 2021
48fbd8c
Merge pull request #1848 from smhdfdl/id-and-ref
miloyip Jul 9, 2021
7ee918f
Merge branch 'master' of https://github.com/Tencent/rapidjson
Jul 9, 2021
bb06211
Fix small errors in dtoa output for certain doubles
jack-perisich Jul 27, 2021
28c59ab
Merge pull request #1922 from jack-perisich/grisu2_precision
miloyip Aug 10, 2021
b952a59
Fix RawNumber for longer char types
womsersap Aug 10, 2021
7fac34f
Added typename
womsersap Aug 10, 2021
e0512e0
Using unsigned for WIStreamWrapper
womsersap Aug 10, 2021
8710d7e
Do not depend on c++11 conditional
womsersap Aug 10, 2021
128b103
Use rapidjson internal::SelectIf
womsersap Aug 10, 2021
19b55c9
No default template parameter for older compilers
womsersap Aug 10, 2021
a3d52c7
No default template parameter for older compilers
womsersap Aug 10, 2021
22ee8b0
Correct WIStreamWrapper
womsersap Aug 10, 2021
00dbcf2
Merge pull request #1926 from Kyrega/master
miloyip Aug 13, 2021
864e44a
Merge branch 'master' of https://github.com/Tencent/rapidjson
Sep 23, 2021
553a3ea
typo on documentation dom.zh-cn.md: "己于" -> "已于"
DiamondI Sep 24, 2021
b9ae249
Merge pull request #1941 from DiamondI/patch-1
miloyip Sep 24, 2021
9ea3f45
fix the warning
Sep 24, 2021
2e8f5d8
Merge pull request #1940 from smhdfdl/issue-1924
miloyip Sep 24, 2021
e6736d1
Support CMake none targets
ilelann Oct 2, 2021
14f1e37
Resolve issue 1948
ardb-uk Oct 12, 2021
4bbaf28
Add files via upload
ardb-uk Oct 12, 2021
befba39
Merge pull request #2 from ardb-uk/ardb-uk-patch-1-1
ardb-uk Oct 12, 2021
033bef3
Merge pull request #1 from ardb-uk/ardb-uk-patch-1
ardb-uk Oct 12, 2021
4d6cb08
Merge pull request #1949 from ardb-uk/master
miloyip Oct 15, 2021
060c348
use softintrin on arm64ec
Oct 29, 2021
0d4517f
Merge pull request #1961 from jedwardsol/issue1960_arm64ec_intrinsic
miloyip Oct 31, 2021
53602ec
Sanitize the code in schema.h
MalcolmTyrrell Nov 17, 2021
fd3dc29
Merge pull request #1944 from ilelann/patch-1
miloyip Nov 24, 2021
5b242b6
Fix the alignment of placement new buffer for GenericValue.
adamcalhoon Feb 8, 2022
bf8ca5d
Merge pull request #1987 from adamcalhoon/fix-placement-new-alignment
miloyip Feb 9, 2022
88bbd87
Revert "Fix the alignment of placement new buffer for GenericValue."
miloyip Feb 9, 2022
e4bde97
Merge pull request #1988 from Tencent/revert-1987-fix-placement-new-a…
miloyip Feb 9, 2022
1dff2ab
Fix the alignment of placement new buffer for GenericValue.
adamcalhoon Feb 9, 2022
0d78b1c
Merge pull request #1989 from adamcalhoon/really-fix-placement-new-al…
miloyip Mar 8, 2022
8261c1d
Merge pull request #1969 from MalcolmTyrrell/MalcolmTyrrell/sanitizeS…
miloyip Mar 9, 2022
9965ab3
Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespace
agate-pris Mar 18, 2022
79d7a44
Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any n…
agate-pris Mar 18, 2022
386d31a
Allow access to the template parameter StackAllocator in the GenericD…
agate-pris Mar 18, 2022
3988c5e
fix shadowed variable
Apr 6, 2022
6b50098
fix shadowed variable, take 2
Apr 6, 2022
bdc49ad
Merge pull request #2014 from lazydroid/dev/lenik/fix_shadowed_variables
miloyip Apr 6, 2022
fcb23c2
Merge pull request #2008 from agate-pris/access-to-allocator-types
miloyip Apr 6, 2022
1f59c69
valuetest: fix potential write of terminating nul past the end of the…
tombriden May 15, 2022
2b2c804
encdedstreamtest: fix use-after-free compile error with gcc-12
tombriden May 15, 2022
0390b1a
Avoid exit-time destructors.
pkasting May 6, 2022
4695953
Avoid exit-time destructors.
pkasting May 6, 2022
88f8ddd
Include conceptual change from PR 2001.
pkasting May 13, 2022
781a4e6
Try to fix MSVC build.
pkasting May 13, 2022
dd3f730
Make schema dtor robust against exceptions
jxy-s May 20, 2022
719304b
fixes for natvis
jxy-s Apr 18, 2022
64faab2
gate definition of symmetric equality operators on impl, not lib
mumbleskates Mar 14, 2022
232389d
delete unused variable
mumbleskates Mar 14, 2022
27c3a8d
docs: fix simple typo, perecent -> percent
timgates42 Jul 20, 2022
22a62fc
Update allocators.h
jwillcox-telework Aug 22, 2022
06d58b9
Update dtoa.h
jwillcox-telework Aug 22, 2022
338d8de
initial
Jun 17, 2021
89f6717
corrections
Jun 17, 2021
ecb8d9e
add dump of unexpected schema errors in schematest.cpp
Jul 9, 2021
aa1f222
correct address.json so tests pass
Jul 30, 2021
2d87923
remove unnecessary templating from schema tests
Aug 6, 2021
794248e
fix build break
Oct 7, 2022
7cad78e
tidy up after merge from master
Nov 25, 2022
97fd830
attempt to fix SEH
Nov 30, 2022
80b6d1c
small corrections for schema.h
Nov 30, 2022
55eca66
code & tests for openapi 2.0 & 3.0 suppprt
Dec 2, 2022
b08672d
review comment updates
Dec 16, 2022
a98e999
do not define operator!= in C++20
mumbleskates Nov 4, 2022
c17a1e9
Merge commit 'a98e99992bd633a2736cc41f96ec85ef0c50e44d' into amaher/u…
amaher-ms Mar 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
valuetest: fix potential write of terminating nul past the end of the…
… destination

Fixes 2 compile errors with gcc-12, eg:

tesunittest/valuetest.cpp:1516:30: error: 'sprintf' may write a terminating nul past the end of the destination [-Werror=format-overflow=]
test/unittest/valuetest.cpp:1516:20: note: 'sprintf' output between 2 and 11 bytes into a destination of size 10
tombriden authored and miloyip committed May 16, 2022
commit 1f59c69cd18cd508395fe0bb5c2f8ee909e3c48d
4 changes: 2 additions & 2 deletions test/unittest/valuetest.cpp
Original file line number Diff line number Diff line change
@@ -1581,7 +1581,7 @@ TEST(Value, ObjectHelperRangeFor) {
{
int i = 0;
for (auto& m : x.GetObject()) {
char name[10];
char name[11];
sprintf(name, "%d", i);
EXPECT_STREQ(name, m.name.GetString());
EXPECT_EQ(i, m.value.GetInt());
@@ -1592,7 +1592,7 @@ TEST(Value, ObjectHelperRangeFor) {
{
int i = 0;
for (const auto& m : const_cast<const Value&>(x).GetObject()) {
char name[10];
char name[11];
sprintf(name, "%d", i);
EXPECT_STREQ(name, m.name.GetString());
EXPECT_EQ(i, m.value.GetInt());