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
Milo Yip
3f23397596
Remove unncessary std::move()
...
Fixes #762
2016-10-05 15:02:31 +08:00
Milo Yip
11df748a3b
Revert "Another try for fixing schema.md"
...
This reverts commit c490d880a3e18d315af0afbe5e8b54c7179d6df0.
2016-10-05 10:21:45 +08:00
Milo Yip
c490d880a3
Another try for fixing schema.md
2016-10-05 09:41:56 +08:00
Milo Yip
a3300bf4b1
Fix schema.zh-cn.md
2016-10-05 09:21:06 +08:00
Milo Yip
ba56498d10
Merge pull request #760 from icechen1/patch-1
...
FIx typo in documentation
2016-10-05 09:19:38 +08:00
Yu Chen Hou
48f8364f65
FIx typo in documentation
...
The use of the vertical bar seems to break the rendering of the table in the documentation here:
http://rapidjson.org/md_doc_schema.html
Seems like we can fix it by using html encoding for the vertical bars as described in this post:
http://stackoverflow.com/questions/17319940/how-to-escape-a-pipe-char-in-a-code-statement-in-a-markdown-table/17320389#17320389
2016-10-04 14:07:50 -07:00
Milo Yip
b4dae2b77d
Merge pull request #755 from AdamMajer/fix_old_gcc
...
Fix compilation with older GCC versions
2016-10-01 15:46:21 +08:00
Patrick Cheng
95224aff7d
When length is 0, the code does nothing, so skip it completely.
...
Previously, os.Push(0) would do nothing as well. But with the newly added assertion, is the stack is empty, it will fail the assertion.
2016-09-30 13:44:15 -07:00
Patrick Cheng
91a803d463
Reserve() is sometimes called when stackTop_ is null. The assert is invalid.
2016-09-30 11:12:23 -07:00
Patrick Cheng
9d8df28c1d
added assertion to help suppress clang warnings
2016-09-30 10:47:00 -07:00
Adam Majer
cb017cbf5e
Fix compilation with older GCC versions
...
Older GCC versions fail compiling RapidJSON due to a warning
include/rapidjson/reader.h:578: error: suggest a space before ';' or explicit braces around empty body in 'while' statement
: warnings being treated as errors
2016-09-30 17:10:04 +02:00
Milo Yip
ffc7942857
Merge pull request #750 from bennyyip/master
...
fix #749
2016-09-25 21:30:39 +08:00
BennyYip
6a15e40b6e
fix #749
2016-09-25 21:16:26 +08:00
Sfinktah Bungholio
51a31ce006
Fix for winmindef.h defining min/max macros
2016-09-25 20:36:33 +10:00
Milo Yip
7a39172771
Merge pull request #746 from miloyip/issue744_stringbuffergetlength
...
Add StringBuffer::GetLength()
2016-09-22 19:04:35 +08:00
Milo Yip
5cd62c235d
Add StringBuffer::GetLength()
...
Fix #744
2016-09-22 18:11:22 +08:00
Milo Yip
0761ac126b
Remove lambda expression in (pretty)writertest
2016-09-21 21:49:49 +08:00
Milo Yip
f28203c7a1
Fix #741
2016-09-21 11:09:04 +08:00
Milo Yip
185a7cc210
Merge pull request #740 from CreoValis/writer-move-ctor
...
Move constructor support for Writer
2016-09-20 09:35:33 +08:00
Tallódi Mihály
1a64cd0997
Tests for Writer, PrettyWriter move constructors
2016-09-19 22:13:33 +02:00
Tall??di Mih??ly
62dc1077eb
Move constructor support for PrettyWriter
2016-09-19 21:47:27 +02:00
Tall??di Mih??ly
307e021606
Move constructor support for Writer
...
This also requires turning off the c++98 compatibility checks when building
with clang.
2016-09-19 21:47:27 +02:00
Milo Yip
52682115fb
Merge pull request #739 from miloyip/issue728_threadsafe
...
Refactor regex
2016-09-16 13:36:36 +08:00
Milo Yip
769185d68b
Refactor regex
...
Remove mutable which causes reentrant issue
2016-09-16 12:13:02 +08:00
Milo Yip
328ead0e17
Merge pull request #732 from miloyip/issue731_writerstringassert
...
Add preconditions in writer and string functions
2016-09-03 23:53:40 +08:00
Milo Yip
3e2172bd52
Add preconditions in writer and string functions
2016-09-03 23:37:00 +08:00
Milo Yip
8979c14fb6
Merge branch 'master' into issue716_parsebyparts
2016-09-03 23:24:56 +08:00
Milo Yip
9f66882898
Merge pull request #730 from myd7349/master
...
Fix typo in doc
2016-09-02 17:49:20 +08:00
myd7349
6023ed3a0c
Fix typo in doc
2016-09-02 17:35:40 +08:00