1083 Commits

Author SHA1 Message Date
yuzhaol
8e61b72678 Declare intrinsic function to avoid LNK2019 in x64 debug mode
Add #pragma intrinsic(_umul128) for MSVS 2005
2015-07-09 22:39:38 +01:00
Milo Yip
709daab1fe Merge pull request #369 from mloskot/typed-ctor
Add GenericDocument ctor overload to specify JSON type.
2015-07-04 09:31:03 +08:00
Milo Yip
eb5818a5a2 Merge pull request #374 from mloskot/faq-issue-368-update
Update FAQ 8 with shorter version of clean-and-minimize idiom
2015-07-03 10:15:04 +08:00
Mateusz Loskot
6610577a3e Update FAQ 8 with shorter version of clean-and-minimize idiom.
Credits to @pah who suggested it in comment to #368.
2015-07-02 14:14:51 +02:00
Mateusz Łoskot
8197805208 Add explicit specifier to GenericDocument ctor.
@pah recommended to mark this constructor as explicit to avoid accidentally creating a temporary GenericDocument from a Type enum value (because all arguments but the first one are optional).
2015-07-01 22:36:26 +02:00
Milo Yip
a45a289c0c Merge pull request #372 from mloskot/faq-issue-368
Add to FAQ: How to clear-and-minimize a document?
2015-06-30 18:03:06 +08:00
Mateusz Loskot
3c47ae9fe4 Add to FAQ: How to clear-and-minimize a document?
Closes #368
2015-06-30 11:33:44 +02:00
Mateusz Loskot
a0177ca210 Add documentation for new GenericDocument ctor taking object type.
Update also documentation of the existing GenericDocument constructor.
2015-06-30 10:28:07 +02:00
Mateusz Loskot
413144a8b2 Add GenericDocument ctor overload to specify JSON type.
It unifies the interfaces with Value where kXXXType can be passed
into constructor.
It enables shortcut that helps to avoid extra SetXXX() call following
construction of a document.
2015-06-26 16:00:49 +02:00
miloyip
5d5d90c100 Applies the same changes for Chinese as #365 2015-06-25 09:53:31 +08:00
Milo Yip
c752b6aa68 Merge pull request #365 from mloskot/patch-1
Add missing allocator to uses of AddMember
2015-06-25 09:24:56 +08:00
Mateusz Łoskot
74b41c1a43 Add missing allocator to uses of AddMember
AddMember requires allocator, this fix keeps all uses of AddMember consistent across the whole tutorial.
2015-06-24 17:22:48 +02:00
Milo Yip
a326314a61 Fix #538 2015-06-18 15:40:39 +08:00
miloyip
134369d990 Add google analytics to documentation 2015-06-10 17:44:55 +08:00
miloyip
4e8e99c157 Remove www in readme.zh-cn also 2015-06-06 21:41:19 +08:00
miloyip
19687067b7 Try to remove www 2015-06-06 21:29:52 +08:00
miloyip
93bf4ceb32 Add CMAKE in travis-doxygen 2015-06-05 14:08:15 +08:00
Milo Yip
3bc945fdce Change documentation URL to http://www.rapidjson.org 2015-06-05 09:57:11 +08:00
Milo Yip
935d0a3944 Remove emscripten test 2015-06-05 09:56:25 +08:00
Milo Yip
b540ac89a3 Merge pull request #353 from miloyip/issue349_EmscriptenDouble 2015-06-04 22:26:23 +08:00
Milo Yip
81678272a2 Fix #349 emscripten alignment issue 2015-06-04 16:07:43 +08:00
miloyip
ce0184e73b Add and fix -Wimplicit-fallthrough for clang, revert #350 2015-06-03 23:53:14 +08:00
Milo Yip
1f78bc11ec Merge pull request #350 from c0nk/fix-clang-implicit-fallthrough
Fix warnings when compiling with clang and -Wimplicit-fallthrough
2015-06-03 22:29:33 +08:00
Kal Conley
013b71b92f Fix warnings when compiling with clang and -Wimplicit-fallthrough 2015-05-31 20:35:55 +02:00
miloyip
c8c8ad47c3 Further improve coverage of GenericPointer::Erase() 2015-05-21 17:02:27 +08:00
miloyip
7ddaa80e46 Improve coverage of GenericPointer::Erase() 2015-05-21 16:45:39 +08:00
miloyip
a2d09f0a03 Refactor GenericPointer::Erase() 2015-05-21 16:13:02 +08:00
miloyip
6e1d10ec6b Add GenericValue::EraseMember(string types) APIs 2015-05-21 16:12:33 +08:00
miloyip
1a570c342d Fix the undefined behaviour when negating the minimum value integers in Reader 2015-05-21 16:00:32 +08:00
miloyip
f688b2b152 Improve coverage of Pointer 2015-05-21 13:25:37 +08:00
Milo Yip
3229566573 Add multiple SkipWhitespace perftest 2015-05-20 13:33:14 +08:00
Milo Yip
302d1b735f Re-generate images in OSX 2015-05-14 16:56:52 +08:00
Milo Yip
3e56b0c35d Add one more commit about std::string from master 2015-05-14 15:49:33 +08:00
Milo Yip
0e9fe888b7 v1.0.2 release 2015-05-14 15:49:26 +08:00
Milo Yip
424abf1edc Merge pull request #335 from miloyip/member_stdstring
Add Value::XXXMember(...) overloads for std::string
2015-05-14 14:56:35 +08:00
Milo Yip
82ff580faa Merge pull request #342 from miloyip/issue340_doubleparsebug
Fix some numbers parsed incorrectly
2015-05-14 14:00:47 +08:00
Milo Yip
add5a50581 Fix some numbers parsed incorrectly
Fix #340
2015-05-14 12:03:21 +08:00
Milo Yip
f8b3c65d7d Merge pull request #337 from Phyks/master
Forgot to update the CMakeLists.txt in doc folder
2015-05-13 07:21:28 +08:00
Phyks
9c008b07ee Forgot to update the CMakeLists.txt in doc folder 2015-05-12 20:15:06 +02:00
miloyip
2786103abd Add Value::XXXMember(...) overloads for std::string 2015-05-12 22:48:14 +08:00
Milo Yip
7562d0219a Merge pull request #334 from Phyks/master
Fix CMakeLists for include as a thirdparty in projects
2015-05-12 13:42:50 +08:00
Phyks
89ad34cef4 Fix CMakeLists for include as a thirdparty in projects 2015-05-12 00:23:50 +02:00
miloyip
7eb117a26e Reduce Pointer parsing/copying to single allocation 2015-05-11 21:41:26 +08:00
Milo Yip
0edd743c83 Fix Document.UserBuffer test 2015-05-11 13:58:45 +08:00
miloyip
98b66e3c5a Change Document::ParseStream() to use stack allocator for Reader 2015-05-11 13:58:02 +08:00
miloyip
3dc40a8f34 Fix MemoryPoolAllocator::Clear() to clear user-buffer 2015-05-11 13:57:50 +08:00
miloyip
63a1db0907 Fix a bug in Pointer 2015-05-09 08:38:27 +08:00
miloyip
771fa9879a Add Pointer::Append(Value, Allocator) overload 2015-05-08 22:18:46 +08:00
Milo Yip
5dee394004 Add Pointer::Append() and fixed bugs in assignment and Parse() 2015-05-08 21:26:56 +08:00
Milo Yip
f4e357f65d Merge pull request #329 from nightmouse/master
Warning cleanup
2015-05-06 11:42:46 +08:00