Milo Yip
3d5848a7cd
Merge pull request #343 from miloyip/v1.0.2
...
V1.0.2
v1.0.2
2015-05-14 15:46:01 +08:00
Milo Yip
c5cbe97f39
Add one more commit about std::string from master
2015-05-14 14:59:26 +08:00
miloyip
78337e9433
Add Value::XXXMember(...) overloads for std::string
2015-05-14 14:58:11 +08:00
Milo Yip
fc8247c036
v1.0.2 release
2015-05-14 14:48:10 +08:00
Milo Yip
6f830ec76b
Fix some numbers parsed incorrectly
...
Fix #340
2015-05-14 14:36:27 +08:00
Phyks
2bd1171792
Forgot to update the CMakeLists.txt in doc folder
2015-05-14 14:36:17 +08:00
Phyks
de55114f97
Fix CMakeLists for include as a thirdparty in projects
2015-05-14 14:36:07 +08:00
Milo Yip
91a7e01c1e
Fix Document.UserBuffer test
2015-05-14 14:35:45 +08:00
miloyip
ffbe386147
Change Document::ParseStream() to use stack allocator for Reader
2015-05-14 14:35:26 +08:00
miloyip
0691502573
Fix MemoryPoolAllocator::Clear() to clear user-buffer
2015-05-14 14:35:13 +08:00
Milo Yip
1034587235
Merge pull request #329 from nightmouse/master
...
Warning cleanup
2015-05-06 11:43:30 +08:00
miloyip
85564d48f5
Workaround for Valgrind false alarm on wcscmp()
2015-05-06 11:36:29 +08:00
Igor Kostenko
c59254a86a
Fix alignment of 64bit platforms
2015-05-06 11:36:07 +08:00
miloyip
56568fd73f
Add GenericValue::ValueType and fix warning for SetString(std::string, Allocator)
2015-05-04 10:25:31 +08:00
miloyip
1c98609ada
Standardize MemoryPoolAllocator::Realloc() also, and improve coverage
2015-05-03 21:23:13 +08:00
miloyip
ae61b7973c
Standardize CrtAllocator::Realloc() for newSize = 0
2015-05-03 21:02:34 +08:00
miloyip
3c73975513
Fix 2 FILE* leaks in documenttest.cpp
2015-05-03 20:52:44 +08:00
Milo Yip
ea7b39b960
Update installation section of zh-cn readme
2015-05-01 08:10:21 +08:00
miloyip
c1b66cc082
Fix incorrect API in tutorial document.
2015-04-28 22:41:31 +08:00
Milo Yip
0be627430d
Merge pull request #322 from miloyip/issue321_includerapidjson
...
Include rapidjson.h in error/error.h and internal/*.h
2015-04-28 11:03:01 +08:00
miloyip
dba6d6f1b5
Include rapidjson.h in error/error.h and internal/*.h
...
Fixes #321
2015-04-28 10:09:37 +08:00
Milo Yip
cca4013dcf
Merge pull request #320 from guoxiao/https
...
Fix warnings when visited via https
2015-04-26 21:37:52 +08:00
Guo Xiao
8f891403bc
Fix warnings when visited via https
2015-04-26 20:54:50 +08:00
Milo Yip
d2269f65f6
Update CHANGELOG.md
v1.0.1
2015-04-25 16:01:10 +08:00
Milo Yip
a592e199e7
Update CHANGELOG.md
2015-04-25 15:53:51 +08:00
Milo Yip
b55fe077b6
Merge pull request #318 from miloyip/release1.0.1
...
Release1.0.1
2015-04-25 15:50:26 +08:00
Milo Yip
2e913bfea6
Update readme badge to version 1.0.1 also
2015-04-25 10:18:30 +08:00
Milo Yip
316292d518
Change version to 1.0.1
2015-04-25 09:52:59 +08:00
Milo Yip
4f20541339
Add change log
2015-04-25 09:49:31 +08:00
Milo Yip
d38558ffd7
Merge pull request #314 from miloyip/issue313_exponentoverflow
...
Fix #313 Assertion In `Pow10.h` is triggered in Document::Parse
2015-04-25 08:54:45 +08:00
Milo Yip
1a2d99df50
Merge pull request #317 from mitza-oci/patch-1
...
Fixed to build on older versions of 32-bit MSVC
2015-04-25 08:54:38 +08:00
Adam Mitz
a9250d170d
Fixed to build on older versions of 32-bit MSVC
2015-04-24 13:32:00 -05:00
Milo Yip
7708215b60
Try to fix #313 again
2015-04-25 00:13:09 +08:00
Milo Yip
735354efd3
Separate handling for pos/neg exp and improve pos exp overflow
2015-04-24 22:50:42 +08:00
Milo Yip
93d13ad2ac
Fix #313 Assertion In Pow10.h
is triggered in Document::Parse
2015-04-24 21:44:42 +08:00
Milo Yip
7f43373a12
Merge pull request #311 from miloyip/issue310_versionmacro
...
RapidJSON v1.0.0
v1.0.0
2015-04-22 10:26:03 +08:00
miloyip
b2e53523bf
Change version in appveyor
2015-04-22 09:24:56 +08:00
miloyip
5ab3f69910
Simplify RAPIDJSON_VERSION_STRING
2015-04-22 09:19:18 +08:00
Milo Yip
de137a2567
Merge pull request #312 from jollyroger/find_gtest
...
Introduce option to select default gtest installation
2015-04-21 18:37:43 +08:00
Andrii Senkovych
04b673686a
Introduce option to select default gtest installation. Refs #309
...
This will introduce RAPIDJSON_BUILD_THIRDPARTY_GTEST option. If it is set to
TRUE, cmake will look for GTest installation in `thirdparty/gtest` before
looking in other places.
Current default value (OFF) for RAPIDJSON_BUILD_THIRDPARTY_GTEST represents
previous behaviour when system-wide gtest installation is used whenever
possible.
This commit will as well eliminate problem described in #309 when source
directory found is `thirdparty/gtest` while include files are found
system-wide. This however won't give the user possibility to select gtest
installation to use.
2015-04-21 13:33:44 +03:00
miloyip
95c6ec97c4
Add release badge to readmes
2015-04-21 17:28:31 +08:00
miloyip
5ab1e9361d
Add version macros for RapidJSON
2015-04-21 16:38:49 +08:00
miloyip
8d39282af5
Update license headers for tests
2015-04-18 21:41:38 +08:00
miloyip
aa61b08d11
Fix warnings for misctest
2015-04-18 21:31:56 +08:00
Milo Yip
0e8bbe5e3e
Standardize behavior of CrtAllocator::Malloc()
2015-04-17 13:01:14 +08:00
Milo Yip
4cd14b7c0e
Merge pull request #305 from pah/fix/strict-memcpy
...
Avoid calling memcpy with NULL pointers
2015-04-17 12:28:37 +08:00
Philipp A. Hartmann
0c5c1538dc
Avoid calling memcpy with NULL pointers
...
According to the C/C++ standards, calling `memcpy(NULL, NULL, 0)` is
undefined behaviour. Recent GCC versions may rely on this by optimizing
NULL pointer checks more aggressively, see [1].
This patch tries to avoid calling std::memcpy with zero elements.
As a side effect, explicitly return NULL when requesting an empty block
from MemoryPoolAllocator::Malloc.
This may be related to #301 .
[1] https://gcc.gnu.org/gcc-4.9/porting_to.html
2015-04-16 21:05:08 +02:00
miloyip
30ace6fa95
Fix mistake in perftest
2015-04-16 10:55:42 +08:00
miloyip
556d154bed
Search sample data in more folders for perftest
2015-04-16 10:34:45 +08:00
miloyip
22021d6622
Converts tabs to spaces
2015-04-16 10:15:23 +08:00