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

374 Commits

Author SHA1 Message Date
Dmitry Arkhipov
a30b76c51b Remove unnecessary build script code 2021-10-04 17:29:28 +03:00
Dmitry Arkhipov
5b45854bb0 Fix signed integer overflow in exponent parsing 2021-08-20 11:54:38 +03:00
Dmitry Arkhipov
745be88916 Refactor CMakeLists
* Overhaul of dealing with CMake use cases
* Put target property setup into a function
* Fix test standalone_with_boost for CMake
* Other minor fixes/edits
2021-06-28 10:12:04 +03:00
Dmitry Arkhipov
445efad9a9 Remove trailing whitespace 2021-06-26 16:17:57 +03:00
Dmitry Arkhipov
351603c9b2 value_to supports std::array 2021-05-23 22:49:02 +03:00
Dmitry Arkhipov
562c9f5e7e value_from supports std::array 2021-05-23 09:58:11 +03:00
Dmitry Arkhipov
b040917ced key_value_pair allocates with the correct alignment 2021-05-22 21:20:45 +03:00
Dmitry Arkhipov
a3edd051e2 checking_resource for testing allocations 2021-05-22 21:20:45 +03:00
Dmitry Arkhipov
6e69ed376b Remove ryu::d2s_buffered 2021-05-22 21:19:19 +03:00
Dmitry Arkhipov
dffb248677 Remove ryu::d2s 2021-05-22 21:19:19 +03:00
Dmitry Arkhipov
112f2af950 Tests for object constructor from empty range 2021-05-08 15:29:19 +03:00
Dmitry Arkhipov
a46690714c Fix array constructor from iterators 2021-05-08 15:29:19 +03:00
Dmitry Arkhipov
73e582d6fc Remove trailing whitespace 2021-05-08 15:29:18 +03:00
Dmitry Arkhipov
2ebbd0cfe3 to_number overload takes error 2021-05-08 01:01:45 +03:00
Dogan Ulus
f6a429e443 Expand and improve tests 2021-05-06 21:29:35 +03:00
Dogan Ulus
87a93dade5 Add std::hash specializations for json types 2021-05-06 21:24:26 +03:00
Dmitry Arkhipov
7c482b5ee0 Depend on Mp11 2021-05-04 16:59:29 +03:00
Dmitry Arkhipov
5e69b5a61e Remove trailing whitespace 2021-05-04 16:36:28 +03:00
Dmitry Arkhipov
3a80d5fc9b Documentation fixes 2021-05-04 16:36:28 +03:00
Dmitry Arkhipov
aae1863def value_to supports TupleLike types 2021-04-26 03:33:50 +03:00
Dmitry Arkhipov
0d65b0ada0 json::string is convertible to string_view 2021-04-26 03:25:45 +03:00
Dmitry Arkhipov
5bae7ef9ad Remove trailing whitespace 2021-04-26 03:25:17 +03:00
Dmitry Arkhipov
de6e72d5c0 Prefix tests in CMake with boost_json 2021-04-26 00:43:19 +03:00
KoaLaYT
a53e2181d2 object deallocates the correct size 2021-04-25 19:39:39 +03:00
Dmitry Arkhipov
a122abac63 Remove trailing whitespace 2021-04-25 16:18:01 +03:00
Dmitry Arkhipov
92463f9f36 Remove unnecessary semicolon 2021-03-17 10:42:58 -07:00
Dmitry Arkhipov
e580ace767 value_from supports char const* 2021-03-04 22:08:59 +03:00
Dmitry Arkhipov
4de9c6fb6c Use division to compute smaller negative powers of 10 2021-03-01 14:08:11 +03: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
Vinnie Falco
edbf86641b Doc tidy 2020-12-01 17:20:09 -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
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
f8d2c7617e Disable unreachable code warning 2020-11-16 09:16:40 -08:00
Vinnie Falco
8453a2980e Use safe sprintf on win targets 2020-10-30 10:50:15 -07:00
Vinnie Falco
52f1d0b30b Small object uses linear search 2020-10-27 14:42:36 -07:00
Krystian Stasiowski
2b074ee053 value_to/from don't use user-provided conversion functions 2020-10-27 14:03:52 -07:00
Krystian Stasiowski
99a013818a tag_invoke exposition
fix #411
2020-10-27 14:03:52 -07:00
Peter Dimov
2d4bea29bd Add tests for 1e-326..1e+309 2020-10-24 12:12:48 -07:00
Richard Hodges
bfc8665d6d Fix visit for const values 2020-10-22 20:53:43 +02:00
Richard Hodges
3f2fb68be5 Improved tests for string to double
close #447
2020-10-21 11:39:30 -07:00
Krystian Stasiowski
6a7d34117c C++11 is required
fix #451, close #452
2020-10-21 10:50:19 -07:00
Krystian Stasiowski
a09d596781 Use is_same over is_same_v 2020-10-21 09:54:42 -07:00
Vinnie Falco
844851c6ab Refactor object 2020-10-09 10:15:02 -07:00
Richard Hodges
ff6a090680 Fix parsing of double with >16 mantissa digits 2020-10-08 14:01:59 -07:00