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
miloyip
a7763cbeca
Fix allocator test
2015-04-16 09:42:22 +08:00
miloyip
67a3ee39b5
Fix coveralls
2015-04-16 00:29:28 +08:00
Milo Yip
b1fd2f18e1
Update readme.zh-cn.md
...
Add build status
2015-04-16 00:16:34 +08:00
Milo Yip
e857b082fb
Update readme.md
...
Add coverall badges
2015-04-16 00:11:41 +08:00
Milo Yip
75ee552f49
Merge pull request #304 from miloyip/issue298_coverage
...
100% line of code coverage
2015-04-15 23:58:59 +08:00
miloyip
0edf27fa0c
Only do coverage on gcc/debug
2015-04-15 22:55:35 +08:00
Milo Yip
0571a211bd
Cover SkipWhiteSpace for InsituStringStream
2015-04-15 22:36:00 +08:00
Milo Yip
8f2add7527
Not enforce force inline for debug configuration
2015-04-15 22:23:00 +08:00
Milo Yip
4d3c64acee
Improves SkipWhitespace test
2015-04-15 21:07:30 +08:00
Milo Yip
a81585b5e2
Further improve SkipWhitespace coverage
2015-04-15 20:51:36 +08:00
Milo Yip
998e76fecc
Improves SkipWhitespace coverage
2015-04-15 20:38:46 +08:00
miloyip
ee505261c1
Try to use another namespace for SIMD version
2015-04-15 18:34:18 +08:00
miloyip
a32d8b7650
Add SIMD SkipWhitespace() unit test which don't run in Valgrind
2015-04-15 18:18:57 +08:00
Milo Yip
fa32ec8991
Merge pull request #302 from thebusytypist/issue298_coverage
...
Improve code coverage for iterative parsing
2015-04-15 16:32:22 +08:00
thebusytypist
6ef29ff431
Fix warning about unused argument.
2015-04-15 16:09:29 +08:00
thebusytypist
0d28bb13c7
Add a missing error handling check(a single number as JSON root).
2015-04-15 15:46:31 +08:00
thebusytypist
5ae48a0380
Assert on impossible state transition in Transit(); Put the last case and all non-enumerated cases(also supply assertion for them) in for code coverage.
2015-04-15 15:21:42 +08:00