Milo Yip
6a6bed2759
Merge pull request #1582 from crazyscot/master
...
Use C++17 fallthrough tag instead of disabling compiler warning
2019-10-08 10:12:13 +08:00
Milo Yip
5592c2eed4
Merge pull request #1544 from fredgan/master
...
修复文档中的错误
2019-10-08 09:57:38 +08:00
fredgan
39db1177bf
fix some misspellings
2019-10-08 09:25:51 +08:00
Ross Younger
4116912cde
Use C++17 fallthrough tag instead of disabling warning
...
Signed-off-by: Ross Younger <crazyscot@gmail.com>
2019-10-01 20:12:54 +13:00
Milo Yip
d67a69a9cf
Merge pull request #1490 from MalcolmTyrrell/fixCompileErrorInPointerH
...
Fix vs2017 compile error C2105: '--' needs l-value
2019-09-26 10:08:13 +08:00
Milo Yip
5777291497
Merge pull request #1579 from Tencent/vs2010
...
Fix VS2010 build via disabling copy constructor in GenericMember
2019-09-26 10:07:46 +08:00
Milo Yip
88a1ba9e30
Provide default implementations for move constructor/assignment in GenericMember
2019-09-25 20:20:20 +08:00
Milo Yip
c36b713c47
Disable copy constructor in GenericMember
2019-09-25 18:02:17 +08:00
Milo Yip
6006d6b678
Merge pull request #1573 from esrrhs/master
...
fix travis build
2019-09-25 14:27:37 +08:00
zhao xin
02d4ae838c
Update travis-doxygen.sh
2019-09-25 11:17:28 +08:00
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