1961 Commits

Author SHA1 Message Date
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
Milo Yip
cdb3454283 Merge pull request #723 from niukuo/master
fix wrong length in remote schema
2016-09-01 10:04:35 +08:00
niukuo
250cf666d3 fix wrong length in remote schema
Change-Id: Ia96ddf5746f1c18968e9e086f17fe4a24b8480d7
2016-08-31 16:26:27 +08:00
Milo Yip
9bd618f545 Merge pull request #719 from yachoor/remove_broken_assignment
Remove non-compiling assignment operator
2016-08-29 10:30:04 +08:00
Milo Yip
0f9dbe0a9c Defer thread creation in parsebypart example 2016-08-29 10:17:57 +08:00
Janusz Chorko
862c39be37 Explicitly disable copy assignment operator 2016-08-26 21:26:50 +02:00
Janusz Chorko
3b2441b87f Removed non-compiling assignment operator. Fixed #718 2016-08-26 21:17:38 +02:00
Milo Yip
f54b0e47a0 Merge pull request #714 from miloyip/version1.1.0
Version 1.1.0
v1.1.0
2016-08-25 15:59:05 +08:00
Milo Yip
17254e090e Version 1.1.0
Change version numbers
Fixed some document linkage
Fix #648
2016-08-25 14:35:17 +08:00
Milo Yip
ab791ae90c Merge pull request #703 from jmallach/master
Fix builds on x32 platform.
2016-08-02 10:47:00 +08:00
Jordi Mallach
323a0dce43 Fix builds on x32 platform.
From the Debian wiki: https://wiki.debian.org/X32Port

X32 is an ABI for amd64/x86_64 CPUs using 32-bit integers, longs
and pointers. The idea is to combine the smaller memory and cache
footprint from 32-bit data types with the larger register set of
x86_64. The 64-bit registers can make computation more efficient,
and with 8 additional registers available, there is less pressure
compared to i386/i686.

rapidjson makes an incorrect assumption in a check for 64 bit
platforms, and uses __LP64__ exclusively. This fix adds an
additional check for __x86_64__ && __ILP32__ defines, as a very
conservative fix. However, the usage of __LP64__ would be a problem
for other "mixed" applications like ARM ILP32, so a better detection
scheme might be needed in the future.
2016-08-01 14:25:50 +02:00
Milo Yip
fedae8552a Remove google analytics 2016-08-01 09:21:31 +08:00
Milo Yip
6d9ab582b2 Fix doxygen build 2016-07-29 15:27:32 +08:00
Milo Yip
319248eb52 Remove disqus in documentation 2016-07-29 14:49:08 +08:00