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
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
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
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
Milo Yip
c76ebf98de
Merge pull request #698 from jseward/master
...
Add std::string overload to PrettyWriter::Key() when RAPIDJSON_HAS_STDSTRING is #defined
2016-07-27 16:46:31 +08:00
Jamie Seward
78a7ecb946
Add std::string overload to PrettyWriter::Key() when RAPIDJSON_HAS_STDSTRING is #defined
...
Only String() has the std::string overload currently.
2016-07-26 22:35:46 -07:00
Milo Yip
67d8a99477
Merge pull request #691 from miloyip/issue682_mallocfail
...
Handle malloc() fail in PoolAllocator
2016-07-23 10:31:55 +08:00
Milo Yip
332b61fe41
Handle malloc() fail in PoolAllocator
...
Fix #682
2016-07-21 17:25:17 +08:00
Milo Yip
2f751650e2
Merge pull request #690 from fuzhufang/master
...
optimize FindMember when use std::string
2016-07-21 11:37:33 +08:00
Milo Yip
99ba17bd66
Merge pull request #689 from miloyip/issue684_flush
...
Add Flush() for all value types
2016-07-21 10:59:57 +08:00
Milo Yip
db6a6f3f64
Add Flush() for all value types
...
Fixes #684
2016-07-21 09:33:00 +08:00
fuzhufang
b67ff2fb11
if define RAPIDJSON_HAS_STDSTRING, FindMember use std::string, but it
...
also use internal::StrLen to get the string lengtht,
when it call FindMember(StringRef(name)).
Now use GenericValue construct it, then can use the std::string.size.
now it will be faster.
2016-07-14 17:50:48 +08:00
Milo Yip
369de87e5d
Merge pull request #681 from niukuo/master
...
fix rapidjson::value::Get<std::string>() may returns wrong data
2016-07-11 16:05:38 +08:00
yiteng.nyt
8c43554de6
fix rapidjson::value::Get<std::string>() may returns wrong data
...
Change-Id: Ia7325edb437e3039e29223d0ecc4d9c83d824bc0
2016-07-11 12:38:10 +08:00
Milo Yip
5e8a382c19
Merge pull request #674 from sjasonsmith/master
...
Make GenericSchemaDocument constructor explicit
2016-07-02 21:00:47 +08:00
Jason Smith
899156172d
Make GenericSchemaDocument constructor explicit
...
Prior to this change, a user could incorrectly pass a Document object to
SchemaValidator. This would implicitly construct a SchemaDocument, which
would then be destructed before the validator was used. This caused
unpredictable results including memory corruption and program crashes.
2016-07-01 06:59:07 -07:00
Milo Yip
727e2b958d
Merge pull request #673 from sjasonsmith/master
...
Fix buffer overrun using PutN (closes #672 )
2016-07-01 17:44:01 +08:00