Crunkle
9ce6a7ebb8
Fix processor check when empty
2017-09-02 21:05:00 +01:00
Milo Yip
f05edc9296
Merge pull request #1034 from bluehero/master
...
Allow Swap with ValueType
2017-08-07 16:46:52 +08:00
bluehero
f9004b90c5
modify
2017-08-07 13:09:22 +08:00
bluehero
c831675026
modify
2017-08-07 11:58:37 +08:00
bluehero
5fb06596a9
modify
2017-08-07 11:44:27 +08:00
bluehero
8ba1f84f47
modify unittest
2017-08-05 20:39:31 +08:00
bluehero
9eb7bf895c
add unittest
2017-08-05 18:12:44 +08:00
bluehero
7c1f208253
modify
2017-08-05 16:53:45 +08:00
bluehero
f7dd496cdd
Merge pull request #1 from miloyip/master
...
Update
2017-08-05 14:06:44 +08:00
Milo Yip
d6305514ff
Merge pull request #1030 from bmuzzin/issue1028_natvis
...
Issue #1028 : Visual Studio natvis file.
2017-07-28 10:32:40 +08:00
Bart Muzzin
707fd36afa
Issue #1028 : Visual Studio natvis file.
2017-07-27 22:17:31 -04:00
Milo Yip
c34e3dfc72
Merge pull request #1018 from miloyip/issue1017_allOfHandler
...
Fix #1017 allOf keyword fail with Writer handler
2017-07-13 16:57:56 +08:00
Milo Yip
fcd2e1f60c
Fix #1017 allOf keyword fail with Writer handler
...
Gave up using static binding for null handler, because it cannot be
used with arbitrary handler type. Change `OutputHandler handler_` to
pointer type.
2017-07-13 16:07:36 +08:00
Milo Yip
1a77513e6d
Merge pull request #1013 from pah/fixes/1010-assert-stringref
...
GenericStringRef: move assert out of expression
2017-07-11 10:25:47 +08:00
Milo Yip
2d27ce46bc
Merge pull request #1012 from pah/fixes/993-doxygen-internals
...
travis-doxygen.sh: upgrade to Doxygen 1.8.13
2017-07-11 10:24:55 +08:00
Philipp A. Hartmann
70171f9790
GenericStringRef: move assert out of expression
2017-07-10 22:32:18 +02:00
Philipp A. Hartmann
7161894f40
travis-doxygen.sh: upgrade to Doxygen 1.8.13
...
* Upgrade to the latest Doxygen version 1.8.13
* Drop unused variable DOXYGEN_BIN
* Reenable --single-branch (travis-ci/travis-ci#5225 is closed)
2017-07-10 21:32:16 +02:00
Milo Yip
37ea16df9d
Merge pull request #1009 from pah/setup/travis-trusty
...
Travis: Switch to Ubuntu 14.04 (Trusty)
2017-07-10 10:08:51 +08:00
Milo Yip
f624a3037c
Merge pull request #1010 from pah/fixes/817-stringref-null
...
Improve handling of NULL strings
2017-07-10 10:08:21 +08:00
Milo Yip
73df6c9325
Merge pull request #1008 from pah/fixes/989-parseresult
...
ParseResult: improve bool conversion and add operator!=
2017-07-10 10:07:50 +08:00
Milo Yip
4da20e21c6
Merge pull request #1002 from FluxLemur/patch-1
...
Tutorial: fix typos in examples and broken links
2017-07-10 10:07:02 +08:00
Philipp A. Hartmann
47c3c1ec9f
Improved handling of NULL strings
...
* Safely assert upon passing NULL string without length
(requires usage of RAPIDJSON_ASSERT within an expression)
* Allow using a NULL string together with an explicit length 0
(GenericStringRef, GenericValue::SetString, ...), see #817
* Add GenericValue::SetString(StringRefType, Allocator&) overload
* Add tests for the various cases
2017-07-09 14:46:59 +02:00
Philipp A. Hartmann
f1ba61c7ba
unittest.h: change RAPIDJSON_ASSERT to allow usage in expressions
2017-07-09 14:31:29 +02:00
Philipp A. Hartmann
eefb618ec9
Travis: Switch to Ubuntu 14.04 (Trusty)
2017-07-09 11:40:56 +02:00
Philipp A. Hartmann
14218aeb0a
ParseResult: improve bool conversion and add operator!=
...
* Use safe-bool idiom for boolean conversion to avoid accidental
misuse of ParseResult values (closes #989 )
* Add operator!= to support more comparison expressions
(previously silently/erroneously used operator bool)
2017-07-09 11:13:31 +02:00
Leo Mehr
3aafe12c91
undo changes to links and some minor changes to make the readme more easily readable
2017-06-30 12:42:06 -04:00
Leo Mehr
0d62f5cd35
Tutorial: fix typos in examples and broken links
...
In the move example, the code uses `contacts` when the diagrams use
`contact` (no 's')
The code in the example:
``` Value contacts(kArrayType);
// adding elements to contacts array.
// ...
o.AddMember("contacts", contacts, d.GetAllocator()); // deep clone contacts (may be with lots of allocations)
// destruct contacts.
```
2017-06-29 20:27:23 -04:00
Milo Yip
2f45319b4e
Merge pull request #968 from TomaszNo/icc-preprocessor-guard
...
Intel C++ Compiler preprocessor guard for #pragma intrinsic - diyfp.h
2017-06-28 11:36:55 +08:00
Milo Yip
77ae0b9795
Merge pull request #987 from sledgeh/master
...
Fixed #985 : Unittest failed with MinGWx64. And few small improvement…
2017-06-28 11:36:06 +08:00
Milo Yip
6a8f672ca1
Merge pull request #994 from Chocobo1/svg
...
Improve readme.md
2017-06-21 17:01:54 +08:00
Chocobo1
a31a380cb8
Improve readme.md
...
Add alt text for images
Use https whenever possible
Update URLs
Use tools.ietf.org for RFC7159
Correct indent for sublists
Trim trailing whitespaces
2017-06-21 14:40:46 +08:00
kyb
6e81d49b33
Fixed #985 : Unittest failed with MinGWx64. And few small improvement were done while looking for mistakes.
...
Problem was because of Windows uses backslashes '\', not Unix '/'
2017-06-15 13:24:01 +03:00
Milo Yip
b596f4e990
Merge pull request #977 from miloyip/issue825_patternProperties
...
Fix patternProperties & additionalProperties lead to ASSERT
2017-06-09 15:06:11 +08:00
Milo Yip
df6362d450
Fix patternProperties & additionalProperties lead to ASSERT
...
Fix #825
2017-06-09 10:16:24 +08:00
Milo Yip
342a616a7f
Merge pull request #969 from pah/fixes/962-copy-const-strings
...
Fixup #964 by forwarding copyConstStrings recursively
2017-05-28 14:49:15 +08:00
Philipp A. Hartmann
68c96e987b
Fixup #964 by forwarding copyConstStrings recursively
...
As reported by @Llerd in #962 , the `copyConstStrings` parameter
has not been forwarded recursively to the constructors of
object members and array elements.
2017-05-27 10:26:35 +02:00
Milo Yip
33443e63a9
Merge pull request #967 from TomaszNo/storage-class-first
...
Storage class is not first - encodings.h
2017-05-26 06:25:12 +08:00
Tomasz Noczynski (Linux)
294ad93e30
To avoid Intel C++ Compiler #1879 warnings:
...
warning #1879 : unimplemented pragma ignored: #pragma intrinsic(_BitScanReverse64)
warning #1879 : unimplemented pragma ignored: #pragma intrinsic(_umul128)
2017-05-25 14:14:16 +02:00
Tomasz Noczynski (Linux)
77d2fadfb6
If storage class is not specified as first in declaration then Intel C++ Compiler 2017 generates message:
...
message #82 : storage class is not first
2017-05-25 13:21:57 +02:00
Milo Yip
3202b0a3dd
Merge pull request #964 from pah/fixes/962-copy-const-strings
...
GenericValue::CopyFrom: add option to force copying of strings
2017-05-19 09:47:15 +08:00
Philipp A. Hartmann
4ef1ff4fba
GenericValue::CopyFrom: add option to force copying of strings
...
Copying the result of an in-situ parsing into another value/document
currently requires that the original buffer - still holding the strings
from the parsing, outlives the destination object as well.
In order to obtain a "full" copy of a GenericValue, this commit adds
an optional flag `copyConstStrings` to `CopyFrom`, which then forces
to take a copy of all embedded strings in the source value.
This solves the problem discussed in #962 .
2017-05-18 19:11:04 +02:00
Milo Yip
0033268c11
Update tutorial.zh-cn.md
...
typo
2017-05-12 17:30:33 +08:00
Milo Yip
56b7216efe
Fix #949 about -Werror=conversion
2017-05-12 10:32:41 +08:00
Milo Yip
f8eb7bae89
Remove -Weverything
...
See #930
2017-05-12 10:32:06 +08:00
Milo Yip
b61bbbfe37
Fix #947 -Weffc++ warning
2017-05-11 16:41:26 +08:00
Milo Yip
67b062b3c6
Merge pull request #946 from hwiesmann/master
...
Add convenience method Key(std::basic_string<Ch> const&) to Writer
2017-05-11 10:04:29 +08:00
Hartwig
568107e178
Add convenience method Key(std::basic_string<Ch> const&) to Writer
2017-05-10 22:56:01 +02:00
Milo Yip
fe2b3603e7
Merge pull request #941 from harrywong/master
...
Add fallthrough attribute to suppress GCC 7.1 warning
2017-05-04 17:23:38 +08:00
Harry Wong
cba45fe9de
Onley apply to GCC 7
2017-05-04 10:32:45 +08:00
Harry Wong
fe19b7b601
Supress implicit fallthrough in GCC
2017-05-04 10:08:48 +08:00