2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-13 12:32:12 +00:00
Commit Graph

730 Commits

Author SHA1 Message Date
sdarwin
e989eb0c8b Drone CI uses newer OS images 2021-03-17 10:42:58 -07:00
Dmitry Arkhipov
24a6ec14d9 Create release notes 2021-03-12 12:59:21 +03:00
Dmitry Arkhipov
ddc6eb3100 Use Ubuntu 18.04 for newer clang 2021-03-12 12:59:21 +03:00
Dmitry Arkhipov
ba8cabcce8 Remove trailing whitespace 2021-03-12 12:59:21 +03:00
sdarwin
469b629709 Drone CI uses newer packages
close #529
2021-03-11 17:33:43 -08:00
sdarwin
4c47a4c473 GitHub Actions are supported
close #526
2021-03-11 12:23:54 -08:00
Dmitry Arkhipov
e580ace767 value_from supports char const* 2021-03-04 22:08:59 +03:00
Dmitry Arkhipov
964f106f39 Remove trailing whitespace 2021-03-04 21:54:12 +03:00
Dmitry Arkhipov
030caa9d9a Drone badges are correct boost-1.76.0.beta1 2021-03-03 11:47:53 -08:00
Liang Yan
70d3e15f05 Doc errata fixes
Signed-off-by: Liang Yan <ckgppl_yan@sina.cn>
2021-03-02 17:39:17 -08:00
sdarwin
55acb5b44b Fix drone windows builds 2021-03-02 00:45:29 +00:00
Dmitry Arkhipov
4de9c6fb6c Use division to compute smaller negative powers of 10 2021-03-01 14:08:11 +03:00
Dmitry Arkhipov
2b422f0a95 Remove trailing whitespace 2021-03-01 14:05:29 +03:00
Evan Lenz
e004c58386 Replace sed-based customization with XSLT import
fix boostorg/docca#40
2021-02-17 16:30:24 -08:00
Dmitry Arkhipov
e6422636b4 cxxstd=03 builds are no-ops
fix #497
2021-02-09 10:12:12 -08:00
Dmitry Arkhipov
dd7c77ded6 GCC 4.8 is supported
close #497
2021-02-09 10:12:06 -08:00
Dmitry Arkhipov
a160c55549 Revert "gcc-4.8 is supported"
This reverts commit f0ea69fefd.
2021-02-05 22:44:55 +03:00
Dmitry Arkhipov
f0ea69fefd gcc-4.8 is supported 2021-01-28 02:55:15 -08:00
Dmitry Arkhipov
f52b56d39d Don't check Boost version
The library was checking if Boost version is not below 1.73. This is an
artifact of pre-inclusion to Boost times. Currently in non-standalone mode the
library is only supported in Boost versions it is included with, so the
check is unnecessary. Moreso, the check caused errors when standalone
library was used alongside Boost.
2021-01-27 10:44:27 +03:00
Dmitry Arkhipov
2e876dd250 Add BOOST_JSON_SOURCE_POS
Replaced usage of BOOST_CURRENT_LOCATION with BOOST_JSON_SOURCE_POS.
Using BOOST_CURRENT_LOCATION results in warnings (and could probably
lead to ODR violations) when Json is used standalone, but alongside
Boost.
2021-01-26 20:54:18 +03:00
Dmitry Arkhipov
932b97e5ce Refactor value_from implementation:
fix #481, close #483

Remove internal uses of tag_invoke,
only using it from now on for user
customizations.
2021-01-12 15:10:14 -08:00
Edward Diener
697ceeedbb Add "cxxstd" json field:
close #477

