Milo Yip
b1e556d713
Merge branch 'master' into violationDetails
2018-01-13 22:34:58 +08:00
Milo Yip
03f5de9d7e
Merge pull request #1065 from yurikhan/invalidSchemaPointer
...
Fix reported violated schema pointer when that schema is remote
2018-01-13 21:17:56 +08:00
Milo Yip
9338148f5f
Merge pull request #1161 from xiaoPierre/master
...
Bug when switching to std regex
2018-01-13 21:13:50 +08:00
Milo Yip
a735badbd0
Merge pull request #1162 from Tencent/travis
...
Fix Travis build due to clang noexcept issue in unittest
Fix #1159
2018-01-13 13:15:54 +08:00
Milo Yip
d48290e387
Another try to fix travis build
2018-01-13 12:51:24 +08:00
Milo Yip
62e785babf
Merge branch 'master' into travis
2018-01-13 12:44:22 +08:00
Milo Yip
0d95d58f8b
Try to fix travis build
2018-01-13 12:37:01 +08:00
xiaoPierre
b8c12c9ccd
Bug when switching to std regex
...
I could not switch to std regex after defining the two variables as in documents. Then I try to fix it in schema.h.
2018-01-11 17:45:35 +01:00
Milo Yip
6043ad8688
Merge pull request #1138 from Tencent/archiver_example
...
Add archiver example
2018-01-10 10:46:19 +08:00
Milo Yip
83f149e70e
Merge pull request #1148 from lelit/fix-filewritestream-doc
...
Fix FileWriteStream doc
2018-01-03 17:15:00 +08:00
Milo Yip
a7f687fdf8
Merge pull request #1153 from Haffon/master
...
GetParseOffset
2017-12-30 23:59:31 +08:00
Haffon
7dfeee862d
GetParseOffset to GetErrorOffset
2017-12-28 16:32:26 +08:00
Haffon
53eadd218d
GetParseOffset to GetErrorOffset
2017-12-28 16:31:26 +08:00
Lele Gaifax
20d44d9c44
Fix FileWriteStream doc
2017-12-22 19:24:15 +01:00
Milo Yip
802ece6d7c
Merge pull request #1147 from DrumMeister/master
...
Fix uninitilized member Reader::state_
2017-12-22 11:05:20 +08:00
sjaques
9bfa0bb567
Fix uninitilized member Reader::state_
2017-12-21 13:40:28 +01:00
Milo Yip
f2a28ee472
Add archiver example
...
A simple (de)serialization framework using DOM and SAX API
2017-12-13 21:53:18 +08:00
Milo Yip
87d4e07ffd
Merge pull request #1137 from pah/fixes/1131-iterator-deprecation
...
Avoid inheritance from std::iterator
2017-12-13 10:52:20 +08:00
Philipp A. Hartmann
d75bb90a5d
Avoid inheritance from std::iterator
...
Instead of inheriting from the deprecated std::iterator
template, define the member typedefs needed for
std::iterator_traits directly.
Closes #1131 .
2017-12-12 21:16:07 +01:00
Milo Yip
7caa4b2165
Merge pull request #1129 from thorade/patch-1
...
ignore DS_Store files
2017-12-05 11:08:09 +08:00
Matthis Thorade
79d5e23673
Delete .DS_Store
2017-12-04 13:19:14 +01:00
Matthis Thorade
80079f1fae
Delete .DS_Store
2017-12-04 13:19:05 +01:00
Matthis Thorade
195dc90d27
Delete .DS_Store
2017-12-04 13:18:51 +01:00
Matthis Thorade
25c1b78f3c
ignore DS_Store files
2017-12-04 13:15:01 +01:00
Étienne Dupuis
44f2f9aa53
Added relevant unit tests for issue #1108 suggested improvement.
2017-11-27 10:38:01 +01:00
Rolf Eike Beer
ff59b6179d
CMake: automatically handle C++11 settings if possible
2017-11-24 17:00:53 +01:00
Rolf Eike Beer
4c9a28a28e
CMake: do not pass -march=native or -mcpu=native when crosscompiling
2017-11-24 16:58:42 +01:00
Rolf Eike Beer
4e1c7363cc
CMake: avoid neeless variable expansion
...
CMake will automatically expand strings that are variable names in if().
2017-11-24 16:58:42 +01:00
Étienne Dupuis
86e280f636
Solves #1108 . The default copy constructor of GenericPointer will use the allocator of the copied object. The extra copy constructor that takes an allocator as a parameter is distinct if someone really wants to create a copy with a null allocator.
2017-11-23 09:16:20 +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