515 Commits

Author SHA1 Message Date
Milo Yip
e733690e69 Merge pull request #543 from miloyip/issue205
Add (Pretty)Writer::RawValue()
2016-02-15 13:06:23 +08:00
Milo Yip
9ecf073aff Merge pull request #536 from miloyip/issue362
Add Writer::SetMaxDecimalPlaces()
2016-02-15 13:05:05 +08:00
Milo Yip
e731726c56 Optimize memory consumption with RAPIDJSON_48BITPOINTER_OPTIMIZATION
#330
2016-02-15 11:20:00 +08:00
Milo Yip
6a6d9c7e05 Optimize Writer::WriteString() with SIMD 2016-02-14 17:37:53 +08:00
Milo Yip
e7cb2b1cbf Add (Pretty)Writer::RawValue()
Fix #205
2016-02-14 15:31:24 +08:00
Milo Yip
1634395378 Add object helper 2016-02-14 13:49:52 +08:00
Jesse Schobben
995652e748 Add stream position check to reader unit tests 2016-02-13 23:04:21 +01:00
Milo Yip
960324a95b Try to fix gcc compilation error 2016-02-13 23:07:26 +08:00
Milo Yip
2a78b4da8c Fix Value.String test compilation error 2016-02-13 22:11:12 +08:00
Milo Yip
0b098eb38d Rectify constness of Array 2016-02-13 22:09:14 +08:00
Milo Yip
59309b5dd2 Add GenericArray helper class with range-based for 2016-02-13 19:06:03 +08:00
Milo Yip
513fe7894e Add templated accessors for C string 2016-02-12 23:06:49 +08:00
Milo Yip
4d648fdcd8 Add templated accessors 2016-02-12 18:23:32 +08:00
Milo Yip
8b4c999888 Add Value::GetFloat(), Value::IsLossLessFloat/Double()
Fix #341
2016-02-12 16:33:31 +08:00
Milo Yip
3cb5733ec0 Merge pull request #539 from miloyip/issue538_regexzeromin
Support {0, } and {0, m} in Regex
2016-02-12 15:01:57 +08:00
Milo Yip
60116cf11e Support {0, } and {0, m} in Regex 2016-02-12 14:17:53 +08:00
Milo Yip
1d856b2761 Add Writer::SetMaxDecimalPlaces() 2016-02-11 16:08:17 +08:00
Milo Yip
964d89e34b Add encoding validation option for Writer/PrettyWriter 2016-02-10 11:31:29 +08:00
Milo Yip
935e2ef7ed Merge pull request #510 from miloyip/issue509_writingnaninf
Fix #509 by checking Nan/Inf when writing a double
2016-02-09 18:12:17 +08:00
Milo Yip
f9d0f65ba0 Fix compilation 2016-02-09 17:39:46 +08:00
Milo Yip
ab250d21bc Rectify parsing error offsets 2016-02-09 17:33:49 +08:00
Milo Yip
cec8dcbc7a Add optional unresolvedTokenIndex parameter to Pointer::Get() and related 2016-02-09 12:09:47 +08:00
Milo Yip
953dd5a34f Fix OStreamWrapper test 2016-02-08 01:45:12 +08:00
Milo Yip
c3133defb6 Renamed IStreamWrapper/OStreamWrapper 2016-02-08 00:10:52 +08:00
Milo Yip
b9bca8e5c3 Add OStreamWrapper 2016-02-07 23:30:51 +08:00
Milo Yip
ec81cc393b Fix a IStreamWrapper test with incorrect type 2016-02-07 22:54:02 +08:00
Milo Yip
67945ef727 Disable including codecvt in tests as many libraries does not support it yet. 2016-02-07 22:40:21 +08:00
Milo Yip
43b63b1100 Add IStreamWrapper 2016-02-07 22:15:17 +08:00
Milo Yip
c828037784 Make a stackoverflow solution 2016-02-06 16:55:15 +08:00
Milo Yip
7c72640da1 Improve reader coverage for insitu parsing 2016-02-03 13:48:39 +08:00
Milo Yip
cefae77aa2 Fix gcc warning 2016-02-03 13:29:25 +08:00
Milo Yip
021d746931 Fix warning 2016-02-03 13:10:55 +08:00
Milo Yip
d258f59022 Add SIMD ScanCopyUnescapedString test 2016-02-03 12:51:02 +08:00
Milo Yip
b8a273705e Improve comment parsing code coverage 2016-02-03 09:32:34 +08:00
Milo Yip
efe4140208 Fix #399 MemoryPoolAllocator::Realloc expands fail 2016-02-03 00:22:25 +08:00
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