987 Commits

Author SHA1 Message Date
Sergey Kosarevsky
3dba370486 Added IterativeParsingReaderHandler::RawNumber() 2016-02-29 17:51:32 +01:00
Sergey Kosarevsky
43a2c5694e Play nice with different encodings 2016-02-29 17:42:48 +01:00
Sergey Kosarevsky
9b13eacdf1 Add 0-character during in-situ numbers-as-strings parsing 2016-02-29 17:40:43 +01:00
Sergey Kosarevsky
f83b2c09e8 Fixed warning unused parameter ‘c’ 2016-02-29 16:31:54 +01:00
Sergey Kosarevsky
e23bc0d1a5 Fixed numbers-as-strings for in-situ streams 2016-02-29 16:12:30 +01:00
Sergey Kosarevsky
7d4891e243 Added NumberStream::Push() 2016-02-29 16:11:31 +01:00
Sergey Kosarevsky
a214bdff4d Removed unnecessary kParseInsituFlag check in ParseNumber() 2016-02-29 10:54:55 +01:00
Sergey Kosarevsky
6143f97b45 BaseReaderHandler::RawNumber() calls String() by default 2016-02-29 10:52:36 +01:00
Sergey Kosarevsky
f76174422d Fixed Ch type 2016-02-28 21:29:16 +01:00
Sergey Kosarevsky
fb5c464221 Added PrettyWriter::RawNumber() 2016-02-28 21:29:06 +01:00
Sergey Kosarevsky
2bbfe0d8a8 Number() -> RawNumber() to avoid name clashes with the union Number 2016-02-28 18:50:04 +01:00
Sergey Kosarevsky
4f94ec9b0b Added GenericDocument::Number() 2016-02-28 18:38:06 +01:00
Sergey Kosarevsky
334461b421 Added Hasher::Number() 2016-02-28 18:28:19 +01:00
Sergey Kosarevsky
eeb13bdb4c Added Writer::Number() 2016-02-28 18:12:57 +01:00
Sergey Kosarevsky
d2d5f6f919 ParseNumber() handles kParseNumbersAsStringsFlag 2016-02-28 17:58:34 +01:00
Sergey Kosarevsky
4abcfd1e28 Added Number() to rapidjson::Handler 2016-02-28 17:58:01 +01:00
Sergey Kosarevsky
ba2b751b4d Added kParseNumbersAsStringsFlag 2016-02-28 17:33:49 +01:00
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