Milo Yip
db305dcf21
Fix schema.md TOC
2017-10-20 10:33:37 +08:00
Milo Yip
4db8c3da11
Merge pull request #1098 from h46incon/MemberCapacity
...
Add MemberCapacity() and MemberReserve() interface for object type.
2017-10-20 10:27:23 +08:00
h46incon
a8e9990603
Add MemberCapacity() and MemberReserve() interface for object type.
2017-10-19 20:41:27 +08:00
Milo Yip
7d424c0bbc
Merge pull request #1092 from m-tayel/1019-proposed-fix
...
enable cross compiling by adding option to remove -march/-cpu
2017-10-17 10:38:07 +08:00
M.Tayel
7bd9b5a1ad
enable cross compiling by adding option to remove -march/-cpu
2017-10-16 15:01:27 +02:00
Milo Yip
d71ad00643
Merge pull request #1079 from captaincrutches/cmake-include-dir
...
Make RapidJSON_INCLUDE_DIR non-blank in Config.cmake
2017-10-09 12:44:25 +08:00
Captain Crutches
495266271f
Use SOURCE_DIR instead of CMAKE_DIR for build tree
2017-10-08 23:43:18 -04:00
Milo Yip
f64b773007
Partially fix #1077
2017-10-09 11:33:55 +08:00
Milo Yip
d5c1be5a0f
Merge pull request #1082 from svart-riddare/regex-allocator
...
Use schema allocator for regex
2017-10-09 11:17:30 +08:00
Étienne Dupuis
6e08e29425
Initialized regex with schema allocator.
2017-10-05 11:39:21 +02:00
Captain Crutches
84ca485e51
Make RapidJSON_INCLUDE_DIR non-blank in Config.cmake
2017-10-02 20:39:40 -04:00
Milo Yip
2a0bc6062b
Update gitbook zh-cn link
2017-09-29 09:53:00 +08:00
Milo Yip
0b8adabab7
Fix #1071 gitbook link
2017-09-29 09:44:05 +08:00
Milo Yip
4c0f0036b5
Update appveyor badge and link
2017-09-14 11:55:31 +08:00
Milo Yip
4a2f2729f1
Change from miloyip/rapidjson to Tencent/rapidjson
2017-09-13 17:03:23 +08:00
Milo Yip
2a53253e72
Merge pull request #1056 from chwarr/assert-enum-lower
...
Assert Type enum lower bound as well
2017-09-07 10:07:19 +08:00
Christopher Warrington
a683902b2c
Assert Type enum lower bound as well
2017-09-06 15:13:20 -07:00
Milo Yip
5db5dd552a
Merge pull request #1057 from chwarr/paren-minmax
...
Guard against min/max being macros in a cross-compiler way
2017-09-06 13:03:52 +08:00
Milo Yip
4bb4926c9b
Merge pull request #1055 from chwarr/fix-doc-build-windows
...
Fix Windows doc build MSBuild error MSB6001
2017-09-06 11:33:45 +08:00
Christopher Warrington
e4c0ecf86b
Guard against min/max macros in tests too
2017-09-05 18:27:02 -07:00
Christopher Warrington
6e38649ec6
Guard against min/max being macros in document.h
...
Sometimes, particularly when Microsoft's windows.h is included, min/max
are defined as macros, interfering with use of
std::numeric_limits::min() and the like.
To guard against this, the function name is wrapped in an extra set of
parenthesis, which inhibits function-style macro expansion.
2017-09-05 18:26:47 -07:00
Christopher Warrington
bbdf5d1d4b
Fix Windows doc build MSBuild error MSB6001
...
When using a MSBuild-based CMake generator like 'Visual Studio 15 2017
Win64', the doc build was failing with the error 'MSB6001: Invalid
command line switch for "cmd.exe". Illegal characters in path.'
This was due to the dependency on Doxyfile*, which wasn't expanded by
CMake.
The fix is to expand this glob in CMake before specifying the custom
command's dependencies.
Partial fix for https://github.com/miloyip/rapidjson/issues/622
2017-09-05 16:58:09 -07:00
Milo Yip
1e46091009
Merge pull request #1051 from gongminmin/master
...
Specifies the endian of msvc ARM64 configuration.
2017-09-04 10:50:04 +08:00
Milo Yip
e9373fc130
Merge pull request #1052 from Crunkle/master
...
Fix cross-compilation on certain toolchains
2017-09-04 10:32:55 +08:00
Crunkle
9ce6a7ebb8
Fix processor check when empty
2017-09-02 21:05:00 +01:00
Minmin Gong
f91405801f
Specifies the endian of msvc ARM64 configuration.
2017-08-31 23:16:59 -07: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