luz.paz
915218878a
Misc. typos
...
Found via `codespell -q 3` in downstream https://github.com/BlueBrain/Brayns
2018-02-19 06:42:52 -05:00
Milo Yip
966987625c
Add transcoding/validation to Writer::RawValue()
...
Fix #1152
2018-02-13 10:58:41 +08:00
Milo Yip
daabb88e00
Merge pull request #1068 from yurikhan/violationDetails
...
Schema violation details
2018-01-26 11:26:27 +08:00
Milo Yip
7641af690e
Merge pull request #1122 from svart-riddare/issue-1108
...
Suggestion for issue #1108
2018-01-26 10:59:11 +08:00
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
d48290e387
Another try to fix travis build
2018-01-13 12:51:24 +08:00
Milo Yip
0d95d58f8b
Try to fix travis build
2018-01-13 12:37:01 +08:00
Étienne Dupuis
44f2f9aa53
Added relevant unit tests for issue #1108 suggested improvement.
2017-11-27 10:38:01 +01:00
Yuri Khan
8c182e51e7
Flatten allOf keyword violations
2017-09-30 20:16:03 +07:00
KaitoHH
66541b8926
add unit test for cursorstreamwrapper
2017-09-29 17:24:07 +08:00
Yuri Khan
0566716802
Extend schema validation tests to compare error object
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
379b337444
Add failing test for the case when a remote schema is violated ( #1064 )
2017-09-16 17:09:08 +07:00
Milo Yip
4a2f2729f1
Change from miloyip/rapidjson to Tencent/rapidjson
2017-09-13 17:03:23 +08:00
Christopher Warrington
e4c0ecf86b
Guard against min/max macros in tests too
2017-09-05 18:27:02 -07: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
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
f624a3037c
Merge pull request #1010 from pah/fixes/817-stringref-null
...
Improve handling of NULL strings
2017-07-10 10:08:21 +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
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
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
df6362d450
Fix patternProperties & additionalProperties lead to ASSERT
...
Fix #825
2017-06-09 10:16:24 +08:00
Milo Yip
56b7216efe
Fix #949 about -Werror=conversion
2017-05-12 10:32:41 +08:00
Alejandro Martinez
2291258bb8
Added ARM-Neon support for SIMD.SkipWhitespace*
...
Change-Id: Iaf210d029758723a7eeb7f28fc10cab7467889a9
Signed-off-by: Jun He <jun.he@arm.com>
2017-04-21 07:33:17 +00:00
Milo Yip
5d9d0f78b5
Merge pull request #909 from miloyip/issue905_PrettyWriterWriteFlags
...
Fix #905 unable to set writeFlags for PrettyWriter
2017-03-27 18:26:17 +08:00
Milo Yip
d88be8ef16
Fix #905 unable to set writeFlags for PrettyWriter
2017-03-27 14:05:03 +08:00
Alejandro Martinez
85500e8c8f
Changed error code for invalid special ascii chars, fixed writer tests
2017-03-24 13:37:23 +00:00
Alejandro Martinez
3c6e2cf030
Added unittests for invalid ascii control chars
2017-03-23 10:14:17 +00:00
Milo Yip
465fab45c1
Merge pull request #897 from StilesCrisis/issue-889-pretty-writer
...
Issue 889 pretty writer
2017-03-16 10:35:26 +08:00
John Stiles
d5d18cf694
Fix template length optimization issue in PrettyWriter
...
Missed PrettyWriter in the initial fix for Issue #889
2017-03-14 23:48:41 -07:00
John Stiles
84a0356608
Add unit test for Issue 889
2017-03-12 23:40:54 -07:00
John Stiles
66b564f385
Remove unneeded change
2017-03-03 00:42:21 -08:00
John Stiles
6ae50ad6e3
Once again
2017-03-03 00:27:47 -08:00
John Stiles
534f135261
Try again to suppress Valgrind
2017-03-03 00:21:10 -08:00
John Stiles
13e99d8d5f
Trivial change to re-trigger Travis CI
...
No-op blank line
2017-02-28 22:58:24 -08:00
John Stiles
4b822a41af
Attempt to suppress valgrind wcslen error
2017-02-28 19:31:21 -08:00
Milo Yip
e6b192a75c
Merge pull request #869 from StilesCrisis/writer-key-fix
...
Writer EndObject missing-value fix
2017-02-28 16:02:52 +08:00
StilesCrisis
0ec4e86f14
Unit test
...
Add unit test for Issue 848 (segfault in ~Document)
2017-02-27 23:06:05 -08:00
StilesCrisis
fa84cd18f4
Add matching fix for PrettyWriter
...
PrettyWriter EndObject will now also assert if called when a key is
missing its matching value.
2017-02-27 22:53:59 -08:00
StilesCrisis
595b114216
Unit test
...
Add unit tests expecting an assertion when writing an object with a key
but no value.
2017-02-27 22:36:48 -08:00
StilesCrisis
ecf3d64293
Merge branch 'nan-inf-parse-fix' into token-by-token-parsing
2017-02-23 00:19:07 -08:00
StilesCrisis
5e785d3db2
Fix parsing of NaN/Inf
...
A failed half-consume of “NaN” now returns “value invalid” instead of
attempting to consume an “Inf”.
2017-02-23 00:11:12 -08:00
StilesCrisis
c4117c68cc
Put in unit tests to catch parser failure
...
Noticed that the reader could over-consume “NaN” if token terminated in
the middle.
2017-02-22 21:54:31 -08:00
John Stiles
bd4c282d77
Test coverage up
...
Add more tests! Good for coverage.
2017-02-07 01:08:51 -08:00