Yuri Khan
8353e868d5
Move schema violation docs into Schema chapter
2017-09-30 19:44:54 +07:00
Yuri Khan
1f75402704
refactor Schema: Keep ErrorHandler reference in Context
2017-09-30 19:05:25 +07: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
Yuri Khan
a4b62ff61b
Update schemavalidator example to demonstrate GetError()
2017-09-24 12:56:55 +07:00
Yuri Khan
384df14e6d
Document schema violation format
2017-09-24 12:56:55 +07:00
Yuri Khan
0566716802
Extend schema validation tests to compare error object
2017-09-24 12:56:55 +07:00
Yuri Khan
f716c3bfb5
Report schema violation details ( #619 )
2017-09-24 12:56:55 +07:00
Yuri Khan
c2371584a0
Keep schema URI in GenericSchemaDocument and internal::Schema
2017-09-23 21:36:07 +07:00
Yuri Khan
2bfd0cc6c7
internal::Schema: Keep pointer for future use
2017-09-23 20:42:39 +07:00
Yuri Khan
379b337444
Add failing test for the case when a remote schema is violated ( #1064 )
2017-09-16 17:09:08 +07: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