Milo Yip
5512ec30f1
Add Chinese pointer guide to doxygen
2015-10-27 13:36:36 -07:00
Milo Yip
d5d17b96c2
Chinese Translation of JSON Pointer guide and minor English version modification.
2015-10-27 13:22:19 -07:00
Milo Yip
b761f0daea
Merge pull request #441 from spl/patch-1
...
Highlight main features in bold
2015-10-26 12:24:29 +08:00
Milo Yip
aeb5f5671d
Merge pull request #442 from FrankHB/patch-1
...
Fixed typo
2015-10-26 12:23:57 +08:00
Milo Yip
76d729e9c0
Add kParseCommentsFlag documentation
2015-10-22 10:58:58 +08:00
Milo Yip
54eb069f06
Merge pull request #450 from etiennebatise/missing-return-statement
...
Add missing return statement, fix #448
2015-10-15 17:32:59 +08:00
etiennebatise
edd077f4bf
Add missing return statement, fix #448
2015-10-15 10:29:56 +02:00
Milo Yip
1a4cce275d
Merge pull request #447 from etiennebatise/missing-breaks-at-switch-statements
...
Add break at default switch case statements fix #444
2015-10-15 11:19:55 +08:00
etiennebatise
74a021346d
Add break at default switch case statements
...
fix issue #444
2015-10-14 15:46:26 +02:00
Milo Yip
a5d9971a06
Merge pull request #443 from andrusha97/master
...
Introduce comments support
2015-10-14 12:16:10 +08:00
Andrey
f7960ac0e8
Comments parsing fixes.
...
* Comments parsing function correctly handles EOF.
* Since SkipWhitespaceAndComments can generate errors, its calls should be followed by RAPIDJSON_PARSE_ERROR_EARLY_RETURN macro.
* Some tests to make the bug never appear again.
2015-10-14 00:04:29 +03:00
Andrey
5ce78b135d
Introduce support of comments.
2015-10-11 15:09:58 +03:00
FrankHB
1640ce613c
Fixed typo
...
<algorith> should be <algorithm>.
2015-10-10 11:33:48 +08:00
Sean Leather
481ae5b11d
Highlight main features in bold
...
Might help some people see things better when skimming.
2015-10-09 14:29:30 +02:00
Milo Yip
1c76070520
Merge pull request #439 from pah/fix/437-keep-value-on-error
...
Keep Document value unchanged on parse error, fixes #437
2015-10-08 09:24:55 +08:00
Philipp A. Hartmann
41dd68f092
add simple test for unchanged DOM after parse error
2015-10-07 21:50:14 +02:00
Philipp A. Hartmann
fa123699d3
Keep Document value unchanged on parse error, fixes #437
...
Keeping the DOM unchanged in case of an error is the intended
behaviour according to the [documentation] [1].
Instead of forcing the value to `kNullType` before starting the
parsing, store the parsed value upon success via regular move.
[1]: https://miloyip.github.io/rapidjson/md_doc_dom.html#ParseError
2015-10-07 21:48:39 +02:00
Milo Yip
221887d682
Merge pull request #426 from malirod/fix-ub-in-document
...
Fix UB in GenericDocument::ParseStream
2015-09-19 19:33:21 +08:00
Rodion Malinovsky
2e11498943
Fix the usage of the stack::GetAllocator
2015-09-16 14:54:38 +03:00
Rodion Malinovsky
c7433dfc5e
Add stack::HasAllocator
...
To check is it possible to expose allocator.
2015-09-16 14:53:51 +03:00
Rodion Malinovsky
8604ba0f1c
Add asserts to prevent UB
2015-09-16 14:53:12 +03:00
Milo Yip
539e57225b
Merge pull request #421 from simplifi/fwrite_return_check
...
check return of fwrite to avoid warn_unused_result build failures. Fixed #420 . Thank you.
2015-09-03 12:06:18 +08:00
Kurt Johnson
2a267ff15a
check return of fwrite to avoid warn_unused_result build failures
2015-09-02 09:29:15 -05:00
Milo Yip
d636594c97
Merge pull request #419 from miloyip/issue418_alignment
...
Fix incorrect 64-bit alignment
2015-09-01 10:35:35 +08:00
Milo Yip
311b48224f
Try to fix incorrect 64-bit alignment
...
Added unit tests for alignment macros.
Fixes #418
2015-09-01 10:05:33 +08:00
Milo Yip
3ede21c356
Merge pull request #409 from pah/fix/biginteger-self-assign
...
BigInteger: guard against self-assignment
2015-08-14 10:07:18 +08:00
Philipp A. Hartmann
afbc0406f0
BigInteger: guard against self-assignment
...
Related-to: #404 .
Suggested-by: @cosinekitty
2015-08-13 23:07:30 +02:00
Milo Yip
3cf7228f46
Port documentation fix from #407
2015-08-13 10:16:19 +08:00
Milo Yip
3517aca39a
Merge pull request #407 from fcharlie/master
...
doc: 自定义流应当使用 ParseStream 而不是 Parse
2015-08-13 10:13:30 +08:00
Force.Charlie-I
ffd389befc
自定义流应当使用 ParseStream 而不是 Parse
2015-08-12 18:38:13 +08:00
Milo Yip
bc4551b5b0
Merge pull request #405 from ziyangli/patch-1
...
added missing fields of CMakeList.txt
2015-08-10 18:48:51 +08:00
Ziyang LI
4569752903
added missing fields of CMakeList.txt
...
this fixed cmake error for me
2015-08-10 18:11:25 +08:00
Milo Yip
8498c785a6
Merge pull request #404 from blackball/master
...
Implement = operator for BigInteger
2015-08-07 17:53:35 +08:00
blackball
c0854473e9
Implement = operator for BigInteger
...
There's a copy constructor, but no '=' operator implemented. This is dangerous.
2015-08-07 10:04:45 +02:00
Milo Yip
c583119b20
Merge pull request #401 from ivankravets/patch-2
...
Fix include location
2015-08-04 09:46:05 +08:00
Ivan Kravets
720d1688f1
Fix include location
2015-08-03 16:30:37 +03:00
Milo Yip
315a8ea368
Merge pull request #400 from ivankravets/patch-1
...
@PlatformIO Library Registry manifest file
2015-08-02 18:59:01 +08:00
Ivan Kravets
b49858a408
Add examples for @PlatformIO Library Registry
2015-08-01 13:10:26 +03:00
Ivan Kravets
2a18d306b8
@PlatformIO Library Registry manifest file
...
* This library in Web Registry: http://platformio.org/#!/lib/show/438/RapidJSON
* Specification: [PlatformIO Library Manager](http://docs.platformio.org/en/latest/librarymanager/index.html )
* Integration: [IDE Integration](http://docs.platformio.org/en/latest/ide.html )
2015-08-01 13:05:28 +03:00
Milo Yip
f07ca0748f
Merge pull request #397 from blackball/master
...
Fix the error when compiled using vs2013
2015-07-25 10:45:32 +08:00
blackball
fc50f103a6
Fix the error when compiled using vs2013
...
The error message for the original codes is: unary minus operator applied to unsigned type, result still unsigned. Added static casting to eliminate this message.
2015-07-24 16:19:08 +02:00
Milo Yip
1eaf180cda
Merge pull request #394 from nightmouse/master
...
Warning cleanup on osx10.10/clang, enable -Werror
2015-07-22 09:19:51 +08:00
Justin Scheiber
e527a4fe5e
adding -Wno-missing-field-initializers to keep the googletest source from erroring out on a warning
2015-07-21 17:42:28 -06:00
scheiber
73cf03c2bf
use google's servers for googletest
2015-07-21 16:52:16 -06:00
scheiber
a0f730e3d7
use -Werror
2015-07-21 16:42:50 -06:00
scheiber
f33b6740fc
Revert "update the submodule fore google test"
...
This reverts commit 5be9b6e584656bbc94d894887ded663442a024fb.
2015-07-21 16:39:00 -06:00
scheiber
d26d50092d
fixing sign conversion warnings and loss of precision warnings
2015-07-21 15:15:42 -06:00
Milo Yip
df13af8c6d
Merge pull request #392 from sebastic/master
...
Clarify problematic JSON license (#377 )
2015-07-21 16:36:45 +08:00
Bas Couwenberg
b4b1a39937
Clarify problematic JSON license ( #377 )
2015-07-21 08:46:36 +02:00
Milo Yip
3003b841d5
Merge pull request #391 from pah/fix/no-doc2value-move
...
Prohibit C++11 move from Document to Value
2015-07-20 16:55:49 +08:00