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

Make classes with only a single funtion free standing functions #1870

Merged
merged 6 commits into from
Jan 9, 2016

Conversation

daniel-j-h
Copy link
Member

  • DouglasPeuker
  • PolylineCompressor
  • PolylineFormatter
  • RouteNameExtraction
  • TurnInstructionsClass
  • ComputeAngle

@@ -59,13 +59,15 @@ struct CoordinatePairCalculator
};
}

void DouglasPeucker::Run(std::vector<SegmentInformation> &input_geometry, const unsigned zoom_level)
void DouglasPeucker(std::vector<SegmentInformation>::iterator begin,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leading char should be small case like: douglasPeucker for free functions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Urgh yeah have to get used to that again. Also having different conventions between member functions and free standing function is somewhat ugly for refactoring :/

@daniel-j-h daniel-j-h force-pushed the free_functions branch 2 times, most recently from 6d911b3 to e46237d Compare January 8, 2016 12:00
@daniel-j-h
Copy link
Member Author

Done. Converted to free standing functions. At the same time:

  • fixing includes in the files I touched
  • fixing two occurrences of Undefined Behavior when instantiating templates with incomplete type
  • made sure compile-time constants are guaranteed to be ROM-able

/cc @TheMarex

@TheMarex
Copy link
Member

TheMarex commented Jan 8, 2016

@daniel-j-h seems like it broke builds on windows. Investigating.

@daniel-j-h
Copy link
Member Author

'not': undeclared identifier

#1871

@TheMarex
Copy link
Member

TheMarex commented Jan 9, 2016

Rebased on #1871, merge after that PR.

@TheMarex TheMarex merged commit f682476 into develop Jan 9, 2016
@TheMarex TheMarex deleted the free_functions branch January 13, 2016 22:37
SiarheiFedartsou added a commit that referenced this pull request May 25, 2024
ab1842a2d rapidjson.h: add forgotten ppc64 case
5ec44fb92 Add RAPIDJSON_BUILD_CXX20 option
676d99db9 fix Visual Studio 2022 (using /std:c++20) warning warning C5232: in C++20 this comparison calls ... recursively
68afb4928 tests: Only run valgrind tests if valgrind was found
3f73edae0 Fix static_cast in regex.h
5a74efa8c Fix comparision of two doubles
060a09a1c Fix schema regex preprocessor include logic
6089180ec Use correct format for printf
f9d53419e Add Hasher tests for objects where key eq value
6f79698b3 Fix swapped high and low offset basis values
eee82cb07 Fix object hashing in schema
b4a6da3e6 unit tests for 'Stringify NaN, Inf as null'
e7b6e5a20 Fix: 'Stringify NaN, Inf as null'
476ffa2fd Rename to fix allocator shadowing
5e17dbed3 Eliminate old style cast warning
956063dbc Fixing printf format warning
30f54566a Merge pull request #1901 from JackBoosY/master
516d04739 Remove empty cross-reference in comment
52dd94709 Merge branch 'master' into pr/1901
a95e013b9 Stringify NaN, Inf as null if needs
973dc9c06 Avoid ptrdiff between pointers to different allocations
2a1f586ba Check for __GNUC__ definition
0e88d5e40 Eliminate missing prototypes warning
949c771b0 Resolve conflict with Windows header about max macro
083f359f5 CMakeLists: fix optflags for ppc
012be8528 Use passed in allocator.
1ce516e50 Suppress uritest
778dc8b03 fix #1
76281ff38 fix a typo in error.h: literial -> literal
a98e99992 do not define operator!= in C++20
b08672d46 review comment updates
55eca66f3 code & tests for openapi 2.0 & 3.0 suppprt
80b6d1c83 small corrections for schema.h
97fd83017 attempt to fix SEH
7cad78e23 tidy up after merge from master
794248ee6 fix build break
2d87923e9 remove unnecessary templating from schema tests
aa1f22251 correct address.json so tests pass
ecb8d9e3a add dump of unexpected schema errors in schematest.cpp
89f6717f0 corrections
338d8defd initial
06d58b9e8 Update dtoa.h
22a62fcc2 Update allocators.h
27c3a8dc0 docs: fix simple typo, perecent -> percent
232389d4f delete unused variable
64faab2e9 gate definition of symmetric equality operators on impl, not lib
719304b11 fixes for natvis
dd3f730d7 Make schema dtor robust against exceptions
781a4e667 Try to fix MSVC build.
88f8ddd70 Include conceptual change from PR 2001.
469595356 Avoid exit-time destructors.
0390b1ad5 Avoid exit-time destructors.
2b2c80450 encdedstreamtest: fix use-after-free compile error with gcc-12
1f59c69cd valuetest: fix potential write of terminating nul past the end of the destination
3445e155e Merge branch 'master' into master
fcb23c2db Merge pull request #2008 from agate-pris/access-to-allocator-types
bdc49ad80 Merge pull request #2014 from lazydroid/dev/lenik/fix_shadowed_variables
6b500986c fix shadowed variable, take 2
3988c5e25 fix shadowed variable
386d31ab6 Allow access to the template parameter StackAllocator in the GenericDocument
79d7a448e Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any namespace
9965ab37f Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespace
8261c1ddf Merge pull request #1969 from MalcolmTyrrell/MalcolmTyrrell/sanitizeSchemaCode
0d78b1ce9 Merge pull request #1989 from adamcalhoon/really-fix-placement-new-alignment
1dff2abff Fix the alignment of placement new buffer for GenericValue.
e4bde9774 Merge pull request #1988 from Tencent/revert-1987-fix-placement-new-alignment
88bbd87dd Revert "Fix the alignment of placement new buffer for GenericValue."
bf8ca5da8 Merge pull request #1987 from adamcalhoon/fix-placement-new-alignment
5b242b6b2 Fix the alignment of placement new buffer for GenericValue.
fd3dc29a5 Merge pull request #1944 from ilelann/patch-1
53602ec6b Sanitize the code in schema.h
0d4517f15 Merge pull request #1961 from jedwardsol/issue1960_arm64ec_intrinsic
060c348ea use softintrin on arm64ec
4d6cb0818 Merge pull request #1949 from ardb-uk/master
033bef3c6 Merge pull request #1 from ardb-uk/ardb-uk-patch-1
befba39af Merge pull request #2 from ardb-uk/ardb-uk-patch-1-1
4bbaf28ff Add files via upload
14f1e37f8 Resolve issue 1948
e6736d1ba Support CMake none targets
2e8f5d897 Merge pull request #1940 from smhdfdl/issue-1924
9ea3f45db fix the warning
b9ae2499e Merge pull request #1941 from DiamondI/patch-1
553a3ea31 typo on documentation dom.zh-cn.md: "己于" -> "已于"
864e44aef Merge branch 'master' of https://github.com/Tencent/rapidjson
00dbcf2c6 Merge pull request #1926 from Kyrega/master
22ee8b07c Correct WIStreamWrapper
a3d52c75b No default template parameter for older compilers
19b55c904 No default template parameter for older compilers
128b1031b Use rapidjson internal::SelectIf
8710d7e98 Do not depend on c++11 conditional
e0512e094 Using unsigned for WIStreamWrapper
7fac34f7b Added typename
b952a592a Fix RawNumber for longer char types
28c59ab4c Merge pull request #1922 from jack-perisich/grisu2_precision
bb0621108 Fix small errors in dtoa output for certain doubles
7ee918fc8 Merge branch 'master' of https://github.com/Tencent/rapidjson
48fbd8cd2 Merge pull request #1848 from smhdfdl/id-and-ref
8d16abd98 Uri Parse improvements
b557259f8 Merge pull request #1904 from Tencent/issue1899_pointerappend
a21cf9f7b equiv fix for issue 1899
8c29a7b49 Fix Pointer::Append() crash for custom allocator on Windows
12b88efa6 fix coverage again
f6ebcb200 fix Uri.Match optional arg
3df804c12 fix coverage, unit test allocators and equality
18ab3b16b remove temp debug statements
6d253c160 remove compiler warning
28bcbd3f3 make std::string optional
f4be0ada8 Use modern cmake function export to generate target
494447b73 remove copyright & debug statements
6e58a53f4 fix coverage
3987d82f4 Merge branch 'master' of https://github.com/Tencent/rapidjson into id-and-ref
9c1002f94 rge branch 'master' of https://github.com/Tencent/rapidjson
17aa824c9 Merge pull request #1885 from saurabhchardereal/master
cd737fb54 Improve documentation
25fa7a119 Merge pull request #1883 from nkolotov/fix/issues/1882
3aa8d04b7 Fixed -Wshadow warning.
e0f68a435 Merge pull request #1877 from hendrikmuhs/windows-GetObject-conflict-#1418
3cdfde14d replace auto with concrete type
d179facf9 don't let the GetObject macro rewrite the GetObject method, add a GetObj alias
3168d7c34 add a test that provokes a compile time error on windows
47b837e14 Merge pull request #1485 from ylavic/MemberMap
be4a5a908 Turn some Tests to RAPIDJSON_USE_MEMBERSMAP in CI.
fc08f4f61 Tests for Members in std::multimap.
71f0fa7eb Set RAPIDJSON_USE_MEMBERSMAP to use a (std::multi)map for object members.
7d801bbe4 Merge pull request #1503 from ylavic/sub_value_assignment
03676c9bf Merge pull request #1870 from ylavic/allocators_rvalues
aa0675ffd Try some tests with -D_GLIBCXX_DEBUG and coverage with -O0.
5c764d9a8 Tests for Allocators copy by rvalue reference.
683010b02 Add rvalue copy and assignment to MemoryPoolAllocator and StdAllocator.
117276c41 Fix would-crash tests if the default allocator used were kNeedFree.
49aa0fc15 Merge pull request #1868 from ylavic/cpp17_in_ci
a8bd93176 Tests for C++17 with VS 2019.
6bed9b266 Don't define StdAllocator<void> from C++17.
e336667b4 Handle C++17 (and C++11 with MSVC) in CI.
b996a2371 Merge pull request #1866 from ylavic/std_allocator_traits
08cf9a56c Make StdAllocator C++17-20 compatible.
02f42604b Make StdAllocator C++17-20 compatible.
cd5ee4dfe Merge pull request #1858 from ylavic/std_allocator
3d77d11e2 add traverse as pointer example
2e6f76145 Tests for StdAllocator.
49e4dd619 Provide StdAllocator, STL compatible, for use with STL types.
50cb424c3 Test assignment from inner Value.
c033292ae Safer GenericValue& operator=(GenericValue& rhs).
d51dd2d0e RAPIDJSON_NOEXCEPT_ASSERT should assert regardless of RAPIDJSON_HAS_CXX11_NOEXCEPT.
cdb2d4757 Provide RAPIDJSON_HAS_CXX11 and use it for RAPIDJSON_HAS_CXX11_RVALUE_REFS and RAPIDJSON_HAS_CXX11_NOEXCEPT.
bc026e3fb satisfy all compilers 3
24b9b7e27 satisfy all compilers 2
32722fa31 satisfy all compilers
8768b5b1d correct #defines in uri.h
6c9da69ab remove comma
6b57738e4 handle internal refs properly
1c2c8e085 doc: fix incorrect template parameters in EncodedOutputStream example
fe1a29ca6 fix platform-dependent compiler error with >>
ad73c032e fix compile errors
892f6e3fd fix bracket
cabc3d5aa merge
7698b3cd4 code and tests
dad85cab9 Merge pull request #2 from smhdfdl/multiple-validation-failures-and-validation-messages
b1a4d91a5 Merge pull request #1779 from pavel-pimenov/fix-1778-part-1
8be64594f Merge pull request #1847 from stac47/fix_1846
24ebd5128 Fix recursive operator== call in C++20 (#1846)
8bce684cd Merge pull request #1844 from smhdfdl/multiple-validation-failures-and-validation-messages
9bb81e20f fix crash where simple type with sub-schema has a bad value
13dfc96c9 Merge pull request #1837 from smhdfdl/multiple-validation-failures-and-validation-messages
167efb4fa work around issue 1089
28dc42d8d restore coverage
a3757456f correct workaround for issue 1805
7fee368be Revert "revert perftest"
221e8d536 revert perftest
f89e75af7 remove C++ 11 std::string to_string() syntax
c491dd521 remove C++ 11 enum syntax
6f3cccd6e remove debug std::cout, handle empty error object in example
05e7b3397 code and tests
5d17b24e5 Merge pull request #1 from Tencent/master
585042c02 Merge pull request #1821 from slsyy/master
cbf62de55 Add implicit conversion from Object and Array to Value (#1404)
3cdd3c837 Merge pull request #1817 from lukedan/lukedan_cpp20
5e50f27ed also initialize class member
1e4f59d3a add return statement & comment
d742a030a add body to private copy constructor & copy assignment
300692623 suppress enum bitwise operation warnings on msvc
13f5ab4f4 fix schema test compile error
56f215e5c Merge pull request #1568 from ericrannaud/ericrannaud/memberiterator-public
0ccdbf364 Merge pull request #1786 from ssb22/master
b7734d97c Remove unnecessary wording from BSD license not needed for MIT license (fixes #528)
3a65e2dd7 fix Tencent/rapidjson#1778 (part 1)
ce81bc9ed Merge pull request #1760 from escherstair/fix_ce6_support
5fbf8bf89 fix unit test
7f559ec80 fix naive implementation for clzll()
58e296485 add unit test for clzll()
aa5dd6086 fix naive version implementation
91940e84b fallback to the naive version for CE6
6364c8e5a fix _BitScanReverse() usage for CE6
f56928de8 Merge pull request #1744 from lklein53/improve-surrogate-handling
6694c996b Add test case for low surrogate handling
ed73d7bdb Improve surrogate handling
88bd956d6 Merge pull request #1453 from eidosmontreal/custom_malloc
004e8e61a Merge branch 'master' into custom_malloc
1a803826f Merge pull request #1720 from madeso/master
ac0fc79c7 Fixes issue #1718
8f4c021fa Merge pull request #1689 from g199209/master
1ce28f454 Add CMake minimum version required.
f37669082 Add a target to RapidJSONConfig.cmake.in (#1350)
234ff044f ci: upgrade distro to xenial and add arm64 test cases (#1662)
36481c30b Update Visual Studio Visualizer (#1665)
d4f03d0d0 Doc: Fix some typos. (#1675)
ebcbd0448 Three-way comparison for CLang 10 fix (#1679)
2661a17c7 Avoid warnings when using -std=c++20 and clang 10: use three way comparision for iterators when possible. (#1667)
814bb27bf Replace RAPIDJSON_CLZLL with internal clzll (#1660)
563fe5bbb PrettyWriter constructor uninitialized member (#1654)
2bed293f4 Update biginteger.h (#1652)
b16cec1a1 Closes #1643 (#1644)
98f52b6bb Fix simple typo: drived -> derived (#1646)
a895ce150 Allow escaped apostrophe in values (#1639)
418331e99 Merge pull request #1631 from PhoebeHui/dev/Phoebe/vcpkg_instructions
b4cf6e738 Add vcpkg installation instructions
dfbe1db9d Merge pull request #1502 from ylavic/compilation_fixes
eeb9d553f Merge pull request #1617 from JPEWdev/master
134af9d81 Remove shadow typedef
35e480fc4 Merge pull request #1609 from piratf/readme_contributing
6cadd4b2c add contributing section in readme.md, introduced the basic cooperation process.
6534506e8 Merge pull request #1603 from piratf/cmakelist_upgrade
46d980b46 fix CMake policy CMP0048 warning #1154
c4c6a6541 Merge pull request #1548 from TranslucentTB/master
e54aca700 Merge branch 'master' of https://github.com/Tencent/rapidjson
bb5f966b9 Merge pull request #1591 from veekxt/patch-1
67b245e07 doc: fix a typo
1a825d24f Merge pull request #1529 from rkoshy/master
6a6bed275 Merge pull request #1582 from crazyscot/master
5592c2eed Merge pull request #1544 from fredgan/master
39db1177b fix some misspellings
4116912cd Use C++17 fallthrough tag instead of disabling warning
d67a69a9c Merge pull request #1490 from MalcolmTyrrell/fixCompileErrorInPointerH
577729149 Merge pull request #1579 from Tencent/vs2010
88a1ba9e3 Provide default implementations for move constructor/assignment in GenericMember
c36b713c4 Disable copy constructor in GenericMember
6006d6b67 Merge pull request #1573 from esrrhs/master
02d4ae838 Update travis-doxygen.sh
4c1d9edb3 Update travis-doxygen.sh
c136acf02 Update travis-doxygen.sh
b2861565a Update travis-doxygen.sh
ed234bf74 Update .travis.yml
d3c4b2b2b Update .travis.yml
ebc003e20 Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBERITERATORCLASS)
fcec7735d Merge pull request #1567 from AtnNn/master
123d7c89a add test for non-null-terminated token
6102f0bd0 fix template parameter
6fe99777e Allow pointer tokens to have non-null-terminated strings
2648a732d Merge pull request #1557 from MBoldyrev/doc/fix-uint-case
8973b279c fixed Uint case in docs
02230fecb Change #ifdef to #if defined
dfc0b3536 Update comment
0d671a2e1 Fix signedness error
07e1d7870 Fix build error under non-Clang compilers
d5d7171f6 Fix ARM NEON under MSVC
a133b1669 Merge pull request #1 from Tencent/master
d87b698d0 Change all GenericMemberIterator from struct to class
c43697c16 - Fixed a build issue by initializing "index" in the header file
4b3d7c2f4 Merge pull request #1506 from ylavic/CreatePattern
92f99bc2e RAPIDJSON_NOEXCEPT_ASSERT() should never throw.
b4538b536 Fix compilation of sortkeys.cpp with MSVC 2013 (hopefully).
94fc46380 Add missing curly brackets in STDREGEX's CreatePattern().
c840a7ae1 Fix vs2017 compile error C2105: '--' needs l-value
01950eb7a Merge pull request #1488 from somone23412/somone23412-fix-typo-1
0798d5b26 fix typo
e80257a92 Merge pull request #1481 from liangdzou/patch-1
13687a6e3 add missing header "ios"
e123f650a Merge pull request #1479 from MaxXSoft/patch-tutorial
d5c5b87f0 doc/tutorial.zh-cn: fixed some typos
55c3c241c Merge pull request #1477 from eisaev/patch-1
9264a9a7e Update allocators.h
091de040e Merge pull request #1462 from ra1u/master
40cae03b0 Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro
3cf4f7c5a Merge pull request #727 from mapbox/silence-dereference-null-pointer
7484e06c5 Update doxygen download URL
1ede098e9 Workaround of sortkeys example
cef07fb1b Added parameters to RAPIDJSON_MALLOC, RAPIDJSON_REALLOC and RAPIDJSON_FREE
ad2e5369b Adding a single customization point that ensures all allocations within rapidjson can be performed with a custom memory allocator; Introduces the macros RAPIDJSON_MALLOC, RAPIDJSON_REALLOC, and RAPIDJSON_FREE.
b94c2a120 Adding swap() for GenericMember
0739a3e88 Fix gcc compilation error in sortkeys
f595f8a6a Update sortkeys.cpp
189201321 Merge pull request #1421 from HomeControlAS/sort_by_name_example
79a6dabd0 Merge pull request #1439 from ylavic/schema_pointer_allocator
93cb84a7b Merge pull request #1442 from rbilovol/cmake-fixup
efad25970 Merge pull request #1444 from leolchat/patch-1
bf0939728 Correct complexity claim
8d272e53a CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path
dbb594bdb Use the allocator of the Schema for its Pointer.
bfdcf4911 Merge pull request #1426 from ylavic/pointer_less_than
b56eb2857 Merge branch 'master' into pointer_less_than
8549e3db6 Merge pull request #1431 from ylavic/pointer_swap
2ce91b823 Pointer tests now need <algorithm> (for std::swap), but no tabs.
a66cf7924 Allow to (std::)Swap two pointers.
eb6ee17d2 Speed up Pointer::operator<().
0e34ed43f Rework Pointer::operator<() loop.
af17f196c Unit test for Pointer::operator<().
055f1fa61 Add less than operator to Pointer.
66eb6067b Merge pull request #1425 from ylavic/filereadstream_peek4
b4b0e13b4 Merge pull request #1424 from ylavic/file_input_streams
eea3e57bc Merge pull request #1416 from ylavic/regex_syntax_noassert
38d25d745 Fix FileReadStream::Peek4().
8aab3db12 Base buffered BasicIStreamWrapper on the original (better performing) FileReadStream algorithm.
124e8b607 Possibly std::ios::binary helps with streams on Windows
2498c5776 Optimize FileReadStream and BasicIStreamWrapper.
d0188462d removed std::string and receiving const Value in printIt
c9060b4a5 added example for sorting keys
8c1478739 Unit test for invalid GenericRegex (unclosed parenthesis).
be96f4d7f GenericRegex: don't throw/abort on syntax error (unclosed parenthesis).
30d92a639 Merge pull request #1413 from ylavic/schema_regex_leak
1c5b90f40 Merge pull request #1414 from ylavic/regex_allocator
3e6956767 Fix a memory leak for invalid std::regex in Schema.
b0c96f9ba Use passed in allocator for internal regex parser.
a63216054 Merge pull request #1388 from yhager/yhager/clang-7
595ed48d5 Merge pull request #1403 from jcmonnin/fix-warning
51ca982aa Fix warning when NDEBUG is defined [-Wunused-variable]
0cc44c82c Update test/unittest/pointertest.cpp
a77b49dcb silence clang-7 self-assign-overloaded warning
67fac85e9 Merge pull request #1373 from lelit/issue1368
91d50c849 Add test case on kParseNumbersAsStringsFlag being able to load big ints
16872af88 Avoid pointer arithmetic on null pointer to remove undefined behavior
663f076c7 Merge pull request #1362 from jiapengwen/master
2a5e733b6 Merge pull request #1364 from jcourtat/fixfaq
68349ed91 faq: fix document insertion example
1cfa861d4 fix tutorial error
c0ca05f6d Merge pull request #1329 from pah/fix-noexcept
c2aa79dc8 Merge pull request #1356 from gongminmin/AppVeyor2017
783b819e6 Update rapidjson.h
a6be583ef Update appveyor rule to support VS2017.
8a96a95de Merge branch 'master' into fix-noexcept
f5f6052c5 Merge pull request #1327 from gongminmin/FixCompileInVS
08b1a8a41 Merge pull request #1302 from chwarr/min-max-guard
81af404b7 Merge pull request #1284 from mobileben/noexcept-assert
73063f500 Merge pull request #1340 from lelit/issue1336
c9eabf9e1 Extend the test on issue #1336 to cover all basic types
3fc9299b8 Add simple test for issue #1336
11defb7aa Wrap all WriteXxx() calls within EndValue(), to ensure a flush after root-level scalar value
6a905f931 Merge pull request #1331 from JPEWdev/mem-alignment-fix
91df56313 Merge pull request #1335 from IceTrailer/master
cd2824861 Fixed parentheses in reader.h which were required to prevent the using of max macro
748a652f0 Fix SIGBUS due to unaligned access
f54f6b5aa Add RAPIDJSON_NOEXCEPT_ASSERT
ff7634333 Update the code to adapt the new gtest.
2bbd33b33 Merge pull request #1323 from pah/fix-memaccess
152511689 Suppress -Wformat-overflow warning/error
a26267d16 Fix -Wsign-conversion warnings/errors
fa5963a2f Fix -Wclass-memaccess warnings/errors
4b4583bdb Merge pull request #1320 from AnomalRoil/master
93331cb0c Removing always true if condition
960b9cfd1 Guard against min/max being macros in reader.h
129d19ba7 Merge pull request #1312 from erikfroseth/issue-1308
3e255af03 Detect C++11 features for Developer Studio
b81438ea9 Merge pull request #1307 from moretromain/preprocessor_cleanup
fdd2db930 Updated google test to latest commit
4595cc488 Rename a few internal preprocessor macros to avoid potential naming conflicts
7e68aa0a2 Merge pull request #1252 from StilesCrisis/issue-1251-test
c511ce303 Merge pull request #1250 from StilesCrisis/issue-1249-test
6cc3910a1 Merge pull request #1290 from abolz/fix-strtod
7101911d9 Run all the new tests in full-precision mode only
319944a11 Disable failing test for now
a757a2aeb Add more tests
179277817 Add a test for BigInteger::operator<<
a0f9c5fc4 [Debug - clean up]
879ae853f Fix offset computation in BigInteger::operator<<
8b98f4a78 Workaround incorrect rounding in MSVC
a2813b673 Limit exponents
6cd5cd7b9 [Debug - Initialize variable]
292f787c0 [Debug]
695c9cb97 Use C macros with the correct header instead of std::numeric_limits and static_cast
1d636de81 Fix another signed/unsigned warning
a2a7d97b3 Use std::numeric_limits instead of macros
fc85fbeef Fix implicit signed/unsigned conversion and a small glitch in the error computation - part 2
16c97cd7c Fix implicit signed/unsigned conversion and a small glitch in the error computation
2ea43433e Fix bogus gcc warning
a78c8e3a4 Add more tests (which need to be fixed)
cb009f305 Return infinity if binary exponent is too large
7acbb87c2 Some more tests
4e9b4f6d6 Return 0 if binary exponent is too small
f5e5d47fa Properly test for overflow
d83d2ba26 Trim all zeros from input
c59ecc857 Replace unsigned with signed integer arithmetic in strtod
29b6c9b7d Add assertions to check preconditions of functions and unsigned integer arithmetic
80dba56ac Add tests for issues with string-to-double conversions (#849, #1249, #1251, #1253, #1256, #1259)
01c71740c Merge pull request #1287 from Nekto89/msvc_config
2b0843037 Autodetect RAPIDJSON_HAS_CXX11_NOEXCEPT and RAPIDJSON_HAS_CXX11_TYPETRAITS for Visual Studio
5b0610a74 Handle non-throwing exception specifications that can still throw #1280
c0daf7547 Merge pull request #1279 from bogaotory/master
6f7dcb30d again, in relation to solving issue #784, use `SizeType`-typed variable to indicate a none-zero length string has been given in the schema as default value for the json property; added an unittest `Object_Required_PassWithDefault`
fa98b5b4b in relation to solving issue #784, this commit enables the schema to recognise the "default" property, and avoids a missing property error when a default is given in the schema
af223d44f Merge pull request #1261 from fmalita/exponent-underflow
8269bc2bc Prevent int underflow when parsing exponents
1329cdecc Added test for issue #1251
cad380573 Update readertest.cpp
f7d2cd222 added test for parsing 0e100
532cba142 Merge pull request #4 from Tencent/master
a09103584 Merge pull request #1240 from ksergey/FIX_Reader
d0a78bf56 Added const for Reader methods
b32cd9421 Merge pull request #1217 from tresorit/win-clang-fix
ed72564e3 Merge pull request #1231 from steveire/patch-1
73b8774ab Use rvalue refs with clang-cl
5fd779d91 Merge pull request #1222 from DynonAvionics/adjustable_default_chunk_capacity
6f587466a Added macro RAPIDJSON_ALLOCATOR_DEFAULT_CHUNK_CAPACITY to allow default chunk capacity to be lowered for embedded devices with < 64k stack sizes
0fdd8040c fix compilation on windows with clang
8022a5f79 Merge pull request #1210 from foxtacles/fix-missing-remote-ref-p
9640209f7 remove superfluous typename
f8c8c32b4 fix C++03 compatibility
c8530d022 add test case for remote ref issue
8a6c345bc add remote ref to schemaMap_
67a17cfdb Merge pull request #1207 from vim2meta/master
de6681e29 ensure the pragma is only applied to MSVC
f0177eb93 Merge pull request #1203 from KuangLei/doc_AddingWriter
f9c933976 Adding a few missing includes
0f96b5605 Merge pull request #1202 from Sumoren/msc_long_part2
27424d5c0 Change long/ulong as int/uint on MSC unit tests to be more inline with other templated functions unit tests
d79533c65 Merge pull request #1199 from kachanovskiy/master
2e5dcceda Fixes #1198
3b638e671 Merge pull request #1191 from Sumoren/msc_long
a37f9d1ec Fix unsigned long as unsigned unit test
a040fc334 Add unittest for long as int in MSC platforms
294a5aca8 Support long and unsined long as int and unsigned on Microsft platforms
8bf4f7b97 Merge pull request #1188 from Martinfx/master
72481d5a0 Fix warnings Dereference of null pointer
9dfc43747 Merge pull request #1182 from Romain-Geissler-1A/ignore-gcc-8-warnings
91cd12313 Merge pull request #1181 from luzpaz/misc-typos
54dab1eeb Ignore GCC 8 warnings.
915218878 Misc. typos
49562271b Fix Windows build
59181a052 Revert "Fix API constness"
0d2580f1f Fix API constness
a1909a942 Merge pull request #1179 from Tencent/issue1153_rawvalueencoding
966987625 Add transcoding/validation to Writer::RawValue()
e2d0437a9 Fix false alarm from clang-tidy
82b5c4256 Fix Compile error because of -Werror=effc++ is on
672e7dd37 Fix invalid type in Pointer
daabb88e0 Merge pull request #1068 from yurikhan/violationDetails
7641af690 Merge pull request #1122 from svart-riddare/issue-1108
cdc899a3f Merge pull request #1124 from DerDakon/CMake-cleanup
fc7cda78a Fix -Werror=effc++
b1e556d71 Merge branch 'master' into violationDetails
03f5de9d7 Merge pull request #1065 from yurikhan/invalidSchemaPointer
9338148f5 Merge pull request #1161 from xiaoPierre/master
a735badbd Merge pull request #1162 from Tencent/travis
d48290e38 Another try to fix travis build
62e785bab Merge branch 'master' into travis
0d95d58f8 Try to fix travis build
b8c12c9cc Bug when switching to std regex
6043ad868 Merge pull request #1138 from Tencent/archiver_example
83f149e70 Merge pull request #1148 from lelit/fix-filewritestream-doc
a7f687fdf Merge pull request #1153 from Haffon/master
7dfeee862 GetParseOffset to GetErrorOffset
53eadd218 GetParseOffset to GetErrorOffset
20d44d9c4 Fix FileWriteStream doc
802ece6d7 Merge pull request #1147 from DrumMeister/master
9bfa0bb56 Fix uninitilized member Reader::state_
f2a28ee47 Add archiver example
87d4e07ff Merge pull request #1137 from pah/fixes/1131-iterator-deprecation
d75bb90a5 Avoid inheritance from std::iterator
7caa4b216 Merge pull request #1129 from thorade/patch-1
79d5e2367 Delete .DS_Store
80079f1fa Delete .DS_Store
195dc90d2 Delete .DS_Store
25c1b78f3 ignore DS_Store files
44f2f9aa5 Added relevant unit tests for issue #1108 suggested improvement.
ff59b6179 CMake: automatically handle C++11 settings if possible
4c9a28a28 CMake: do not pass -march=native or -mcpu=native when crosscompiling
4e1c7363c CMake: avoid neeless variable expansion
86e280f63 Solves #1108. The default copy constructor of GenericPointer will use the allocator of the copied object. The extra copy constructor that takes an allocator as a parameter is distinct if someone really wants to create a copy with a null allocator.
17ae6ffa8 Merge pull request #1110 from martinlindhe/master
8684c9960 fix some typos
5aa79b727 Merge pull request #1105 from clach04/issue_1104_solaris_fread
1be14d04a Fix issue #1104 Solaris compilation errors fread()/fwrite()
75a71441d Merge pull request #1102 from m-tayel/1019-proposed-fix
f4b1f761f Fixed typo in CMake file
7dddd0546 Merge pull request #1070 from KaitoHH/line-col
93f6cf4e8 Merge pull request #1081 from datatypevoid/patch-1
bf822593e Merge pull request #1083 from piotr-kaminski-intel/master
3c07cecdb Add anchors to Schema.md
db305dcf2 Fix schema.md TOC
4db8c3da1 Merge pull request #1098 from h46incon/MemberCapacity
a8e999060 Add MemberCapacity() and MemberReserve() interface for object type.
7d424c0bb Merge pull request #1092 from m-tayel/1019-proposed-fix
7bd9b5a1a enable cross compiling by adding option to remove -march/-cpu
bb99ccb03 Init variable in the constructor
d71ad0064 Merge pull request #1079 from captaincrutches/cmake-include-dir
495266271 Use SOURCE_DIR instead of CMAKE_DIR for build tree
f64b77300 Partially fix #1077
d5c1be5a0 Merge pull request #1082 from svart-riddare/regex-allocator
b217cc640 Removing Klocwork issues from schema.h
6e08e2942 Initialized regex with schema allocator.
f0391747e chore: correct spelling
84ca485e5 Make RapidJSON_INCLUDE_DIR non-blank in Config.cmake
8c182e51e Flatten allOf keyword violations
8353e868d Move schema violation docs into Schema chapter
1f7540270 refactor Schema: Keep ErrorHandler reference in Context
473553bd5 fix gcc & cl warning
9394b8444 remove unnecessary code
66541b892 add unit test for cursorstreamwrapper
799fdea9f add cursor wrapper
143641c75 suppress C4512, C4702 warning
79d9c71f9 fix stream wrapper initializer
b16ff281f Add feature of locating line and column number of error
2a0bc6062 Update gitbook zh-cn link
0b8adabab Fix #1071 gitbook link
a4b62ff61 Update schemavalidator example to demonstrate GetError()
384df14e6 Document schema violation format
056671680 Extend schema validation tests to compare error object
f716c3bfb Report schema violation details (#619)
c2371584a Keep schema URI in GenericSchemaDocument and internal::Schema
2bfd0cc6c internal::Schema: Keep pointer for future use
379b33744 Add failing test for the case when a remote schema is violated (#1064)
4c0f0036b Update appveyor badge and link
4a2f2729f Change from miloyip/rapidjson to Tencent/rapidjson
2a53253e7 Merge pull request #1056 from chwarr/assert-enum-lower
a683902b2 Assert Type enum lower bound as well
5db5dd552 Merge pull request #1057 from chwarr/paren-minmax
4bb4926c9 Merge pull request #1055 from chwarr/fix-doc-build-windows
e4c0ecf86 Guard against min/max macros in tests too
6e38649ec Guard against min/max being macros in document.h
bbdf5d1d4 Fix Windows doc build MSBuild error MSB6001
1e4609100 Merge pull request #1051 from gongminmin/master
e9373fc13 Merge pull request #1052 from Crunkle/master
9ce6a7ebb Fix processor check when empty
f91405801 Specifies the endian of msvc ARM64 configuration.
f05edc929 Merge pull request #1034 from bluehero/master
f9004b90c modify
c83167502 modify
5fb06596a modify
8ba1f84f4 modify unittest
9eb7bf895 add unittest
7c1f20825 modify
f7dd496cd Merge pull request #1 from miloyip/master
d6305514f Merge pull request #1030 from bmuzzin/issue1028_natvis
707fd36af Issue #1028: Visual Studio natvis file.
c34e3dfc7 Merge pull request #1018 from miloyip/issue1017_allOfHandler
fcd2e1f60 Fix #1017 allOf keyword fail with Writer handler
1a77513e6 Merge pull request #1013 from pah/fixes/1010-assert-stringref
2d27ce46b Merge pull request #1012 from pah/fixes/993-doxygen-internals
70171f979 GenericStringRef: move assert out of expression
7161894f4 travis-doxygen.sh: upgrade to Doxygen 1.8.13
37ea16df9 Merge pull request #1009 from pah/setup/travis-trusty
f624a3037 Merge pull request #1010 from pah/fixes/817-stringref-null
73df6c932 Merge pull request #1008 from pah/fixes/989-parseresult
4da20e21c Merge pull request #1002 from FluxLemur/patch-1
47c3c1ec9 Improved handling of NULL strings
f1ba61c7b unittest.h: change RAPIDJSON_ASSERT to allow usage in expressions
eefb618ec Travis: Switch to Ubuntu 14.04 (Trusty)
14218aeb0 ParseResult: improve bool conversion and add operator!=
3aafe12c9 undo changes to links and some minor changes to make the readme more easily readable
0d62f5cd3 Tutorial: fix typos in examples and broken links
2f45319b4 Merge pull request #968 from TomaszNo/icc-preprocessor-guard
77ae0b979 Merge pull request #987 from sledgeh/master
6a8f672ca Merge pull request #994 from Chocobo1/svg
a31a380cb Improve readme.md
6e81d49b3 Fixed #985 : Unittest failed with MinGWx64. And few small improvement were done while looking for mistakes.
b596f4e99 Merge pull request #977 from miloyip/issue825_patternProperties
df6362d45 Fix patternProperties & additionalProperties lead to ASSERT
342a616a7 Merge pull request #969 from pah/fixes/962-copy-const-strings
68c96e987 Fixup #964 by forwarding copyConstStrings recursively
33443e63a Merge pull request #967 from TomaszNo/storage-class-first
294ad93e3 To avoid Intel C++ Compiler #1879 warnings: warning #1879: unimplemented pragma ignored: #pragma intrinsic(_BitScanReverse64) warning #1879: unimplemented pragma ignored: #pragma intrinsic(_umul128)
77d2fadfb If storage class is not specified as first in declaration then Intel C++ Compiler 2017 generates message: message #82: storage class is not first
3202b0a3d Merge pull request #964 from pah/fixes/962-copy-const-strings
4ef1ff4fb GenericValue::CopyFrom: add option to force copying of strings
0033268c1 Update tutorial.zh-cn.md
56b7216ef Fix #949 about -Werror=conversion
f8eb7bae8 Remove -Weverything
b61bbbfe3 Fix #947 -Weffc++ warning
67b062b3c Merge pull request #946 from hwiesmann/master
568107e17 Add convenience method Key(std::basic_string<Ch> const&) to Writer
fe2b3603e Merge pull request #941 from harrywong/master
cba45fe9d Onley apply to GCC 7
fe19b7b60 Supress implicit fallthrough in GCC
a13acda97 Merge pull request #937 from bytePro17124/patch-1
4fe02e15f typo
b45c5408d Merge pull request #932 from JunHe77/master
d2fce9243 Merge pull request #933 from OlegHahm/minor_fixes
885b5cd2f common notation of empty if/else case
63423eb6f fix return values
2291258bb Added ARM-Neon support for SIMD.SkipWhitespace*
e6d7247ed Merge pull request #924 from lichray/fix-gcc7-warning
c6aec19ed Merge pull request #930 from pah/feature/cxx11-static_assert
f93a29bec RAPIDJSON_STATIC_ASSERT: use C++11 static_assert, if available
ec90588c7 Fix a non-type template parameter type mismatch
fcd263c61 Merge pull request #923 from miloyip/issue910_casting
77f643dc5 Fix #910 incorrect casting
5d9d0f78b Merge pull request #909 from miloyip/issue905_PrettyWriterWriteFlags
d88be8ef1 Fix #905 unable to set writeFlags for PrettyWriter
b8f0414b9 Merge pull request #907 from almavi/master
85500e8c8 Changed error code for invalid special ascii chars, fixed writer tests
3c6e2cf03 Added unittests for invalid ascii control chars
da4fd6794 Fixed bug on space hexadecimal encoding
430e8d4c9 Update schema.zh-cn.md
3f78a026c Merge pull request #903 from shadeware/patch-1
a38104a16 fix typos in doc code
1391e4257 Merge pull request #3 from miloyip/master
e5635fb27 Fix #899
0bc856a74 Merge pull request #894 from belveder79/master
bba388b4f Merge pull request #896 from StilesCrisis/writer-flush-api
465fab45c Merge pull request #897 from StilesCrisis/issue-889-pretty-writer
d5d18cf69 Fix template length optimization issue in PrettyWriter
31c6c50ac Provide a Flush() API within Writer
c7703f831 Merge branch 'lookahead-parser-improvements' into writer-flush-api
5b593bba1 Merge pull request #2 from miloyip/master
b91c515af update to create config file which is independent from actual install location
f0c108b5c Remove all switch
6723e3296 Initialize v_ to placate GCC
bf19c1a0b Remove switch
266870df8 Merge pull request #890 from StilesCrisis/issue-889
e7fd70769 Improve LookaheadParser
55f8a3202 Remove broken templatized string length optimization
84a035660 Add unit test for Issue 889
33a9f5850 Merge remote-tracking branch 'miloyip/master'
5de06bfa3 Merge pull request #882 from StilesCrisis/lookaheadparser
260e2f372 Merge remote-tracking branch 'refs/remotes/origin/lookaheadparser'
036f30021 Merge remote-tracking branch 'refs/remotes/miloyip/master'
2df32fbfa Merge pull request #881 from TedLyngmo/issue_874_Werror_effcplusplus
8da89f54b Fix GCC warning
d4669bbc8 Add lookahead parser example
ef22ca173 Fix -Werror=effc++ errors with GNU 6.3.1
c64f378f1 Fix -Werror=effc++ errors with GNU 6.3.1
237d2f2ea Merge remote-tracking branch 'miloyip/master'
a1fac159d Merge pull request #872 from StilesCrisis/issue845_native_strlen
c4e3d6243 Fix msvc x64 compilation issue
cdea825a0 Assert that String() and Key() are given null-terminated strings
61f8c4ef0 Quoted strings to String() or Key() are auto-sized by template
dd97ede84 Quoted strings to String() or Key() are auto-sized by template
7116c355d Merge remote-tracking branch 'miloyip/master' into issue845_native_strlen
02de69892 Merge pull request #876 from erikfroseth/issue-875
d6e9cf5d5 Remove executable bit
66b564f38 Remove unneeded change
db8d3bb4d Remove unneeded change
6ae50ad6e Once again
534f13526 Try again to suppress Valgrind
3f9ebfe9e Trivial change to trigger Travis CI
13e99d8d5 Trivial change to re-trigger Travis CI
9ae349c62 Merge pull request #871 from StilesCrisis/token-by-token-doc
4b822a41a Attempt to suppress valgrind wcslen error
6e2e5c7db Specialize StrLen for char/wchar_t
f349456bc Merge remote-tracking branch 'miloyip/master' into issue845_native_strlen
0f3bf99d5 Tiny fix
5c2bb1877 Add IterativeParse docs
e6b192a75 Merge pull request #869 from StilesCrisis/writer-key-fix
9cabd6372 Merge pull request #870 from StilesCrisis/null-handler-fix
4643104b8 Fix null handler construction
0ec4e86f1 Unit test
fa84cd18f Add matching fix for PrettyWriter
2e9b7b1ae Added assertion
595b11421 Unit test
26e089b9a Merge remote-tracking branch 'miloyip/master'
97e2f7f16 Try fixing Error compilation Ubuntu 14.04 #834
7f753fe76 Merge pull request #867 from oviradoi/issue858
82295b1f4 Merge pull request #842 from StilesCrisis/token-by-token-parsing
a677b8570 Merge pull request #866 from ylavic/patch-1
5f92c3926 Fix creating the nuget package with Raggles' fork of CoApp
b977fd3c9 Missing "internal" namespace for StrLen
0eaa0d288 Merge pull request #862 from StilesCrisis/nan-inf-parse-fix
ecf3d6429 Merge branch 'nan-inf-parse-fix' into token-by-token-parsing
5e785d3db Fix parsing of NaN/Inf
c4117c68c Put in unit tests to catch parser failure
bd4c282d7 Test coverage up
0f8389e78 Restored original IterativeParse implementation
488252eca Merge remote-tracking branch 'miloyip/master' into token-by-token-parsing
933eb839d Merge remote-tracking branch 'miloyip/master'
0163a53f4 Merge pull request #841 from StilesCrisis/improve-unit-test-reporting
a11ec6979 More C++98 fixes
6288d95d1 SimplePullReader C++98 support
4232e407f Clean up example code
d84d5fe05 Add example SimplePullHandler code
4394b3bac Add LIKELY and UNLIKELY hints
82a423db7 Added unit test for pull parsing
116f65994 Improve coverage and performance
5de725847 Improve performance
1a7c5ea51 Fix Dev Studio bool-conversion warning
20f5caa8f Token-by-token pull parsing
6769f3e33 Improved reporting
738864c53 Remove non-ASCII character
3693e942b Fix output character type in writers
942bb4608 Merge pull request #827 from lichray/fix-signed
265fb6ee8 Fix #831 RAPIDJSON_HAS_CXX11_RANGE_FOR is error defined
3cc77d5d6 Treat signed-unsigned conversions as errors.
835f2f4a7 Update Doxyfile.zh-cn.in
e61b66c38 Merge pull request #816 from SuperSodaSea/master
dba981600 Translate doc/internals.md Part 2
af4ec9b7e Translate doc/internals.md Part 1
03a739104 Merge pull request #757 from patcheng/feature/fix_clang_warning
369e07d1c Merge pull request #811 from glebov-andrey/improved_new_macro
41ceb8624 - replaced RAPIDJSON_NEW with C++98 compatible version
3f120caee - replaced RAPIDJSON_NEW calls in fwdtest.cpp
9fe93bb98 - replaced RAPIDJSON_NEW macro with variadic varient
014097e51 Merge pull request #800 from ivankravets/patch-3
ba34c9453 Update version to 1.1.0
0024592c2 Update sax.zh-cn.md
bff326fb2 Update sax.md
eb6831a4c Merge pull request #790 from SuperSodaSea/master
a077baa9c 修复拼写错误
fbcd7acfd Merge pull request #788 from miloyip/issue786_CopyFrom
e07d0e943 Move GenericValue deep-clone constructor into the class declaration.
95b346c3c Refactor GenericValue deep-clone constructor
d57944fc2 Merge pull request #783 from FrozenGene/master
c4db88a31 support IBM PowerPC / ppc64 / ppc64le and XL compiler
381d8f85e Merge pull request #782 from miloyip/issue781_aix
d7dd4106e Remove empty NumberStream::~NumberStream()
d6c8b378d Merge pull request #777 from miloyip/issue728_threadsafe
992b7f5f8 Fix nullHandler allocation bug
fba9ebd9b Merge pull request #776 from miloyip/issue728_threadsafe
59bcebbf3 Merge pull request #773 from bluehero/master
bf0cc7bea Fixed a bug for SchemaDocument move constructor
31ace3b76 use _mm_cmpistri
7c4e511eb Change Schema::GetTypeless() from singleton to instance
ddbd2ef05 Restore missing deallocation of GenericSchemaValidator::nullHandler_
b963eb447 Change SchemaValidator::GetNullHandler() from singleton to instance.
97fb9bc85 Merge pull request #770 from miloyip/issue728_threadsafe
3b1a03749 Merge pull request #748 from sfinktah/sfinktah-minwindef-fix
517dd4dbb Fix failing to resolve $ref in allOf causes crash in SchemaValidator::StartObject()
9b6af5552 Merge branch 'master' into issue728_threadsafe
236322797 Add Value::Value(float) and static_cast for suppressing clang warning
8eaa122c2 Update dom.zh-cn.md
94b36dc97 Merge pull request #763 from miloyip/issue762_move
3f2339759 Remove unncessary std::move()
11df748a3 Revert "Another try for fixing schema.md"
c490d880a Another try for fixing schema.md
a3300bf4b Fix schema.zh-cn.md
ba56498d1 Merge pull request #760 from icechen1/patch-1
48f8364f6 FIx typo in documentation
b4dae2b77 Merge pull request #755 from AdamMajer/fix_old_gcc
95224aff7 When length is 0, the code does nothing, so skip it completely.
91a803d46 Reserve() is sometimes called when stackTop_ is null. The assert is invalid.
9d8df28c1 added assertion to help suppress clang warnings
cb017cbf5 Fix compilation with older GCC versions
ffc794285 Merge pull request #750 from bennyyip/master
6a15e40b6 fix #749
51a31ce00 Fix for winmindef.h defining min/max macros
7a3917277 Merge pull request #746 from miloyip/issue744_stringbuffergetlength
5cd62c235 Add StringBuffer::GetLength()
0761ac126 Remove lambda expression in (pretty)writertest
f28203c7a Fix #741
185a7cc21 Merge pull request #740 from CreoValis/writer-move-ctor
1a64cd099 Tests for Writer, PrettyWriter move constructors
62dc1077e Move constructor support for PrettyWriter
307e02160 Move constructor support for Writer
52682115f Merge pull request #739 from miloyip/issue728_threadsafe
769185d68 Refactor regex
328ead0e1 Merge pull request #732 from miloyip/issue731_writerstringassert
3e2172bd5 Add preconditions in writer and string functions
8979c14fb Merge branch 'master' into issue716_parsebyparts
9f6688289 Merge pull request #730 from myd7349/master
6023ed3a0 Fix typo in doc
cdb345428 Merge pull request #723 from niukuo/master
250cf666d fix wrong length in remote schema
9bd618f54 Merge pull request #719 from yachoor/remove_broken_assignment
0f9dbe0a9 Defer thread creation in parsebypart example
862c39be3 Explicitly disable copy assignment operator
3b2441b87 Removed non-compiling assignment operator. Fixed #718

git-subtree-dir: third_party/rapidjson
git-subtree-split: ab1842a2dae061284c0a62dca1cc6d5e7e37e346
SiarheiFedartsou added a commit that referenced this pull request May 26, 2024
f9d53419e Add Hasher tests for objects where key eq value
6f79698b3 Fix swapped high and low offset basis values
eee82cb07 Fix object hashing in schema
b4a6da3e6 unit tests for 'Stringify NaN, Inf as null'
e7b6e5a20 Fix: 'Stringify NaN, Inf as null'
476ffa2fd Rename to fix allocator shadowing
5e17dbed3 Eliminate old style cast warning
956063dbc Fixing printf format warning
30f54566a Merge pull request #1901 from JackBoosY/master
516d04739 Remove empty cross-reference in comment
52dd94709 Merge branch 'master' into pr/1901
a95e013b9 Stringify NaN, Inf as null if needs
973dc9c06 Avoid ptrdiff between pointers to different allocations
2a1f586ba Check for __GNUC__ definition
0e88d5e40 Eliminate missing prototypes warning
949c771b0 Resolve conflict with Windows header about max macro
083f359f5 CMakeLists: fix optflags for ppc
012be8528 Use passed in allocator.
1ce516e50 Suppress uritest
778dc8b03 fix #1
76281ff38 fix a typo in error.h: literial -> literal
a98e99992 do not define operator!= in C++20
b08672d46 review comment updates
55eca66f3 code & tests for openapi 2.0 & 3.0 suppprt
80b6d1c83 small corrections for schema.h
97fd83017 attempt to fix SEH
7cad78e23 tidy up after merge from master
794248ee6 fix build break
2d87923e9 remove unnecessary templating from schema tests
aa1f22251 correct address.json so tests pass
ecb8d9e3a add dump of unexpected schema errors in schematest.cpp
89f6717f0 corrections
338d8defd initial
06d58b9e8 Update dtoa.h
22a62fcc2 Update allocators.h
27c3a8dc0 docs: fix simple typo, perecent -> percent
232389d4f delete unused variable
64faab2e9 gate definition of symmetric equality operators on impl, not lib
719304b11 fixes for natvis
dd3f730d7 Make schema dtor robust against exceptions
781a4e667 Try to fix MSVC build.
88f8ddd70 Include conceptual change from PR 2001.
469595356 Avoid exit-time destructors.
0390b1ad5 Avoid exit-time destructors.
2b2c80450 encdedstreamtest: fix use-after-free compile error with gcc-12
1f59c69cd valuetest: fix potential write of terminating nul past the end of the destination
3445e155e Merge branch 'master' into master
fcb23c2db Merge pull request #2008 from agate-pris/access-to-allocator-types
bdc49ad80 Merge pull request #2014 from lazydroid/dev/lenik/fix_shadowed_variables
6b500986c fix shadowed variable, take 2
3988c5e25 fix shadowed variable
386d31ab6 Allow access to the template parameter StackAllocator in the GenericDocument
79d7a448e Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any namespace
9965ab37f Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespace
8261c1ddf Merge pull request #1969 from MalcolmTyrrell/MalcolmTyrrell/sanitizeSchemaCode
0d78b1ce9 Merge pull request #1989 from adamcalhoon/really-fix-placement-new-alignment
1dff2abff Fix the alignment of placement new buffer for GenericValue.
e4bde9774 Merge pull request #1988 from Tencent/revert-1987-fix-placement-new-alignment
88bbd87dd Revert "Fix the alignment of placement new buffer for GenericValue."
bf8ca5da8 Merge pull request #1987 from adamcalhoon/fix-placement-new-alignment
5b242b6b2 Fix the alignment of placement new buffer for GenericValue.
fd3dc29a5 Merge pull request #1944 from ilelann/patch-1
53602ec6b Sanitize the code in schema.h
0d4517f15 Merge pull request #1961 from jedwardsol/issue1960_arm64ec_intrinsic
060c348ea use softintrin on arm64ec
4d6cb0818 Merge pull request #1949 from ardb-uk/master
033bef3c6 Merge pull request #1 from ardb-uk/ardb-uk-patch-1
befba39af Merge pull request #2 from ardb-uk/ardb-uk-patch-1-1
4bbaf28ff Add files via upload
14f1e37f8 Resolve issue 1948
e6736d1ba Support CMake none targets
2e8f5d897 Merge pull request #1940 from smhdfdl/issue-1924
9ea3f45db fix the warning
b9ae2499e Merge pull request #1941 from DiamondI/patch-1
553a3ea31 typo on documentation dom.zh-cn.md: "己于" -> "已于"
864e44aef Merge branch 'master' of https://github.com/Tencent/rapidjson
00dbcf2c6 Merge pull request #1926 from Kyrega/master
22ee8b07c Correct WIStreamWrapper
a3d52c75b No default template parameter for older compilers
19b55c904 No default template parameter for older compilers
128b1031b Use rapidjson internal::SelectIf
8710d7e98 Do not depend on c++11 conditional
e0512e094 Using unsigned for WIStreamWrapper
7fac34f7b Added typename
b952a592a Fix RawNumber for longer char types
28c59ab4c Merge pull request #1922 from jack-perisich/grisu2_precision
bb0621108 Fix small errors in dtoa output for certain doubles
7ee918fc8 Merge branch 'master' of https://github.com/Tencent/rapidjson
48fbd8cd2 Merge pull request #1848 from smhdfdl/id-and-ref
8d16abd98 Uri Parse improvements
b557259f8 Merge pull request #1904 from Tencent/issue1899_pointerappend
a21cf9f7b equiv fix for issue 1899
8c29a7b49 Fix Pointer::Append() crash for custom allocator on Windows
12b88efa6 fix coverage again
f6ebcb200 fix Uri.Match optional arg
3df804c12 fix coverage, unit test allocators and equality
18ab3b16b remove temp debug statements
6d253c160 remove compiler warning
28bcbd3f3 make std::string optional
f4be0ada8 Use modern cmake function export to generate target
494447b73 remove copyright & debug statements
6e58a53f4 fix coverage
3987d82f4 Merge branch 'master' of https://github.com/Tencent/rapidjson into id-and-ref
9c1002f94 rge branch 'master' of https://github.com/Tencent/rapidjson
17aa824c9 Merge pull request #1885 from saurabhchardereal/master
cd737fb54 Improve documentation
25fa7a119 Merge pull request #1883 from nkolotov/fix/issues/1882
3aa8d04b7 Fixed -Wshadow warning.
e0f68a435 Merge pull request #1877 from hendrikmuhs/windows-GetObject-conflict-#1418
3cdfde14d replace auto with concrete type
d179facf9 don't let the GetObject macro rewrite the GetObject method, add a GetObj alias
3168d7c34 add a test that provokes a compile time error on windows
47b837e14 Merge pull request #1485 from ylavic/MemberMap
be4a5a908 Turn some Tests to RAPIDJSON_USE_MEMBERSMAP in CI.
fc08f4f61 Tests for Members in std::multimap.
71f0fa7eb Set RAPIDJSON_USE_MEMBERSMAP to use a (std::multi)map for object members.
7d801bbe4 Merge pull request #1503 from ylavic/sub_value_assignment
03676c9bf Merge pull request #1870 from ylavic/allocators_rvalues
aa0675ffd Try some tests with -D_GLIBCXX_DEBUG and coverage with -O0.
5c764d9a8 Tests for Allocators copy by rvalue reference.
683010b02 Add rvalue copy and assignment to MemoryPoolAllocator and StdAllocator.
117276c41 Fix would-crash tests if the default allocator used were kNeedFree.
49aa0fc15 Merge pull request #1868 from ylavic/cpp17_in_ci
a8bd93176 Tests for C++17 with VS 2019.
6bed9b266 Don't define StdAllocator<void> from C++17.
e336667b4 Handle C++17 (and C++11 with MSVC) in CI.
b996a2371 Merge pull request #1866 from ylavic/std_allocator_traits
08cf9a56c Make StdAllocator C++17-20 compatible.
02f42604b Make StdAllocator C++17-20 compatible.
cd5ee4dfe Merge pull request #1858 from ylavic/std_allocator
3d77d11e2 add traverse as pointer example
2e6f76145 Tests for StdAllocator.
49e4dd619 Provide StdAllocator, STL compatible, for use with STL types.
50cb424c3 Test assignment from inner Value.
c033292ae Safer GenericValue& operator=(GenericValue& rhs).
d51dd2d0e RAPIDJSON_NOEXCEPT_ASSERT should assert regardless of RAPIDJSON_HAS_CXX11_NOEXCEPT.
cdb2d4757 Provide RAPIDJSON_HAS_CXX11 and use it for RAPIDJSON_HAS_CXX11_RVALUE_REFS and RAPIDJSON_HAS_CXX11_NOEXCEPT.
bc026e3fb satisfy all compilers 3
24b9b7e27 satisfy all compilers 2
32722fa31 satisfy all compilers
8768b5b1d correct #defines in uri.h
6c9da69ab remove comma
6b57738e4 handle internal refs properly
1c2c8e085 doc: fix incorrect template parameters in EncodedOutputStream example
fe1a29ca6 fix platform-dependent compiler error with >>
ad73c032e fix compile errors
892f6e3fd fix bracket
cabc3d5aa merge
7698b3cd4 code and tests
dad85cab9 Merge pull request #2 from smhdfdl/multiple-validation-failures-and-validation-messages
b1a4d91a5 Merge pull request #1779 from pavel-pimenov/fix-1778-part-1
8be64594f Merge pull request #1847 from stac47/fix_1846
24ebd5128 Fix recursive operator== call in C++20 (#1846)
8bce684cd Merge pull request #1844 from smhdfdl/multiple-validation-failures-and-validation-messages
9bb81e20f fix crash where simple type with sub-schema has a bad value
13dfc96c9 Merge pull request #1837 from smhdfdl/multiple-validation-failures-and-validation-messages
167efb4fa work around issue 1089
28dc42d8d restore coverage
a3757456f correct workaround for issue 1805
7fee368be Revert "revert perftest"
221e8d536 revert perftest
f89e75af7 remove C++ 11 std::string to_string() syntax
c491dd521 remove C++ 11 enum syntax
6f3cccd6e remove debug std::cout, handle empty error object in example
05e7b3397 code and tests
5d17b24e5 Merge pull request #1 from Tencent/master
585042c02 Merge pull request #1821 from slsyy/master
cbf62de55 Add implicit conversion from Object and Array to Value (#1404)
3cdd3c837 Merge pull request #1817 from lukedan/lukedan_cpp20
5e50f27ed also initialize class member
1e4f59d3a add return statement & comment
d742a030a add body to private copy constructor & copy assignment
300692623 suppress enum bitwise operation warnings on msvc
13f5ab4f4 fix schema test compile error
56f215e5c Merge pull request #1568 from ericrannaud/ericrannaud/memberiterator-public
0ccdbf364 Merge pull request #1786 from ssb22/master
b7734d97c Remove unnecessary wording from BSD license not needed for MIT license (fixes #528)
3a65e2dd7 fix Tencent/rapidjson#1778 (part 1)
ce81bc9ed Merge pull request #1760 from escherstair/fix_ce6_support
5fbf8bf89 fix unit test
7f559ec80 fix naive implementation for clzll()
58e296485 add unit test for clzll()
aa5dd6086 fix naive version implementation
91940e84b fallback to the naive version for CE6
6364c8e5a fix _BitScanReverse() usage for CE6
f56928de8 Merge pull request #1744 from lklein53/improve-surrogate-handling
6694c996b Add test case for low surrogate handling
ed73d7bdb Improve surrogate handling
88bd956d6 Merge pull request #1453 from eidosmontreal/custom_malloc
004e8e61a Merge branch 'master' into custom_malloc
1a803826f Merge pull request #1720 from madeso/master
ac0fc79c7 Fixes issue #1718
8f4c021fa Merge pull request #1689 from g199209/master
1ce28f454 Add CMake minimum version required.
f37669082 Add a target to RapidJSONConfig.cmake.in (#1350)
234ff044f ci: upgrade distro to xenial and add arm64 test cases (#1662)
36481c30b Update Visual Studio Visualizer (#1665)
d4f03d0d0 Doc: Fix some typos. (#1675)
ebcbd0448 Three-way comparison for CLang 10 fix (#1679)
2661a17c7 Avoid warnings when using -std=c++20 and clang 10: use three way comparision for iterators when possible. (#1667)
814bb27bf Replace RAPIDJSON_CLZLL with internal clzll (#1660)
563fe5bbb PrettyWriter constructor uninitialized member (#1654)
2bed293f4 Update biginteger.h (#1652)
b16cec1a1 Closes #1643 (#1644)
98f52b6bb Fix simple typo: drived -> derived (#1646)
a895ce150 Allow escaped apostrophe in values (#1639)
418331e99 Merge pull request #1631 from PhoebeHui/dev/Phoebe/vcpkg_instructions
b4cf6e738 Add vcpkg installation instructions
dfbe1db9d Merge pull request #1502 from ylavic/compilation_fixes
eeb9d553f Merge pull request #1617 from JPEWdev/master
134af9d81 Remove shadow typedef
35e480fc4 Merge pull request #1609 from piratf/readme_contributing
6cadd4b2c add contributing section in readme.md, introduced the basic cooperation process.
6534506e8 Merge pull request #1603 from piratf/cmakelist_upgrade
46d980b46 fix CMake policy CMP0048 warning #1154
c4c6a6541 Merge pull request #1548 from TranslucentTB/master
e54aca700 Merge branch 'master' of https://github.com/Tencent/rapidjson
bb5f966b9 Merge pull request #1591 from veekxt/patch-1
67b245e07 doc: fix a typo
1a825d24f Merge pull request #1529 from rkoshy/master
6a6bed275 Merge pull request #1582 from crazyscot/master
5592c2eed Merge pull request #1544 from fredgan/master
39db1177b fix some misspellings
4116912cd Use C++17 fallthrough tag instead of disabling warning
d67a69a9c Merge pull request #1490 from MalcolmTyrrell/fixCompileErrorInPointerH
577729149 Merge pull request #1579 from Tencent/vs2010
88a1ba9e3 Provide default implementations for move constructor/assignment in GenericMember
c36b713c4 Disable copy constructor in GenericMember
6006d6b67 Merge pull request #1573 from esrrhs/master
02d4ae838 Update travis-doxygen.sh
4c1d9edb3 Update travis-doxygen.sh
c136acf02 Update travis-doxygen.sh
b2861565a Update travis-doxygen.sh
ed234bf74 Update .travis.yml
d3c4b2b2b Update .travis.yml
ebc003e20 Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBERITERATORCLASS)
fcec7735d Merge pull request #1567 from AtnNn/master
123d7c89a add test for non-null-terminated token
6102f0bd0 fix template parameter
6fe99777e Allow pointer tokens to have non-null-terminated strings
2648a732d Merge pull request #1557 from MBoldyrev/doc/fix-uint-case
8973b279c fixed Uint case in docs
02230fecb Change #ifdef to #if defined
dfc0b3536 Update comment
0d671a2e1 Fix signedness error
07e1d7870 Fix build error under non-Clang compilers
d5d7171f6 Fix ARM NEON under MSVC
a133b1669 Merge pull request #1 from Tencent/master
d87b698d0 Change all GenericMemberIterator from struct to class
c43697c16 - Fixed a build issue by initializing "index" in the header file
4b3d7c2f4 Merge pull request #1506 from ylavic/CreatePattern
92f99bc2e RAPIDJSON_NOEXCEPT_ASSERT() should never throw.
b4538b536 Fix compilation of sortkeys.cpp with MSVC 2013 (hopefully).
94fc46380 Add missing curly brackets in STDREGEX's CreatePattern().
c840a7ae1 Fix vs2017 compile error C2105: '--' needs l-value
01950eb7a Merge pull request #1488 from somone23412/somone23412-fix-typo-1
0798d5b26 fix typo
e80257a92 Merge pull request #1481 from liangdzou/patch-1
13687a6e3 add missing header "ios"
e123f650a Merge pull request #1479 from MaxXSoft/patch-tutorial
d5c5b87f0 doc/tutorial.zh-cn: fixed some typos
55c3c241c Merge pull request #1477 from eisaev/patch-1
9264a9a7e Update allocators.h
091de040e Merge pull request #1462 from ra1u/master
40cae03b0 Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro
3cf4f7c5a Merge pull request #727 from mapbox/silence-dereference-null-pointer
7484e06c5 Update doxygen download URL
1ede098e9 Workaround of sortkeys example
cef07fb1b Added parameters to RAPIDJSON_MALLOC, RAPIDJSON_REALLOC and RAPIDJSON_FREE
ad2e5369b Adding a single customization point that ensures all allocations within rapidjson can be performed with a custom memory allocator; Introduces the macros RAPIDJSON_MALLOC, RAPIDJSON_REALLOC, and RAPIDJSON_FREE.
b94c2a120 Adding swap() for GenericMember
0739a3e88 Fix gcc compilation error in sortkeys
f595f8a6a Update sortkeys.cpp
189201321 Merge pull request #1421 from HomeControlAS/sort_by_name_example
79a6dabd0 Merge pull request #1439 from ylavic/schema_pointer_allocator
93cb84a7b Merge pull request #1442 from rbilovol/cmake-fixup
efad25970 Merge pull request #1444 from leolchat/patch-1
bf0939728 Correct complexity claim
8d272e53a CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path
dbb594bdb Use the allocator of the Schema for its Pointer.
bfdcf4911 Merge pull request #1426 from ylavic/pointer_less_than
b56eb2857 Merge branch 'master' into pointer_less_than
8549e3db6 Merge pull request #1431 from ylavic/pointer_swap
2ce91b823 Pointer tests now need <algorithm> (for std::swap), but no tabs.
a66cf7924 Allow to (std::)Swap two pointers.
eb6ee17d2 Speed up Pointer::operator<().
0e34ed43f Rework Pointer::operator<() loop.
af17f196c Unit test for Pointer::operator<().
055f1fa61 Add less than operator to Pointer.
66eb6067b Merge pull request #1425 from ylavic/filereadstream_peek4
b4b0e13b4 Merge pull request #1424 from ylavic/file_input_streams
eea3e57bc Merge pull request #1416 from ylavic/regex_syntax_noassert
38d25d745 Fix FileReadStream::Peek4().
8aab3db12 Base buffered BasicIStreamWrapper on the original (better performing) FileReadStream algorithm.
124e8b607 Possibly std::ios::binary helps with streams on Windows
2498c5776 Optimize FileReadStream and BasicIStreamWrapper.
d0188462d removed std::string and receiving const Value in printIt
c9060b4a5 added example for sorting keys
8c1478739 Unit test for invalid GenericRegex (unclosed parenthesis).
be96f4d7f GenericRegex: don't throw/abort on syntax error (unclosed parenthesis).
30d92a639 Merge pull request #1413 from ylavic/schema_regex_leak
1c5b90f40 Merge pull request #1414 from ylavic/regex_allocator
3e6956767 Fix a memory leak for invalid std::regex in Schema.
b0c96f9ba Use passed in allocator for internal regex parser.
a63216054 Merge pull request #1388 from yhager/yhager/clang-7
595ed48d5 Merge pull request #1403 from jcmonnin/fix-warning
51ca982aa Fix warning when NDEBUG is defined [-Wunused-variable]
0cc44c82c Update test/unittest/pointertest.cpp
a77b49dcb silence clang-7 self-assign-overloaded warning
67fac85e9 Merge pull request #1373 from lelit/issue1368
91d50c849 Add test case on kParseNumbersAsStringsFlag being able to load big ints
16872af88 Avoid pointer arithmetic on null pointer to remove undefined behavior
663f076c7 Merge pull request #1362 from jiapengwen/master
2a5e733b6 Merge pull request #1364 from jcourtat/fixfaq
68349ed91 faq: fix document insertion example
1cfa861d4 fix tutorial error
c0ca05f6d Merge pull request #1329 from pah/fix-noexcept
c2aa79dc8 Merge pull request #1356 from gongminmin/AppVeyor2017
783b819e6 Update rapidjson.h
a6be583ef Update appveyor rule to support VS2017.
8a96a95de Merge branch 'master' into fix-noexcept
f5f6052c5 Merge pull request #1327 from gongminmin/FixCompileInVS
08b1a8a41 Merge pull request #1302 from chwarr/min-max-guard
81af404b7 Merge pull request #1284 from mobileben/noexcept-assert
73063f500 Merge pull request #1340 from lelit/issue1336
c9eabf9e1 Extend the test on issue #1336 to cover all basic types
3fc9299b8 Add simple test for issue #1336
11defb7aa Wrap all WriteXxx() calls within EndValue(), to ensure a flush after root-level scalar value
6a905f931 Merge pull request #1331 from JPEWdev/mem-alignment-fix
91df56313 Merge pull request #1335 from IceTrailer/master
cd2824861 Fixed parentheses in reader.h which were required to prevent the using of max macro
748a652f0 Fix SIGBUS due to unaligned access
f54f6b5aa Add RAPIDJSON_NOEXCEPT_ASSERT
ff7634333 Update the code to adapt the new gtest.
2bbd33b33 Merge pull request #1323 from pah/fix-memaccess
152511689 Suppress -Wformat-overflow warning/error
a26267d16 Fix -Wsign-conversion warnings/errors
fa5963a2f Fix -Wclass-memaccess warnings/errors
4b4583bdb Merge pull request #1320 from AnomalRoil/master
93331cb0c Removing always true if condition
960b9cfd1 Guard against min/max being macros in reader.h
129d19ba7 Merge pull request #1312 from erikfroseth/issue-1308
3e255af03 Detect C++11 features for Developer Studio
b81438ea9 Merge pull request #1307 from moretromain/preprocessor_cleanup
fdd2db930 Updated google test to latest commit
4595cc488 Rename a few internal preprocessor macros to avoid potential naming conflicts
7e68aa0a2 Merge pull request #1252 from StilesCrisis/issue-1251-test
c511ce303 Merge pull request #1250 from StilesCrisis/issue-1249-test
6cc3910a1 Merge pull request #1290 from abolz/fix-strtod
7101911d9 Run all the new tests in full-precision mode only
319944a11 Disable failing test for now
a757a2aeb Add more tests
179277817 Add a test for BigInteger::operator<<
a0f9c5fc4 [Debug - clean up]
879ae853f Fix offset computation in BigInteger::operator<<
8b98f4a78 Workaround incorrect rounding in MSVC
a2813b673 Limit exponents
6cd5cd7b9 [Debug - Initialize variable]
292f787c0 [Debug]
695c9cb97 Use C macros with the correct header instead of std::numeric_limits and static_cast
1d636de81 Fix another signed/unsigned warning
a2a7d97b3 Use std::numeric_limits instead of macros
fc85fbeef Fix implicit signed/unsigned conversion and a small glitch in the error computation - part 2
16c97cd7c Fix implicit signed/unsigned conversion and a small glitch in the error computation
2ea43433e Fix bogus gcc warning
a78c8e3a4 Add more tests (which need to be fixed)
cb009f305 Return infinity if binary exponent is too large
7acbb87c2 Some more tests
4e9b4f6d6 Return 0 if binary exponent is too small
f5e5d47fa Properly test for overflow
d83d2ba26 Trim all zeros from input
c59ecc857 Replace unsigned with signed integer arithmetic in strtod
29b6c9b7d Add assertions to check preconditions of functions and unsigned integer arithmetic
80dba56ac Add tests for issues with string-to-double conversions (#849, #1249, #1251, #1253, #1256, #1259)
01c71740c Merge pull request #1287 from Nekto89/msvc_config
2b0843037 Autodetect RAPIDJSON_HAS_CXX11_NOEXCEPT and RAPIDJSON_HAS_CXX11_TYPETRAITS for Visual Studio
5b0610a74 Handle non-throwing exception specifications that can still throw #1280
c0daf7547 Merge pull request #1279 from bogaotory/master
6f7dcb30d again, in relation to solving issue #784, use `SizeType`-typed variable to indicate a none-zero length string has been given in the schema as default value for the json property; added an unittest `Object_Required_PassWithDefault`
fa98b5b4b in relation to solving issue #784, this commit enables the schema to recognise the "default" property, and avoids a missing property error when a default is given in the schema
af223d44f Merge pull request #1261 from fmalita/exponent-underflow
8269bc2bc Prevent int underflow when parsing exponents
1329cdecc Added test for issue #1251
cad380573 Update readertest.cpp
f7d2cd222 added test for parsing 0e100
532cba142 Merge pull request #4 from Tencent/master
a09103584 Merge pull request #1240 from ksergey/FIX_Reader
d0a78bf56 Added const for Reader methods
b32cd9421 Merge pull request #1217 from tresorit/win-clang-fix
ed72564e3 Merge pull request #1231 from steveire/patch-1
73b8774ab Use rvalue refs with clang-cl
5fd779d91 Merge pull request #1222 from DynonAvionics/adjustable_default_chunk_capacity
6f587466a Added macro RAPIDJSON_ALLOCATOR_DEFAULT_CHUNK_CAPACITY to allow default chunk capacity to be lowered for embedded devices with < 64k stack sizes
0fdd8040c fix compilation on windows with clang
8022a5f79 Merge pull request #1210 from foxtacles/fix-missing-remote-ref-p
9640209f7 remove superfluous typename
f8c8c32b4 fix C++03 compatibility
c8530d022 add test case for remote ref issue
8a6c345bc add remote ref to schemaMap_
67a17cfdb Merge pull request #1207 from vim2meta/master
de6681e29 ensure the pragma is only applied to MSVC
f0177eb93 Merge pull request #1203 from KuangLei/doc_AddingWriter
f9c933976 Adding a few missing includes
0f96b5605 Merge pull request #1202 from Sumoren/msc_long_part2
27424d5c0 Change long/ulong as int/uint on MSC unit tests to be more inline with other templated functions unit tests
d79533c65 Merge pull request #1199 from kachanovskiy/master
2e5dcceda Fixes #1198
3b638e671 Merge pull request #1191 from Sumoren/msc_long
a37f9d1ec Fix unsigned long as unsigned unit test
a040fc334 Add unittest for long as int in MSC platforms
294a5aca8 Support long and unsined long as int and unsigned on Microsft platforms
8bf4f7b97 Merge pull request #1188 from Martinfx/master
72481d5a0 Fix warnings Dereference of null pointer
9dfc43747 Merge pull request #1182 from Romain-Geissler-1A/ignore-gcc-8-warnings
91cd12313 Merge pull request #1181 from luzpaz/misc-typos
54dab1eeb Ignore GCC 8 warnings.
915218878 Misc. typos
49562271b Fix Windows build
59181a052 Revert "Fix API constness"
0d2580f1f Fix API constness
a1909a942 Merge pull request #1179 from Tencent/issue1153_rawvalueencoding
966987625 Add transcoding/validation to Writer::RawValue()
e2d0437a9 Fix false alarm from clang-tidy
82b5c4256 Fix Compile error because of -Werror=effc++ is on
672e7dd37 Fix invalid type in Pointer
daabb88e0 Merge pull request #1068 from yurikhan/violationDetails
7641af690 Merge pull request #1122 from svart-riddare/issue-1108
cdc899a3f Merge pull request #1124 from DerDakon/CMake-cleanup
fc7cda78a Fix -Werror=effc++
b1e556d71 Merge branch 'master' into violationDetails
03f5de9d7 Merge pull request #1065 from yurikhan/invalidSchemaPointer
9338148f5 Merge pull request #1161 from xiaoPierre/master
a735badbd Merge pull request #1162 from Tencent/travis
d48290e38 Another try to fix travis build
62e785bab Merge branch 'master' into travis
0d95d58f8 Try to fix travis build
b8c12c9cc Bug when switching to std regex
6043ad868 Merge pull request #1138 from Tencent/archiver_example
83f149e70 Merge pull request #1148 from lelit/fix-filewritestream-doc
a7f687fdf Merge pull request #1153 from Haffon/master
7dfeee862 GetParseOffset to GetErrorOffset
53eadd218 GetParseOffset to GetErrorOffset
20d44d9c4 Fix FileWriteStream doc
802ece6d7 Merge pull request #1147 from DrumMeister/master
9bfa0bb56 Fix uninitilized member Reader::state_
f2a28ee47 Add archiver example
87d4e07ff Merge pull request #1137 from pah/fixes/1131-iterator-deprecation
d75bb90a5 Avoid inheritance from std::iterator
7caa4b216 Merge pull request #1129 from thorade/patch-1
79d5e2367 Delete .DS_Store
80079f1fa Delete .DS_Store
195dc90d2 Delete .DS_Store
25c1b78f3 ignore DS_Store files
44f2f9aa5 Added relevant unit tests for issue #1108 suggested improvement.
ff59b6179 CMake: automatically handle C++11 settings if possible
4c9a28a28 CMake: do not pass -march=native or -mcpu=native when crosscompiling
4e1c7363c CMake: avoid neeless variable expansion
86e280f63 Solves #1108. The default copy constructor of GenericPointer will use the allocator of the copied object. The extra copy constructor that takes an allocator as a parameter is distinct if someone really wants to create a copy with a null allocator.
17ae6ffa8 Merge pull request #1110 from martinlindhe/master
8684c9960 fix some typos
5aa79b727 Merge pull request #1105 from clach04/issue_1104_solaris_fread
1be14d04a Fix issue #1104 Solaris compilation errors fread()/fwrite()
75a71441d Merge pull request #1102 from m-tayel/1019-proposed-fix
f4b1f761f Fixed typo in CMake file
7dddd0546 Merge pull request #1070 from KaitoHH/line-col
93f6cf4e8 Merge pull request #1081 from datatypevoid/patch-1
bf822593e Merge pull request #1083 from piotr-kaminski-intel/master
3c07cecdb Add anchors to Schema.md
db305dcf2 Fix schema.md TOC
4db8c3da1 Merge pull request #1098 from h46incon/MemberCapacity
a8e999060 Add MemberCapacity() and MemberReserve() interface for object type.
7d424c0bb Merge pull request #1092 from m-tayel/1019-proposed-fix
7bd9b5a1a enable cross compiling by adding option to remove -march/-cpu
bb99ccb03 Init variable in the constructor
d71ad0064 Merge pull request #1079 from captaincrutches/cmake-include-dir
495266271 Use SOURCE_DIR instead of CMAKE_DIR for build tree
f64b77300 Partially fix #1077
d5c1be5a0 Merge pull request #1082 from svart-riddare/regex-allocator
b217cc640 Removing Klocwork issues from schema.h
6e08e2942 Initialized regex with schema allocator.
f0391747e chore: correct spelling
84ca485e5 Make RapidJSON_INCLUDE_DIR non-blank in Config.cmake
8c182e51e Flatten allOf keyword violations
8353e868d Move schema violation docs into Schema chapter
1f7540270 refactor Schema: Keep ErrorHandler reference in Context
473553bd5 fix gcc & cl warning
9394b8444 remove unnecessary code
66541b892 add unit test for cursorstreamwrapper
799fdea9f add cursor wrapper
143641c75 suppress C4512, C4702 warning
79d9c71f9 fix stream wrapper initializer
b16ff281f Add feature of locating line and column number of error
2a0bc6062 Update gitbook zh-cn link
0b8adabab Fix #1071 gitbook link
a4b62ff61 Update schemavalidator example to demonstrate GetError()
384df14e6 Document schema violation format
056671680 Extend schema validation tests to compare error object
f716c3bfb Report schema violation details (#619)
c2371584a Keep schema URI in GenericSchemaDocument and internal::Schema
2bfd0cc6c internal::Schema: Keep pointer for future use
379b33744 Add failing test for the case when a remote schema is violated (#1064)
4c0f0036b Update appveyor badge and link
4a2f2729f Change from miloyip/rapidjson to Tencent/rapidjson
2a53253e7 Merge pull request #1056 from chwarr/assert-enum-lower
a683902b2 Assert Type enum lower bound as well
5db5dd552 Merge pull request #1057 from chwarr/paren-minmax
4bb4926c9 Merge pull request #1055 from chwarr/fix-doc-build-windows
e4c0ecf86 Guard against min/max macros in tests too
6e38649ec Guard against min/max being macros in document.h
bbdf5d1d4 Fix Windows doc build MSBuild error MSB6001
1e4609100 Merge pull request #1051 from gongminmin/master
e9373fc13 Merge pull request #1052 from Crunkle/master
9ce6a7ebb Fix processor check when empty
f91405801 Specifies the endian of msvc ARM64 configuration.
f05edc929 Merge pull request #1034 from bluehero/master
f9004b90c modify
c83167502 modify
5fb06596a modify
8ba1f84f4 modify unittest
9eb7bf895 add unittest
7c1f20825 modify
f7dd496cd Merge pull request #1 from miloyip/master
d6305514f Merge pull request #1030 from bmuzzin/issue1028_natvis
707fd36af Issue #1028: Visual Studio natvis file.
c34e3dfc7 Merge pull request #1018 from miloyip/issue1017_allOfHandler
fcd2e1f60 Fix #1017 allOf keyword fail with Writer handler
1a77513e6 Merge pull request #1013 from pah/fixes/1010-assert-stringref
2d27ce46b Merge pull request #1012 from pah/fixes/993-doxygen-internals
70171f979 GenericStringRef: move assert out of expression
7161894f4 travis-doxygen.sh: upgrade to Doxygen 1.8.13
37ea16df9 Merge pull request #1009 from pah/setup/travis-trusty
f624a3037 Merge pull request #1010 from pah/fixes/817-stringref-null
73df6c932 Merge pull request #1008 from pah/fixes/989-parseresult
4da20e21c Merge pull request #1002 from FluxLemur/patch-1
47c3c1ec9 Improved handling of NULL strings
f1ba61c7b unittest.h: change RAPIDJSON_ASSERT to allow usage in expressions
eefb618ec Travis: Switch to Ubuntu 14.04 (Trusty)
14218aeb0 ParseResult: improve bool conversion and add operator!=
3aafe12c9 undo changes to links and some minor changes to make the readme more easily readable
0d62f5cd3 Tutorial: fix typos in examples and broken links
2f45319b4 Merge pull request #968 from TomaszNo/icc-preprocessor-guard
77ae0b979 Merge pull request #987 from sledgeh/master
6a8f672ca Merge pull request #994 from Chocobo1/svg
a31a380cb Improve readme.md
6e81d49b3 Fixed #985 : Unittest failed with MinGWx64. And few small improvement were done while looking for mistakes.
b596f4e99 Merge pull request #977 from miloyip/issue825_patternProperties
df6362d45 Fix patternProperties & additionalProperties lead to ASSERT
342a616a7 Merge pull request #969 from pah/fixes/962-copy-const-strings
68c96e987 Fixup #964 by forwarding copyConstStrings recursively
33443e63a Merge pull request #967 from TomaszNo/storage-class-first
294ad93e3 To avoid Intel C++ Compiler #1879 warnings: warning #1879: unimplemented pragma ignored: #pragma intrinsic(_BitScanReverse64) warning #1879: unimplemented pragma ignored: #pragma intrinsic(_umul128)
77d2fadfb If storage class is not specified as first in declaration then Intel C++ Compiler 2017 generates message: message #82: storage class is not first
3202b0a3d Merge pull request #964 from pah/fixes/962-copy-const-strings
4ef1ff4fb GenericValue::CopyFrom: add option to force copying of strings
0033268c1 Update tutorial.zh-cn.md
56b7216ef Fix #949 about -Werror=conversion
f8eb7bae8 Remove -Weverything
b61bbbfe3 Fix #947 -Weffc++ warning
67b062b3c Merge pull request #946 from hwiesmann/master
568107e17 Add convenience method Key(std::basic_string<Ch> const&) to Writer
fe2b3603e Merge pull request #941 from harrywong/master
cba45fe9d Onley apply to GCC 7
fe19b7b60 Supress implicit fallthrough in GCC
a13acda97 Merge pull request #937 from bytePro17124/patch-1
4fe02e15f typo
b45c5408d Merge pull request #932 from JunHe77/master
d2fce9243 Merge pull request #933 from OlegHahm/minor_fixes
885b5cd2f common notation of empty if/else case
63423eb6f fix return values
2291258bb Added ARM-Neon support for SIMD.SkipWhitespace*
e6d7247ed Merge pull request #924 from lichray/fix-gcc7-warning
c6aec19ed Merge pull request #930 from pah/feature/cxx11-static_assert
f93a29bec RAPIDJSON_STATIC_ASSERT: use C++11 static_assert, if available
ec90588c7 Fix a non-type template parameter type mismatch
fcd263c61 Merge pull request #923 from miloyip/issue910_casting
77f643dc5 Fix #910 incorrect casting
5d9d0f78b Merge pull request #909 from miloyip/issue905_PrettyWriterWriteFlags
d88be8ef1 Fix #905 unable to set writeFlags for PrettyWriter
b8f0414b9 Merge pull request #907 from almavi/master
85500e8c8 Changed error code for invalid special ascii chars, fixed writer tests
3c6e2cf03 Added unittests for invalid ascii control chars
da4fd6794 Fixed bug on space hexadecimal encoding
430e8d4c9 Update schema.zh-cn.md
3f78a026c Merge pull request #903 from shadeware/patch-1
a38104a16 fix typos in doc code
1391e4257 Merge pull request #3 from miloyip/master
e5635fb27 Fix #899
0bc856a74 Merge pull request #894 from belveder79/master
bba388b4f Merge pull request #896 from StilesCrisis/writer-flush-api
465fab45c Merge pull request #897 from StilesCrisis/issue-889-pretty-writer
d5d18cf69 Fix template length optimization issue in PrettyWriter
31c6c50ac Provide a Flush() API within Writer
c7703f831 Merge branch 'lookahead-parser-improvements' into writer-flush-api
5b593bba1 Merge pull request #2 from miloyip/master
b91c515af update to create config file which is independent from actual install location
f0c108b5c Remove all switch
6723e3296 Initialize v_ to placate GCC
bf19c1a0b Remove switch
266870df8 Merge pull request #890 from StilesCrisis/issue-889
e7fd70769 Improve LookaheadParser
55f8a3202 Remove broken templatized string length optimization
84a035660 Add unit test for Issue 889
33a9f5850 Merge remote-tracking branch 'miloyip/master'
5de06bfa3 Merge pull request #882 from StilesCrisis/lookaheadparser
260e2f372 Merge remote-tracking branch 'refs/remotes/origin/lookaheadparser'
036f30021 Merge remote-tracking branch 'refs/remotes/miloyip/master'
2df32fbfa Merge pull request #881 from TedLyngmo/issue_874_Werror_effcplusplus
8da89f54b Fix GCC warning
d4669bbc8 Add lookahead parser example
ef22ca173 Fix -Werror=effc++ errors with GNU 6.3.1
c64f378f1 Fix -Werror=effc++ errors with GNU 6.3.1
237d2f2ea Merge remote-tracking branch 'miloyip/master'
a1fac159d Merge pull request #872 from StilesCrisis/issue845_native_strlen
c4e3d6243 Fix msvc x64 compilation issue
cdea825a0 Assert that String() and Key() are given null-terminated strings
61f8c4ef0 Quoted strings to String() or Key() are auto-sized by template
dd97ede84 Quoted strings to String() or Key() are auto-sized by template
7116c355d Merge remote-tracking branch 'miloyip/master' into issue845_native_strlen
02de69892 Merge pull request #876 from erikfroseth/issue-875
d6e9cf5d5 Remove executable bit
66b564f38 Remove unneeded change
db8d3bb4d Remove unneeded change
6ae50ad6e Once again
534f13526 Try again to suppress Valgrind
3f9ebfe9e Trivial change to trigger Travis CI
13e99d8d5 Trivial change to re-trigger Travis CI
9ae349c62 Merge pull request #871 from StilesCrisis/token-by-token-doc
4b822a41a Attempt to suppress valgrind wcslen error
6e2e5c7db Specialize StrLen for char/wchar_t
f349456bc Merge remote-tracking branch 'miloyip/master' into issue845_native_strlen
0f3bf99d5 Tiny fix
5c2bb1877 Add IterativeParse docs
e6b192a75 Merge pull request #869 from StilesCrisis/writer-key-fix
9cabd6372 Merge pull request #870 from StilesCrisis/null-handler-fix
4643104b8 Fix null handler construction
0ec4e86f1 Unit test
fa84cd18f Add matching fix for PrettyWriter
2e9b7b1ae Added assertion
595b11421 Unit test
26e089b9a Merge remote-tracking branch 'miloyip/master'
97e2f7f16 Try fixing Error compilation Ubuntu 14.04 #834
7f753fe76 Merge pull request #867 from oviradoi/issue858
82295b1f4 Merge pull request #842 from StilesCrisis/token-by-token-parsing
a677b8570 Merge pull request #866 from ylavic/patch-1
5f92c3926 Fix creating the nuget package with Raggles' fork of CoApp
b977fd3c9 Missing "internal" namespace for StrLen
0eaa0d288 Merge pull request #862 from StilesCrisis/nan-inf-parse-fix
ecf3d6429 Merge branch 'nan-inf-parse-fix' into token-by-token-parsing
5e785d3db Fix parsing of NaN/Inf
c4117c68c Put in unit tests to catch parser failure
bd4c282d7 Test coverage up
0f8389e78 Restored original IterativeParse implementation
488252eca Merge remote-tracking branch 'miloyip/master' into token-by-token-parsing
933eb839d Merge remote-tracking branch 'miloyip/master'
0163a53f4 Merge pull request #841 from StilesCrisis/improve-unit-test-reporting
a11ec6979 More C++98 fixes
6288d95d1 SimplePullReader C++98 support
4232e407f Clean up example code
d84d5fe05 Add example SimplePullHandler code
4394b3bac Add LIKELY and UNLIKELY hints
82a423db7 Added unit test for pull parsing
116f65994 Improve coverage and performance
5de725847 Improve performance
1a7c5ea51 Fix Dev Studio bool-conversion warning
20f5caa8f Token-by-token pull parsing
6769f3e33 Improved reporting
738864c53 Remove non-ASCII character
3693e942b Fix output character type in writers
942bb4608 Merge pull request #827 from lichray/fix-signed
265fb6ee8 Fix #831 RAPIDJSON_HAS_CXX11_RANGE_FOR is error defined
3cc77d5d6 Treat signed-unsigned conversions as errors.
835f2f4a7 Update Doxyfile.zh-cn.in
e61b66c38 Merge pull request #816 from SuperSodaSea/master
dba981600 Translate doc/internals.md Part 2
af4ec9b7e Translate doc/internals.md Part 1
03a739104 Merge pull request #757 from patcheng/feature/fix_clang_warning
369e07d1c Merge pull request #811 from glebov-andrey/improved_new_macro
41ceb8624 - replaced RAPIDJSON_NEW with C++98 compatible version
3f120caee - replaced RAPIDJSON_NEW calls in fwdtest.cpp
9fe93bb98 - replaced RAPIDJSON_NEW macro with variadic varient
014097e51 Merge pull request #800 from ivankravets/patch-3
ba34c9453 Update version to 1.1.0
0024592c2 Update sax.zh-cn.md
bff326fb2 Update sax.md
eb6831a4c Merge pull request #790 from SuperSodaSea/master
a077baa9c 修复拼写错误
fbcd7acfd Merge pull request #788 from miloyip/issue786_CopyFrom
e07d0e943 Move GenericValue deep-clone constructor into the class declaration.
95b346c3c Refactor GenericValue deep-clone constructor
d57944fc2 Merge pull request #783 from FrozenGene/master
c4db88a31 support IBM PowerPC / ppc64 / ppc64le and XL compiler
381d8f85e Merge pull request #782 from miloyip/issue781_aix
d7dd4106e Remove empty NumberStream::~NumberStream()
d6c8b378d Merge pull request #777 from miloyip/issue728_threadsafe
992b7f5f8 Fix nullHandler allocation bug
fba9ebd9b Merge pull request #776 from miloyip/issue728_threadsafe
59bcebbf3 Merge pull request #773 from bluehero/master
bf0cc7bea Fixed a bug for SchemaDocument move constructor
31ace3b76 use _mm_cmpistri
7c4e511eb Change Schema::GetTypeless() from singleton to instance
ddbd2ef05 Restore missing deallocation of GenericSchemaValidator::nullHandler_
b963eb447 Change SchemaValidator::GetNullHandler() from singleton to instance.
97fb9bc85 Merge pull request #770 from miloyip/issue728_threadsafe
3b1a03749 Merge pull request #748 from sfinktah/sfinktah-minwindef-fix
517dd4dbb Fix failing to resolve $ref in allOf causes crash in SchemaValidator::StartObject()
9b6af5552 Merge branch 'master' into issue728_threadsafe
236322797 Add Value::Value(float) and static_cast for suppressing clang warning
8eaa122c2 Update dom.zh-cn.md
94b36dc97 Merge pull request #763 from miloyip/issue762_move
3f2339759 Remove unncessary std::move()
11df748a3 Revert "Another try for fixing schema.md"
c490d880a Another try for fixing schema.md
a3300bf4b Fix schema.zh-cn.md
ba56498d1 Merge pull request #760 from icechen1/patch-1
48f8364f6 FIx typo in documentation
b4dae2b77 Merge pull request #755 from AdamMajer/fix_old_gcc
95224aff7 When length is 0, the code does nothing, so skip it completely.
91a803d46 Reserve() is sometimes called when stackTop_ is null. The assert is invalid.
9d8df28c1 added assertion to help suppress clang warnings
cb017cbf5 Fix compilation with older GCC versions
ffc794285 Merge pull request #750 from bennyyip/master
6a15e40b6 fix #749
51a31ce00 Fix for winmindef.h defining min/max macros
7a3917277 Merge pull request #746 from miloyip/issue744_stringbuffergetlength
5cd62c235 Add StringBuffer::GetLength()
0761ac126 Remove lambda expression in (pretty)writertest
f28203c7a Fix #741
185a7cc21 Merge pull request #740 from CreoValis/writer-move-ctor
1a64cd099 Tests for Writer, PrettyWriter move constructors
62dc1077e Move constructor support for PrettyWriter
307e02160 Move constructor support for Writer
52682115f Merge pull request #739 from miloyip/issue728_threadsafe
769185d68 Refactor regex
328ead0e1 Merge pull request #732 from miloyip/issue731_writerstringassert
3e2172bd5 Add preconditions in writer and string functions
8979c14fb Merge branch 'master' into issue716_parsebyparts
9f6688289 Merge pull request #730 from myd7349/master
6023ed3a0 Fix typo in doc
cdb345428 Merge pull request #723 from niukuo/master
250cf666d fix wrong length in remote schema
9bd618f54 Merge pull request #719 from yachoor/remove_broken_assignment
0f9dbe0a9 Defer thread creation in parsebypart example
862c39be3 Explicitly disable copy assignment operator
3b2441b87 Removed non-compiling assignment operator. Fixed #718

git-subtree-dir: third_party/rapidjson
git-subtree-split: f9d53419e912910fd8fa57d5705fa41425428c35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants