- 10 Jul, 2014 1 commit
-
-
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.
-
- 09 Jul, 2014 1 commit
-
-
Philipp A. Hartmann authored
-
- 08 Jul, 2014 3 commits
-
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
Warning push/pop support has been added to GCC in version 4.6.0, and pragmas to ignore certain warnings are present since 4.2.0. This patch hides the compiler-specific warning push/pop/disable pragmas behind a macro-based implementation (currently for MSVC and clang /GCC. This avoids warnings, as seen e.g. on GCC 4.4: ../../include/rapidjson/document.h:14: error: expected [error|warning|ignored] after ‘#pragma GCC diagnostic’ and earlier versions complaining about unknown pragmas being ignored. Note: unittest.h and perftest.h need to check for compilers explicitly, as rapidjson.h is not included there.
-
- 04 Jul, 2014 4 commits
- 03 Jul, 2014 5 commits
-
-
Milo Yip authored
Also added documentation, unit tests for swapping Document/Value, Document/Document.
-
Philipp A. Hartmann authored
-
Philipp A. Hartmann authored
-
Milo Yip authored
@pah
-
Milo Yip authored
-
- 02 Jul, 2014 5 commits
- 30 Jun, 2014 2 commits
-
-
Milo Yip authored
-
Milo Yip authored
https://code.google.com/p/rapidjson/issues/detail?id=75 The modification is slightly different from dlbattle123 to improve speed.
-
- 29 Jun, 2014 3 commits
- 27 Jun, 2014 2 commits
- 25 Jun, 2014 2 commits
-
-
Philipp A. Hartmann authored
This commit adds some simple tests for the deep-copying of values, either based on the explicit constructor, or the CopyFrom function. It uses the CrtAllocator to test for possible double-free errors due to insufficient copying.
-
Philipp A. Hartmann authored
-
- 24 Jun, 2014 2 commits
- 20 Jun, 2014 2 commits
-
-
Milo Yip authored
The original FindMember() may access out-of-bound of the 'const char* name' parameter. This commit firstly follows https://github.com/pah/rapidjson/commit/f86af8c232dc280ae510b119018d66ca08b82312 However, this must incur an StrLen() for name. A better API is by using Value as the name, which provides the length of string internally. So a set of new API are added: operator[](const GenericValue& name) FindMember(const GenericValue& name) RemoveMember(const GenericValue& name) During refactoring, it also adds an API: RemoveMember(MemberIterator m) which can be used for other purpose, such as removing a member while iterating an object. Fixes #7
-
Milo Yip authored
tmpnam() in VS prepends backslash in the path.
-
- 15 Nov, 2012 2 commits
-
-
miloyip@gmail.com authored
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@89 c5894555-1306-4e8d-425f-1f6f381ee07c
-
miloyip@gmail.com authored
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@87 c5894555-1306-4e8d-425f-1f6f381ee07c
-
- 14 Nov, 2012 3 commits
-
-
miloyip@gmail.com authored
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@80 c5894555-1306-4e8d-425f-1f6f381ee07c
-
miloyip@gmail.com authored
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@74 c5894555-1306-4e8d-425f-1f6f381ee07c
-
miloyip@gmail.com authored
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@72 c5894555-1306-4e8d-425f-1f6f381ee07c
-
- 13 Nov, 2012 2 commits
-
-
miloyip@gmail.com authored
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@67 c5894555-1306-4e8d-425f-1f6f381ee07c
-
miloyip@gmail.com authored
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@65 c5894555-1306-4e8d-425f-1f6f381ee07c
-
- 06 Mar, 2012 1 commit
-
-
miloyip@gmail.com authored
git-svn-id: https://rapidjson.googlecode.com/svn/trunk@64 c5894555-1306-4e8d-425f-1f6f381ee07c
-