The "cxxstd" json field is being added to each Boost library's meta
json information for libraries whose minumum C++ standard compilation
level is C++11 on up. The value of this field matches one of the values
for 'cxxstd' in Boost.Build. The purpose of doing this is to provide
information for the Boost website documentation for each library which
will specify the minimum C++ standard compilation that an end-user
must employ in order to use the particular library. This will aid
end-users who want to know if they can successfully use a Boost
library based on their C++ compiler's  compilation level, without
having to search the library's documentation to find this out.
2020-12-17 10:13:07 -08:00
Vinnie Falco
edbf86641b Doc tidy boost-1.75.0 2020-12-01 17:20:09 -08:00
sdarwin
cd31994ca0 Fix codecov for Drone
close #476
2020-12-01 12:27:10 -08:00
Vinnie Falco
d5c1bf566e Remove Travis integration 2020-11-30 13:51:59 -08:00
sdarwin
ec44f5ce32 Adjust asan container permissions for Drone CI 2020-11-28 02:47:24 -08:00
Vinnie Falco
49e6a8cf56 Update supported compilers 2020-11-27 11:58:45 -08:00
Vinnie Falco
885a902e47 Remove experimental targets from CI 2020-11-25 09:50:26 -08:00
Vinnie Falco
3249b30ef9 Add Drone.io build badges 2020-11-25 09:04:54 -08:00
sdarwin
cf760c18b4 fix drone asan build 2020-11-24 16:23:12 -08:00
sdarwin
1c534cb484 drone 2020-11-24 14:03:13 -06:00
Vinnie Falco
bfacd2bfd8 Update docca config 2020-11-18 07:27:17 -08:00
Vinnie Falco
9e67899cd5 Support standalone shared libraries
fix #467
2020-11-17 16:57:22 -08:00
Richard Hodges
21cdb11346 Fix value_to and value_from for MSVC-14.0:
close #465

value_to and value_from was incorrectly deducing that std::string was
"array-like" rather than "string-like", but only on msvc-14.0

Original test:

template<class T, typename std::enable_if<
    std::is_constructible<remove_cvref<T>, const char*, std::size_t>::value &&
    std::is_convertible<decltype(std::declval<T&>().data()), const char*>::value &&
    std::is_convertible<decltype(std::declval<T&>().size()), std::size_t>::value
>::type* = nullptr>

Which works for all compilers except msvc-14.0

New test:

template<class T, typename std::enable_if<
    std::is_constructible<remove_cvref<T>, const char*, std::size_t>::value &&
    std::is_convertible<decltype(std::declval<T&>().data()), const char*>::value &&
    std::is_integral<decltype(std::declval<T&>().size())>::value
>::type* = nullptr>

Note that each individual test works on all compilers. It seems to be
the conjuction of tests that caused msvc-14 to trip up.
2020-11-17 16:57:22 -08:00
Vinnie Falco
38c31a1812 Safer shared library behavior:
This solves a problem where there is more than
one instance of the library loaded into the process
and objects are shared across module boundaries.
2020-11-17 11:44:10 -08:00
Vinnie Falco
499ef7d4b1 Revert "Add value::is_integral"
This reverts commit 099a82957a.
2020-11-17 11:44:10 -08:00
Vinnie Falco
099a82957a Add value::is_integral 2020-11-16 10:18:48 -08:00
Vinnie Falco
76ee8891d2 Add GH issue template 2020-11-16 09:34:13 -08:00
Vinnie Falco
512a8478de gcc 4.7 is not supported 2020-11-16 09:16:40 -08:00
Vinnie Falco
f8d2c7617e Disable unreachable code warning 2020-11-16 09:16:40 -08:00
Vinnie Falco
ee8d72d850 Fix value to_number warning for lossy conversion boost-1.75.0.beta1 2020-11-03 19:23:36 -08:00
Krystian Stasiowski
4e3dd6f4c7 Prerelease versions do not use -Werror
close #462
2020-11-02 10:16:12 -08:00
Vinnie Falco
bd735aa673 Disable g++11 pre-release on Travis 2020-10-30 17:05:31 -07:00
Vinnie Falco
1d79785653 Use static cast instead of dynamic cast 2020-10-30 15:57:47 -07:00
Vinnie Falco
6f4cead649 Remove UB in storage_ptr 2020-10-30 14:45:14 -07:00
Vinnie Falco
8453a2980e Use safe sprintf on win targets 2020-10-30 10:50:15 -07:00
Vinnie Falco
74fb1effd1 Squelch class dllexport warning 2020-10-30 10:50:15 -07:00
Krystian Stasiowski
3a39b8cf9f Fix out-of-bounds warning on g++11 2020-10-30 10:50:15 -07:00
Krystian Stasiowski
0366d4ce64 Add missing include for g++11 2020-10-30 10:50:15 -07:00
Krystian Stasiowski
c036f3db9c Fix implicit floating-point conversion warnings 2020-10-30 10:50:15 -07:00