Milo Yip
0163a53f4a
Merge pull request #841 from StilesCrisis/improve-unit-test-reporting
...
Improved reporting
2017-02-06 09:15:05 +08:00
StilesCrisis
a11ec69796
More C++98 fixes
2017-02-04 01:18:46 -08:00
StilesCrisis
6288d95d1e
SimplePullReader C++98 support
...
std::to_string can’t be used because it requires C++11.
2017-02-04 01:07:00 -08:00
StilesCrisis
4232e407f4
Clean up example code
2017-02-04 00:47:43 -08:00
StilesCrisis
d84d5fe055
Add example SimplePullHandler code
...
Example code to demonstrate how the token-pulling reader can be used.
2017-02-04 00:41:34 -08:00
StilesCrisis
4394b3bac7
Add LIKELY and UNLIKELY hints
...
Doesn’t seem to affect timings in perftest on my machine, but it may
help others.
2017-02-04 00:05:34 -08:00
StilesCrisis
82a423db7d
Added unit test for pull parsing
...
New unit test which ensures that IterativeParseNext always generates
exactly one element at a time, and that calling IterativeParseNext on a
complete document is harmless and generates zero events.
2017-02-03 21:12:53 -08:00
StilesCrisis
116f65994b
Improve coverage and performance
...
Further improvement to perftest and hoping to make coveralls happy.
2017-02-03 18:58:37 -08:00
StilesCrisis
5de7258478
Improve performance
...
Slight performance improvement over previous submission
2017-02-03 17:14:14 -08:00
StilesCrisis
1a7c5ea517
Fix Dev Studio bool-conversion warning
2017-02-03 00:29:43 -08:00
StilesCrisis
20f5caa8f6
Token-by-token pull parsing
...
Refactored the iterative parser so that users can parse a single JSON
element at a time (invoking the handler one time) and then return
control to the calling code. Call IterativeParseInit to start, and then
call IterativeParseNext to retrieve one JSON element. Use
IterativeParseComplete to check for JSON document completion.
2017-02-02 23:25:29 -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