1660 Commits

Author SHA1 Message Date
Milo Yip
e6895ec115 Merge pull request #641 from m7thon/allow_nan_and_inf
Allow options for writing and parsing NaN/Infinity
2016-05-22 20:55:04 -05:00
Michael Thon
135da7ab34 Allow options for writing and parsing NaN/Infinity
This adds kWriteNanAndInfFlag to Writer to allow writing of nan,
inf and -inf doubles as "NaN", "Infinity" and "-Infinity",
respectively, and kParseNanAndInfFlag to Reader to allow parsing
of "NaN", "Inf", "Infinity", "-Inf" and "-Infinity". This is part
of issue #36, adding optional support for relaxed JSON syntax.
2016-05-20 23:54:55 +02:00
Milo Yip
2a3fbdaf5c Merge pull request #631 from milkandsour/master
npm compliant package.json
2016-05-11 01:34:39 -05:00
Milo Yip
30111dbf4d Merge pull request #635 from gggin/master
fix some document problem
2016-05-10 22:37:17 -05:00
liujiayang
e154f8e959 add space for template 2016-05-11 11:01:47 +08:00
liujiayang
7b32bbaae7 fix document problem 2016-05-11 10:59:56 +08:00
Milo Yip
4b8cc94a25 Merge pull request #634 from Eswcvlad/master
Added missing include guards in istreamwrapper.h and ostreamwrapper.h
2016-05-10 18:45:43 -05:00
Vlad Lipskiy
819ba73b17 Added missing include guards in istreamwrapper.h and ostreamwrapper.h 2016-05-10 18:09:01 +03:00
Milo Yip
7cc76a9d46 Fix #630 2016-05-10 13:20:03 +08:00
Andrea Colaci
f8df637783 include folder added 2016-05-09 16:45:18 +01:00
Andrea Colaci
0febc29f1a refs 2016-05-09 16:33:35 +01:00
Andrea Colaci
af327524ed package update 2016-05-09 16:31:37 +01:00
Andrea Colaci
cf8f08f9d0 include dirs 2016-05-09 16:29:15 +01:00
Andrea Colaci
5bff05963c package json 2016-05-09 16:19:10 +01:00
Milo Yip
c02d52ad56 Fix documentation mistake in #620 2016-04-29 17:45:09 +08:00
Milo Yip
a636c79487 Merge pull request #618 from danvk/patch-1
Fix filterkeydom link
2016-04-27 11:53:44 +08:00
Dan Vanderkam
6b6b121ff0 Fix filterkeydom link 2016-04-26 19:24:52 -04:00
Milo Yip
1d9cb20a41 Merge pull request #617 from brucestephens/master
Define RAPIDJSON_HAS_CXX11_RVALUE_REFS directly in clang
2016-04-25 23:14:47 +08:00
Bruce Stephens
ee4207b3f0 Define RAPIDJSON_HAS_CXX11_RVALUE_REFS directly in clang
This makes no difference except that it avoids "warning: macro expansion
producing 'defined' has undefined behavior" messages.
2016-04-25 13:03:39 +01:00
Milo Yip
fdf665d637 Merge pull request #615 from miloyip/example
Add filterkey and filterkeydom examples
2016-04-23 08:26:03 -05:00
Milo Yip
00ed0a5f91 Fix gcc warning 2016-04-23 20:54:06 +08:00
Milo Yip
b010f388d1 Change FilterKeyHandler from struct to class
Also disable copy constructor/assignment operator
2016-04-23 20:11:05 +08:00
Milo Yip
05b2ed7532 Add filterkey and filterkeydom examples 2016-04-23 16:02:40 +08:00
Milo Yip
96ca84798f Merge branch 'master' into example 2016-04-23 16:02:02 +08:00
Milo Yip
e4ff9c0ee4 Merge pull request #614 from miloyip/zh-doc
Adding spaces in Chinese doc
2016-04-23 03:00:58 -05:00
Milo Yip
e6a1bd91bc Merge pull request #612 from miloyip/cmake_CMP0054
Try to fix cmake CMP0054 warning
2016-04-21 10:59:30 -05:00
Milo Yip
5b6e40df26 Update changelog 2016-04-21 23:59:01 +08:00
Milo Yip
aae2fbfc99 Try to fix cmake CMP0054 warning 2016-04-21 23:12:31 +08:00
Milo Yip
0fe08c222f Fix english error message gramma
Fix #606
2016-04-19 16:22:24 +08:00
Milo Yip
cb927a24ca Adding spaces in Chinese doc 2016-04-19 15:48:02 +08:00
Milo Yip
8821797f01 Merge pull request #609 from miloyip/issue608_required
Fix schema "required" keyword cannot handle duplicated keys
2016-04-19 02:45:18 -05:00
Milo Yip
bbcdb8b574 Update changelog 2016-04-19 15:44:50 +08:00
Milo Yip
a6571d504a Combine objectDependices and objectRequired into propertyExist array 2016-04-19 15:10:28 +08:00
Milo Yip
f586edd33d Fix required for duplicated keys
Fix #608
2016-04-19 15:06:41 +08:00
Milo Yip
c8a1d51753 Add reproduction test case 2016-04-19 15:05:15 +08:00
Milo Yip
07343d5e33 Merge pull request #605 from miloyip/issue583_regexcrash
Fix regex crash
2016-04-17 03:27:06 -05:00
Milo Yip
fa8c676b37 Update changelog 2016-04-17 12:10:44 +08:00
Milo Yip
be352d9548 Fix a bug in regex
Due to dereferencing a pointer which may be invalidated
2016-04-17 11:59:09 +08:00
Milo Yip
8f4e99b2e5 Merge pull request #604 from miloyip/coverage
Improve coverage to 100%
2016-04-17 11:24:31 +08:00
Milo Yip
d7ee08621a Update changelog 2016-04-17 10:11:40 +08:00
Milo Yip
01aeebf9bf Improve reader coverage by removing a default case 2016-04-17 09:47:29 +08:00
Milo Yip
a28e4befed Improve coverage of Regex by removing default case. 2016-04-17 09:34:04 +08:00
Milo Yip
ba0a137b9c Remove unnecessary code in GenericSchemaDocument::CreateSchemaRecursive() 2016-04-17 09:17:05 +08:00
Milo Yip
cb2f340d55 Remove ISchemaStateFactory::ReallocState() 2016-04-17 09:11:00 +08:00
Milo Yip
ed6fdb6d78 Improve coverage for SchemaValidator:::AppendToken() 2016-04-17 09:09:25 +08:00
Milo Yip
954f80872d Improve schema minimum/maximum/multipleOf coverage 2016-04-17 01:55:55 +08:00
Milo Yip
e7149d6659 Fix memory leak for invalid regex 2016-04-17 00:58:32 +08:00
Milo Yip
26e69ffde9 Fix a bug in schema minimum/maximum keywords for 64-bit integer 2016-04-17 00:48:02 +08:00
Milo Yip
ecd8fa3437 Improve coverage of regex 2016-04-16 23:04:40 +08:00
Milo Yip
c71825f80e Improve Value::IsFloat() coverage 2016-04-16 22:14:38 +08:00