-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
PVS Studio report #1778
Comments
Merged
mxmauro
added a commit
to mxmauro/mxlib
that referenced
this issue
Apr 2, 2022
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 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) ebc003e20 Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBERITERATORCLASS) 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. git-subtree-dir: Source/RapidJSON/Source git-subtree-split: 8261c1ddf43f10de00fd8c9a67811d1486b2c784
jcfr
added a commit
to jcfr/Slicer
that referenced
this issue
Jun 26, 2023
…warnings This fixes the following warning through the integration of fa5963a2f (Fix -Wclass-memaccess warnings/errors): /path/to/Slicer/Modules/Loadable/Markups/MRML/vtkMRMLMarkupsJsonElement.cxx:536:64: required from here /path/to/Slicer-Release/RapidJSON/include/rapidjson/document.h:1952:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >’} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 1952 | std::memcpy(m, members, count * sizeof(Member)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note that since there is no new RapidJSON tagged release since v1.1.0, this commit updates to the latest version. List of RapidJSON changes: $ git shortlog v1.1.0..973dc9c06 --no-merges Adam Calhoon (2): Fix the alignment of placement new buffer for GenericValue. Fix the alignment of placement new buffer for GenericValue. Adam Majer (1): Fix compilation with older GCC versions Albert Hung (2): Eliminate missing prototypes warning Check for __GNUC__ definition :...skipping... Adam Calhoon (2): Fix the alignment of placement new buffer for GenericValue. Fix the alignment of placement new buffer for GenericValue. Adam Majer (1): Fix compilation with older GCC versions Albert Hung (2): Eliminate missing prototypes warning Check for __GNUC__ definition Alejandro Martinez (4): Fixed bug on space hexadecimal encoding Added unittests for invalid ascii control chars Changed error code for invalid special ascii chars, fixed writer tests Added ARM-Neon support for SIMD.SkipWhitespace* Andrew (1): typo on documentation dom.zh-cn.md: "己于" -> "已于" Andrey Glebov (3): - replaced RAPIDJSON_NEW macro with variadic varient - replaced RAPIDJSON_NEW calls in fwdtest.cpp - replaced RAPIDJSON_NEW with C++98 compatible version Bart Muzzin (1): Issue ISSUE-1028: Visual Studio natvis file. Benjamin Lee (1): Handle non-throwing exception specifications that can still throw ISSUE-1280 BennyYip (1): fix ISSUE-749 Captain Crutches (2): Make RapidJSON_INCLUDE_DIR non-blank in Config.cmake Use SOURCE_DIR instead of CMAKE_DIR for build tree Charles Milette (5): Fix ARM NEON under MSVC Fix build error under non-Clang compilers Fix signedness error Update comment Change #ifdef to #if defined Chocobo1 (1): Improve readme.md Christian Semmler (4): add remote ref to schemaMap_ add test case for remote ref issue fix C++03 compatibility remove superfluous typename Christopher Warrington (5): Fix Windows doc build MSBuild error MSB6001 Guard against min/max being macros in document.h Guard against min/max macros in tests too Assert Type enum lower bound as well Guard against min/max being macros in reader.h Clemens Arth (1): update to create config file which is independent from actual install location Crunkle (1): Fix processor check when empty David Newman (1): chore: correct spelling Eric Rannaud (1): Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBERITERATORCLASS) Erik Froseth (2): Remove executable bit Detect C++11 features for Developer Studio Etienne Laurin (3): Allow pointer tokens to have non-null-terminated strings fix template parameter add test for non-null-terminated token Flaviu_ (1): Resolve conflict with Windows header about max macro Florin Malita (1): Prevent int underflow when parsing exponents Gao Mingfei (1): Add CMake minimum version required. Gaspard Petit (2): 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. Added parameters to RAPIDJSON_MALLOC, RAPIDJSON_REALLOC and RAPIDJSON_FREE Gustav (1): Fixes issue Slicer#1718 Haffon (2): GetParseOffset to GetErrorOffset GetParseOffset to GetErrorOffset Harry Wong (2): Supress implicit fallthrough in GCC Onley apply to GCC 7 Hartwig (1): Add convenience method Key(std::basic_string<Ch> const&) to Writer Hendrik Muhs (3): add a test that provokes a compile time error on windows don't let the GetObject macro rewrite the GetObject method, add a GetObj alias replace auto with concrete type IceTrailer (1): Fixed parentheses in reader.h which were required to prevent the using of max macro Ivan Kravets (1): Update version to 1.1.0 Ivan Le Lann (1): Support CMake none targets Janusz Chorko (2): Removed non-compiling assignment operator. Fixed ISSUE-718 Explicitly disable copy assignment operator Jean-Claude Monnin (1): Fix warning when NDEBUG is defined [-Wunused-variable] John (1): ensure the pragma is only applied to MSVC John Stiles (24): Restored original IterativeParse implementation Test coverage up Attempt to suppress valgrind wcslen error Trivial change to re-trigger Travis CI Trivial change to trigger Travis CI Try again to suppress Valgrind Once again Remove unneeded change Remove unneeded change Quoted strings to String() or Key() are auto-sized by template Quoted strings to String() or Key() are auto-sized by template Assert that String() and Key() are given null-terminated strings Fix msvc x64 compilation issue Add unit test for Issue 889 Remove broken templatized string length optimization Improve LookaheadParser Remove switch Initialize v_ to placate GCC Remove all switch Provide a Flush() API within Writer Fix template length optimization issue in PrettyWriter added test for parsing 0e100 Update readertest.cpp Added test for issue ISSUE-1251 Johnny Shaw (2): Make schema dtor robust against exceptions fixes for natvis Joshua Watt (1): Remove shadow typedef Julien Courtat (1): faq: fix document insertion example Jun (2): Replace RAPIDJSON_CLZLL with internal clzll (PR-1660) ci: upgrade distro to xenial and add arm64 test cases (PR-1662) KLsz (1): Adding a few missing includes KaitoHH (7): Add feature of locating line and column number of error fix stream wrapper initializer suppress C4512, C4702 warning add cursor wrapper add unit test for cursorstreamwrapper remove unnecessary code fix gcc & cl warning Kent Ross (3): gate definition of symmetric equality operators on impl, not lib delete unused variable do not define operator!= in C++20 Konstantin Käfer (1): Avoid pointer arithmetic on null pointer to remove undefined behavior Krystian Chmura (1): Add implicit conversion from Object and Array to Value (PR-1404) Kyrega (8): Fix RawNumber for longer char types Added typename Using unsigned for WIStreamWrapper Do not depend on c++11 conditional Use rapidjson internal::SelectIf No default template parameter for older compilers No default template parameter for older compilers Correct WIStreamWrapper Lars Klein (2): Improve surrogate handling Add test case for low surrogate handling Laurent Stacul (1): Fix recursive operator== call in C++20 (PR-1846) Lele Gaifax (5): Fix FileWriteStream doc Wrap all WriteXxx() calls within EndValue(), to ensure a flush after root-level scalar value Add simple test for issue ISSUE-1336 Extend the test on issue ISSUE-1336 to cover all basic types Add test case on kParseNumbersAsStringsFlag being able to load big ints Leo Mehr (2): Tutorial: fix typos in examples and broken links undo changes to links and some minor changes to make the readme more easily readable Leonard Chan (1): Avoid ptrdiff between pointers to different allocations Leonid Terenin (2): fix shadowed variable fix shadowed variable, take 2 Liang ZOU (1): add missing header "ios" Luka Rahne (1): Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro Léonard Gérard (1): Correct complexity claim M.Tayel (2): enable cross compiling by adding option to remove -march/-cpu Fixed typo in CMake file Malcolm Tyrrell (2): Fix vs2017 compile error C2105: '--' needs l-value Sanitize the code in schema.h Marian Klymov (1): Autodetect RAPIDJSON_HAS_CXX11_NOEXCEPT and RAPIDJSON_HAS_CXX11_TYPETRAITS for Visual Studio Martin Lindhe (1): fix some typos Matteo Settenvini (1): Add a target to RapidJSONConfig.cmake.in (PR-1350) Matthew Early (1): typo Matthis Thorade (4): ignore DS_Store files Delete .DS_Store Delete .DS_Store Delete .DS_Store MaxXSoft (1): doc/tutorial.zh-cn: fixed some typos MaximeBF (4): Support long and unsined long as int and unsigned on Microsft platforms Add unittest for long as int in MSC platforms Fix unsigned long as unsigned unit test Change long/ulong as int/uint on MSC unit tests to be more inline with other templated functions unit tests Mikhail Boldyrev (1): fixed Uint case in docs Milo Yip (69): Defer thread creation in parsebypart example Add preconditions in writer and string functions Refactor regex Fix ISSUE-741 Remove lambda expression in (pretty)writertest Add StringBuffer::GetLength() Fix schema.zh-cn.md Another try for fixing schema.md Revert "Another try for fixing schema.md" Remove unncessary std::move() Update dom.zh-cn.md Add Value::Value(float) and static_cast for suppressing clang warning Fix failing to resolve $ref in allOf causes crash in SchemaValidator::StartObject() Change SchemaValidator::GetNullHandler() from singleton to instance. Restore missing deallocation of GenericSchemaValidator::nullHandler_ Change Schema::GetTypeless() from singleton to instance Fixed a bug for SchemaDocument move constructor Fix nullHandler allocation bug Remove empty NumberStream::~NumberStream() Refactor GenericValue deep-clone constructor Move GenericValue deep-clone constructor into the class declaration. Update sax.md Update sax.zh-cn.md Update Doxyfile.zh-cn.in Fix ISSUE-831 RAPIDJSON_HAS_CXX11_RANGE_FOR is error defined Fix output character type in writers Remove non-ASCII character Try fixing Error compilation Ubuntu 14.04 ISSUE-834 Fix ISSUE-899 Update schema.zh-cn.md Fix ISSUE-905 unable to set writeFlags for PrettyWriter Fix ISSUE-910 incorrect casting Fix ISSUE-947 -Weffc++ warning Remove -Weverything Fix ISSUE-949 about -Werror=conversion Update tutorial.zh-cn.md Fix patternProperties & additionalProperties lead to ASSERT Fix ISSUE-1017 allOf keyword fail with Writer handler Change from miloyip/rapidjson to Tencent/rapidjson Update appveyor badge and link Fix ISSUE-1071 gitbook link Update gitbook zh-cn link Partially fix ISSUE-1077 Fix schema.md TOC Add anchors to Schema.md Add archiver example Try to fix travis build Another try to fix travis build Fix -Werror=effc++ Fix invalid type in Pointer Fix Compile error because of -Werror=effc++ is on Fix false alarm from clang-tidy Add transcoding/validation to Writer::RawValue() Fix API constness Revert "Fix API constness" Fix Windows build Update rapidjson.h Update sortkeys.cpp Fix gcc compilation error in sortkeys Adding swap() for GenericMember Workaround of sortkeys example Update doxygen download URL Change all GenericMemberIterator from struct to class Disable copy constructor in GenericMember Provide default implementations for move constructor/assignment in GenericMember Update biginteger.h (PR-1652) PrettyWriter constructor uninitialized member (PR-1654) Fix Pointer::Append() crash for custom allocator on Windows Revert "Fix the alignment of placement new buffer for GenericValue." Minmin Gong (3): Specifies the endian of msvc ARM64 configuration. Update the code to adapt the new gtest. Update appveyor rule to support VS2017. N. Kolotov (1): Fixed -Wshadow warning. Nikolay (1): Three-way comparison for CLang 10 fix (PR-1679) Oliver Hahm (2): fix return values common notation of empty if/else case Patrick Cheng (3): added assertion to help suppress clang warnings Reserve() is sometimes called when stackTop_ is null. The assert is invalid. When length is 0, the code does nothing, so skip it completely. Pave Pimenov (1): fix Tencent/rapidjson#1778 (part 1) Peter Kasting (4): Avoid exit-time destructors. Avoid exit-time destructors. Include conceptual change from PR 2001. Try to fix MSVC build. Philipp A Hartmann (4): Fix -Wclass-memaccess warnings/errors Fix -Wsign-conversion warnings/errors Suppress -Wformat-overflow warning/error Add RAPIDJSON_NOEXCEPT_ASSERT Philipp A. Hartmann (11): RAPIDJSON_STATIC_ASSERT: use C++11 static_assert, if available GenericValue::CopyFrom: add option to force copying of strings Fixup ISSUE-964 by forwarding copyConstStrings recursively ParseResult: improve bool conversion and add operator!= Travis: Switch to Ubuntu 14.04 (Trusty) unittest.h: change RAPIDJSON_ASSERT to allow usage in expressions Improved handling of NULL strings travis-doxygen.sh: upgrade to Doxygen 1.8.13 GenericStringRef: move assert out of expression Avoid inheritance from std::iterator Update test/unittest/pointertest.cpp PhoebeHui (1): Add vcpkg installation instructions Renny Koshy (1): - Fixed a build issue by initializing "index" in the header file Rolf Eike Beer (3): CMake: avoid neeless variable expansion CMake: do not pass -march=native or -mcpu=native when crosscompiling CMake: automatically handle C++11 settings if possible Romain Geissler (1): Ignore GCC 8 warnings. Romain Geissler @ Amadeus (1): Avoid warnings when using -std=c++20 and clang 10: use three way comparision for iterators when possible. (PR-1667) Romain Moret (1): Rename a few internal preprocessor macros to avoid potential naming conflicts Ross Younger (1): Use C++17 fallthrough tag instead of disabling warning Ruslan Bilovol (1): CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path Ryan Morris (1): Added macro RAPIDJSON_ALLOCATOR_DEFAULT_CHUNK_CAPACITY to allow default chunk capacity to be lowered for embedded devices with < 64k stack sizes Saurabh Charde (1): Improve documentation Sergey Fedorov (1): CMakeLists: fix optflags for ppc Sergey Kovalevich (1): Added const for Reader methods Sfinktah Bungholio (1): Fix for winmindef.h defining min/max macros Silas S. Brown (1): Remove unnecessary wording from BSD license not needed for MIT license (fixes ISSUE-528) Stephen Kelly (1): Use rvalue refs with clang-cl Steve Hanson (44): code and tests remove debug std::cout, handle empty error object in example remove C++ 11 enum syntax remove C++ 11 std::string to_string() syntax revert perftest Revert "revert perftest" correct workaround for issue 1805 restore coverage work around issue 1089 fix crash where simple type with sub-schema has a bad value code and tests fix bracket fix compile errors fix platform-dependent compiler error with >> handle internal refs properly remove comma correct #defines in uri.h satisfy all compilers satisfy all compilers 2 satisfy all compilers 3 fix coverage remove copyright & debug statements make std::string optional remove compiler warning remove temp debug statements fix coverage, unit test allocators and equality fix Uri.Match optional arg fix coverage again equiv fix for issue 1899 Uri Parse improvements fix the warning initial corrections add dump of unexpected schema errors in schematest.cpp correct address.json so tests pass remove unnecessary templating from schema tests fix build break tidy up after merge from master attempt to fix SEH small corrections for schema.h code & tests for openapi 2.0 & 3.0 suppprt review comment updates fix ISSUE-2101 Suppress uritest StilesCrisis (23): Improved reporting Token-by-token pull parsing Fix Dev Studio bool-conversion warning Improve performance Improve coverage and performance Added unit test for pull parsing Add LIKELY and UNLIKELY hints Add example SimplePullHandler code Clean up example code SimplePullReader C++98 support More C++98 fixes Put in unit tests to catch parser failure Fix parsing of NaN/Inf Unit test Added assertion Add matching fix for PrettyWriter Unit test Fix null handler construction Add IterativeParse docs Tiny fix Specialize StrLen for char/wchar_t Add lookahead parser example Fix GCC warning SuperSodaSea (3): 修复拼写错误 Translate doc/internals.md Part 1 Translate doc/internals.md Part 2 Tall??di Mih??ly (2): Move constructor support for Writer Move constructor support for PrettyWriter Tallódi Mihály (1): Tests for Writer, PrettyWriter move constructors Tana0910 (1): fix a typo in error.h: literial -> literal Ted Lyngmo (2): Fix -Werror=effc++ errors with GNU 6.3.1 Fix -Werror=effc++ errors with GNU 6.3.1 Tim Gates (2): Fix simple typo: drived -> derived (PR-1646) docs: fix simple typo, perecent -> percent Tim Miller (1): Updated google test to latest commit Tom Briden (2): valuetest: fix potential write of terminating nul past the end of the destination encdedstreamtest: fix use-after-free compile error with gcc-12 Tomasz Noczynski (Linux) (2): If storage class is not specified as first in declaration then Intel C++ Compiler 2017 generates message: message 82: storage class is not first To avoid Intel C++ Compiler 1879 warnings: warning 1879: unimplemented pragma ignored: #pragma intrinsic(_BitScanReverse64) warning 1879: unimplemented pragma ignored: #pragma intrinsic(_umul128) VeekXT (1): doc: fix a typo Veselin Georgiev (1): Fix SIGBUS due to unaligned access Wu Zhao (1): support IBM PowerPC / ppc64 / ppc64le and XL compiler Xuanyi Zhou (5): fix schema test compile error suppress enum bitwise operation warnings on msvc add body to private copy constructor & copy assignment add return statement & comment also initialize class member Yolan Romailler (1): Removing always true if condition Yu Chen Hou (1): FIx typo in documentation Yuri Khan (10): Add failing test for the case when a remote schema is violated (PR-1064) internal::Schema: Keep pointer for future use Keep schema URI in GenericSchemaDocument and internal::Schema Report schema violation details (PR-619) Extend schema validation tests to compare error object Document schema violation format Update schemavalidator example to demonstrate GetError() refactor Schema: Keep ErrorHandler reference in Context Move schema violation docs into Schema chapter Flatten allOf keyword violations Yuval Hager (1): silence clang-7 self-assign-overloaded warning Zhihao Yuan (2): Treat signed-unsigned conversions as errors. Fix a non-type template parameter type mismatch Zoltan Kovago (1): fix compilation on windows with clang abolz (25): Add tests for issues with string-to-double conversions (ISSUE-849, ISSUE-1249, ISSUE-1251, ISSUE-1253, ISSUE-1256, ISSUE-1259) Add assertions to check preconditions of functions and unsigned integer arithmetic Replace unsigned with signed integer arithmetic in strtod Trim all zeros from input Properly test for overflow Return 0 if binary exponent is too small Some more tests Return infinity if binary exponent is too large Add more tests (which need to be fixed) Fix bogus gcc warning Fix implicit signed/unsigned conversion and a small glitch in the error computation Fix implicit signed/unsigned conversion and a small glitch in the error computation - part 2 Use std::numeric_limits instead of macros Fix another signed/unsigned warning Use C macros with the correct header instead of std::numeric_limits and static_cast [Debug] [Debug - Initialize variable] Limit exponents Workaround incorrect rounding in MSVC Fix offset computation in BigInteger::operator<< [Debug - clean up] Add a test for BigInteger::operator<< Add more tests Disable failing test for now Run all the new tests in full-precision mode only agate-pris (3): Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespace Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any namespace Allow access to the template parameter StackAllocator in the GenericDocument ardb-uk (2): Resolve issue 1948 Add files via upload bluehero (7): use _mm_cmpistri modify add unittest modify unittest modify modify modify bogaotory (2): in relation to solving issue 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 again, in relation to solving issue 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` clach04 (1): Fix issue ISSUE-1104 Solaris compilation errors fread()/fwrite() eisaev (1): Update allocators.h escherstair (6): fix _BitScanReverse() usage for CE6 fallback to the naive version for CE6 fix naive version implementation add unit test for clzll() fix naive implementation for clzll() fix unit test fredgan (1): fix some misspellings h46incon (1): Add MemberCapacity() and MemberReserve() interface for object type. ioannis-e (1): Update Visual Studio Visualizer (PR-1665) jack_perisich (1): Fix small errors in dtoa output for certain doubles jedwards (1): use softintrin on arm64ec jiapeng.wen (1): fix tutorial error jwillcox-telework (2): Update allocators.h Update dtoa.h kyb (1): Fixed ISSUE-985 : Unittest failed with MinGWx64. And few small improvement were done while looking for mistakes. luz.paz (1): Misc. typos maficccc@gmail.com (1): Fix warnings Dereference of null pointer mdamle (1): Closes ISSUE-1643 (PR-1644) miloyip (2): doc: fix incorrect template parameters in EncodedOutputStream example add traverse as pointer example myd7349 (1): Fix typo in doc niukuo (1): fix wrong length in remote schema oviradoi (1): Fix creating the nuget package with Raggles' fork of CoApp piotr-kaminski-intel (2): Removing Klocwork issues from schema.h Init variable in the constructor piratf (2): fix CMake policy CMP0048 warning ISSUE-1154 add contributing section in readme.md, introduced the basic cooperation process. quyan (1): fix typo seky (2): added example for sorting keys removed std::string and receiving const Value in printIt sergey kachanovskiy (1): Fixes ISSUE-1198 shadeware (1): fix typos in doc code sjaques (1): Fix uninitilized member Reader::state_ supperpiccle (1): Use passed in allocator. xiaoPierre (1): Bug when switching to std regex xpahos (1): Allow escaped apostrophe in values (PR-1639) ylavic (37): Missing "internal" namespace for StrLen Use passed in allocator for internal regex parser. Fix a memory leak for invalid std::regex in Schema. GenericRegex: don't throw/abort on syntax error (unclosed parenthesis). Unit test for invalid GenericRegex (unclosed parenthesis). Optimize FileReadStream and BasicIStreamWrapper. Possibly std::ios::binary helps with streams on Windows Base buffered BasicIStreamWrapper on the original (better performing) FileReadStream algorithm. Fix FileReadStream::Peek4(). Add less than operator to Pointer. Unit test for Pointer::operator<(). Rework Pointer::operator<() loop. Speed up Pointer::operator<(). Allow to (std::)Swap two pointers. Pointer tests now need <algorithm> (for std::swap), but no tabs. Use the allocator of the Schema for its Pointer. Add missing curly brackets in STDREGEX's CreatePattern(). Fix compilation of sortkeys.cpp with MSVC 2013 (hopefully). RAPIDJSON_NOEXCEPT_ASSERT() should never throw. Provide RAPIDJSON_HAS_CXX11 and use it for RAPIDJSON_HAS_CXX11_RVALUE_REFS and RAPIDJSON_HAS_CXX11_NOEXCEPT. RAPIDJSON_NOEXCEPT_ASSERT should assert regardless of RAPIDJSON_HAS_CXX11_NOEXCEPT. Safer GenericValue& operator=(GenericValue& rhs). Test assignment from inner Value. Provide StdAllocator, STL compatible, for use with STL types. Tests for StdAllocator. Make StdAllocator C++17-20 compatible. Make StdAllocator C++17-20 compatible. Handle C++17 (and C++11 with MSVC) in CI. Don't define StdAllocator<void> from C++17. Tests for C++17 with VS 2019. Fix would-crash tests if the default allocator used were kNeedFree. Add rvalue copy and assignment to MemoryPoolAllocator and StdAllocator. Tests for Allocators copy by rvalue reference. Try some tests with -D_GLIBCXX_DEBUG and coverage with -O0. Set RAPIDJSON_USE_MEMBERSMAP to use a (std::multi)map for object members. Tests for Members in std::multimap. Turn some Tests to RAPIDJSON_USE_MEMBERSMAP in CI. zhao xin (6): Update .travis.yml Update .travis.yml Update travis-doxygen.sh Update travis-doxygen.sh Update travis-doxygen.sh Update travis-doxygen.sh Étienne Dupuis (3): Initialized regex with schema allocator. Solves ISSUE-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. Added relevant unit tests for issue ISSUE-1108 suggested improvement. 仓鼠 (1): Doc: Fix some typos. (PR-1675)
jcfr
added a commit
to Slicer/Slicer
that referenced
this issue
Jun 26, 2023
…warnings This fixes the following warning through the integration of fa5963a2f (Fix -Wclass-memaccess warnings/errors): /path/to/Slicer/Modules/Loadable/Markups/MRML/vtkMRMLMarkupsJsonElement.cxx:536:64: required from here /path/to/Slicer-Release/RapidJSON/include/rapidjson/document.h:1952:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >’} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 1952 | std::memcpy(m, members, count * sizeof(Member)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note that since there is no new RapidJSON tagged release since v1.1.0, this commit updates to the latest version. List of RapidJSON changes: $ git shortlog v1.1.0..973dc9c06 --no-merges Adam Calhoon (2): Fix the alignment of placement new buffer for GenericValue. Fix the alignment of placement new buffer for GenericValue. Adam Majer (1): Fix compilation with older GCC versions Albert Hung (2): Eliminate missing prototypes warning Check for __GNUC__ definition :...skipping... Adam Calhoon (2): Fix the alignment of placement new buffer for GenericValue. Fix the alignment of placement new buffer for GenericValue. Adam Majer (1): Fix compilation with older GCC versions Albert Hung (2): Eliminate missing prototypes warning Check for __GNUC__ definition Alejandro Martinez (4): Fixed bug on space hexadecimal encoding Added unittests for invalid ascii control chars Changed error code for invalid special ascii chars, fixed writer tests Added ARM-Neon support for SIMD.SkipWhitespace* Andrew (1): typo on documentation dom.zh-cn.md: "己于" -> "已于" Andrey Glebov (3): - replaced RAPIDJSON_NEW macro with variadic varient - replaced RAPIDJSON_NEW calls in fwdtest.cpp - replaced RAPIDJSON_NEW with C++98 compatible version Bart Muzzin (1): Issue ISSUE-1028: Visual Studio natvis file. Benjamin Lee (1): Handle non-throwing exception specifications that can still throw ISSUE-1280 BennyYip (1): fix ISSUE-749 Captain Crutches (2): Make RapidJSON_INCLUDE_DIR non-blank in Config.cmake Use SOURCE_DIR instead of CMAKE_DIR for build tree Charles Milette (5): Fix ARM NEON under MSVC Fix build error under non-Clang compilers Fix signedness error Update comment Change #ifdef to #if defined Chocobo1 (1): Improve readme.md Christian Semmler (4): add remote ref to schemaMap_ add test case for remote ref issue fix C++03 compatibility remove superfluous typename Christopher Warrington (5): Fix Windows doc build MSBuild error MSB6001 Guard against min/max being macros in document.h Guard against min/max macros in tests too Assert Type enum lower bound as well Guard against min/max being macros in reader.h Clemens Arth (1): update to create config file which is independent from actual install location Crunkle (1): Fix processor check when empty David Newman (1): chore: correct spelling Eric Rannaud (1): Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBERITERATORCLASS) Erik Froseth (2): Remove executable bit Detect C++11 features for Developer Studio Etienne Laurin (3): Allow pointer tokens to have non-null-terminated strings fix template parameter add test for non-null-terminated token Flaviu_ (1): Resolve conflict with Windows header about max macro Florin Malita (1): Prevent int underflow when parsing exponents Gao Mingfei (1): Add CMake minimum version required. Gaspard Petit (2): 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. Added parameters to RAPIDJSON_MALLOC, RAPIDJSON_REALLOC and RAPIDJSON_FREE Gustav (1): Fixes issue #1718 Haffon (2): GetParseOffset to GetErrorOffset GetParseOffset to GetErrorOffset Harry Wong (2): Supress implicit fallthrough in GCC Onley apply to GCC 7 Hartwig (1): Add convenience method Key(std::basic_string<Ch> const&) to Writer Hendrik Muhs (3): add a test that provokes a compile time error on windows don't let the GetObject macro rewrite the GetObject method, add a GetObj alias replace auto with concrete type IceTrailer (1): Fixed parentheses in reader.h which were required to prevent the using of max macro Ivan Kravets (1): Update version to 1.1.0 Ivan Le Lann (1): Support CMake none targets Janusz Chorko (2): Removed non-compiling assignment operator. Fixed ISSUE-718 Explicitly disable copy assignment operator Jean-Claude Monnin (1): Fix warning when NDEBUG is defined [-Wunused-variable] John (1): ensure the pragma is only applied to MSVC John Stiles (24): Restored original IterativeParse implementation Test coverage up Attempt to suppress valgrind wcslen error Trivial change to re-trigger Travis CI Trivial change to trigger Travis CI Try again to suppress Valgrind Once again Remove unneeded change Remove unneeded change Quoted strings to String() or Key() are auto-sized by template Quoted strings to String() or Key() are auto-sized by template Assert that String() and Key() are given null-terminated strings Fix msvc x64 compilation issue Add unit test for Issue 889 Remove broken templatized string length optimization Improve LookaheadParser Remove switch Initialize v_ to placate GCC Remove all switch Provide a Flush() API within Writer Fix template length optimization issue in PrettyWriter added test for parsing 0e100 Update readertest.cpp Added test for issue ISSUE-1251 Johnny Shaw (2): Make schema dtor robust against exceptions fixes for natvis Joshua Watt (1): Remove shadow typedef Julien Courtat (1): faq: fix document insertion example Jun (2): Replace RAPIDJSON_CLZLL with internal clzll (PR-1660) ci: upgrade distro to xenial and add arm64 test cases (PR-1662) KLsz (1): Adding a few missing includes KaitoHH (7): Add feature of locating line and column number of error fix stream wrapper initializer suppress C4512, C4702 warning add cursor wrapper add unit test for cursorstreamwrapper remove unnecessary code fix gcc & cl warning Kent Ross (3): gate definition of symmetric equality operators on impl, not lib delete unused variable do not define operator!= in C++20 Konstantin Käfer (1): Avoid pointer arithmetic on null pointer to remove undefined behavior Krystian Chmura (1): Add implicit conversion from Object and Array to Value (PR-1404) Kyrega (8): Fix RawNumber for longer char types Added typename Using unsigned for WIStreamWrapper Do not depend on c++11 conditional Use rapidjson internal::SelectIf No default template parameter for older compilers No default template parameter for older compilers Correct WIStreamWrapper Lars Klein (2): Improve surrogate handling Add test case for low surrogate handling Laurent Stacul (1): Fix recursive operator== call in C++20 (PR-1846) Lele Gaifax (5): Fix FileWriteStream doc Wrap all WriteXxx() calls within EndValue(), to ensure a flush after root-level scalar value Add simple test for issue ISSUE-1336 Extend the test on issue ISSUE-1336 to cover all basic types Add test case on kParseNumbersAsStringsFlag being able to load big ints Leo Mehr (2): Tutorial: fix typos in examples and broken links undo changes to links and some minor changes to make the readme more easily readable Leonard Chan (1): Avoid ptrdiff between pointers to different allocations Leonid Terenin (2): fix shadowed variable fix shadowed variable, take 2 Liang ZOU (1): add missing header "ios" Luka Rahne (1): Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro Léonard Gérard (1): Correct complexity claim M.Tayel (2): enable cross compiling by adding option to remove -march/-cpu Fixed typo in CMake file Malcolm Tyrrell (2): Fix vs2017 compile error C2105: '--' needs l-value Sanitize the code in schema.h Marian Klymov (1): Autodetect RAPIDJSON_HAS_CXX11_NOEXCEPT and RAPIDJSON_HAS_CXX11_TYPETRAITS for Visual Studio Martin Lindhe (1): fix some typos Matteo Settenvini (1): Add a target to RapidJSONConfig.cmake.in (PR-1350) Matthew Early (1): typo Matthis Thorade (4): ignore DS_Store files Delete .DS_Store Delete .DS_Store Delete .DS_Store MaxXSoft (1): doc/tutorial.zh-cn: fixed some typos MaximeBF (4): Support long and unsined long as int and unsigned on Microsft platforms Add unittest for long as int in MSC platforms Fix unsigned long as unsigned unit test Change long/ulong as int/uint on MSC unit tests to be more inline with other templated functions unit tests Mikhail Boldyrev (1): fixed Uint case in docs Milo Yip (69): Defer thread creation in parsebypart example Add preconditions in writer and string functions Refactor regex Fix ISSUE-741 Remove lambda expression in (pretty)writertest Add StringBuffer::GetLength() Fix schema.zh-cn.md Another try for fixing schema.md Revert "Another try for fixing schema.md" Remove unncessary std::move() Update dom.zh-cn.md Add Value::Value(float) and static_cast for suppressing clang warning Fix failing to resolve $ref in allOf causes crash in SchemaValidator::StartObject() Change SchemaValidator::GetNullHandler() from singleton to instance. Restore missing deallocation of GenericSchemaValidator::nullHandler_ Change Schema::GetTypeless() from singleton to instance Fixed a bug for SchemaDocument move constructor Fix nullHandler allocation bug Remove empty NumberStream::~NumberStream() Refactor GenericValue deep-clone constructor Move GenericValue deep-clone constructor into the class declaration. Update sax.md Update sax.zh-cn.md Update Doxyfile.zh-cn.in Fix ISSUE-831 RAPIDJSON_HAS_CXX11_RANGE_FOR is error defined Fix output character type in writers Remove non-ASCII character Try fixing Error compilation Ubuntu 14.04 ISSUE-834 Fix ISSUE-899 Update schema.zh-cn.md Fix ISSUE-905 unable to set writeFlags for PrettyWriter Fix ISSUE-910 incorrect casting Fix ISSUE-947 -Weffc++ warning Remove -Weverything Fix ISSUE-949 about -Werror=conversion Update tutorial.zh-cn.md Fix patternProperties & additionalProperties lead to ASSERT Fix ISSUE-1017 allOf keyword fail with Writer handler Change from miloyip/rapidjson to Tencent/rapidjson Update appveyor badge and link Fix ISSUE-1071 gitbook link Update gitbook zh-cn link Partially fix ISSUE-1077 Fix schema.md TOC Add anchors to Schema.md Add archiver example Try to fix travis build Another try to fix travis build Fix -Werror=effc++ Fix invalid type in Pointer Fix Compile error because of -Werror=effc++ is on Fix false alarm from clang-tidy Add transcoding/validation to Writer::RawValue() Fix API constness Revert "Fix API constness" Fix Windows build Update rapidjson.h Update sortkeys.cpp Fix gcc compilation error in sortkeys Adding swap() for GenericMember Workaround of sortkeys example Update doxygen download URL Change all GenericMemberIterator from struct to class Disable copy constructor in GenericMember Provide default implementations for move constructor/assignment in GenericMember Update biginteger.h (PR-1652) PrettyWriter constructor uninitialized member (PR-1654) Fix Pointer::Append() crash for custom allocator on Windows Revert "Fix the alignment of placement new buffer for GenericValue." Minmin Gong (3): Specifies the endian of msvc ARM64 configuration. Update the code to adapt the new gtest. Update appveyor rule to support VS2017. N. Kolotov (1): Fixed -Wshadow warning. Nikolay (1): Three-way comparison for CLang 10 fix (PR-1679) Oliver Hahm (2): fix return values common notation of empty if/else case Patrick Cheng (3): added assertion to help suppress clang warnings Reserve() is sometimes called when stackTop_ is null. The assert is invalid. When length is 0, the code does nothing, so skip it completely. Pave Pimenov (1): fix Tencent/rapidjson#1778 (part 1) Peter Kasting (4): Avoid exit-time destructors. Avoid exit-time destructors. Include conceptual change from PR 2001. Try to fix MSVC build. Philipp A Hartmann (4): Fix -Wclass-memaccess warnings/errors Fix -Wsign-conversion warnings/errors Suppress -Wformat-overflow warning/error Add RAPIDJSON_NOEXCEPT_ASSERT Philipp A. Hartmann (11): RAPIDJSON_STATIC_ASSERT: use C++11 static_assert, if available GenericValue::CopyFrom: add option to force copying of strings Fixup ISSUE-964 by forwarding copyConstStrings recursively ParseResult: improve bool conversion and add operator!= Travis: Switch to Ubuntu 14.04 (Trusty) unittest.h: change RAPIDJSON_ASSERT to allow usage in expressions Improved handling of NULL strings travis-doxygen.sh: upgrade to Doxygen 1.8.13 GenericStringRef: move assert out of expression Avoid inheritance from std::iterator Update test/unittest/pointertest.cpp PhoebeHui (1): Add vcpkg installation instructions Renny Koshy (1): - Fixed a build issue by initializing "index" in the header file Rolf Eike Beer (3): CMake: avoid neeless variable expansion CMake: do not pass -march=native or -mcpu=native when crosscompiling CMake: automatically handle C++11 settings if possible Romain Geissler (1): Ignore GCC 8 warnings. Romain Geissler @ Amadeus (1): Avoid warnings when using -std=c++20 and clang 10: use three way comparision for iterators when possible. (PR-1667) Romain Moret (1): Rename a few internal preprocessor macros to avoid potential naming conflicts Ross Younger (1): Use C++17 fallthrough tag instead of disabling warning Ruslan Bilovol (1): CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path Ryan Morris (1): Added macro RAPIDJSON_ALLOCATOR_DEFAULT_CHUNK_CAPACITY to allow default chunk capacity to be lowered for embedded devices with < 64k stack sizes Saurabh Charde (1): Improve documentation Sergey Fedorov (1): CMakeLists: fix optflags for ppc Sergey Kovalevich (1): Added const for Reader methods Sfinktah Bungholio (1): Fix for winmindef.h defining min/max macros Silas S. Brown (1): Remove unnecessary wording from BSD license not needed for MIT license (fixes ISSUE-528) Stephen Kelly (1): Use rvalue refs with clang-cl Steve Hanson (44): code and tests remove debug std::cout, handle empty error object in example remove C++ 11 enum syntax remove C++ 11 std::string to_string() syntax revert perftest Revert "revert perftest" correct workaround for issue 1805 restore coverage work around issue 1089 fix crash where simple type with sub-schema has a bad value code and tests fix bracket fix compile errors fix platform-dependent compiler error with >> handle internal refs properly remove comma correct #defines in uri.h satisfy all compilers satisfy all compilers 2 satisfy all compilers 3 fix coverage remove copyright & debug statements make std::string optional remove compiler warning remove temp debug statements fix coverage, unit test allocators and equality fix Uri.Match optional arg fix coverage again equiv fix for issue 1899 Uri Parse improvements fix the warning initial corrections add dump of unexpected schema errors in schematest.cpp correct address.json so tests pass remove unnecessary templating from schema tests fix build break tidy up after merge from master attempt to fix SEH small corrections for schema.h code & tests for openapi 2.0 & 3.0 suppprt review comment updates fix ISSUE-2101 Suppress uritest StilesCrisis (23): Improved reporting Token-by-token pull parsing Fix Dev Studio bool-conversion warning Improve performance Improve coverage and performance Added unit test for pull parsing Add LIKELY and UNLIKELY hints Add example SimplePullHandler code Clean up example code SimplePullReader C++98 support More C++98 fixes Put in unit tests to catch parser failure Fix parsing of NaN/Inf Unit test Added assertion Add matching fix for PrettyWriter Unit test Fix null handler construction Add IterativeParse docs Tiny fix Specialize StrLen for char/wchar_t Add lookahead parser example Fix GCC warning SuperSodaSea (3): 修复拼写错误 Translate doc/internals.md Part 1 Translate doc/internals.md Part 2 Tall??di Mih??ly (2): Move constructor support for Writer Move constructor support for PrettyWriter Tallódi Mihály (1): Tests for Writer, PrettyWriter move constructors Tana0910 (1): fix a typo in error.h: literial -> literal Ted Lyngmo (2): Fix -Werror=effc++ errors with GNU 6.3.1 Fix -Werror=effc++ errors with GNU 6.3.1 Tim Gates (2): Fix simple typo: drived -> derived (PR-1646) docs: fix simple typo, perecent -> percent Tim Miller (1): Updated google test to latest commit Tom Briden (2): valuetest: fix potential write of terminating nul past the end of the destination encdedstreamtest: fix use-after-free compile error with gcc-12 Tomasz Noczynski (Linux) (2): If storage class is not specified as first in declaration then Intel C++ Compiler 2017 generates message: message 82: storage class is not first To avoid Intel C++ Compiler 1879 warnings: warning 1879: unimplemented pragma ignored: #pragma intrinsic(_BitScanReverse64) warning 1879: unimplemented pragma ignored: #pragma intrinsic(_umul128) VeekXT (1): doc: fix a typo Veselin Georgiev (1): Fix SIGBUS due to unaligned access Wu Zhao (1): support IBM PowerPC / ppc64 / ppc64le and XL compiler Xuanyi Zhou (5): fix schema test compile error suppress enum bitwise operation warnings on msvc add body to private copy constructor & copy assignment add return statement & comment also initialize class member Yolan Romailler (1): Removing always true if condition Yu Chen Hou (1): FIx typo in documentation Yuri Khan (10): Add failing test for the case when a remote schema is violated (PR-1064) internal::Schema: Keep pointer for future use Keep schema URI in GenericSchemaDocument and internal::Schema Report schema violation details (PR-619) Extend schema validation tests to compare error object Document schema violation format Update schemavalidator example to demonstrate GetError() refactor Schema: Keep ErrorHandler reference in Context Move schema violation docs into Schema chapter Flatten allOf keyword violations Yuval Hager (1): silence clang-7 self-assign-overloaded warning Zhihao Yuan (2): Treat signed-unsigned conversions as errors. Fix a non-type template parameter type mismatch Zoltan Kovago (1): fix compilation on windows with clang abolz (25): Add tests for issues with string-to-double conversions (ISSUE-849, ISSUE-1249, ISSUE-1251, ISSUE-1253, ISSUE-1256, ISSUE-1259) Add assertions to check preconditions of functions and unsigned integer arithmetic Replace unsigned with signed integer arithmetic in strtod Trim all zeros from input Properly test for overflow Return 0 if binary exponent is too small Some more tests Return infinity if binary exponent is too large Add more tests (which need to be fixed) Fix bogus gcc warning Fix implicit signed/unsigned conversion and a small glitch in the error computation Fix implicit signed/unsigned conversion and a small glitch in the error computation - part 2 Use std::numeric_limits instead of macros Fix another signed/unsigned warning Use C macros with the correct header instead of std::numeric_limits and static_cast [Debug] [Debug - Initialize variable] Limit exponents Workaround incorrect rounding in MSVC Fix offset computation in BigInteger::operator<< [Debug - clean up] Add a test for BigInteger::operator<< Add more tests Disable failing test for now Run all the new tests in full-precision mode only agate-pris (3): Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespace Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any namespace Allow access to the template parameter StackAllocator in the GenericDocument ardb-uk (2): Resolve issue 1948 Add files via upload bluehero (7): use _mm_cmpistri modify add unittest modify unittest modify modify modify bogaotory (2): in relation to solving issue 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 again, in relation to solving issue 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` clach04 (1): Fix issue ISSUE-1104 Solaris compilation errors fread()/fwrite() eisaev (1): Update allocators.h escherstair (6): fix _BitScanReverse() usage for CE6 fallback to the naive version for CE6 fix naive version implementation add unit test for clzll() fix naive implementation for clzll() fix unit test fredgan (1): fix some misspellings h46incon (1): Add MemberCapacity() and MemberReserve() interface for object type. ioannis-e (1): Update Visual Studio Visualizer (PR-1665) jack_perisich (1): Fix small errors in dtoa output for certain doubles jedwards (1): use softintrin on arm64ec jiapeng.wen (1): fix tutorial error jwillcox-telework (2): Update allocators.h Update dtoa.h kyb (1): Fixed ISSUE-985 : Unittest failed with MinGWx64. And few small improvement were done while looking for mistakes. luz.paz (1): Misc. typos maficccc@gmail.com (1): Fix warnings Dereference of null pointer mdamle (1): Closes ISSUE-1643 (PR-1644) miloyip (2): doc: fix incorrect template parameters in EncodedOutputStream example add traverse as pointer example myd7349 (1): Fix typo in doc niukuo (1): fix wrong length in remote schema oviradoi (1): Fix creating the nuget package with Raggles' fork of CoApp piotr-kaminski-intel (2): Removing Klocwork issues from schema.h Init variable in the constructor piratf (2): fix CMake policy CMP0048 warning ISSUE-1154 add contributing section in readme.md, introduced the basic cooperation process. quyan (1): fix typo seky (2): added example for sorting keys removed std::string and receiving const Value in printIt sergey kachanovskiy (1): Fixes ISSUE-1198 shadeware (1): fix typos in doc code sjaques (1): Fix uninitilized member Reader::state_ supperpiccle (1): Use passed in allocator. xiaoPierre (1): Bug when switching to std regex xpahos (1): Allow escaped apostrophe in values (PR-1639) ylavic (37): Missing "internal" namespace for StrLen Use passed in allocator for internal regex parser. Fix a memory leak for invalid std::regex in Schema. GenericRegex: don't throw/abort on syntax error (unclosed parenthesis). Unit test for invalid GenericRegex (unclosed parenthesis). Optimize FileReadStream and BasicIStreamWrapper. Possibly std::ios::binary helps with streams on Windows Base buffered BasicIStreamWrapper on the original (better performing) FileReadStream algorithm. Fix FileReadStream::Peek4(). Add less than operator to Pointer. Unit test for Pointer::operator<(). Rework Pointer::operator<() loop. Speed up Pointer::operator<(). Allow to (std::)Swap two pointers. Pointer tests now need <algorithm> (for std::swap), but no tabs. Use the allocator of the Schema for its Pointer. Add missing curly brackets in STDREGEX's CreatePattern(). Fix compilation of sortkeys.cpp with MSVC 2013 (hopefully). RAPIDJSON_NOEXCEPT_ASSERT() should never throw. Provide RAPIDJSON_HAS_CXX11 and use it for RAPIDJSON_HAS_CXX11_RVALUE_REFS and RAPIDJSON_HAS_CXX11_NOEXCEPT. RAPIDJSON_NOEXCEPT_ASSERT should assert regardless of RAPIDJSON_HAS_CXX11_NOEXCEPT. Safer GenericValue& operator=(GenericValue& rhs). Test assignment from inner Value. Provide StdAllocator, STL compatible, for use with STL types. Tests for StdAllocator. Make StdAllocator C++17-20 compatible. Make StdAllocator C++17-20 compatible. Handle C++17 (and C++11 with MSVC) in CI. Don't define StdAllocator<void> from C++17. Tests for C++17 with VS 2019. Fix would-crash tests if the default allocator used were kNeedFree. Add rvalue copy and assignment to MemoryPoolAllocator and StdAllocator. Tests for Allocators copy by rvalue reference. Try some tests with -D_GLIBCXX_DEBUG and coverage with -O0. Set RAPIDJSON_USE_MEMBERSMAP to use a (std::multi)map for object members. Tests for Members in std::multimap. Turn some Tests to RAPIDJSON_USE_MEMBERSMAP in CI. zhao xin (6): Update .travis.yml Update .travis.yml Update travis-doxygen.sh Update travis-doxygen.sh Update travis-doxygen.sh Update travis-doxygen.sh Étienne Dupuis (3): Initialized regex with schema allocator. Solves ISSUE-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. Added relevant unit tests for issue ISSUE-1108 suggested improvement. 仓鼠 (1): Doc: Fix some typos. (PR-1675)
stephencrowell
pushed a commit
to stephencrowell/Slicer
that referenced
this issue
Jun 29, 2023
…warnings This fixes the following warning through the integration of fa5963a2f (Fix -Wclass-memaccess warnings/errors): /path/to/Slicer/Modules/Loadable/Markups/MRML/vtkMRMLMarkupsJsonElement.cxx:536:64: required from here /path/to/Slicer-Release/RapidJSON/include/rapidjson/document.h:1952:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘rapidjson::GenericValue<rapidjson::UTF8<> >::Member’ {aka ‘struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >’} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 1952 | std::memcpy(m, members, count * sizeof(Member)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note that since there is no new RapidJSON tagged release since v1.1.0, this commit updates to the latest version. List of RapidJSON changes: $ git shortlog v1.1.0..973dc9c06 --no-merges Adam Calhoon (2): Fix the alignment of placement new buffer for GenericValue. Fix the alignment of placement new buffer for GenericValue. Adam Majer (1): Fix compilation with older GCC versions Albert Hung (2): Eliminate missing prototypes warning Check for __GNUC__ definition :...skipping... Adam Calhoon (2): Fix the alignment of placement new buffer for GenericValue. Fix the alignment of placement new buffer for GenericValue. Adam Majer (1): Fix compilation with older GCC versions Albert Hung (2): Eliminate missing prototypes warning Check for __GNUC__ definition Alejandro Martinez (4): Fixed bug on space hexadecimal encoding Added unittests for invalid ascii control chars Changed error code for invalid special ascii chars, fixed writer tests Added ARM-Neon support for SIMD.SkipWhitespace* Andrew (1): typo on documentation dom.zh-cn.md: "己于" -> "已于" Andrey Glebov (3): - replaced RAPIDJSON_NEW macro with variadic varient - replaced RAPIDJSON_NEW calls in fwdtest.cpp - replaced RAPIDJSON_NEW with C++98 compatible version Bart Muzzin (1): Issue ISSUE-1028: Visual Studio natvis file. Benjamin Lee (1): Handle non-throwing exception specifications that can still throw ISSUE-1280 BennyYip (1): fix ISSUE-749 Captain Crutches (2): Make RapidJSON_INCLUDE_DIR non-blank in Config.cmake Use SOURCE_DIR instead of CMAKE_DIR for build tree Charles Milette (5): Fix ARM NEON under MSVC Fix build error under non-Clang compilers Fix signedness error Update comment Change #ifdef to #if defined Chocobo1 (1): Improve readme.md Christian Semmler (4): add remote ref to schemaMap_ add test case for remote ref issue fix C++03 compatibility remove superfluous typename Christopher Warrington (5): Fix Windows doc build MSBuild error MSB6001 Guard against min/max being macros in document.h Guard against min/max macros in tests too Assert Type enum lower bound as well Guard against min/max being macros in reader.h Clemens Arth (1): update to create config file which is independent from actual install location Crunkle (1): Fix processor check when empty David Newman (1): chore: correct spelling Eric Rannaud (1): Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBERITERATORCLASS) Erik Froseth (2): Remove executable bit Detect C++11 features for Developer Studio Etienne Laurin (3): Allow pointer tokens to have non-null-terminated strings fix template parameter add test for non-null-terminated token Flaviu_ (1): Resolve conflict with Windows header about max macro Florin Malita (1): Prevent int underflow when parsing exponents Gao Mingfei (1): Add CMake minimum version required. Gaspard Petit (2): 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. Added parameters to RAPIDJSON_MALLOC, RAPIDJSON_REALLOC and RAPIDJSON_FREE Gustav (1): Fixes issue Slicer#1718 Haffon (2): GetParseOffset to GetErrorOffset GetParseOffset to GetErrorOffset Harry Wong (2): Supress implicit fallthrough in GCC Onley apply to GCC 7 Hartwig (1): Add convenience method Key(std::basic_string<Ch> const&) to Writer Hendrik Muhs (3): add a test that provokes a compile time error on windows don't let the GetObject macro rewrite the GetObject method, add a GetObj alias replace auto with concrete type IceTrailer (1): Fixed parentheses in reader.h which were required to prevent the using of max macro Ivan Kravets (1): Update version to 1.1.0 Ivan Le Lann (1): Support CMake none targets Janusz Chorko (2): Removed non-compiling assignment operator. Fixed ISSUE-718 Explicitly disable copy assignment operator Jean-Claude Monnin (1): Fix warning when NDEBUG is defined [-Wunused-variable] John (1): ensure the pragma is only applied to MSVC John Stiles (24): Restored original IterativeParse implementation Test coverage up Attempt to suppress valgrind wcslen error Trivial change to re-trigger Travis CI Trivial change to trigger Travis CI Try again to suppress Valgrind Once again Remove unneeded change Remove unneeded change Quoted strings to String() or Key() are auto-sized by template Quoted strings to String() or Key() are auto-sized by template Assert that String() and Key() are given null-terminated strings Fix msvc x64 compilation issue Add unit test for Issue 889 Remove broken templatized string length optimization Improve LookaheadParser Remove switch Initialize v_ to placate GCC Remove all switch Provide a Flush() API within Writer Fix template length optimization issue in PrettyWriter added test for parsing 0e100 Update readertest.cpp Added test for issue ISSUE-1251 Johnny Shaw (2): Make schema dtor robust against exceptions fixes for natvis Joshua Watt (1): Remove shadow typedef Julien Courtat (1): faq: fix document insertion example Jun (2): Replace RAPIDJSON_CLZLL with internal clzll (PR-1660) ci: upgrade distro to xenial and add arm64 test cases (PR-1662) KLsz (1): Adding a few missing includes KaitoHH (7): Add feature of locating line and column number of error fix stream wrapper initializer suppress C4512, C4702 warning add cursor wrapper add unit test for cursorstreamwrapper remove unnecessary code fix gcc & cl warning Kent Ross (3): gate definition of symmetric equality operators on impl, not lib delete unused variable do not define operator!= in C++20 Konstantin Käfer (1): Avoid pointer arithmetic on null pointer to remove undefined behavior Krystian Chmura (1): Add implicit conversion from Object and Array to Value (PR-1404) Kyrega (8): Fix RawNumber for longer char types Added typename Using unsigned for WIStreamWrapper Do not depend on c++11 conditional Use rapidjson internal::SelectIf No default template parameter for older compilers No default template parameter for older compilers Correct WIStreamWrapper Lars Klein (2): Improve surrogate handling Add test case for low surrogate handling Laurent Stacul (1): Fix recursive operator== call in C++20 (PR-1846) Lele Gaifax (5): Fix FileWriteStream doc Wrap all WriteXxx() calls within EndValue(), to ensure a flush after root-level scalar value Add simple test for issue ISSUE-1336 Extend the test on issue ISSUE-1336 to cover all basic types Add test case on kParseNumbersAsStringsFlag being able to load big ints Leo Mehr (2): Tutorial: fix typos in examples and broken links undo changes to links and some minor changes to make the readme more easily readable Leonard Chan (1): Avoid ptrdiff between pointers to different allocations Leonid Terenin (2): fix shadowed variable fix shadowed variable, take 2 Liang ZOU (1): add missing header "ios" Luka Rahne (1): Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro Léonard Gérard (1): Correct complexity claim M.Tayel (2): enable cross compiling by adding option to remove -march/-cpu Fixed typo in CMake file Malcolm Tyrrell (2): Fix vs2017 compile error C2105: '--' needs l-value Sanitize the code in schema.h Marian Klymov (1): Autodetect RAPIDJSON_HAS_CXX11_NOEXCEPT and RAPIDJSON_HAS_CXX11_TYPETRAITS for Visual Studio Martin Lindhe (1): fix some typos Matteo Settenvini (1): Add a target to RapidJSONConfig.cmake.in (PR-1350) Matthew Early (1): typo Matthis Thorade (4): ignore DS_Store files Delete .DS_Store Delete .DS_Store Delete .DS_Store MaxXSoft (1): doc/tutorial.zh-cn: fixed some typos MaximeBF (4): Support long and unsined long as int and unsigned on Microsft platforms Add unittest for long as int in MSC platforms Fix unsigned long as unsigned unit test Change long/ulong as int/uint on MSC unit tests to be more inline with other templated functions unit tests Mikhail Boldyrev (1): fixed Uint case in docs Milo Yip (69): Defer thread creation in parsebypart example Add preconditions in writer and string functions Refactor regex Fix ISSUE-741 Remove lambda expression in (pretty)writertest Add StringBuffer::GetLength() Fix schema.zh-cn.md Another try for fixing schema.md Revert "Another try for fixing schema.md" Remove unncessary std::move() Update dom.zh-cn.md Add Value::Value(float) and static_cast for suppressing clang warning Fix failing to resolve $ref in allOf causes crash in SchemaValidator::StartObject() Change SchemaValidator::GetNullHandler() from singleton to instance. Restore missing deallocation of GenericSchemaValidator::nullHandler_ Change Schema::GetTypeless() from singleton to instance Fixed a bug for SchemaDocument move constructor Fix nullHandler allocation bug Remove empty NumberStream::~NumberStream() Refactor GenericValue deep-clone constructor Move GenericValue deep-clone constructor into the class declaration. Update sax.md Update sax.zh-cn.md Update Doxyfile.zh-cn.in Fix ISSUE-831 RAPIDJSON_HAS_CXX11_RANGE_FOR is error defined Fix output character type in writers Remove non-ASCII character Try fixing Error compilation Ubuntu 14.04 ISSUE-834 Fix ISSUE-899 Update schema.zh-cn.md Fix ISSUE-905 unable to set writeFlags for PrettyWriter Fix ISSUE-910 incorrect casting Fix ISSUE-947 -Weffc++ warning Remove -Weverything Fix ISSUE-949 about -Werror=conversion Update tutorial.zh-cn.md Fix patternProperties & additionalProperties lead to ASSERT Fix ISSUE-1017 allOf keyword fail with Writer handler Change from miloyip/rapidjson to Tencent/rapidjson Update appveyor badge and link Fix ISSUE-1071 gitbook link Update gitbook zh-cn link Partially fix ISSUE-1077 Fix schema.md TOC Add anchors to Schema.md Add archiver example Try to fix travis build Another try to fix travis build Fix -Werror=effc++ Fix invalid type in Pointer Fix Compile error because of -Werror=effc++ is on Fix false alarm from clang-tidy Add transcoding/validation to Writer::RawValue() Fix API constness Revert "Fix API constness" Fix Windows build Update rapidjson.h Update sortkeys.cpp Fix gcc compilation error in sortkeys Adding swap() for GenericMember Workaround of sortkeys example Update doxygen download URL Change all GenericMemberIterator from struct to class Disable copy constructor in GenericMember Provide default implementations for move constructor/assignment in GenericMember Update biginteger.h (PR-1652) PrettyWriter constructor uninitialized member (PR-1654) Fix Pointer::Append() crash for custom allocator on Windows Revert "Fix the alignment of placement new buffer for GenericValue." Minmin Gong (3): Specifies the endian of msvc ARM64 configuration. Update the code to adapt the new gtest. Update appveyor rule to support VS2017. N. Kolotov (1): Fixed -Wshadow warning. Nikolay (1): Three-way comparison for CLang 10 fix (PR-1679) Oliver Hahm (2): fix return values common notation of empty if/else case Patrick Cheng (3): added assertion to help suppress clang warnings Reserve() is sometimes called when stackTop_ is null. The assert is invalid. When length is 0, the code does nothing, so skip it completely. Pave Pimenov (1): fix Tencent/rapidjson#1778 (part 1) Peter Kasting (4): Avoid exit-time destructors. Avoid exit-time destructors. Include conceptual change from PR 2001. Try to fix MSVC build. Philipp A Hartmann (4): Fix -Wclass-memaccess warnings/errors Fix -Wsign-conversion warnings/errors Suppress -Wformat-overflow warning/error Add RAPIDJSON_NOEXCEPT_ASSERT Philipp A. Hartmann (11): RAPIDJSON_STATIC_ASSERT: use C++11 static_assert, if available GenericValue::CopyFrom: add option to force copying of strings Fixup ISSUE-964 by forwarding copyConstStrings recursively ParseResult: improve bool conversion and add operator!= Travis: Switch to Ubuntu 14.04 (Trusty) unittest.h: change RAPIDJSON_ASSERT to allow usage in expressions Improved handling of NULL strings travis-doxygen.sh: upgrade to Doxygen 1.8.13 GenericStringRef: move assert out of expression Avoid inheritance from std::iterator Update test/unittest/pointertest.cpp PhoebeHui (1): Add vcpkg installation instructions Renny Koshy (1): - Fixed a build issue by initializing "index" in the header file Rolf Eike Beer (3): CMake: avoid neeless variable expansion CMake: do not pass -march=native or -mcpu=native when crosscompiling CMake: automatically handle C++11 settings if possible Romain Geissler (1): Ignore GCC 8 warnings. Romain Geissler @ Amadeus (1): Avoid warnings when using -std=c++20 and clang 10: use three way comparision for iterators when possible. (PR-1667) Romain Moret (1): Rename a few internal preprocessor macros to avoid potential naming conflicts Ross Younger (1): Use C++17 fallthrough tag instead of disabling warning Ruslan Bilovol (1): CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path Ryan Morris (1): Added macro RAPIDJSON_ALLOCATOR_DEFAULT_CHUNK_CAPACITY to allow default chunk capacity to be lowered for embedded devices with < 64k stack sizes Saurabh Charde (1): Improve documentation Sergey Fedorov (1): CMakeLists: fix optflags for ppc Sergey Kovalevich (1): Added const for Reader methods Sfinktah Bungholio (1): Fix for winmindef.h defining min/max macros Silas S. Brown (1): Remove unnecessary wording from BSD license not needed for MIT license (fixes ISSUE-528) Stephen Kelly (1): Use rvalue refs with clang-cl Steve Hanson (44): code and tests remove debug std::cout, handle empty error object in example remove C++ 11 enum syntax remove C++ 11 std::string to_string() syntax revert perftest Revert "revert perftest" correct workaround for issue 1805 restore coverage work around issue 1089 fix crash where simple type with sub-schema has a bad value code and tests fix bracket fix compile errors fix platform-dependent compiler error with >> handle internal refs properly remove comma correct #defines in uri.h satisfy all compilers satisfy all compilers 2 satisfy all compilers 3 fix coverage remove copyright & debug statements make std::string optional remove compiler warning remove temp debug statements fix coverage, unit test allocators and equality fix Uri.Match optional arg fix coverage again equiv fix for issue 1899 Uri Parse improvements fix the warning initial corrections add dump of unexpected schema errors in schematest.cpp correct address.json so tests pass remove unnecessary templating from schema tests fix build break tidy up after merge from master attempt to fix SEH small corrections for schema.h code & tests for openapi 2.0 & 3.0 suppprt review comment updates fix ISSUE-2101 Suppress uritest StilesCrisis (23): Improved reporting Token-by-token pull parsing Fix Dev Studio bool-conversion warning Improve performance Improve coverage and performance Added unit test for pull parsing Add LIKELY and UNLIKELY hints Add example SimplePullHandler code Clean up example code SimplePullReader C++98 support More C++98 fixes Put in unit tests to catch parser failure Fix parsing of NaN/Inf Unit test Added assertion Add matching fix for PrettyWriter Unit test Fix null handler construction Add IterativeParse docs Tiny fix Specialize StrLen for char/wchar_t Add lookahead parser example Fix GCC warning SuperSodaSea (3): 修复拼写错误 Translate doc/internals.md Part 1 Translate doc/internals.md Part 2 Tall??di Mih??ly (2): Move constructor support for Writer Move constructor support for PrettyWriter Tallódi Mihály (1): Tests for Writer, PrettyWriter move constructors Tana0910 (1): fix a typo in error.h: literial -> literal Ted Lyngmo (2): Fix -Werror=effc++ errors with GNU 6.3.1 Fix -Werror=effc++ errors with GNU 6.3.1 Tim Gates (2): Fix simple typo: drived -> derived (PR-1646) docs: fix simple typo, perecent -> percent Tim Miller (1): Updated google test to latest commit Tom Briden (2): valuetest: fix potential write of terminating nul past the end of the destination encdedstreamtest: fix use-after-free compile error with gcc-12 Tomasz Noczynski (Linux) (2): If storage class is not specified as first in declaration then Intel C++ Compiler 2017 generates message: message 82: storage class is not first To avoid Intel C++ Compiler 1879 warnings: warning 1879: unimplemented pragma ignored: #pragma intrinsic(_BitScanReverse64) warning 1879: unimplemented pragma ignored: #pragma intrinsic(_umul128) VeekXT (1): doc: fix a typo Veselin Georgiev (1): Fix SIGBUS due to unaligned access Wu Zhao (1): support IBM PowerPC / ppc64 / ppc64le and XL compiler Xuanyi Zhou (5): fix schema test compile error suppress enum bitwise operation warnings on msvc add body to private copy constructor & copy assignment add return statement & comment also initialize class member Yolan Romailler (1): Removing always true if condition Yu Chen Hou (1): FIx typo in documentation Yuri Khan (10): Add failing test for the case when a remote schema is violated (PR-1064) internal::Schema: Keep pointer for future use Keep schema URI in GenericSchemaDocument and internal::Schema Report schema violation details (PR-619) Extend schema validation tests to compare error object Document schema violation format Update schemavalidator example to demonstrate GetError() refactor Schema: Keep ErrorHandler reference in Context Move schema violation docs into Schema chapter Flatten allOf keyword violations Yuval Hager (1): silence clang-7 self-assign-overloaded warning Zhihao Yuan (2): Treat signed-unsigned conversions as errors. Fix a non-type template parameter type mismatch Zoltan Kovago (1): fix compilation on windows with clang abolz (25): Add tests for issues with string-to-double conversions (ISSUE-849, ISSUE-1249, ISSUE-1251, ISSUE-1253, ISSUE-1256, ISSUE-1259) Add assertions to check preconditions of functions and unsigned integer arithmetic Replace unsigned with signed integer arithmetic in strtod Trim all zeros from input Properly test for overflow Return 0 if binary exponent is too small Some more tests Return infinity if binary exponent is too large Add more tests (which need to be fixed) Fix bogus gcc warning Fix implicit signed/unsigned conversion and a small glitch in the error computation Fix implicit signed/unsigned conversion and a small glitch in the error computation - part 2 Use std::numeric_limits instead of macros Fix another signed/unsigned warning Use C macros with the correct header instead of std::numeric_limits and static_cast [Debug] [Debug - Initialize variable] Limit exponents Workaround incorrect rounding in MSVC Fix offset computation in BigInteger::operator<< [Debug - clean up] Add a test for BigInteger::operator<< Add more tests Disable failing test for now Run all the new tests in full-precision mode only agate-pris (3): Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespace Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any namespace Allow access to the template parameter StackAllocator in the GenericDocument ardb-uk (2): Resolve issue 1948 Add files via upload bluehero (7): use _mm_cmpistri modify add unittest modify unittest modify modify modify bogaotory (2): in relation to solving issue 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 again, in relation to solving issue 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` clach04 (1): Fix issue ISSUE-1104 Solaris compilation errors fread()/fwrite() eisaev (1): Update allocators.h escherstair (6): fix _BitScanReverse() usage for CE6 fallback to the naive version for CE6 fix naive version implementation add unit test for clzll() fix naive implementation for clzll() fix unit test fredgan (1): fix some misspellings h46incon (1): Add MemberCapacity() and MemberReserve() interface for object type. ioannis-e (1): Update Visual Studio Visualizer (PR-1665) jack_perisich (1): Fix small errors in dtoa output for certain doubles jedwards (1): use softintrin on arm64ec jiapeng.wen (1): fix tutorial error jwillcox-telework (2): Update allocators.h Update dtoa.h kyb (1): Fixed ISSUE-985 : Unittest failed with MinGWx64. And few small improvement were done while looking for mistakes. luz.paz (1): Misc. typos maficccc@gmail.com (1): Fix warnings Dereference of null pointer mdamle (1): Closes ISSUE-1643 (PR-1644) miloyip (2): doc: fix incorrect template parameters in EncodedOutputStream example add traverse as pointer example myd7349 (1): Fix typo in doc niukuo (1): fix wrong length in remote schema oviradoi (1): Fix creating the nuget package with Raggles' fork of CoApp piotr-kaminski-intel (2): Removing Klocwork issues from schema.h Init variable in the constructor piratf (2): fix CMake policy CMP0048 warning ISSUE-1154 add contributing section in readme.md, introduced the basic cooperation process. quyan (1): fix typo seky (2): added example for sorting keys removed std::string and receiving const Value in printIt sergey kachanovskiy (1): Fixes ISSUE-1198 shadeware (1): fix typos in doc code sjaques (1): Fix uninitilized member Reader::state_ supperpiccle (1): Use passed in allocator. xiaoPierre (1): Bug when switching to std regex xpahos (1): Allow escaped apostrophe in values (PR-1639) ylavic (37): Missing "internal" namespace for StrLen Use passed in allocator for internal regex parser. Fix a memory leak for invalid std::regex in Schema. GenericRegex: don't throw/abort on syntax error (unclosed parenthesis). Unit test for invalid GenericRegex (unclosed parenthesis). Optimize FileReadStream and BasicIStreamWrapper. Possibly std::ios::binary helps with streams on Windows Base buffered BasicIStreamWrapper on the original (better performing) FileReadStream algorithm. Fix FileReadStream::Peek4(). Add less than operator to Pointer. Unit test for Pointer::operator<(). Rework Pointer::operator<() loop. Speed up Pointer::operator<(). Allow to (std::)Swap two pointers. Pointer tests now need <algorithm> (for std::swap), but no tabs. Use the allocator of the Schema for its Pointer. Add missing curly brackets in STDREGEX's CreatePattern(). Fix compilation of sortkeys.cpp with MSVC 2013 (hopefully). RAPIDJSON_NOEXCEPT_ASSERT() should never throw. Provide RAPIDJSON_HAS_CXX11 and use it for RAPIDJSON_HAS_CXX11_RVALUE_REFS and RAPIDJSON_HAS_CXX11_NOEXCEPT. RAPIDJSON_NOEXCEPT_ASSERT should assert regardless of RAPIDJSON_HAS_CXX11_NOEXCEPT. Safer GenericValue& operator=(GenericValue& rhs). Test assignment from inner Value. Provide StdAllocator, STL compatible, for use with STL types. Tests for StdAllocator. Make StdAllocator C++17-20 compatible. Make StdAllocator C++17-20 compatible. Handle C++17 (and C++11 with MSVC) in CI. Don't define StdAllocator<void> from C++17. Tests for C++17 with VS 2019. Fix would-crash tests if the default allocator used were kNeedFree. Add rvalue copy and assignment to MemoryPoolAllocator and StdAllocator. Tests for Allocators copy by rvalue reference. Try some tests with -D_GLIBCXX_DEBUG and coverage with -O0. Set RAPIDJSON_USE_MEMBERSMAP to use a (std::multi)map for object members. Tests for Members in std::multimap. Turn some Tests to RAPIDJSON_USE_MEMBERSMAP in CI. zhao xin (6): Update .travis.yml Update .travis.yml Update travis-doxygen.sh Update travis-doxygen.sh Update travis-doxygen.sh Update travis-doxygen.sh Étienne Dupuis (3): Initialized regex with schema allocator. Solves ISSUE-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. Added relevant unit tests for issue ISSUE-1108 suggested improvement. 仓鼠 (1): Doc: Fix some typos. (PR-1675)
SiarheiFedartsou
added a commit
to Project-OSRM/osrm-backend
that referenced
this issue
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
to Project-OSRM/osrm-backend
that referenced
this issue
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
Kythera-Sam
added a commit
to MoonCollider/rapidjson
that referenced
this issue
Jun 12, 2024
* add test for non-null-terminated token * Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBERITERATORCLASS) d87b698 made all definitions of GenericMemberIterator consistent as classes (they were structs with RAPIDJSON_NOMEMBERITERATORCLASS defined), but it didn't keep the member definitions public. document.h:586:71: error: 'Iterator' is a private member of 'rapidjson::GenericMemberIterator<false, rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' typedef typename GenericMemberIterator<false,Encoding,Allocator>::Iterator MemberIterator; //!< Member iterator for i... ^ document.h:2124:32: note: in instantiation of template class 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' requested here class GenericDocument : public GenericValue<Encoding, Allocator> { * Update .travis.yml * Update .travis.yml * Update travis-doxygen.sh * Update travis-doxygen.sh * Update travis-doxygen.sh * Update travis-doxygen.sh * Disable copy constructor in GenericMember * Provide default implementations for move constructor/assignment in GenericMember * Use C++17 fallthrough tag instead of disabling warning Signed-off-by: Ross Younger <crazyscot@gmail.com> * fix some misspellings * doc: fix a typo * fix CMake policy CMP0048 warning Tencent#1154 * add contributing section in readme.md, introduced the basic cooperation process. * Remove shadow typedef Removes a duplicate and identical typedef that was causing a 'declaration shadows typedef' (-Wshadow) warning in clang. * Add vcpkg installation instructions * Allow escaped apostrophe in values (Tencent#1639) * Allow escaped apostrophe in values * Allow escaped apostrophe in values * Canonical flag name * Add translation for escaped apostrophe Co-authored-by: Milo Yip <miloyip@gmail.com> * Fix simple typo: drived -> derived (Tencent#1646) Closes Tencent#1645 * Closes Tencent#1643 (Tencent#1644) This change comes up with compile time pre-processor directives to tune the behavior of rapidjson wrt memory consumption. The idea is to allow each module using this library to choose the right defaults based on how it consumes memory and what performance it expects. 1. RAPIDJSON_DEFAULT_ALLOCATOR: If defined allows you to choose CrtAllocator over MemoryPoolAllocator. If it is not defined, chooses MemoryPoolAllocator by default. 2. RAPIDJSON_DEFAULT_STACK_ALLOCATOR: If defined allows you to choose MemoryPoolAllocator over CrtAllocator. If it is not defined, chooses CrtAllocator by default. 3. RAPIDJSON_VALUE_DEFAULT_OBJECT_CAPACITY and RAPIDJSON_VALUE_DEFAULT_ARRAY_CAPACITY: If defined and set to a value, uses that value for default number of objects/array elements to be pre-allocated. If not defined, uses value of 16: the current default. Verified that all tests pass. * Update biginteger.h (Tencent#1652) Fix intel compiler macro Tencent@de6681e#commitcomment-37645051 * PrettyWriter constructor uninitialized member (Tencent#1654) Fix Tencent#1653 * Replace RAPIDJSON_CLZLL with internal clzll (Tencent#1660) RAPIDJSON_CLZLL is defined as macro of __builtin_clzll when using gcc to compile. This introduces two issues: 1. in gcc __builtin_clzll returns int, not uint32_t. 2. __builtin_clzll return is undefined when input x is 0 See: https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html This patch removes RAPIDJSON_CLZLL, merges __builtin_clzll to internal clzll with input check and return value explicit cast. Change-Id: Iac4b355dc5e5b4ed9b3f35a640b6b5537e76f22c Signed-off-by: Jun He <jun.he@arm.com> Co-authored-by: Jun He <jun.he@arm.com> * Avoid warnings when using -std=c++20 and clang 10: use three way comparision for iterators when possible. (Tencent#1667) /data/mwrep/res/osp/RapidJson/20-0-0-0/include/rapidjson/document.h:729:58: error: use of overloaded operator '!=' is ambiguous (with operand types 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::MemberIterator' (aka 'rapidjson::GenericMemberIterator<false, rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >') and 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::MemberIterator') for (MemberIterator m = MemberBegin(); m != MemberEnd(); ++m) * Three-way comparison for CLang 10 fix (Tencent#1679) C++20 features must enable additional functionality, not to change interface completely * Doc: Fix some typos. (Tencent#1675) * Update Visual Studio Visualizer (Tencent#1665) 1. Determine the correct type of string based on encoding 2. Omit string pointer address * ci: upgrade distro to xenial and add arm64 test cases (Tencent#1662) Start from xenial, Travis supports multiple CPU architectures. To bump to this version allows expand test coverage for more architectures. See: https://docs.travis-ci.com/user/reference/overview/#virtualisation-environment-vs-operating-system Add arm64 test cases to matrix. Change-Id: If61e2d38223dad70b542d6ec0afcf4a433c9debf Signed-off-by: Jun He <jun.he@arm.com> Co-authored-by: Jun He <jun.he@arm.com> * Add a target to RapidJSONConfig.cmake.in (Tencent#1350) This way, users can call target_link_libraries against the imported target, which is the recommended way of doing things. * Add CMake minimum version required. Interface Libraries feature is not available before CMake 3.0 Signed-off-by: Gao Mingfei <mingfei.gao@ucloud.cn> * Fixes issue Tencent#1718 * Improve surrogate handling Report a single low surrogate as kParseErrorStringUnicodeSurrogateInvalid. * Add test case for low surrogate handling * fix _BitScanReverse() usage for CE6 * fallback to the naive version for CE6 * fix naive version implementation * add unit test for clzll() * fix naive implementation for clzll() * fix unit test * fix Tencent#1778 (part 1) * Remove unnecessary wording from BSD license not needed for MIT license (fixes Tencent#528) * fix schema test compile error * suppress enum bitwise operation warnings on msvc * add body to private copy constructor & copy assignment * add return statement & comment * also initialize class member * Add implicit conversion from Object and Array to Value (Tencent#1404) Allows resolution of JSON Pointer on Object and Array * code and tests * remove debug std::cout, handle empty error object in example * remove C++ 11 enum syntax * remove C++ 11 std::string to_string() syntax * revert perftest * Revert "revert perftest" This reverts commit 221e8d5. * correct workaround for issue 1805 * restore coverage * work around issue 1089 * fix crash where simple type with sub-schema has a bad value * Fix recursive operator== call in C++20 (Tencent#1846) * code and tests * fix bracket * fix compile errors * fix platform-dependent compiler error with >> * doc: fix incorrect template parameters in EncodedOutputStream example Fix Tencent#1851 * handle internal refs properly * remove comma * correct #defines in uri.h * satisfy all compilers * satisfy all compilers 2 * satisfy all compilers 3 * Provide RAPIDJSON_HAS_CXX11 and use it for RAPIDJSON_HAS_CXX11_RVALUE_REFS and RAPIDJSON_HAS_CXX11_NOEXCEPT. * RAPIDJSON_NOEXCEPT_ASSERT should assert regardless of RAPIDJSON_HAS_CXX11_NOEXCEPT. * Safer GenericValue& operator=(GenericValue& rhs). When rhs is a sub-Value of *this, destroying *this also destroys/frees rhs, thus the following RawAssign(rhs) crashes. Address this by saving/moving rhs to a temporary first, which clears rhs and avoids its destruction with *this. The crash can be reproduced in test Value.MergeDuplicateKey by using the CrtAllocator instead of the default Document's MemoryPoolAllocator. * Test assignment from inner Value. * Provide StdAllocator, STL compatible, for use with STL types. * Tests for StdAllocator. * add traverse as pointer example * Make StdAllocator C++17-20 compatible. * Make StdAllocator C++17-20 compatible. * Handle C++17 (and C++11 with MSVC) in CI. * Don't define StdAllocator<void> from C++17. * Tests for C++17 with VS 2019. * Fix would-crash tests if the default allocator used were kNeedFree. The allocator cannot be destroyed before the Document, otherwise the Value destructor double frees. * Add rvalue copy and assignment to MemoryPoolAllocator and StdAllocator. * Tests for Allocators copy by rvalue reference. * Try some tests with -D_GLIBCXX_DEBUG and coverage with -O0. * Set RAPIDJSON_USE_MEMBERSMAP to use a (std::multi)map for object members. When RAPIDJSON_USE_MEMBERSMAP is defined, an object Value will store its members in an (re)allocated array of Members like before, but also in an std::multimap<GenericValue::Data,SizeType> where the key and value reference the corresponding Member by its Data and index in the array, respectively, and in a relocatable manner. The layout of the members map/array is now: {multimap*}<>{capacity}<>{Member[capacity]}<>{multimap::iterator[capacity]} where <> stands for the RAPIDJSON_ALIGN-ment of each part, if needed. This layout needs to be reallocated when the current capacity is exhausted, which requires to take care of the multimap and its iterators explicitely. The multimap is allocated separately and only its pointer is saved in this layout, so it can easily be restored in its new position. As for the old/alive iterators, they must move to their new offset according to the new capacity. With this in place, it's immediate to get the multimap::iterator from a MemberIterator and vice versa, thus the same complexity applies for the operations with MemberIterator or MapIterator. For FindMember() and RemoveMember(), the complexity drops from O(n) to the multimap/rbtree's O(log n). For EraseMember() it drops from O(n-m) to O((log n)-m), m representing the move/copy of the trailing members. For AddMember() though, the complexity grows from O(1) to O(log n) due to the insertion in the multimap too. Consequently parsing will be slower, up to ~20% measured in perftests on my laptop (since it's mainly composed of insertions). But later work on the Document (usually the goal of parsing...) will be much faster; the new DocumentFind perftest included in this commit is 8 times faster with RAPIDJSON_USE_MEMBERSMAP (still on my laptop). Overall the tests are 4% slower (mainly composed of parsing), and notably 15% slower for schemas parsing/validation (which supposedly comes from the larger JSON files parsing, still). As a side note, when RAPIDJSON_USE_MEMBERSMAP is not defined, this commit does nothing (same results for perftest with regard to previous versions). Finally, the multimap is allocated and constructed using StdAllocator, so they will use the same Allocator than for any other Value allocation, and thus will benefit from the same performance/safety/security/whatever provided by the user given Allocator. * Tests for Members in std::multimap. * Turn some Tests to RAPIDJSON_USE_MEMBERSMAP in CI. * add a test that provokes a compile time error on windows * don't let the GetObject macro rewrite the GetObject method, add a GetObj alias * replace auto with concrete type * Fixed -Wshadow warning. * Improve documentation Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com> * fix coverage * remove copyright & debug statements * Use modern cmake function export to generate target * make std::string optional * remove compiler warning * remove temp debug statements * fix coverage, unit test allocators and equality * fix Uri.Match optional arg * fix coverage again * Fix Pointer::Append() crash for custom allocator on Windows Fix Tencent#1899 * equiv fix for issue 1899 * Uri Parse improvements * Fix small errors in dtoa output for certain doubles * Fix RawNumber for longer char types * Added typename * Using unsigned for WIStreamWrapper * Do not depend on c++11 conditional * Use rapidjson internal::SelectIf * No default template parameter for older compilers * No default template parameter for older compilers * Correct WIStreamWrapper * typo on documentation dom.zh-cn.md: "己于" -> "已于" * fix the warning * Support CMake none targets When trying to import rapidjson with for exemple : fetchcontent_declare(rapidjson GIT_REPOSITORY https://github.com/Tencent/rapidjson.git) if your CMake/Clang is "bare metal", exemple given : set(CMAKE_SYSTEM_NAME none) set(CMAKE_SYSTEM_PROCESSOR x86_64) set(CMAKE_C_COMPILER_TARGET x86_64-elf-none) set(CMAKE_CXX_COMPILER_TARGET x86_64-elf-none) CMake fails to process CMakeLists.txt because of the switch on UNIX/CYGWIN/WIN32 for install directory. Error is: CMake Error at cmake-build-debug-clang/_deps/rapidjson-src/CMakeLists.txt:244 (INSTALL): INSTALL FILES given no DESTINATION! * Resolve issue 1948 Correct instances of >> as they failed compilation. * Add files via upload * use softintrin on arm64ec * Sanitize the code in schema.h * Fix the alignment of placement new buffer for GenericValue. When using operator[] on a GenericValue type clang-tidy complains, appropriately, about the alignment of the buffer used for placement-new of the "dummy" GenericValue. * Revert "Fix the alignment of placement new buffer for GenericValue." * Fix the alignment of placement new buffer for GenericValue. When using operator[] on a GenericValue type clang-tidy complains, appropriately, about the alignment of the buffer used for placement-new of the "dummy" GenericValue. * Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespace `RAPIDJSON_DEFAULT_ALLOCATOR` uses names in the namespace `RAPIDJSON_NAMESPACE`. Replace this with a name starting in the global namespace. * Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any namespace RAPIDJSON_DEFAULT_STACK_ALLOCATOR uses names in the namespace `RAPIDJSON_NAMESPACE`. Replace this with a name starting in the global namespace. * Allow access to the template parameter StackAllocator in the GenericDocument Add the typedef declaration `StackAllocatorType` to the class template `GenericDocument`. This allows the user to access the template parameter `StackAllocator`. * fix shadowed variable * fix shadowed variable, take 2 * 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 * encdedstreamtest: fix use-after-free compile error with gcc-12 * Avoid exit-time destructors. operator[]() was recently changed to use the existing code in order to correctly align the returned pointer; however this broke -Wexit-time-destructors. Change to a method that is still correctly aligned but does not generate a destructor. * Avoid exit-time destructors. operator[]() was recently changed to use the existing code in order to correctly align the returned pointer; however this broke -Wexit-time-destructors. Change to a method that is still correctly aligned but does not generate a destructor. * Include conceptual change from PR 2001. * Try to fix MSVC build. * Make schema dtor robust against exceptions * fixes for natvis * gate definition of symmetric equality operators on impl, not lib These operators call themselves recursively if C++20 semantics are present in the compiler, regardless of standard library support for the operator; therefore the test should be on __cpp_impl_three_way_comparison, not __cpp_lib_[...]. This fixes the Value.EqualtoOperator test when the language standard is set to C++20 and the standard library does not yet define the library support macro. * delete unused variable * docs: fix simple typo, perecent -> percent There is a small typo in test/unittest/pointertest.cpp. Should read `percent` rather than `perecent`. Signed-off-by: Tim Gates <tim.gates@iress.com> * Update allocators.h Fixing compiler error on older compilers, such as SLED 11.0. cd rapidjson-master g++ -Wall -m32 -ggdb -Iinclude -O1 ./example/simpledom/simpledom.cpp -o simpledom 2>&1 | tee out.txt Changed SIZE_MAX to std::numeric_limits<size_t>::max() in code to get rid of SIZE_MAX error. * Update dtoa.h Fixed DigitGen to use proper suffix for uint64_t numeric types. Change from U suffix to ULL suffix. On SLED 11.0 compiler, code would not compile. cd rapidjson-master g++ -Wall -m32 -ggdb -Iinclude -O1 ./example/simpledom/simpledom.cpp -o simpledom 2>&1 | tee out.txt * initial * corrections * add dump of unexpected schema errors in schematest.cpp * correct address.json so tests pass * remove unnecessary templating from schema tests * fix build break * tidy up after merge from master * attempt to fix SEH * small corrections for schema.h * code & tests for openapi 2.0 & 3.0 suppprt * review comment updates * do not define operator!= in C++20 A change to the semantics of equality operator rewriting in C++20 (P2468R2: The Equality Operator You Are Looking For) means that operator== may not be rewritten with reversed operands if operator!= is also defined. Since operator!= can normally be synthesized from operator== regardless in this language standard, we can and should avoid defining those when the new language semantics are available. This fixes the compilation of tests (and probably consuming code) in C++20 onwards for compilers that implement this new semantic, including recent nightly builds of clang-16. Reference: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2468r2.html * fix a typo in error.h: literial -> literal * fix #1 * Suppress uritest * Use passed in allocator. * CMakeLists: fix optflags for ppc * Resolve conflict with Windows header about max macro * Eliminate missing prototypes warning * Check for __GNUC__ definition Wrap code checking against __GNUC__ to ensure it is defined. This can cause errors with compilers which do not define this preprocessor value. * Avoid ptrdiff between pointers to different allocations When using running both Undefined Behavior Sanitizer (UBSan) and Hardware-Assisted Address Sanitizer (HWASan) on Fuchsia, ubsan complained about a pointer overflow when computing the new token->name pointer. This happens because the initial pointer diff takes the offset between two allocations with different tags, so the arithmetic results in a very large diff that gets added to the original token->name ptr which overflows. Any arithmetic between pointers to two allocations is unspecified behavior, so hwasan+ubsan is catching a bug here. It looks like rapidjson is just attempting to update the name pointers to strings copied into the new nameBuffer_ via this arithmetic, but since these strings and the tokens are in the same buffer, the offset between them should be the same. For each token we can just get this offset and adjust the new name pointers accordingly which avoids the bad arithmetic. * Stringify NaN, Inf as null if needs * Remove empty cross-reference in comment Remove useless comment block which owns a '\see' cross-reference, but doesn't provide any data after it. This empty cross-reference triggers a compiler warning. Change-Id: I5c01d57579e5efedcb4bf17b80b06db313a61ab3 * Fixing printf format warning In the BigNestedObject test case of valuetest.c, a dynamically defined format is used that depends on the signedness of the 'SizeType' type. This allows the 'sprintf' function to use the correct format for 'SizeType'. Change-Id: I97222b699bda6c0ccfc9abbc5977c79e16605f2c * Eliminate old style cast warning Use static_cast to replace old style cast. Change-Id: I30e659c8f2aadc02750555b0f041bfd2e1c8004a * Rename to fix allocator shadowing The identifier 'allocator' in the RapidJSON StdAllocator class declaration shadows the identifier 'allocator' in the std::allocator class. To fix this, rename the 'allocator' identifier in the StdAllocator class declaration to a different name. * Fix: 'Stringify NaN, Inf as null' The code path where 'null' is written was never reached when 'writeFlags == kWriteNanAndInfNullFlag' * unit tests for 'Stringify NaN, Inf as null' * Fix object hashing in schema * Fix swapped high and low offset basis values * Add Hasher tests for objects where key eq value * Use correct format for printf Change the printf format from '%d' to '%u', matching the type of the arguments. * Fix schema regex preprocessor include logic * Fix comparision of two doubles One of multipleOf test failed because most floating-point numbers end up being slightly imprecise. And, the check of multipleOf with two double numbers using the dividend (a) and the result of multiplying the multiple after rounding down by the divisor (floor(|a|/|b|)*b) to compare. Change to using std::numeric_limits::epsilon to check the error of the division result. * Fix static_cast in regex.h In the constructor for GenericRegexSearch, there was an issue with a static_cast casting the result of the Malloc call. The issue was that the stateSet_ member is of type uint32_t*, and there was an attempt to assign an unsigned* to it. On some systems, uint32_t is not equivalent to unsigned, thus yielding a compile error for assigning pointers of different type. Change-Id: I5b5036100305510b83cc4893b784a2dc9f3e4849 * tests: Only run valgrind tests if valgrind was found valgrind is not present on all architectures (eg riscv64) and might not be installed even on supported architectures. Signed-off-by: Richard W.M. Jones <rjones@redhat.com> * fix Visual Studio 2022 (using /std:c++20) warning warning C5232: in C++20 this comparison calls ... recursively * Add RAPIDJSON_BUILD_CXX20 option The travis/appveyor files are updated to reference this option, but it is not yet enabled in any of the build configurations. * rapidjson.h: add forgotten ppc64 case * Minifiy * Kythera changes * Use correct case --------- Signed-off-by: Ross Younger <crazyscot@gmail.com> Signed-off-by: Gao Mingfei <mingfei.gao@ucloud.cn> Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com> Signed-off-by: Tim Gates <tim.gates@iress.com> Signed-off-by: Richard W.M. Jones <rjones@redhat.com> Co-authored-by: Etienne Laurin <etienne.laurin@gonitro.com> Co-authored-by: Milo Yip <miloyip@gmail.com> Co-authored-by: Eric Rannaud <e@nanocritical.com> Co-authored-by: zhao xin <esrrhs@163.com> Co-authored-by: Ross Younger <crazyscot@gmail.com> Co-authored-by: fredgan <ganshaolong@vip.qq.com> Co-authored-by: VeekXT <veekxt@gmail.com> Co-authored-by: Charles Milette <me@charlesmilette.net> Co-authored-by: piratf <piratf.me@gmail.com> Co-authored-by: Joshua Watt <JPEWhacker@gmail.com> Co-authored-by: PhoebeHui <v-phma@microsoft.com> Co-authored-by: xpahos <xpahos@gmail.com> Co-authored-by: Tim Gates <tim.gates@iress.com> Co-authored-by: mdamle <makarand.damle@gmail.com> Co-authored-by: Jun <junhe@apache.org> Co-authored-by: Jun He <jun.he@arm.com> Co-authored-by: Romain Geissler @ Amadeus <romain.geissler@amadeus.com> Co-authored-by: Nikolay <211292+kolya7k@users.noreply.github.com> Co-authored-by: 仓鼠 <zhuxx2003@gmail.com> Co-authored-by: ioannis-e <ioannis-e@users.noreply.github.com> Co-authored-by: Matteo Settenvini <matteo@member.fsf.org> Co-authored-by: Gao Mingfei <mingfei.gao@ucloud.cn> Co-authored-by: Gustav <sir.gustav.the.coder@gmail.com> Co-authored-by: Gaspard Petit <gpetit@eidosmontreal.com> Co-authored-by: Lars Klein <lars.klein@deepl.com> Co-authored-by: escherstair <ernestviga@gmail.com> Co-authored-by: Pave Pimenov <pavel.pimenov@gmail.com> Co-authored-by: Silas S. Brown <ssb22@cam.ac.uk> Co-authored-by: Xuanyi Zhou <zxy19980101@sina.cn> Co-authored-by: Krystian Chmura <krystian.chmura@gmail.com> Co-authored-by: Steve Hanson <smh@uk.ibm.com> Co-authored-by: Laurent Stacul <laurent.stacul@amadeus.com> Co-authored-by: ylavic <ylavic.dev@gmail.com> Co-authored-by: Hendrik Muhs <hendrik.muhs@gmail.com> Co-authored-by: N. Kolotov <n.kolotov@outlook.com> Co-authored-by: Saurabh Charde <saurabhchardereal@gmail.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: jack_perisich <jackperisich@gmail.com> Co-authored-by: Kyrega <philipp.stefan.womser@sap.com> Co-authored-by: Andrew <920076768@qq.com> Co-authored-by: Ivan Le Lann <ivan.lelann@gmail.com> Co-authored-by: ardb-uk <59880669+ardb-uk@users.noreply.github.com> Co-authored-by: jedwards <jonathan_edwards@mcafee.com> Co-authored-by: Malcolm Tyrrell <matyrr@microsoft.com> Co-authored-by: Adam Calhoon <adam.calhoon@ready-robotics.com> Co-authored-by: agate-pris <agate-pris@users.noreply.github.com> Co-authored-by: Leonid Terenin <leonid.terenin@mujin.co.jp> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Tom Briden <tom@decompile.me.uk> Co-authored-by: Peter Kasting <pkasting@chromium.org> Co-authored-by: Johnny Shaw <johnny.shaw@live.com> Co-authored-by: Kent Ross <k@mad.cash> Co-authored-by: jwillcox-telework <65623287+jwillcox-telework@users.noreply.github.com> Co-authored-by: Tana0910 <32482176+Tana0910@users.noreply.github.com> Co-authored-by: supperpiccle <cpluspluspython@gmail.com> Co-authored-by: Sergey Fedorov <vital.had@gmail.com> Co-authored-by: Flaviu_ <37621568+flaviu22@users.noreply.github.com> Co-authored-by: Albert Hung <albert.hung@garmin.com> Co-authored-by: Leonard Chan <leonardchan@google.com> Co-authored-by: Jihadist <tomasiche@gmail.com> Co-authored-by: Jeroen Doggen <jeroendoggen@gmail.com> Co-authored-by: Aikawa Yataro <aikawayataro@protonmail.com> Co-authored-by: Esther Wang <esther.wang@garmin.com> Co-authored-by: Bryant Ferguson <bryant.s.ferguson@gmail.com> Co-authored-by: Dylan Burr <dylan.burr@garmin.com> Co-authored-by: Richard W.M. Jones <rjones@redhat.com> Co-authored-by: Gilles Vollant <info@winimage.com> Co-authored-by: Brian Rogers <bobbymcr@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://oracle.fly-server.ru/pvs-studio/rapidjson/
The text was updated successfully, but these errors were encountered: