Skip to content

Commit ec95543

Browse files
committed
temp
1 parent 0b1048a commit ec95543

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+6022
-1866
lines changed

.drone.star

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def main(ctx):
1818
linux_cxx("gcc 11 s390x", "g++-11", packages="g++-11", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2004:multiarch", environment={'B2_TOOLSET': 'gcc-11', 'B2_CXXSTD': '17,2a'}, arch="s390x", globalenv=globalenv),
1919
linux_cxx("Clang 12 arm64", "clang++-12", packages="clang-12 libstdc++-9-dev", llvm_os="focal", llvm_ver="12", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2004:multiarch", environment={'B2_TOOLSET': 'clang-12', 'B2_CXXSTD': '17,20', 'DRONE_JOB_UUID': '7719a1c783m'}, arch="arm64", globalenv=globalenv),
2020
linux_cxx("gcc 11 arm64", "g++-11", packages="g++-11", buildtype="boost", buildscript="drone", image="cppalliance/droneubuntu2004:multiarch", environment={'B2_TOOLSET': 'gcc-11', 'B2_CXXSTD': '17,2a', 'DRONE_JOB_UUID': '0716d9708dm'}, arch="arm64", globalenv=globalenv),
21-
linux_cxx("docs", "g++", packages="docbook docbook-xml docbook-xsl python3-jinja2 xsltproc flex libfl-dev bison unzip rsync", buildtype="docs", buildscript="drone", image="cppalliance/droneubuntu1804:1", environment={'COMMENT': 'docs', 'DRONE_JOB_UUID': 'b6589fc6ab'}, globalenv=globalenv),
21+
linux_cxx("docs", "g++", buildtype="docs", buildscript="drone", image="cppalliance/boost_superproject_build:24.04-v3", environment={'COMMENT': 'docs', 'DRONE_JOB_UUID': 'b6589fc6ab'}, globalenv=globalenv),
2222
linux_cxx("codecov", "g++-8", packages="g++-8", buildtype="codecov", buildscript="drone", image=linuxglobalimage, environment={'COMMENT': 'codecov.io', 'LCOV_BRANCH_COVERAGE': '0', 'B2_CXXSTD': '17', 'B2_TOOLSET': 'gcc-8', 'B2_DEFINES': 'BOOST_JSON_EXPENSIVE_TESTS BOOST_NO_STRESS_TEST=1', 'CODECOV_TOKEN': {'from_secret': 'codecov_token'}, 'B2_FLAGS': 'warnings=extra warnings-as-errors=on linkflags=-lstdc++fs', 'DRONE_JOB_UUID': '356a192b79'}, globalenv=globalenv),
2323
linux_cxx("Valgrind", "clang++-14", packages="clang-14 libc6-dbg libc++-dev libstdc++-9-dev", llvm_os="jammy", llvm_ver="14", buildscript="drone", buildtype="valgrind", image="cppalliance/droneubuntu2204:1", environment={'COMMENT': 'valgrind', 'B2_TOOLSET': 'clang-14', 'B2_CXXSTD': '11,14,17', 'B2_DEFINES': 'BOOST_NO_STRESS_TEST=1', 'B2_VARIANT': 'debug', 'B2_TESTFLAGS': 'testing.launcher=valgrind', 'VALGRIND_OPTS': '--error-exitcode=1'}, globalenv=globalenv),
2424
linux_cxx("ASan GCC", "g++-12", packages="g++-12", buildscript="drone", buildtype="boost", image="cppalliance/droneubuntu2204:1", environment={'COMMENT': 'asan', 'B2_VARIANT': 'debug', 'B2_TOOLSET': 'gcc-12', 'B2_CXXSTD': '11,14,17', 'B2_ASAN': '1', 'B2_DEFINES': 'BOOST_NO_STRESS_TEST=1', 'DRONE_EXTRA_PRIVILEGED': 'True'}, globalenv=globalenv, privileged=True),

.drone/drone.sh

+10-26
Original file line numberDiff line numberDiff line change
@@ -103,36 +103,20 @@ elif [ "$DRONE_JOB_BUILDTYPE" == "docs" ]; then
103103

104104
echo '==================================> INSTALL'
105105

106-
export SELF=`basename $REPO_NAME`
107-
108-
pwd
109-
cd ..
110-
mkdir -p $HOME/cache && cd $HOME/cache
111-
if [ ! -d doxygen ]; then git clone -b 'Release_1_8_15' --depth 1 https://github.com/doxygen/doxygen.git && echo "not-cached" ; else echo "cached" ; fi
112-
cd doxygen
113-
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
114-
cd build
115-
sudo make install
116-
cd ../..
117-
cd ..
118-
BOOST_BRANCH=develop && [ "$TRAVIS_BRANCH" == "master" ] && BOOST_BRANCH=master || true
119-
git clone -b $BOOST_BRANCH https://github.com/boostorg/boost.git boost-root --depth 1
120-
cd boost-root
121-
export BOOST_ROOT=$(pwd)
122-
git submodule update --init libs/context
123-
git submodule update --init tools/boostbook
124-
git submodule update --init tools/boostdep
106+
common_install
125107
git submodule update --init tools/docca
126-
git submodule update --init tools/quickbook
127-
rsync -av $TRAVIS_BUILD_DIR/ libs/$SELF
128-
python tools/boostdep/depinst/depinst.py ../tools/quickbook
129-
./bootstrap.sh
130-
./b2 headers
108+
git submodule update --init tools/boostlook
131109

132110
echo '==================================> SCRIPT'
133111

134-
echo "using doxygen ; using boostbook ; using python : : python3 ;" > tools/build/src/user-config.jam
135-
./b2 -j3 libs/$SELF/doc//boostrelease
112+
cat >$BOOST_ROOT/tools/build/src/user-config.jam <<EOF
113+
using doxygen ;
114+
using asciidoctor ;
115+
using python : : python3 ;
116+
EOF
117+
118+
export B2_TARGETS=libs/$SELF/doc//boostrelease
119+
$BOOST_ROOT/libs/$SELF/ci/travis/build.sh
136120

137121
elif [ "$DRONE_JOB_BUILDTYPE" == "codecov" ]; then
138122

CHANGELOG.adoc

+244
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,244 @@
1+
[pagelevels=1,toclevels=1]
2+
= Release Notes
3+
4+
:issue: https://github.com/boostorg/json/issues/
5+
6+
include::doc/pages/definitions.adoc[]
7+
8+
== Boost 1.87.0
9+
10+
.API Changes
11+
* {issue}991[#991] Conversion into structs ignores unknown keys.
12+
* {issue}1041[#1041] Exception wrapping behaviour for `value_to` is simplified.
13+
* {issue}1040[#1040] Deprecated initilaizer list behavior was removed.
14+
* {issue}1040[#1040] Deprecated type aliases were removed.
15+
16+
17+
.New Features
18+
* {issue}956[#956] <<direct_conversion,Direct serialization>>.
19+
* {issue}644[#644] Add GDB pretty printers for Boost.JSON types.
20+
21+
.Fixes
22+
* {issue}1057[#1057] Use correct 64bit full multiplication for MinGW on ARM64.
23+
* {issue}1048[#1048] Fix parse_into handling of tuple of the wrong size.
24+
* {issue}1047[#1047] Check for input size larger than allowed size of sequence.
25+
* {issue}1034[#1034] Fix `value_ref` segfaulting on GCC 14.
26+
27+
== Boost 1.86.0
28+
29+
.Deprecation
30+
* Support for GCC versions older than version 5.0 is deprecated and **will
31+
stop in Boost 1.88.0**.
32+
33+
.API Changes
34+
* {issue}941[#941] `source_location` parameter was added to throwing accessor
35+
functions.
36+
37+
.New Features
38+
* {issue}940[#940] Parse option to tolerate invalid UTF-16 surrogate pairs,
39+
and produce https://simonsapin.github.io/wtf-8/[WTF-8].
40+
* {issue}941[#941] Added accessor functions that return `system::result`.
41+
42+
.Fixes
43+
* Handle missing error case in direct parsing.
44+
45+
== Boost 1.85.0
46+
47+
.New Dependencies
48+
* {issue}915[#915] Boost.Endian is now used to deal with endianness.
49+
50+
.API Changes
51+
* {issue}881[#881] Aliases to Boost.System and Boost.Container components are
52+
deprecated and **will be completely removed in 1.87.0**.
53+
54+
.New Features
55+
* {issue}979[#979] Conversion of described classes supports private members
56+
* {issue}979[#979] Rvalue reference overload for `visit`.
57+
* {issue}977[#977] Add conversion support for path-like types.
58+
59+
.Fixes
60+
* {issue}988[#988] Parsing into described classes correctly considers inherited
61+
members.
62+
* {issue}975[#975] Conversion of self-referential sequences is disabled.
63+
* {issue}952[#952] Fixed reference handling in visit.
64+
65+
== Boost 1.84.0
66+
67+
.API Changes
68+
* {issue}925[#925] Add a conversion category for variants.
69+
* {issue}833[#833] Add a conversion category for optionals.
70+
* {issue}840[#840] Relax iterator requirements for constructors from iterator
71+
pairs.
72+
73+
.New Features
74+
* {issue}627[#627] Parsing directly into user types. See
75+
<<direct_conversion,Direct Parsing>>.
76+
77+
.Fixes
78+
* {issue}933[#933] Fix reading beyond input buffer.
79+
* {issue}920[#920] Fix inconsistent choice of init list constructor.
80+
* Documentation improvements.
81+
82+
== Boost 1.83.0
83+
84+
.API Changes
85+
* {issue}859[#859] The library now only throws {ref_system_error}, except for
86+
when allocation failed, in which case `std::bad_alloc` is thrown.
87+
* {issue}884[#884] Serialization behavior can now be changed by
88+
<<ref_serialize_options,`serialize_options`>>.
89+
90+
.New Features
91+
* {issue}819[#819] <<contextual_conversions,Contextual conversions>>.
92+
* {issue}599[#599] <<ref_number_precision,Parser option>> for more precise
93+
number parsing.
94+
* {issue}885[#885] Support <<ref_parse_options,`parse_options`>> in stream
95+
`operator<<`.
96+
* {issue}397[#397] <<ref_parse_options,Parser option>> to allow `Infinity` and
97+
`NaN` JSON literals.
98+
* {issue}901[#901] <<ref_number_precision,Parser mode>> that only validates
99+
numbers rather than parsing them.
100+
* {issue}892[#892] Numbers with exponent larger than `INT_MAX` are accepted by
101+
the parser and treated as infinity.
102+
103+
.Fixes
104+
* {issue}901[#901] Fix `object` member functions that should provide strong
105+
guarantee.
106+
* {issue}887[#887] Fix ambiguity of `end` call when `boost/range.hpp` is
107+
included.
108+
* {issue}902[#902] Fix ASan failures.
109+
* {issue}904[#904] Fix error message for `error::size_mismatch`.
110+
* Fix conversion into tuple with const elements.
111+
112+
== Boost 1.82.0
113+
114+
.New Features
115+
* {issue}800[#800] <<ref_value_set_at_pointer,`set_at_pointer`>>.
116+
* {issue}570[#570] <<ref_value_hash_value_fr,`boost::hash` support>>.
117+
118+
.Improvements
119+
* {issue}848[#848] <<ref_serializer_serializer,Caller-provided serializer
120+
storage>> .
121+
* {issue}807[#807] `value_to` supports missing elements for `std::optional`.
122+
* Documentation improvements.
123+
124+
.Fixes
125+
* {issue}876[#876] Fix parser suspend inside an escape character.
126+
* {issue}814[#814] Make sentinel() return a unique pointer.
127+
128+
== Boost 1.81.0
129+
130+
.API Changes
131+
* {issue}686[#686] Conversion traits were redesigned.
132+
* {issue}756[#756] Removed `condition::assign_error`.
133+
* {issue}758[#758] Removed `generic_category` alias.
134+
135+
.New Features
136+
137+
* {issue}749[#749] `object::stable_erase`.
138+
* {issue}778[#778] Added error condition for generic library errors.
139+
* {issue}619[#619] Added `parse` overload for `std::istream`.
140+
* {issue}619[#619] `operator>>` for `value`.
141+
142+
.Improvements
143+
* {issue}686[#686] Null-like type conversion support (including
144+
`std::nullptr_t`).
145+
* {issue}736[#736] Non-throwing conversion from `value` to user types.
146+
* {issue}677[#677] `value_to/from` supports `std::optional` and
147+
`std::nullopt_t`.
148+
* {issue}517[#517] `value_to/from` supports `std::variant` and `std::monotype`.
149+
* {issue}626[#626] `value_to/from` supports supports described classes
150+
and enums.
151+
* {issue}757[#757] Rvalue ref-qualified accessors for `value`.
152+
153+
.Fixes
154+
* {issue}745[#745] Support for self-swap and self-move in `string`.
155+
* {issue}747[#747] Support for self-swap and self-move in `array`.
156+
* {issue}735[#735] Replaced C floating point constants with C++ equivalents.
157+
* Documentation improvements.
158+
159+
== Boost 1.80.0
160+
161+
.API Changes
162+
* {issue}703[#703] Add non-const `value::at` overloads.
163+
* {issue}717[#717] Add the ability to manually choose endianness of the
164+
platform.
165+
* Add `string::subview()` overload.
166+
167+
.Fixes
168+
* {issue}692[#692] Fix segfault in `array::erase(it)`.
169+
* {issue}697[#697] Fix low performance of `serialize` on libc{pp}.
170+
* {issue}708[#708] Fix ambiguous conversion to `std::string_view` on GCC 8.
171+
* {issue}717[#717] Fix parsing on big-endian platforms.
172+
* {issue}726[#726] Fix handling of comment after trailing comma.
173+
* Minor documentation fixes.
174+
175+
== Boost 1.79.0
176+
177+
.API Changes
178+
* {issue}650[#650] Standalone mode of the library is removed. Users who wish to
179+
continue using standalone JSON can switch to
180+
https://github.com/CPPAlliance/standalone-json.git[the C++ Alliance fork].
181+
182+
.New Features
183+
* {issue}480[#480] Add support for JSON Pointer.
184+
185+
.Improvements
186+
* Add `std::error_code` overloads.
187+
* {issue}680[#680] Add `boost::source_location` to `error_codes`.
188+
189+
.Fixes
190+
* {issue}668[#668] Naturally grow string during serialization.
191+
192+
== Boost 1.78.0
193+
194+
.API Changes
195+
* {issue}628[#628] Standalone mode of the library is removed.
196+
197+
== Boost 1.78.0
198+
199+
.API Changes
200+
* {issue}628[#628] Standalone mode of the library is deprecated.
201+
202+
.New Features
203+
* {issue}549[#549] {issue}550[#550] Allow external libraries to forward declare
204+
<<ref_value_to,`value_to`>> and <<ref_value_from,`value_from`>>.
205+
206+
.Fixes
207+
* {issue}608[#608] {issue}612[#612] Fixed signed integer overflow in number
208+
parsing.
209+
* {issue}620[#620] Documentation fixes.
210+
211+
.Improvements
212+
* {issue}557[#557] Add support for `/Zc:implicitNoexcept-` on MSVC.
213+
214+
== Boost 1.77.0
215+
216+
.New Features
217+
* {issue}538[#538] <<ref_string_operator_std_string_view,Implicit conversion
218+
operator from `string` to `std::string_view`>>.
219+
* {issue}521[#521] {std_hash} specializations for JSON types.
220+
221+
.Fixes
222+
* <<ref_object,`object`>> deallocates the correct size.
223+
* Fixed crash when constructing <<ref_array,`array`>> from a pair of iterators
224+
that form an empty range.
225+
* <<ref_key_value_pair,`key_value_pair`>> allocates with the correct alignment.
226+
227+
.Improvements
228+
* <<ref_value_to,`value_to`>> supports `TupleLike` types.
229+
* <<ref_value_to,`value_to`>> and <<ref_value_from,`value_from`>> support
230+
{std_array} and similar types.
231+
232+
== Boost 1.76.0
233+
234+
.Fixes
235+
* {issue}481[#481] Refactored <<ref_value_from,value_from>> implementation;
236+
user customizations are now always preferred over library-provided overloads.
237+
* {issue}484[#484] Fixed imprecise parsing for some floating point numbers.
238+
* {issue}485[#485] Fixed link errors in standalone mode, when used alongside
239+
Boost.
240+
* {issue}497[#497] Fix Boost.Build builds on GCC 4.8.
241+
242+
== Boost 1.75.0
243+
244+
* Initial release.

0 commit comments

Comments
 (0)