2
0
mirror of https://github.com/boostorg/json.git synced 2026-02-09 23:22:27 +00:00
Commit Graph

1096 Commits

Author SHA1 Message Date
Dmitry Arkhipov
0201abe2df remove BOOST_ASSERT fallback 2024-02-13 13:05:55 +03:00
Dmitry Arkhipov
8ae26f30f0 remove BOOST_NORETURN fallback 2024-02-13 13:05:55 +03:00
Dmitry Arkhipov
3d8c37d6b3 remove BOOST_JSON_NODISCARD 2024-02-13 13:05:55 +03:00
Dmitry Arkhipov
5663210adf use Boost.Endian for endianness 2024-02-12 22:52:36 +03:00
Dmitry Arkhipov
bacc644f93 deprecate type aliases 2024-02-09 13:19:49 +03:00
Dmitry Arkhipov
411b9a9201 explicitly require default construction in value_to for described classes 2024-02-08 20:09:12 +03:00
Dmitry Arkhipov
b031e0d317 better document visit 2024-02-07 23:11:35 +03:00
Dmitry Arkhipov
e8d8409928 rvalue ref overload for visit 2024-02-07 23:11:35 +03:00
Dmitry Arkhipov
b07a034870 fix references used in visit
1. Fix references in return type
2. Pass nullptr to the visitor with the same value category as the argument.
    This is done for uniformity.
2024-02-07 21:39:54 +03:00
Dmitry Arkhipov
ed3a618e4c direct parsing supports paths 2024-02-06 20:01:31 +03:00
Dmitry Arkhipov
14dfadb44b add conversion support for paths 2024-02-06 20:01:31 +03:00
Dmitry Arkhipov
194aefb376 do not allow self-referential sequences
If the sequence's value type is the same type as the sequence, our
sequence conversion algorithms can't handle them, because they clearly
have some additional data associated with them. As such, they need
special treatment.
2024-02-05 14:07:15 +03:00
Dmitry Arkhipov
42242573a4 cmake jobs for msvc 2024-01-22 12:48:21 +03:00
Dmitry Arkhipov
db92f8c223 fix broken links in docs 2024-01-11 21:39:48 +03:00
Nigel Stewart
942bbd4cf5 remove unnecessary semicolons
Fix for Issue #968 - extra ; in gcc --pedantic-errors mode
2024-01-08 14:42:23 +03:00
Dmitry Arkhipov
c1e60bbfb2 in CI bootstrap when testing with old compilers bootstrap b2 with a newer compiler 2024-01-05 15:13:42 +03:00
Dmitry Arkhipov
adb7e333c5 don't embed manifest in msvc 14.0 CI
Should fix b2 bootstrap
2024-01-02 00:25:27 +03:00
Dmitry Arkhipov
1eb855b470 fix build as CMake subdirectory
Also add tests for different CMake use cases
2024-01-01 23:49:29 +03:00
Dmitry Arkhipov
04b26837fd remove dead code from serializer 2023-12-15 17:49:45 +03:00
Dmitry Arkhipov
527023f634 Merge branch 'master' into develop 2023-12-15 17:46:24 +03:00
Dmitry Arkhipov
ae03c6b821 fix issue links in release notes boost-1.84.0 2023-11-20 14:11:44 +03:00
Dmitry Arkhipov
b6641d47f6 1.84.0 release notes 2023-11-20 14:11:44 +03:00
Dmitry Arkhipov
8670fd78af fix issue links in release notes 2023-11-20 12:37:47 +03:00
Dmitry Arkhipov
26d48cd782 1.84.0 release notes 2023-11-20 12:18:36 +03:00
Dmitry Arkhipov
90d858fc70 simple and operator benchmarks use monotonic resource 2023-11-08 22:18:33 +03:00
Dmitry Arkhipov
7a76ac3b11 bench implementation that uses operators 2023-11-08 17:21:18 +03:00
Dmitry Arkhipov
b00f8529cc bench flag to count file read time 2023-11-07 13:37:48 +03:00
Dmitry Arkhipov
b9c830781f run benchmark once before measuring
This puts the input data into memory, which puts multiple trials on
equal ground. Without it the first trial is often radically different
from the following trials.
2023-11-07 13:37:43 +03:00
Dmitry Arkhipov
3b8f86cb05 ignore some overhead when bench counting 2023-11-06 14:54:54 +03:00
Dmitry Arkhipov
8700ab838d use steady_clock for benchmarks 2023-11-06 13:10:00 +03:00
Dmitry Arkhipov
80f8825fae discard only 1 best sample for bench 2023-11-06 11:43:48 +03:00
Dmitry Arkhipov
6af15da206 bench cleanup 2023-11-02 22:14:52 +03:00
Dmitry Arkhipov
ae4fdf153f notes on as_ functions not doing convesions boost-1.84.0.beta1 2023-10-27 21:03:13 +03:00
Dmitry Arkhipov
efded1d062 remove duplicate line in reference 2023-10-26 21:27:05 +03:00
Dmitry Arkhipov
b2fa868bbe make memory resource classes VISIBLE 2023-10-26 20:54:45 +03:00
Dmitry Arkhipov
aa14b592fe remove unused macros 2023-10-26 20:49:23 +03:00
Dmitry Arkhipov
3d17afc229 increase testing of CMake build files 2023-10-26 09:14:52 +03:00
Dmitry Arkhipov
a0fbf1d906 fix msvc build of tests 2023-10-25 11:29:13 +03:00
Dmitry Arkhipov
e19eddeaee parse_into clears strings before filling them 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
75981e701e parse_into clears sequences before filling them 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
f144f382d8 document direct parsing 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
34284c3e53 avoid unnecessary allocations for strings 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
60bf3455c2 remove unnecessary parameters 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
a3821cea69 increase parse_into coverage 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
f5b9709666 add struct member count checking for parse_into 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
c1b7174780 add array size checking for parse_into 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
aaa4e7f58a add tuple size checking for parse_into 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
4f4396e1f8 test parse_into error reporting 2023-10-09 16:59:39 +03:00
Peter Dimov
53b99c8e6b Add example/parse_into_citm_catalog.cpp 2023-10-09 16:59:39 +03:00
Dmitry Arkhipov
9859866d08 parse_into supports std::array 2023-10-09 16:59:39 +03:00