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
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