- 10 Jul, 2018 1 commit
-
-
Christopher Warrington authored
Sometimes, particularly when Microsoft's windows.h is included, min/max are defined as macros, interfering with use of std::numeric_limits::min() and the like. To guard against this, the function name is wrapped in an extra set of parenthesis, which inhibits function-style macro expansion. This is a similar commit to 6e38649e, but fixes uses of std::numeric_limits added after that commit, like those introduced in 2ea43433.
-
- 03 Jul, 2018 3 commits
-
-
Milo Yip authored
Detect C++11 features for Developer Studio
-
Erik Froseth authored
This patch enables various C++11 features if the code is compiled with Developer Studio compiler version 5.14 or higher.
-
Milo Yip authored
Rename a few internal preprocessor macros to avoid naming conflicts
-
- 02 Jul, 2018 1 commit
-
-
Romain Moret authored
-
- 19 Jun, 2018 1 commit
-
-
Milo Yip authored
Unit Test: Parsing "128.74836467836484838364836483643636483648e-336" causes a crash
-
- 18 Jun, 2018 1 commit
-
-
Milo Yip authored
Unit Test: Parsing "0e100" in full precision mode causes UB
-
- 17 Jun, 2018 1 commit
-
-
Milo Yip authored
Fix strtod
-
- 16 Jun, 2018 7 commits
- 15 Jun, 2018 18 commits
-
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
=D
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
-
abolz authored
Do not use an approximation to do this. Instead check if the result is Inf.
-
abolz authored
If the buffer only contains zeros, return 0.
-
abolz authored
-
abolz authored
-
abolz authored
-
- 14 Jun, 2018 1 commit
-
-
Milo Yip authored
MSVC: Autodetect RAPIDJSON_HAS_CXX11_NOEXCEPT, RAPIDJSON_HAS_CXX11_TYPETRAITS
-
- 13 Jun, 2018 1 commit
-
-
Marian Klymov authored
-
- 02 Jun, 2018 1 commit
-
-
Milo Yip authored
Avoid `MissingProperty` Error from `SchemaValidator` when a none-zero length value is given as `default` for the property
-
- 01 Jun, 2018 2 commits
-
-
bogaotory authored
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`
-
bogaotory authored
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
-
- 20 May, 2018 1 commit
-
-
Milo Yip authored
Prevent int underflow when parsing exponents
-
- 16 May, 2018 1 commit
-
-
Florin Malita authored
When parsing negative exponents, the current implementation takes precautions for |exp| to not underflow int. But that is not sufficient: later on [1], |exp + expFrac| is also stored to an int - so we must ensure that the sum stays within int representable values. Update the exp clamping logic to take expFrac into account. [1] https://github.com/Tencent/rapidjson/blob/master/include/rapidjson/reader.h#L1690
-