1200 Commits

Author SHA1 Message Date
Omer Katz
83a2e13efb Add pip caching only when reporting coverage. 2015-12-31 14:21:23 +02:00
Omer Katz
918fafc611 Disable cache for doxygen. 2015-12-31 13:56:35 +02:00
Omer Katz
5337e73f34 Fix path. 2015-12-31 13:41:51 +02:00
Omer Katz
8e40b2062e Split the documentation task from the rest since references to script doesn't work. 2015-12-31 13:29:39 +02:00
Omer Katz
89631a6190 Make documentation only in one of the build jobs. 2015-12-31 13:05:57 +02:00
Omer Katz
5fb5002e9a Run everything in 2 parallel threads. 2015-12-31 12:35:25 +02:00
Omer Katz
52e287a8c9 Fail the build early if cmake cannot generate the Makefiles. 2015-12-31 12:32:50 +02:00
Omer Katz
0cc5974b11 Missed one CCACHE_CPP2=yes 2015-12-31 12:19:09 +02:00
Omer Katz
45ea872f2e Set CCACHE_CPP2 environment variable to yes as described in http://petereisentraut.blogspot.co.il/2011/09/ccache-and-clang-part-2.html 2015-12-31 12:10:34 +02:00
Omer Katz
163c4b7583 Fixed cmake syntax errors. 2015-12-31 12:07:28 +02:00
Omer Katz
96fbaef1ec Workaround clang and ccache bugs described in http://petereisentraut.blogspot.co.il/2011/05/ccache-and-clang.html 2015-12-31 12:04:47 +02:00
Omer Katz
84c56130d2 Adjust CMakeLists.txt files to use ccache when it's available. 2015-12-31 11:56:39 +02:00
Omer Katz
3186e31b57 Print cache statistics. 2015-12-30 15:57:44 +02:00
Omer Katz
db11011a5c Script seems to fail to report coverage. Explictly specifying the commands. 2015-12-30 15:55:24 +02:00
Omer Katz
c3cd3edad2 Explictly specify the entire matrix. 2015-12-30 15:52:11 +02:00
Omer Katz
3a01a25242 Explictly specify compiler in the matrix. 2015-12-30 15:09:36 +02:00
Omer Katz
1f43a6f0b2 Added comment. 2015-12-30 15:07:32 +02:00
Omer Katz
291bcf94b0 Fixed path to coverage script. 2015-12-30 15:01:44 +02:00
Omer Katz
2a7836c961 Cached python packages as well for faster coverage reporting. 2015-12-30 13:11:39 +02:00
Omer Katz
6400ab8d18 Added the missing coveralls script. 2015-12-30 13:10:39 +02:00
Omer Katz
4fadfa5c22 Corrected the build matrix and removed inline logic. 2015-12-30 13:06:53 +02:00
Omer Katz
6d97d8bf71 Fixed bash syntax error. 2015-12-30 12:32:26 +02:00
Omer Katz
feadfad266 Fix syntax errors. 2015-12-30 12:18:39 +02:00
Omer Katz
caa4d22d16 Initial attempt at moving travis to containerized infrastructure. 2015-12-29 18:15:52 +02:00
Milo Yip
f36af30531 Merge pull request #495 from pah/fixes/494-warning-pop
encodings.h: fix typo in preprocessor condition (closes #494)
2015-12-16 16:46:35 +08:00
Philipp A. Hartmann
7899a3c125 encodings.h: fix typo in preprocessor condition (closes #494) 2015-12-16 09:40:39 +01:00
Milo Yip
a1c4f325ca Temporarily remove git clone single-branch
https://github.com/travis-ci/travis-ci/issues/5225
2015-12-06 13:44:47 +08:00
Milo Yip
bd85e8d259 Merge pull request #488 from haubi/master
detect little endian for Microsoft ARM targets
2015-12-06 12:58:47 +08:00
miloyip
8b265fe4b6 Fixes #489 2015-12-06 11:38:53 +08:00
Michael Haubenwallner
e706397861 detect little endian for Microsoft ARM targets
When _MSC_VER and _M_ARM is defined, this is some Windows ARM target
using little-endian byte order.
2015-12-04 17:54:45 +01:00
Milo Yip
dee230b4d6 Merge pull request #485 from haubi/master
use <wchar.h> with C++ linkage on Windows ARM
2015-12-01 09:25:39 +08:00
Michael Haubenwallner
5b268e6508 use <wchar.h> with C++ linkage on Windows ARM
Instead of commenting that we should, just do include <wchar.h>
with C++ linkage when compiling for Windows on ARM.
Actually, omitting the C linkage really should be enough here.
2015-11-30 17:34:29 +01:00
Milo Yip
28f2ed00d9 Merge pull request #484 from miloyip/Issue483_PointerValue
Fix #483 by using the correct value type
2015-11-30 17:37:58 +08:00
Milo Yip
db0a03a43c Fix #483 by using the correct value type 2015-11-30 17:22:06 +08:00
Milo Yip
9c71093564 Merge pull request #482 from macworld/master
fix typos and dead links in docs
2015-11-30 09:44:02 +08:00
Wenhao Liu
06f62e38f7 fix typos and dead links, sync faq.zh-cn.md 2015-11-29 00:12:29 +08:00
Wenhao Liu
fe89676a9e fix a compatibility issue with doxygen 2015-11-28 22:40:43 +08:00
Milo Yip
9d47c62337 Merge pull request #480 from pah/feature/document-parseresult
GenericDocument: add implicit conversion to ParseResult
2015-11-27 10:42:11 +08:00
Philipp A. Hartmann
9378001e35 documenttest.cpp: check/use conversion from Document to ParseResult 2015-11-26 22:33:14 +01:00
Philipp A. Hartmann
98959e2820 GenericDocument: add implicit conversion to ParseResult
To simplify the error handling, this commit adds an implicit conversion
of GenericDocument to ParseResult, allowing code like (already in the
documentation):

   ParseResult ok = doc.Parse(json);
   if (!ok) // ...
2015-11-26 22:30:59 +01:00
Milo Yip
8ec389f167 Merge pull request #478 from haubi/master
fix Document::Parse(const Ch*) for transcoding
2015-11-26 09:16:07 +08:00
Michael Haubenwallner
07672da098 fix Document::Parse(const Ch*) for transcoding
To allow for an UTF16-Document to Parse(UTF8),
the Parse() argument has to be UTF8-compatible.
2015-11-25 19:45:47 +01:00
Milo Yip
292714e64a Merge pull request #470 from pah/fix/469-expect-throw-after-move
documenttest.cpp: EXPECT_THROW when checking empty allocator (closes #469)
2015-11-17 10:11:59 +08:00
Philipp A. Hartmann
c8d298bc9e documenttest.cpp: EXPECT_THROW when checking empty allocator (closes #469)
In the MoveConstructor/MoveAssignment tests, a check for a `NULL` allocator
return has been used to check for the correct moved-from state of a Document.
After the merge of #426, the GetAllocator call fails with an assertion,
if the allocator of a GenericDocument is NULL.

Check for the throw, instead of NULL in the move-related tests.
Tested with GCC 4.9 on Linux with C++11 enabled.

Reported-by: @woldendans
2015-11-16 21:32:09 +01:00
Milo Yip
b39a898269 Merge pull request #460 from stunney/master
Adding coapp definition
2015-10-30 09:32:08 -07:00
stunney
dceb7bed94 Usage comment
Adding usage comment at the top of the file for knowledge sharing
2015-10-29 14:02:12 -04:00
stunney
d6912d07cd Updating LicenseURL based on @miloyip 's suggestion
https://github.com/miloyip/rapidjson/pull/460#issuecomment-152232015
2015-10-29 13:53:42 -04:00
stunney
c6cb74bff8 Adding coapp definition
To create a nupkg, call CoApp's Write-NuGetPackage .\rapidjson.autopkg
-defines:MYVERSION=1.0.2 (or whatever version you want to call it)
2015-10-29 11:57:56 -04:00
Milo Yip
82329825c3 Fixes full-width spaces 2015-10-28 15:57:13 -07:00
Milo Yip
e602aab7f4 Fix language for pointer 2015-10-27 14:34:35 -07:00