1803 Commits

Author SHA1 Message Date
ylavic
b977fd3c9d Missing "internal" namespace for StrLen
include/rapidjson/pointer.h:243:40: error: 'StrLen' was not declared in this scope
         return Append(name, StrLen(name), allocator);
2017-02-24 16:46:53 +01:00
Milo Yip
0eaa0d288c Merge pull request #862 from StilesCrisis/nan-inf-parse-fix
NaN/Inf parse fix
2017-02-24 09:47:11 +08:00
StilesCrisis
5e785d3db2 Fix parsing of NaN/Inf
A failed half-consume of “NaN” now returns “value invalid” instead of
attempting to consume an “Inf”.
2017-02-23 00:11:12 -08:00
StilesCrisis
c4117c68cc Put in unit tests to catch parser failure
Noticed that the reader could over-consume “NaN” if token terminated in
the middle.
2017-02-22 21:54:31 -08:00
John Stiles
933eb839d9 Merge remote-tracking branch 'miloyip/master' 2017-02-06 21:11:55 -08:00
Milo Yip
0163a53f4a Merge pull request #841 from StilesCrisis/improve-unit-test-reporting
Improved reporting
2017-02-06 09:15:05 +08:00
StilesCrisis
6769f3e33e Improved reporting
Add “filename” to the error message when JsonChecker reports an error.
2017-02-02 23:18:07 -08:00
Milo Yip
738864c53c Remove non-ASCII character
Fix #824
2017-01-24 15:08:38 +08:00
Milo Yip
3693e942b7 Fix output character type in writers 2017-01-24 14:54:50 +08:00
Milo Yip
942bb46088 Merge pull request #827 from lichray/fix-signed
Treat signed-unsigned conversions as errors.
2017-01-24 14:35:17 +08:00
Milo Yip
265fb6ee88 Fix #831 RAPIDJSON_HAS_CXX11_RANGE_FOR is error defined 2017-01-24 09:28:52 +08:00
Zhihao Yuan
3cc77d5d63
Treat signed-unsigned conversions as errors. 2017-01-18 18:09:18 -06:00
Milo Yip
835f2f4a79 Update Doxyfile.zh-cn.in
Change internals from English to Chinese
2016-12-31 14:51:07 +08:00
Milo Yip
e61b66c38a Merge pull request #816 from SuperSodaSea/master
Translate doc/internals.md into Chinese
2016-12-31 14:49:51 +08:00
SuperSodaSea
dba9816009 Translate doc/internals.md Part 2 2016-12-31 11:23:05 +08:00
SuperSodaSea
af4ec9b7e9 Translate doc/internals.md Part 1 2016-12-30 23:12:41 +08:00
Milo Yip
03a7391049 Merge pull request #757 from patcheng/feature/fix_clang_warning
added assertion to help suppress clang warnings
2016-12-23 10:00:30 +08:00
Milo Yip
369e07d1c9 Merge pull request #811 from glebov-andrey/improved_new_macro
Improved customization of RAPIDJSON_NEW macro
2016-12-23 09:59:31 +08:00
Andrey Glebov
41ceb8624f - replaced RAPIDJSON_NEW with C++98 compatible version 2016-12-21 14:03:53 +03:00
Andrey Glebov
3f120caeef - replaced RAPIDJSON_NEW calls in fwdtest.cpp 2016-12-21 10:41:06 +03:00
Andrey Glebov
9fe93bb984 - replaced RAPIDJSON_NEW macro with variadic varient 2016-12-21 10:17:25 +03:00
Milo Yip
014097e51a Merge pull request #800 from ivankravets/patch-3
Update version to 1.1.0
2016-11-28 20:18:54 +08:00
Ivan Kravets
ba34c94533 Update version to 1.1.0 2016-11-28 12:53:24 +02:00
Milo Yip
0024592c23 Update sax.zh-cn.md 2016-11-21 09:50:59 +08:00
Milo Yip
bff326fb24 Update sax.md 2016-11-21 09:37:02 +08:00
Milo Yip
eb6831a4c2 Merge pull request #790 from SuperSodaSea/master
修复拼写错误
2016-11-05 14:07:45 +08:00
SuperSodaSea
a077baa9c3 修复拼写错误 2016-11-05 11:55:12 +08:00
Milo Yip
fbcd7acfd3 Merge pull request #788 from miloyip/issue786_CopyFrom
Refactor GenericValue deep-clone constructor
2016-10-31 19:49:47 +08:00
Milo Yip
e07d0e9438 Move GenericValue deep-clone constructor into the class declaration. 2016-10-31 18:28:53 +08:00
Milo Yip
95b346c3ca Refactor GenericValue deep-clone constructor 2016-10-31 18:24:17 +08:00
Milo Yip
d57944fc2b Merge pull request #783 from FrozenGene/master
[POWER][XL Compiler] support IBM PowerPC / ppc64 / ppc64le and XL compiler
2016-10-26 20:27:09 +08:00
Wu Zhao
c4db88a314 support IBM PowerPC / ppc64 / ppc64le and XL compiler
Avoid POWER platform compiling error and support IBM XL C++ compiler on
Linux / AIX.
2016-10-26 17:27:54 +08:00
Milo Yip
381d8f85e7 Merge pull request #782 from miloyip/issue781_aix
Remove empty NumberStream::~NumberStream()
2016-10-26 09:28:38 +08:00
Milo Yip
d7dd4106ea Remove empty NumberStream::~NumberStream()
Fix #781
2016-10-25 18:21:01 +08:00
Milo Yip
d6c8b378d4 Merge pull request #777 from miloyip/issue728_threadsafe
Fix nullHandler allocation bug
2016-10-21 17:35:53 +08:00
Milo Yip
992b7f5f8e Fix nullHandler allocation bug 2016-10-21 12:25:37 +08:00
Milo Yip
fba9ebd9bc Merge pull request #776 from miloyip/issue728_threadsafe
Remove singletons in schema classes
2016-10-20 14:01:32 +08:00
Milo Yip
59bcebbf3d Merge pull request #773 from bluehero/master
use _mm_cmpistri
2016-10-18 14:38:39 +08:00
Milo Yip
bf0cc7bea8 Fixed a bug for SchemaDocument move constructor 2016-10-18 13:53:00 +08:00
bluehero
31ace3b767 use _mm_cmpistri 2016-10-18 12:54:42 +08:00
Milo Yip
7c4e511eb0 Change Schema::GetTypeless() from singleton to instance
Now owned by SchemaDocument::typeless_, and be shared to its
Schema::typeless_
2016-10-18 11:37:15 +08:00
Milo Yip
ddbd2ef05d Restore missing deallocation of GenericSchemaValidator::nullHandler_ 2016-10-18 10:14:00 +08:00
Milo Yip
b963eb447b Change SchemaValidator::GetNullHandler() from singleton to instance. 2016-10-17 18:30:18 +08:00
Milo Yip
97fb9bc85b Merge pull request #770 from miloyip/issue728_threadsafe
Fixed another crash bug in #728
2016-10-17 15:35:01 +08:00
Milo Yip
3b1a037499 Merge pull request #748 from sfinktah/sfinktah-minwindef-fix
Fix for winmindef.h defining min/max macros
2016-10-17 14:29:10 +08:00
Milo Yip
517dd4dbb8 Fix failing to resolve $ref in allOf causes crash in SchemaValidator::StartObject() 2016-10-17 14:25:24 +08:00
Milo Yip
9b6af55525 Merge branch 'master' into issue728_threadsafe 2016-10-17 09:50:18 +08:00
Milo Yip
2363227974 Add Value::Value(float) and static_cast for suppressing clang warning 2016-10-14 22:03:54 +08:00
Milo Yip
8eaa122c27 Update dom.zh-cn.md 2016-10-06 13:32:16 +08:00
Milo Yip
94b36dc97e Merge pull request #763 from miloyip/issue762_move
Remove unncessary std::move()
2016-10-05 17:32:16 +08:00