Commit Graph

1226 Commits

Author SHA1 Message Date
7d5d019900 glob headers 2022-07-05 10:48:48 +02:00
ff7f512a45 Rework as esp-idf component 2022-07-04 20:19:34 +02:00
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
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
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
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
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
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
eb29d71245 Corrected argument type in string_view/ref::at(). 2022-05-03 00:23:10 +03:00
fe417f6237 Merge pull request #83 from sdarwin/meta
Update metadata
2022-05-03 00:13:23 +03:00
d5c33889b9 Update metadata 2022-05-02 13:53:04 -05:00
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
f11a56c2a7 refactor: use core/swap over deprecated swap header
In boost/swap.hpp:
```cpp
// The header file at this path is deprecated;
// use boost/core/swap.hpp instead.

```
2022-04-29 16:08:20 +01:00
69f6588d7c Updated comment. boost-1.79.0.beta1 boost-1.79.0 2022-01-17 17:53:42 +03:00
6950023bca Added a link to the ticket with discussion re. MSVC warning 4913. 2022-01-17 17:49:37 +03:00
c3aab6a184 Use #ifdef to test for BOOST_MSVC. 2022-01-17 17:42:45 +03:00
7717dac7bc Merge pull request #89 from Kojoley/patch-1
result_of_callable_class: suppress MSVC C4512
2022-01-17 17:29:33 +03:00
63aadf3f0f result_of_callable_class: suppress MSVC C4512
`result_of_callable_class` derives from a user provided type which might not be eligible for an implicit assignment operator causing an annoying warning
2022-01-16 22:34:34 +03:00
0feb28b467 Merge pull request #88 from alandefreitas/boost_rel_paths
Adjust `@boost` relative paths
2021-12-28 23:38:13 +03:00
78f1b38930 Adjust @boost relative paths 2021-12-28 15:24:39 -03:00
e6edd4eb91 Minor formatting improvement. 2021-12-09 15:21:20 +03:00
9d1284ef6d Use paths relative to the point of execution in doxygen rules.
This partly re-applies 5ae025b56a with the
following changes:

- Use path-constant to deduce the path relative to the point of execution
  rather than the Jamfile.
- Use that path only to list source files to be passed to Doxygen.
- Keep the project rule, but remove the duplicate requirements that are
  explicitly specified in standalone_main.

Hopefully, this should work around the problem of Reference generation
in the official docs.
2021-12-09 01:26:44 +03:00
aa0ccfa65e Revert "Use path-constant in Jamfile"
This reverts commit 5ae025b56a.

Reason for revert: This breaks local generation of docs due to broken
links to css and images.
2021-12-09 00:02:37 +03:00
c21d2818c7 Merge pull request #86 from alandefreitas/reference_glob
Use path-constant in Jamfile
2021-12-08 23:57:03 +03:00
5ae025b56a Use path-constant in Jamfile 2021-12-08 17:53:12 -03:00
f3f7c3c041 Merge pull request #85 from alandefreitas/reference_glob
Adjust doxygen relative paths
2021-12-08 10:56:04 -05:00
bdc983b804 Adjust doxygen relative paths 2021-12-08 12:53:59 -03:00
a1583e3072 Updated a couple C++ standard references. 2021-12-08 16:27:46 +03:00
30caa722c1 Nonessential docs formatting. 2021-12-08 16:18:56 +03:00
96169c9fc6 Added a link to the page describing EBO. 2021-12-08 16:15:48 +03:00
b6119df27f Added links to a page describing POD. 2021-12-08 16:12:15 +03:00
9941e831bb Updated references to C++ standard to C++11, added character escaping. 2021-12-08 16:08:36 +03:00
a8cdbe516d Fixed a typo, added character escaping in docs. 2021-12-08 16:07:14 +03:00
485a160dde Updated docs formatting. 2021-12-08 15:17:19 +03:00
2b0441e95f Merge pull request #84 from Kojoley/patch-1
Fix extra tokens after #endif
boost-1.78.0
2021-11-22 17:26:16 +03:00
de106bf696 Fix extra tokens after #endif
Regression from #79
2021-11-22 17:17:57 +03:00
b9a91970be Adjusted code formatting. 2021-11-16 17:28:15 +03:00
73bccf50db Moved auto-generated files to a separate subdirectory. 2021-11-16 17:23:51 +03:00
f7c17df050 Adjusted code formatting. 2021-11-16 17:23:51 +03:00
51104850f6 Fixed web URL for the Boost.Utility docs.
Also adjusted formatting, removed unnecessary escaping and glob calls.
2021-11-16 17:23:29 +03:00
301ad68447 Merge pull request #79 from alandefreitas/develop
Modernize Docs
2021-11-16 08:36:34 -05:00
5f5aa500d0 Set boost.doxygen.refids for doxygen references 2021-11-16 01:57:02 -03:00
fede5878c3 Updated check for apt-add-repository capabilities.
In Ubuntu 20.04 there appeared an updated version of the
software-properties-common package in focal-updates, which ships a newer
apt-add-repository version that doesn't support -P/-S/-U command line arguments.

Since we cannot rely on package version checks to determine apt-add-repository
capabilities, we have to parse its --help output instead.

Also, made source list processing more protected against spaces.
2021-11-16 00:54:51 +03:00
a3ec92334d Remove implementation detail from compressed pair private inheritance 2021-11-15 15:49:54 -03:00
d186ad3539 Escape Jamfile.v2 url.prefix 2021-11-15 15:49:54 -03:00
1d6d44c1c4 Generate doxygen xml reference 2021-11-11 17:46:09 -03:00
0171af0f77 Add quickbook documentation structure 2021-11-05 21:51:11 -03:00
703a4bf752 Transcribe documentation to quickbook 2021-11-05 21:50:00 -03:00
05e0d1688d Re-enabled 32-bit clang-win AppVeyor job on VS2019 image.
32-bit clang does not fail with the mspdb error on the VS2019 image.
Apply the same env script workaround as for the 64-bit clang.
boost-1.78.0.beta1
2021-10-10 13:59:26 +03:00
dcaf2c0e3b Fixed a typo in AppVeyor config. 2021-10-10 00:18:35 +03:00