1660 Commits

Author SHA1 Message Date
Milo Yip
6671bd50f1 Fix another compilation error 2016-02-14 14:07:19 +08:00
Milo Yip
be66450ecd Fix compilation errors 2016-02-14 14:00:27 +08:00
Milo Yip
1634395378 Add object helper 2016-02-14 13:49:52 +08:00
Milo Yip
c974997d05 Merge pull request #541 from jschobben/issue507
Add stream position check to reader unit tests
2016-02-14 06:57:26 +08:00
Milo Yip
923db0e641 Fix gcc compilation error 2016-02-14 06:14:12 +08:00
Jesse Schobben
995652e748 Add stream position check to reader unit tests 2016-02-13 23:04:21 +01:00
Milo Yip
effc8a8f30 Let constness of GenericArray::ValueItaertor depending on ValueType 2016-02-14 00:12:04 +08: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
c6946fd2c1 Merge branch 'master' into issue316_templatedaccessors 2016-02-13 17:09:15 +08:00
Milo Yip
b20a9dc88d Merge branch 'issue341_float' 2016-02-13 17:03:26 +08:00
Milo Yip
98ddfacdf1 Another try with volatile 2016-02-13 16:53:45 +08:00
Milo Yip
58d8d9ab9b Try fixing unit test in release configuration 2016-02-12 23:35:17 +08:00
Milo Yip
746a996cb9 Merge branch 'master' into issue341_float 2016-02-12 23:06:55 +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
e61169e61a Fix Value::GetFloat() 2016-02-12 18:13:11 +08:00
Milo Yip
23e410b18a Merge pull request #540 from miloyip/issue341_float
Add Value::Get/SetFloat(), Value::IsLossLessFloat/Double()
2016-02-12 16:47:49 +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
3c2c16283c Merge pull request #534 from miloyip/issue325
Add encoding validation option for Writer/PrettyWriter
2016-02-11 00:06:18 +08:00
Milo Yip
7e383864c7 Fix #533 2016-02-10 11:36:23 +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
3771188701 Merge pull request #532 from miloyip/issue529
Add optional unresolvedTokenIndex parameter to Pointer::Get()
2016-02-09 12:47: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
ef36794336 Merge pull request #531 from miloyip/jsonx
Add Jsonx example for converting JSON into JSONx (a XML format)
2016-02-09 01:28:39 +08:00
Milo Yip
5af344b9d9 Add comment for -D__STDC_FORMAT_MACROS 2016-02-09 01:27:22 +08:00
Milo Yip
e702d3dc70 Merge pull request #530 from miloyip/iostream
Add iostream wrapper
2016-02-09 01:21:20 +08:00
Milo Yip
b5d939b71b Fix a gcc warning 2016-02-09 01:09:43 +08:00
Milo Yip
c53a836a3c Try fixing 64-bit printf macro 2016-02-09 00:53:49 +08:00
Milo Yip
9f1dcef6b1 Add jsonx example 2016-02-09 00:09:39 +08:00
Milo Yip
953dd5a34f Fix OStreamWrapper test 2016-02-08 01:45:12 +08:00
Milo Yip
0f7cb315ef Update Stream.md 2016-02-08 00:49:00 +08:00
Milo Yip
562549fbac Disable copy/assignment for stream wrappers 2016-02-08 00:45:55 +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