1264 Commits

Author SHA1 Message Date
Rene Rivera
9939ea24d1 Update build deps. 2024-08-10 20:47:03 -05:00
Rene Rivera
171647fb3e Adjust doc build to avoid boost-root references. 2024-07-28 11:51:28 -05:00
Rene Rivera
8f6116ada4 Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:22 -05:00
Rene Rivera
2a37aaaeb4 Update copyright dates. 2024-07-20 22:52:04 -05:00
Rene Rivera
79c293351f Change all <source> references to <library>. 2024-07-20 21:27:39 -05:00
Rene Rivera
a481266238 Bump B2 require to 5.2 2024-06-14 11:33:56 -05:00
Rene Rivera
2aa26c9e84 Sync from upstream. 2024-05-20 18:30:51 -05:00
Andrey Semashev
31de9279d8 Replaced macos-11 GHA image with 12, 13 and 14 since 11 is being removed. boost-1.86.0.beta1 boost-1.86.0 boost-1.87.0.beta1 boost-1.87.0 boost-1.88.0.beta1 boost-1.88.0 2024-05-21 01:25:38 +03:00
Rene Rivera
6d870ad5e3 Add requires-b2 check to top-level build file. 2024-05-05 09:00:01 -05:00
Rene Rivera
80ede74e8c Sync from upstream. 2024-04-20 15:32:25 -05:00
Peter Dimov
12c95c48cf minstd_rand has been moved to Core 2024-04-14 06:10:37 +03:00
Rene Rivera
336c00b659 Remove relative references to boost-root in Jamfiles. 2024-04-13 16:21:04 -05:00
Rene Rivera
bf21064bfd Switch to library requirements instead of source. As source puts extra source in install targets. 2024-03-29 21:16:00 -05:00
Rene Rivera
2a8ce8e081 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Andrey Semashev
e0ecf92764
Merge pull request #107 from LegalizeAdulthood/patch-1
Correct in place factory example code
boost-1.85.0.beta1 boost-1.85.0
2024-02-15 19:44:18 +03:00
Richard Thomson
bff26e4fa1
Correct in place factory example code
The example code as given won't work without const qualifiers on the pointer arguments.
2024-02-15 09:32:22 -07:00
Andrey Semashev
9abd1fc78d Added Windows jobs to GHA CI. 2024-02-06 01:17:37 +03:00
Andrey Semashev
3829fcbef4 Replaced actions/checkout usage with manual download commands.
This fixes the deprecation warnings for actions/checkout@v3. actions/checkout@v4
is not functional because of the upstream bug:

https://github.com/actions/checkout/issues/1590
2024-02-06 01:15:54 +03:00
Andrey Semashev
21d6434320 Reduced CI job timeouts. 2024-02-06 01:14:29 +03:00
Andrey Semashev
2ac19511c2 Added gcc-13 and clang-17 GHA CI jobs. 2024-02-06 01:12:48 +03:00
Andrey Semashev
217f7346f6 Removed gcc-4.6 from CI as it lacks C++11 template aliases used in Boost.TypeOf. boost-1.84.0 2023-11-17 17:52:05 +03:00
Andrey Semashev
85b5594f32 Remove C++03 CI jobs, use gcc-11 libstdc++ for clang-12 through 15.
Clang 12 through 15 does not support libstdc++-13 in C++23 mode.
2023-11-17 13:50:26 +03:00
Andrey Semashev
a95a4f6580 Fixed a link to ResultOf docs. boost-1.84.0.beta1 2023-09-24 23:15:54 +03:00
Andrey Semashev
076f050e9a Updated library descriptions and Utility categories.
Reflect that some pieces of Utility were moved to other libraries, meaning
that Utility no longer provides the components that were previously
mentioned in its description and categories.

Make some other descriptions more clear.
2023-09-24 23:07:14 +03:00
Andrey Semashev
e06b6dd788 Added String category to StringView. 2023-09-24 22:58:56 +03:00
Andrey Semashev
219ee9855d Renamed String Ref to String View and updated link to docs.
The pewvious link to docs was broken, and string_view basically superceded
string_ref, so renaming the library entry is appropriate.

