zhao xin
4c1d9edb35
Update travis-doxygen.sh
2019-09-25 11:16:55 +08:00
zhao xin
c136acf023
Update travis-doxygen.sh
2019-09-25 11:16:26 +08:00
zhao xin
b2861565aa
Update travis-doxygen.sh
2019-09-25 11:16:06 +08:00
zhao xin
ed234bf749
Update .travis.yml
2019-09-25 10:26:39 +08:00
zhao xin
d3c4b2b2b1
Update .travis.yml
2019-09-25 10:17:39 +08:00
Eric Rannaud
ebc003e205
Make GenericMemberIterator::Iterator public again (RAPIDJSON_NOMEMBERITERATORCLASS)
...
d87b698d0f made all definitions of GenericMemberIterator consistent as
classes (they were structs with RAPIDJSON_NOMEMBERITERATORCLASS
defined), but it didn't keep the member definitions public.
document.h:586:71: error: 'Iterator' is a private member of
'rapidjson::GenericMemberIterator<false, rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >'
typedef typename GenericMemberIterator<false,Encoding,Allocator>::Iterator MemberIterator; //!< Member iterator for i...
^
document.h:2124:32: note: in instantiation of template class
'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' requested here
class GenericDocument : public GenericValue<Encoding, Allocator> {
2019-09-12 09:08:11 -07:00
Milo Yip
fcec7735dc
Merge pull request #1567 from AtnNn/master
...
Allow pointer tokens to have non-null-terminated strings
2019-09-12 17:40:00 +08:00
Etienne Laurin
123d7c89a4
add test for non-null-terminated token
2019-09-12 08:12:06 +01:00
Etienne Laurin
6102f0bd06
fix template parameter
2019-09-11 17:23:15 +01:00
Etienne Laurin
6fe99777e4
Allow pointer tokens to have non-null-terminated strings
2019-09-11 17:03:35 +01:00
Milo Yip
2648a732db
Merge pull request #1557 from MBoldyrev/doc/fix-uint-case
...
Documentation: fixed Uint case
2019-08-23 15:07:50 +08:00
Mikhail Boldyrev
8973b279cf
fixed Uint case in docs
2019-08-23 07:44:29 +03:00
Charles Milette
02230fecbf
Change #ifdef to #if defined
2019-07-25 17:17:52 -04:00
Charles Milette
dfc0b35360
Update comment
2019-07-25 17:12:48 -04:00
Charles Milette
0d671a2e19
Fix signedness error
2019-07-25 17:11:20 -04:00
Charles Milette
07e1d7870a
Fix build error under non-Clang compilers
2019-07-25 16:55:34 -04:00
Charles Milette
d5d7171f6d
Fix ARM NEON under MSVC
2019-07-25 16:38:34 -04:00
FredGan
a133b16699
Merge pull request #1 from Tencent/master
...
Change all GenericMemberIterator from struct to class
2019-07-16 20:18:56 +08:00
Milo Yip
d87b698d0f
Change all GenericMemberIterator from struct to class
2019-06-28 10:37:13 +08:00
Renny Koshy
c43697c16c
- Fixed a build issue by initializing "index" in the header file
2019-06-21 23:55:32 -04:00
Milo Yip
4b3d7c2f42
Merge pull request #1506 from ylavic/CreatePattern
...
Add missing curly brackets in STDREGEX's CreatePattern().
2019-05-17 09:27:30 +08:00
ylavic
92f99bc2ee
RAPIDJSON_NOEXCEPT_ASSERT() should never throw.
...
clang warns about throwing from RAPIDJSON_NOEXCEPT_ASSERT() in a nothrow
context.
If RAPIDJSON_ASSERT() throws it can never be used for _NOEXCEPT_ASSERT(),
so use C assert() instead.
Finally (and originally), since RAPIDJSON_ASSERT() in "unittest.h" throws,
make it define RAPIDJSON_ASSERT_THROWS for RAPIDJSON_NOEXCEPT_ASSERT() to
now do the right thing.
2019-05-09 13:37:49 +02:00
ylavic
b4538b5363
Fix compilation of sortkeys.cpp with MSVC 2013 (hopefully).
2019-05-09 13:37:49 +02:00
ylavic
94fc463801
Add missing curly brackets in STDREGEX's CreatePattern().
2019-04-29 15:06:52 +02:00
Malcolm Tyrrell
c840a7ae15
Fix vs2017 compile error C2105: '--' needs l-value
2019-04-15 10:00:14 +01:00
Milo Yip
01950eb7ac
Merge pull request #1488 from somone23412/somone23412-fix-typo-1
...
Update pointer.zh-cn.md : fix typo
2019-04-15 09:25:18 +08:00
quyan
0798d5b26e
fix typo
2019-04-15 00:43:37 +08:00
Milo Yip
e80257a924
Merge pull request #1481 from liangdzou/patch-1
...
add missing header "ios"
2019-04-09 13:21:59 +08:00
Liang ZOU
13687a6e3e
add missing header "ios"
...
add missing header "ios" for symbol "std:: streamsize"
2019-04-09 10:55:57 +08:00
Milo Yip
e123f650a9
Merge pull request #1479 from MaxXSoft/patch-tutorial
...
doc/tutorial.zh-cn: fixed some typos
2019-04-09 09:42:14 +08:00
MaxXSoft
d5c5b87f0d
doc/tutorial.zh-cn: fixed some typos
2019-04-08 19:20:06 +08:00
Milo Yip
55c3c241cf
Merge pull request #1477 from eisaev/patch-1
...
Fixed typo in allocators.h
2019-04-04 14:50:21 +08:00
eisaev
9264a9a7ef
Update allocators.h
...
Fixed typo
2019-04-03 22:10:30 +05:00
Milo Yip
091de040ed
Merge pull request #1462 from ra1u/master
...
Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro
2019-03-11 10:35:27 +08:00
Luka Rahne
40cae03b0d
Allow user to define custom RAPIDJSON_NOEXCEPT_ASSERT macro
2019-03-10 20:07:59 +01:00
Milo Yip
3cf4f7c5a0
Merge pull request #727 from mapbox/silence-dereference-null-pointer
...
Silence false positive clang-tidy warning
2019-03-06 09:33:13 +08:00
Milo Yip
7484e06c58
Update doxygen download URL
2019-02-11 15:17:59 +08:00
Milo Yip
1ede098e90
Workaround of sortkeys example
2019-02-11 14:14:35 +08:00
Gaspard Petit
cef07fb1b3
Added parameters to RAPIDJSON_MALLOC, RAPIDJSON_REALLOC and RAPIDJSON_FREE
...
Signed-off-by: Gaspard Petit <gaspard.petit@eidosmontreal.com>
2019-02-10 01:15:35 -05:00
Gaspard Petit
ad2e5369b9
Adding a single customization point that ensures all allocations within rapidjson can be performed with a custom memory allocator; Introduces the macros RAPIDJSON_MALLOC, RAPIDJSON_REALLOC, and RAPIDJSON_FREE.
...
Signed-off-by: Gaspard Petit <gaspard.petit@eidosmontreal.com>
2019-02-10 00:32:26 -05:00
Milo Yip
b94c2a1203
Adding swap() for GenericMember
2019-02-08 11:39:25 +08:00
Milo Yip
0739a3e88b
Fix gcc compilation error in sortkeys
2019-02-06 20:35:20 +08:00
Milo Yip
f595f8a6a5
Update sortkeys.cpp
2019-02-06 19:59:09 +08:00
Milo Yip
1892013216
Merge pull request #1421 from HomeControlAS/sort_by_name_example
...
added example for sorting keys
2019-02-06 19:52:54 +08:00
Milo Yip
79a6dabd08
Merge pull request #1439 from ylavic/schema_pointer_allocator
...
Use the allocator of the Schema for its Pointer.
2019-02-06 19:31:03 +08:00
Milo Yip
93cb84a7bb
Merge pull request #1442 from rbilovol/cmake-fixup
...
CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path
2019-02-06 19:30:43 +08:00
Milo Yip
efad25970e
Merge pull request #1444 from leolchat/patch-1
...
Correct complexity claim
2019-02-06 19:30:11 +08:00
Léonard Gérard
bf09397285
Correct complexity claim
2019-01-31 22:29:07 -08:00
Ruslan Bilovol
8d272e53a4
CMake: remove hardcoded CMAKECONFIG_INSTALL_DIR path
...
Currently this path is hardcoded to lib/cmake.
Some distributions have different library path (like lib64).
So reuse LIB_INSTALL_DIR for that to make CMAKECONFIG_INSTALL_DIR
configurable and usable in such distros.
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
2019-01-24 18:38:14 +02:00
ylavic
dbb594bdb3
Use the allocator of the Schema for its Pointer.
...
The Pointer passed to construct the Schema can be from the stack or any
transient storage, so the copy stored in the Schema must have the same
lifetime/allocator as the Schema itself.
2019-01-10 18:42:16 +01:00