720 Commits

Author SHA1 Message Date
Sergey Kosarevsky
852ed80881 Custom Microsoft headers are necessary only for Visual Studio 2012 and lower 2016-02-26 12:03:22 +01:00
Kevin Atkinson
2f1e59324f Documentation fix.
GenericObject is a helper class for accessing Value of _object_ type.
2016-02-22 00:53:58 -05:00
Milo Yip
494f9deb9b Merge pull request #555 from miloyip/appveyor_vs2015
Add VS2010 and VS2015 to AppVeyor CI
2016-02-21 17:16:28 +08:00
Milo Yip
4620fa60f5 Fix VS2010 compilation errors 2016-02-21 12:52:14 +08:00
Milo Yip
db4bc75cd9 Add move constructor for GenericSchemaDocument 2016-02-20 22:18:23 +08:00
Milo Yip
3595b1f677 Fix VC compilation error 2016-02-20 16:33:29 +08:00
Milo Yip
5fc59cb6fa Merge branch 'master' into issue158_parsestdstring 2016-02-20 00:35:52 +08:00
Milo Yip
b8c83c53b1 Resolve conflicts 2016-02-19 23:40:48 +08:00
Milo Yip
f8e417818f Merge branch 'master' into optimization 2016-02-19 22:29:40 +08:00
Milo Yip
4029ddb165 Merge pull request #542 from miloyip/issue316_templatedaccessors
Templated accessors and range-based for
2016-02-19 22:28:48 +08:00
Milo Yip
9f6736c2cc Add noexcept to the constructors 2016-02-19 01:07:16 +08:00
Milo Yip
46dc8e9240 Add implicit constructors of GenericValue for GenercArray|Object
Also remove SetArray|Object(…)
2016-02-19 00:49:05 +08:00
Milo Yip
d13be6c721 Change pointer to reference in GenericArray|Object 2016-02-18 19:04:22 +08:00
Milo Yip
70f9671bdf Return value type for GenericObject/Array member functions 2016-02-18 01:19:47 +08:00
Milo Yip
8c79fb65ae Fix return type of GenericObject::AddMember() 2016-02-17 09:34:19 +08:00
Milo Yip
4ababca893 Fixed typos pointed out by @pah 2016-02-17 08:48:22 +08:00
Milo Yip
2358f82ee5 Fix clang compilation 2016-02-15 22:32:14 +08:00
Milo Yip
48378b751e Optimize the new Parse() interfaces 2016-02-15 20:21:36 +08:00
Milo Yip
9fe18f71c1 Add Document::Parse() overloads 2016-02-15 17:15:27 +08:00
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
49c982b4b7 Fix C++03 compilation error about sizeof() 2016-02-15 12:19:30 +08:00
Milo Yip
4bb6f2c089 Fix compilation errors on 32-bit gcc/clang 2016-02-15 11:39:32 +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
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
923db0e641 Fix gcc compilation error 2016-02-14 06:14:12 +08:00
Milo Yip
effc8a8f30 Let constness of GenericArray::ValueItaertor depending on ValueType 2016-02-14 00:12:04 +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
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
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
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
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
562549fbac Disable copy/assignment for stream wrappers 2016-02-08 00:45:55 +08:00