Fixes https://github.com/boostorg/utility/issues/105.
2023-09-24 22:54:36 +03:00
Andrey Semashev
cea4262e62 Trim trailing spaces. 2023-09-03 02:10:47 +03:00
Andrey Semashev
52e3e64a34 Switch to boost::core::invoke_swap.
boost::swap is deprecated and will be removed. Use boost::core::invoke_swap
as a replacement.
2023-09-03 02:10:18 +03:00
Andrey Semashev
eb721609af Fix compilation with MSVC 14.3 in C++20 mode. boost-1.83.0 2023-07-14 02:22:09 +03:00
Andrey Semashev
b32d95a887 Add clang-16 CI jobs, switch to clang-15 from stock Ubuntu repos. boost-1.83.0.beta1 2023-06-05 03:26:52 +03:00
Andrey Semashev
656b5397c5 Restored docs removed by 703a4bf752c153ccbf3688c9841295d234a4f085.
Some of the HTML docs in the root directory were not converted to QuickBook
by 703a4bf752c153ccbf3688c9841295d234a4f085 and were incorrectly removed.
These docs are referenced by other libraries' docs, so restoring these pages.
boost-1.82.0
2023-03-15 12:20:52 +03:00
Andrey Semashev
65b40cbf99 Fixed incorrect docs redirects. 2023-03-15 12:14:41 +03:00
Andrey Semashev
3aa25c9dd7 Use depinst.py to install dependencies in AppVeyor CI. boost-1.82.0.beta1 boost-1.81.0 2022-11-17 23:47:46 +03:00
Andrey Semashev
46a785e32d Updated to GHA checkout@v3 to avoid deprecation warnings. boost-1.81.0.beta1 2022-10-18 17:59:59 +03:00
Andrey Semashev
a1231d1ff4 GitHub Actions config update.
- Added gcc-12 and clang-13 through 15 jobs.
- Added C++23 testing for gcc and clang on Linux.
- Updated clang version for UBSAN job.
- Updated Ubuntu version for clang jobs to avoid having to use external APT
  repository.
- Updated python package installation for compatibility with Ubuntu 22.04.
2022-09-10 02:09:54 +03:00
Andrey Semashev
3fe40554df Switched gcc-9 to ubuntu-20.04 GHA CI image. 2022-08-14 17:56:22 +03:00
Andrey Semashev
c869f8a9fa Replaced ubuntu-18.04 GHA CI images with containers.
Also use ubuntu-latest image for jobs that are running in a container.
2022-08-14 14:20:34 +03:00
Andrey Semashev
5d39709ef0 Switch to macos-11 GHA image as macos-10.15 is deprecated. 2022-08-12 16:05:19 +03:00
Andrey Semashev
028a90b29d
Merge pull request #98 from boostorg/feature/string_view_remove_prefix_suffix_precondition
string_view: Change string_view::remove_prefix/suffix preconditions to use asserts
boost-1.80.0
2022-07-06 03:14:43 +03:00
Andrey Semashev
581654e408 Use assert in string_view::remove_prefix/suffix to enforce preconditions.
This is in line with std::string_view::remove_prefix/suffix definition, where
calling the method with n > size() is UB. We're keeping the check to clamp
n to size() for now for backward compatibility so that it can be eventually
removed.

Closes https://github.com/boostorg/utility/issues/92.
2022-07-05 23:53:47 +03:00
Andrey Semashev
06548cf5fa Added VS2022 job and C++20 and C++latest jobs to AppVeyor CI. boost-1.80.0.beta1 2022-06-06 03:14:01 +03:00
Andrey Semashev
932973fe39
Merge pull request #99 from boostorg/feature/string_view_contains
string_view: Add string_view::contains methods
2022-05-31 11:53:30 +03:00
Andrey Semashev
c63d36cf5b Added string_view::contains methods.
These methods were added in C++23.

Also updated string_view/ref tests:

- Added tests for string_view::contains.
- Added missing includes.
- Added missing std:: qualification.
- Removed tabs.
- Fixed misleading indentation (fixes gcc warnings).
- Fixed decrementing pointer before beginning of the string.

Closes https://github.com/boostorg/utility/issues/93.
2022-05-04 00:32:30 +03:00
Andrey Semashev
0106ffda5f Added string_view/ref::substr overloads taking no arguments.
This effectively adds support for pos=0 default argument value.
The separate overload is better as it avoids instantiating std::min,
boost::throw_exception and removes std::out_of_range construction, which
potentially reduces code size, while maintaining the same behavior.

Fixes https://github.com/boostorg/utility/issues/96.
2022-05-03 00:46:03 +03:00
Andrey Semashev
0c1d01d30a Removed noexcept from string_view::compare that may throw.
One overload of string_view::compare calls substr internally,
which may throw. This makes compare potentially throwing.

Fixes https://github.com/boostorg/utility/issues/94.
2022-05-03 00:42:20 +03:00
Andrey Semashev
7ac95c156c Fixed string_view/ref::max_size() returning incorrect value.
Fixes https://github.com/boostorg/utility/issues/91.
2022-05-03 00:38:15 +03:00
Andrey Semashev
eb29d71245 Corrected argument type in string_view/ref::at(). 2022-05-03 00:23:10 +03:00
Andrey Semashev
fe417f6237
Merge pull request #83 from sdarwin/meta
Update metadata
2022-05-03 00:13:23 +03:00
sdarwin
d5c33889b9 Update metadata 2022-05-02 13:53:04 -05:00
Andrey Semashev
11cff46019
Merge pull request #90 from fanquake/remove_boost_swap
refactor: use core/swap over deprecated swap header
2022-04-29 18:26:16 +03:00