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

345 Commits

Author SHA1 Message Date
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
Vinnie Falco
0a905acf9d Tidy up pilfering 2020-10-06 11:59:58 -07:00
Vinnie Falco
dd338e299e Update natvis 2020-10-06 11:38:58 -07:00
Vinnie Falco
ca9e94c490 Tidy up to_number 2020-10-05 16:16:48 -07:00
Vinnie Falco
2032232f9e value::to_number replaces number_cast 2020-10-05 13:17:13 -07:00
Vinnie Falco
592783499e Tidy up value and tests 2020-10-05 11:44:13 -07:00
Vinnie Falco
94d11a74e6 Refactor storage_ptr (API Change) 2020-10-04 19:07:58 -07:00
Vinnie Falco
6f895a79cc Refactor basic_parser includes
fix #424
2020-10-04 18:30:22 -07:00
Vinnie Falco
e1140a9847 Better construction of keys
fix #426
2020-10-04 18:26:25 -07:00
Vinnie Falco
f2efd9b66a Tidy up CMakeLists.txt for superproject 2020-10-04 17:33:43 -07:00
Vinnie Falco
996c8958fe Add visit
fix #207
2020-10-04 11:22:29 -07:00
Vinnie Falco
a2c1b7e9e5 monotonic_resource has an upstream
fix #365
2020-10-04 11:21:55 -07:00
Vinnie Falco
1b73c77822 static and monotonic resource tests, fixes:
fix #419

* monotonic_resource::release correctly resets
  the buffer list.
2020-10-04 11:21:55 -07:00
Vinnie Falco
0fd1d1a9a7 basic_parser::depth is private
fix #430
2020-10-04 11:21:55 -07:00
Vinnie Falco
b95be4fd15 8-bit integers are supported
fix #433
2020-10-04 11:21:55 -07:00
Vinnie Falco
531287af2b long double is not a fundamental type:
fix #432

Users have to opt-in to the narrowing conversion
by using static_cast.
2020-10-04 11:21:55 -07:00
Vinnie Falco
9b86962fbc Add metadata and update repo links 2020-10-04 11:06:25 -07:00
Vinnie Falco
a4d2983c4f Doc work 2020-10-03 18:55:53 -07:00
Vinnie Falco
a0983f788b Add test file for doubles 2020-10-02 14:04:07 -07:00
Vinnie Falco
08dd10b5f5 stream_parser docs, test, and tidy 2020-09-27 20:26:57 -07:00
Vinnie Falco
7882ccf866 parser docs, test, and tidy 2020-09-27 20:00:29 -07:00
Vinnie Falco
47fdfb0840 basic_parser has no undefined behavior 2020-09-27 18:37:15 -07:00
Vinnie Falco
c92461baf3 Add parser 2020-09-26 18:09:54 -07:00
Vinnie Falco
d026d5daed Rename to stream_parser 2020-09-26 17:57:00 -07:00
Vinnie Falco
3fbc6b3017 Add boost/json/fwd.hpp
fix #416
2020-09-25 12:59:16 -07:00
Vinnie Falco
7cb4ad1884 Rename to basic_parser::write_some (API Change)
fix #394

basic_parser::write is now called write_some
2020-09-24 10:39:25 -07:00
Vinnie Falco
fa6a6fbd55 kind is streamable
fix #405
2020-09-24 10:39:25 -07:00
Krystian Stasiowski
14c514f4ea value_to is idiomatic for number conversions
fix #367, close #375
2020-09-26 16:39:25 -07:00
Krystian Stasiowski
d817a91fbb Show use of designated initializers for parse_options
fix #368, close #374
2020-09-26 16:39:03 -07:00
Vinnie Falco
50b5c52b32 Refactor array 2020-09-20 13:00:08 -07:00