Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-23Update dtoa.hHEADmasterjwillcox-telework
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
2022-08-23Update allocators.hjwillcox-telework
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.
2022-07-20docs: fix simple typo, perecent -> percentTim Gates
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>
2022-05-24delete unused variableKent Ross
2022-05-24gate definition of symmetric equality operators on impl, not libKent Ross
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.
2022-05-21fixes for natvisJohnny Shaw
2022-05-21Make schema dtor robust against exceptionsJohnny Shaw
2022-05-19Try to fix MSVC build.Peter Kasting
2022-05-19Include conceptual change from PR 2001.Peter Kasting
2022-05-19Avoid exit-time destructors.Peter Kasting
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.
2022-05-19Avoid exit-time destructors.Peter Kasting
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.
2022-05-16encdedstreamtest: fix use-after-free compile error with gcc-12Tom Briden
2022-05-16valuetest: fix potential write of terminating nul past the end of the ↵Tom Briden
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
2022-04-06Merge pull request #2008 from agate-pris/access-to-allocator-typesMilo Yip
Access to allocator types
2022-04-06Merge pull request #2014 from lazydroid/dev/lenik/fix_shadowed_variablesMilo Yip
fix shadowed variable
2022-04-06fix shadowed variable, take 2Leonid Terenin
2022-04-06fix shadowed variableLeonid Terenin
2022-03-18Allow access to the template parameter StackAllocator in the GenericDocumentagate-pris
Add the typedef declaration `StackAllocatorType` to the class template `GenericDocument`. This allows the user to access the template parameter `StackAllocator`.
2022-03-18Allow the macro RAPIDJSON_DEFAULT_STACK_ALLOCATOR to be used in any namespaceagate-pris
RAPIDJSON_DEFAULT_STACK_ALLOCATOR uses names in the namespace `RAPIDJSON_NAMESPACE`. Replace this with a name starting in the global namespace.
2022-03-18Allow the macro RAPIDJSON_DEFAULT_ALLOCATOR to be used in any namespaceagate-pris
`RAPIDJSON_DEFAULT_ALLOCATOR` uses names in the namespace `RAPIDJSON_NAMESPACE`. Replace this with a name starting in the global namespace.
2022-03-09Merge pull request #1969 from MalcolmTyrrell/MalcolmTyrrell/sanitizeSchemaCodeMilo Yip
Sanitize the code in schema.h
2022-03-08Merge pull request #1989 from adamcalhoon/really-fix-placement-new-alignmentMilo Yip
Fix the alignment of placement new buffer for GenericValue.
2022-02-09Fix the alignment of placement new buffer for GenericValue.Adam Calhoon
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.
2022-02-09Merge pull request #1988 from Tencent/revert-1987-fix-placement-new-alignmentMilo Yip
Revert "Fix the alignment of placement new buffer for GenericValue."
2022-02-09Revert "Fix the alignment of placement new buffer for GenericValue."Milo Yip
2022-02-09Merge pull request #1987 from adamcalhoon/fix-placement-new-alignmentMilo Yip
Fix the alignment of placement new buffer for GenericValue.
2022-02-08Fix the alignment of placement new buffer for GenericValue.Adam Calhoon
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.
2021-11-24Merge pull request #1944 from ilelann/patch-1Milo Yip
Support CMake none targets
2021-11-17Sanitize the code in schema.hMalcolm Tyrrell
2021-10-31Merge pull request #1961 from jedwardsol/issue1960_arm64ec_intrinsicMilo Yip
use softintrin on arm64ec
2021-10-30use softintrin on arm64ecjedwards
2021-10-15Merge pull request #1949 from ardb-uk/masterMilo Yip
Resolving issue #1948
2021-10-12Merge pull request #1 from ardb-uk/ardb-uk-patch-1ardb-uk
Resolve issue 1948
2021-10-12Merge pull request #2 from ardb-uk/ardb-uk-patch-1-1ardb-uk
Resolved issue #1948
2021-10-12Add files via uploadardb-uk
2021-10-12Resolve issue 1948ardb-uk
Correct instances of >> as they failed compilation.
2021-10-02Support CMake none targetsIvan Le Lann
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!
2021-09-24Merge pull request #1940 from smhdfdl/issue-1924Milo Yip
Issue 1924 - stop erroneous compiler warnings
2021-09-24fix the warningSteve Hanson
2021-09-24Merge pull request #1941 from DiamondI/patch-1Milo Yip
typo on documentation dom.zh-cn.md: "己于" -> "已于"
2021-09-24typo on documentation dom.zh-cn.md: "己于" -> "已于"Andrew
2021-09-23Merge branch 'master' of https://github.com/Tencent/rapidjsonSteve Hanson
2021-08-13Merge pull request #1926 from Kyrega/masterMilo Yip
Fix RawNumber for characters with sizeof(Ch) > sizeof(char)
2021-08-10Correct WIStreamWrapperKyrega
2021-08-10No default template parameter for older compilersKyrega
2021-08-10No default template parameter for older compilersKyrega
2021-08-10Use rapidjson internal::SelectIfKyrega
2021-08-10Do not depend on c++11 conditionalKyrega
2021-08-10Using unsigned for WIStreamWrapperKyrega
2021-08-10Added typenameKyrega