- 12 Jul, 2014 8 commits
- 11 Jul, 2014 6 commits
-
-
Milo Yip authored
GenericValue::operator= : fixup assignment operator (again)
-
Milo Yip authored
travis-ci.org: improve config, debug GH_TOKEN issue
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
While MSVC doesn't like the explicit `.template operator=<...>` syntax (see 4f40ed64), Clang 3.5 complains about the absence of it: In file included from ../../test/perftest/rapidjsontest.cpp:6: ../../include/rapidjson/document.h:504:18: error: use 'template' keyword to treat 'operator =' as a dependent template name return (*this).operator=<StringRefType>(str); ^ template Delegate both operator=(StringRefType) and operator=(T) to operator(GenericValue&).
-
- 10 Jul, 2014 9 commits
-
-
Milo Yip authored
Fixes and cleanups for MSVC
-
Philipp A. Hartmann authored
There's no need to enforce this flag during the build of the perftest or the GoogleTest library, as both include third-party code.
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
There are two copies of `StrLen` in the RapidJSON code base * strfunc.h: rapidjson::internal::StrLen<Ch> * unittest.h: Strlen<Ch> To hide a warning on MSVC, align both implementations to use 'unsigned/SizeType' as return type and add an explicit cast.
-
Philipp A. Hartmann authored
The `StringRefType` assignment operator overload leads to a compiler error on MSVC 2005 and later: ..\..\include\rapidjson/document.h(504) : error C2951: template declarations are only permitted at global, namespace, or class scope Drop the unneeded 'template' keyword here.
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
MSVC with enabled RAPIDJSON_SSE2/RAPIDJSON_SSE42 requires the explicit definition of the `_BitScanForward` intrinsic. This can be reliably ensured by including "intrin.h" and properly marking '_BitScanForward' as intrinsic. Confirmed on MSVC 2005, 2008. Should fix https://code.google.com/p/rapidjson/issues/detail?id=96
-
- 09 Jul, 2014 14 commits
-
-
Milo Yip authored
-
Milo Yip authored
-
Milo Yip authored
-
Milo Yip authored
travis-doxygen.sh: avoid leaking the GitHub token in build log
-
Philipp A. Hartmann authored
-
Milo Yip authored
Improved handling of (constant) strings
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Milo Yip authored
Fixup travis doxygen build script
-
Philipp A. Hartmann authored
-
miloyip authored
-
Milo Yip authored
Travis CI: build/update Doxygen from separate script
-
- 08 Jul, 2014 3 commits
-
-
Philipp A. Hartmann authored
With the new string handling API, the constructor taking a `bool` parameter matches in some unwanted cases, as pointers can be casted to `bool` implicitly. Add a SFINAE helper to this constructor to avoid matching arbitrary pointers. To avoid confusion for the user, this mechanism is hidden from the Doxygen documentation.
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-