Milo Yip
7787c449ca
Fix again
2016-02-02 20:21:07 +08:00
Milo Yip
f422094b9f
Fix the last warning fix
2016-02-02 18:36:27 +08:00
Milo Yip
5f819ea1d3
Fix warnings
2016-02-02 18:27:26 +08:00
Milo Yip
8cb978dc15
Add fwd.h and extract stream.h
2016-02-02 18:20:36 +08:00
Milo Yip
dd2076f8d8
Minor refactoring
2016-02-02 12:56:53 +08:00
Milo Yip
55d2867841
Add SchemaValidatingReader ::IsValid()
2016-01-31 22:36:19 +08:00
Milo Yip
a006648398
Update json schema suite and add perf test
2016-01-30 01:00:01 +08:00
Milo Yip
05968b7031
Fix schema tests and added SchemaValidatingReader
2016-01-27 13:59:14 +08:00
Milo Yip
7f9921fc60
Merge branch 'master' into schema
...
# Conflicts:
# .gitignore
# include/rapidjson/internal/stack.h
2016-01-26 15:24:04 +08:00
Milo Yip
d8c793f23f
Disable type_traits
2016-01-23 15:27:59 +08:00
Milo Yip
a6eb15d274
Fix warnings in clang for C++11
2016-01-23 14:37:15 +08:00
Milo Yip
f13caadded
Fix valgrind problem
2016-01-22 16:13:06 +08:00
Milo Yip
e392652754
Fix compilation
2016-01-22 16:05:46 +08:00
Milo Yip
d1e6eae2a9
Remove unused code
2016-01-22 15:43:51 +08:00
Milo Yip
ae5cf58878
Fix ScanCopyUnescapedString performance issue
2016-01-22 15:33:08 +08:00
Milo Yip
69d0f41c4b
Implemented ScanCopyUnescapeString optimization
...
Some performance issues to be fixed
2016-01-22 12:18:05 +08:00
Milo Yip
8fbe442925
Merge pull request #510 from miloyip/issue509_writingnaninf
...
Fix #509 by checking Nan/Inf when writing a double
2016-01-20 22:30:15 +08:00
Milo Yip
78c7d54aba
Fix #498 VC2015 warnings
2016-01-20 22:29:50 +08:00
Milo Yip
bab80e7cca
Fix clang warning
2016-01-20 02:01:14 +08:00
Milo Yip
ad1d22eba5
Fix #509 by checking Nan/Inf when writing a double
2016-01-20 01:53:40 +08:00
Milo Yip
d0045f15bd
Merge pull request #504 from thedrow/containerized-travis
...
Move Travis to container based infrastructure
2016-01-04 09:27:53 +08:00
Omer Katz
163c4b7583
Fixed cmake syntax errors.
2015-12-31 12:07:28 +02:00
Omer Katz
96fbaef1ec
Workaround clang and ccache bugs described in http://petereisentraut.blogspot.co.il/2011/05/ccache-and-clang.html
2015-12-31 12:04:47 +02:00
Omer Katz
84c56130d2
Adjust CMakeLists.txt files to use ccache when it's available.
2015-12-31 11:56:39 +02:00
Milo Yip
c6384da755
Try to fix clang and gcc warnings problems again x11
2015-12-18 20:53:07 +08:00
Milo Yip
5c003f3ecb
Try to fix clang and gcc warnings problems again x9
...
Abandon RAPIDJSON_NORETURN_SUFFIX
2015-12-18 20:34:46 +08:00
Milo Yip
6d6381f596
Try to fix clang and gcc warnings problems again x7
2015-12-18 20:15:11 +08:00
Milo Yip
d72039f3ef
Try to fix clang and gcc warnings problems again x6
2015-12-18 20:06:58 +08:00
Milo Yip
d6478991d0
Try to fix clang and gcc warnings problems again x4
2015-12-18 19:54:10 +08:00
Milo Yip
4cb7c88ca9
Try to fix clang and gcc warnings problems again x3
2015-12-18 19:47:11 +08:00
Milo Yip
17f2ca6913
Try to fix clang and gcc warnings problems
2015-12-18 19:04:09 +08:00
Milo Yip
74c8dcfd57
Fix clang -Weverything
2015-12-18 18:34:04 +08:00
miloyip
8b265fe4b6
Fixes #489
2015-12-06 11:38:53 +08:00
Milo Yip
28f2ed00d9
Merge pull request #484 from miloyip/Issue483_PointerValue
...
Fix #483 by using the correct value type
2015-11-30 17:37:58 +08:00
Milo Yip
db0a03a43c
Fix #483 by using the correct value type
2015-11-30 17:22:06 +08:00
Philipp A. Hartmann
9378001e35
documenttest.cpp: check/use conversion from Document to ParseResult
2015-11-26 22:33:14 +01:00
Philipp A. Hartmann
c8d298bc9e
documenttest.cpp: EXPECT_THROW when checking empty allocator ( closes #469 )
...
In the MoveConstructor/MoveAssignment tests, a check for a `NULL` allocator
return has been used to check for the correct moved-from state of a Document.
After the merge of #426 , the GetAllocator call fails with an assertion,
if the allocator of a GenericDocument is NULL.
Check for the throw, instead of NULL in the move-related tests.
Tested with GCC 4.9 on Linux with C++11 enabled.
Reported-by: @woldendans
2015-11-16 21:32:09 +01:00
Andrey
f7960ac0e8
Comments parsing fixes.
...
* Comments parsing function correctly handles EOF.
* Since SkipWhitespaceAndComments can generate errors, its calls should be followed by RAPIDJSON_PARSE_ERROR_EARLY_RETURN macro.
* Some tests to make the bug never appear again.
2015-10-14 00:04:29 +03:00
Andrey
5ce78b135d
Introduce support of comments.
2015-10-11 15:09:58 +03:00
Philipp A. Hartmann
41dd68f092
add simple test for unchanged DOM after parse error
2015-10-07 21:50:14 +02:00
Milo Yip
311b48224f
Try to fix incorrect 64-bit alignment
...
Added unit tests for alignment macros.
Fixes #418
2015-09-01 10:05:33 +08:00
Milo Yip
74f0673dad
Merge branch 'master' into schema
2015-09-01 09:32:29 +08:00
Philipp A. Hartmann
46e1696316
add free inline swap
functions
2015-07-13 09:35:15 +02:00
Philipp A. Hartmann
dd901f498b
add GenericDocument<>::Swap
...
See #368 .
2015-07-04 01:57:24 +02:00
miloyip
ce0184e73b
Add and fix -Wimplicit-fallthrough for clang, revert #350
2015-06-03 23:53:14 +08:00
miloyip
c5de8b2cb0
For diagnosis valgrind issue in travis
2015-06-03 23:27:46 +08:00
Milo Yip
b8d2f7e660
Merge regex into schema
2015-05-29 18:39:16 +08:00
Milo Yip
a8feeb4c3e
Add invalid regex tests and fix a bug
2015-05-29 17:42:08 +08:00
Milo Yip
3eb19ceaf9
Add Search(), ^ and $ assertions to regex
2015-05-29 15:23:28 +08:00
miloyip
fa7dc1c439
Add numbered quantifier
2015-05-27 23:39:22 +08:00