2301 Commits

Author SHA1 Message Date
Milo Yip
35e480fc4d
Merge pull request #1609 from piratf/readme_contributing
add contributing section in readme.md
2019-11-25 11:54:59 +08:00
piratf
6cadd4b2ca add contributing section in readme.md, introduced the basic cooperation process. 2019-11-24 12:28:34 +08:00
Milo Yip
6534506e82
Merge pull request #1603 from piratf/cmakelist_upgrade
fix CMake policy CMP0048 warning #1154
2019-11-11 18:03:54 +08:00
piratf
46d980b46a fix CMake policy CMP0048 warning #1154 2019-11-11 16:09:43 +08:00
Milo Yip
c4c6a65410
Merge pull request #1548 from TranslucentTB/master
Fix ARM NEON under MSVC
2019-11-01 10:53:00 +08:00
Charles Milette
e54aca7006
Merge branch 'master' of https://github.com/Tencent/rapidjson 2019-10-31 21:10:28 -04:00
Milo Yip
bb5f966b99
Merge pull request #1591 from veekxt/patch-1
fix a typo of doc
2019-10-21 21:19:59 +08:00
VeekXT
67b245e07d
doc: fix a typo 2019-10-18 18:49:15 +08:00
Milo Yip
1a825d24fa
Merge pull request #1529 from rkoshy/master
Fixed a build issue by initializing "index" in the header file
2019-10-15 09:49:27 +08:00
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