1994 Commits

Author SHA1 Message Date
Matthis Thorade
25c1b78f3c
ignore DS_Store files 2017-12-04 13:15:01 +01:00
Milo Yip
17ae6ffa85
Merge pull request #1110 from martinlindhe/master
fix some typos
2017-11-04 22:32:21 +08:00
Martin Lindhe
8684c9960d fix some typos 2017-11-04 10:32:02 +01:00
Milo Yip
5aa79b7272 Merge pull request #1105 from clach04/issue_1104_solaris_fread
Fix issue #1104 Solaris compilation errors fread()/fwrite()
2017-10-27 17:12:55 +08:00
clach04
1be14d04a0 Fix issue #1104 Solaris compilation errors fread()/fwrite()
Explicit std name space for fread() and fwrite().
2017-10-26 21:19:54 -07:00
Milo Yip
75a71441d9 Merge pull request #1102 from m-tayel/1019-proposed-fix
Fixed typo in CMake file
2017-10-26 16:25:27 +08:00
M.Tayel
f4b1f761f3 Fixed typo in CMake file 2017-10-24 12:25:47 +02:00
Milo Yip
7dddd05462 Merge pull request #1070 from KaitoHH/line-col
Add feature of locating line and column number of error
2017-10-20 17:50:48 +08:00
Milo Yip
93f6cf4e8c Merge pull request #1081 from datatypevoid/patch-1
chore: correct spelling
2017-10-20 17:47:41 +08:00
Milo Yip
bf822593ee Merge pull request #1083 from piotr-kaminski-intel/master
Removing Klocwork issues from schema.h
2017-10-20 17:47:13 +08:00
Milo Yip
3c07cecdb8 Add anchors to Schema.md 2017-10-20 11:16:44 +08:00
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
piotr-kaminski-intel
bb99ccb030 Init variable in the constructor
line 358:
'this->notValidatorIndex_' might not be initialized in this constructor.
2017-10-10 14:09:23 +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
piotr-kaminski-intel
b217cc640c Removing Klocwork issues from schema.h
Removing Klocwork static code analysis critical issues:

line 358:
'this->notValidatorIndex_' might not be initialized in this constructor.
line :412
Pointer 'schemaDocument' checked for NULL at line 412 may be passed to function and may be dereferenced there by passing argument this to function 'CreateSchema' at line 419. Also there are 7 similar errors on lines 467 479 511 523 533 538 549.
2017-10-07 00:50:55 +02:00
Étienne Dupuis
6e08e29425 Initialized regex with schema allocator. 2017-10-05 11:39:21 +02:00
David Newman
f0391747e6 chore: correct spelling 2017-10-03 23:26:19 -04:00
Captain Crutches
84ca485e51 Make RapidJSON_INCLUDE_DIR non-blank in Config.cmake 2017-10-02 20:39:40 -04:00
KaitoHH
473553bd5a fix gcc & cl warning 2017-09-29 19:13:29 +08:00
KaitoHH
9394b84440 remove unnecessary code 2017-09-29 18:19:41 +08:00
KaitoHH
66541b8926 add unit test for cursorstreamwrapper 2017-09-29 17:24:07 +08:00
KaitoHH
799fdea9fc add cursor wrapper 2017-09-29 15:26:24 +08:00
KaitoHH
143641c75a suppress C4512, C4702 warning 2017-09-29 15:26:18 +08:00
KaitoHH
79d9c71f98 fix stream wrapper initializer
fix initialization warning

add special wrapper for AutoUTFInputStream
2017-09-29 15:24:27 +08:00
KaitoHH
b16ff281f8 Add feature of locating line and column number of error 2017-09-29 15:24:27 +08: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