2
0
mirror of https://github.com/boostorg/log.git synced 2026-01-19 04:22:09 +00:00

925 Commits

Author SHA1 Message Date
Andrey Semashev
e9e8579607 Added CMake MinGW-w64 job to GHA. 2024-12-15 18:27:15 +03:00
Andrey Semashev
ddb9868bfb Disable std::codecvt<char16_t> and std::codecvt<char32_t> for C++20 and later.
These specializations were deprecated in C++20, and libc++-19 now generates
deprecation warnings when using std::codecvt<char16_t> and
std::codecvt<char32_t> in C++20 and later modes.
2024-12-07 17:32:58 +03:00
Andrey Semashev
403fff4062 Removed macos-12 job from GHA CI.
The image is deprecated.
2024-12-07 17:05:29 +03:00
Andrey Semashev
a741a34df2 Added new gcc and clang versions to GHA CI. 2024-12-07 17:05:22 +03:00
Andrey Semashev
1be88666c5 Replaced address::from_string with make_address.
address::from_string functions in Boost.ASIO were deprecated and removed.
Use make_address free functions as a replacement.

Fixes https://github.com/boostorg/log/issues/239.
boost-1.87.0.beta1 boost-1.87.0
2024-11-05 18:16:18 +03:00
Andrey Semashev
29e5fc6504 Fixed grammar in the docs. 2024-10-29 18:50:49 +03:00
Andrey Semashev
440b160c91 Replaced leftover BOOST_STATIC_ASSERT_MSGs with static_assert. 2024-10-11 00:07:47 +03:00
Andrey Semashev
c126392841 Switched from atomic_count to Boost.Atomic for reference counting.
This avoids including a deprecated header from Boost.SmartPtr implementation
details.

Closes https://github.com/boostorg/log/pull/236.
2024-09-29 19:30:32 +03:00
Andrey Semashev
028247d2e6 Updated dependencies in CMakeLists.txt.
Removed unused dependences, made Boost.WinAPI Windows-specific.
2024-08-19 02:39:07 +03:00
Andrey Semashev
26c93dc061 Replaced Boost.Thread synchronization primitives with std equivalents.
This replaces boost::thread and most mutexes and condition variables with
std equivalents. It also adds support for std lock types to the strictest_lock
type trait.

This significantly, although not completely, reduces the dependency on
Boost.Thread.

Refs https://github.com/boostorg/log/issues/232.
2024-08-16 20:01:18 +03:00
Andrey Semashev
9a906e2f54 Expanded comment re. windres.exe workaround. boost-1.86.0.beta1 boost-1.86.0 2024-06-13 21:25:00 +03:00
Andrey Semashev
8c8124c730 Added a changelog entry for the windres.exe workaround. 2024-06-13 21:15:15 +03:00
Andrey Semashev
0843c5877e Added a comment to reference windres.exe issue. 2024-06-13 21:09:27 +03:00
Andrey Semashev
d3670d29a1 Merge pull request #231 from hiiiik/develop
Fixed compilation error on MinGW-w64.
2024-06-13 21:06:41 +03:00
ik
32d0ebf3fe Fixed compilation error on MinGW-w64.
The default behavior of windres.exe to read the output of the
preprocessor is using popen. However, the popen implementation may be
buggy on some non-English hosts, which would cause a compilation error
like this:

windres.exe: can't open file `page:': Invalid argument

Fix by adding '--use-temp-file' option and windres.exe will use a
temporary file to read instead of using opoen.

Signed-off-by: ik <hello_ik@outlook.com>
2024-06-11 22:20:02 +08:00
Andrey Semashev
901600febf Replaced macos-11 GHA image with 12, 13 and 14 since 11 is being removed. 2024-05-21 01:20:30 +03:00
Andrey Semashev
38bf38e835 Use _xgetbv intrinsic on Windows for AVX2 detection.
The intrinsic is supported since VS2010 SP1, which is below our minimum
supported MSVC version. The intrinsic is the proper way to detect
support for AVX register state by the OS instead of the undocumented
GetEnabledExtendedFeatures WinAPI function.
2024-04-13 17:50:11 +03:00
Andrey Semashev
2d932ddcb5 Updated links to Boost libraries docs. boost-1.85.0 2024-04-07 23:58:00 +03:00
Andrey Semashev
e5e4e9554f Changed http to https in Boost URLs. 2024-04-07 20:15:43 +03:00
Andrey Semashev
ea643a6f1d Updated URL to Boost.System docs. 2024-04-07 20:13:57 +03:00
Andrey Semashev
e79cfd841f Explicitly specify TOC depth. boost-1.85.0.beta1 2024-03-02 18:38:56 +03:00
Andrey Semashev
5f84f9130c Expanded leading explanation for attributes.
Related to https://github.com/boostorg/log/issues/226.
2024-03-02 18:10:25 +03:00
Andrey Semashev
433aa87b8c Minor wording improvement. 2024-03-02 16:01:59 +03:00
Andrey Semashev
d9d1f59375 Moved How to read and Definitions to the front page of the docs.
This makes these sections better exposed to an impatient reader, as
that information is useful for better understanding of the rest of
the docs.

Also extracted installation sections to a separate file.

Related to https://github.com/boostorg/log/issues/226.
2024-03-02 15:41:02 +03:00
Andrey Semashev
0b09e69c45 Removed MinGW32 AppVeyor job.
This compiler is no longer supported by Boost.System.

https://github.com/boostorg/system/issues/116
2024-02-07 00:01:09 +03:00
Andrey Semashev
b9c4024c0d 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 00:54:48 +03:00
Andrey Semashev
8d1605728e Reduced CI job timeouts. 2024-02-06 00:50:36 +03:00
Andrey Semashev
d30bc4e500 Added gcc-13 CI job. 2024-02-06 00:49:12 +03:00
Andrey Semashev
6bb218f22e Added clang-17 GHA jobs. 2024-01-14 22:36:44 +03:00
Andrey Semashev
500d05cb9e Added Windows jobs to GitHub Actions CI. 2024-01-14 22:27:18 +03:00
Andrey Semashev
609b700a5b Removed unneeded Boost.Filesystem include. 2024-01-14 22:14:53 +03:00
Andrey Semashev
8b921b6352 Removed gcc-4.8 and 4.9 from GHA CI. Added gcc-11 toolchain for clang.
Boost.ASIO does not compile in C++11 mode on gcc prior to 5 as it uses
std::align.

Clang prior to 16 does not support libstdc++13 that is installed in
GHA ubuntu-22.04 image by default in C++20 mode. Use libstdc++11
instead.
boost-1.84.0
2023-11-25 15:51:14 +03:00
Andrey Semashev
07edd2faa3 Updated b2 executable name in docs. 2023-11-25 15:05:30 +03:00
Andrey Semashev
ae9bf80017 Added a note about deprecation of Windows versions prior to 10. boost-1.84.0.beta1 2023-10-08 20:51:55 +03:00
Andrey Semashev
9cb9046d2a Switch to allocator_traits from Boost.Core. 2023-10-02 01:47:39 +03:00
Andrey Semashev
a0811c2498 Removed dependency on Boost.Array. 2023-10-02 01:26:08 +03:00
Andrey Semashev
3ff5b0d8ba Removed dependency on Boost.Bind. 2023-10-02 00:26:36 +03:00
Andrey Semashev
d1f54da1c0 Removed dummy boost_log_setup_is_empty export.
This should no longer be needed, now that
b3ffed4ec2 is merged.
2023-10-01 23:20:55 +03:00
Andrey Semashev
3df6ed0b05 Updated include path. 2023-10-01 23:15:52 +03:00
Andrey Semashev
c7c0aa7acb Added Boost.Build requirements on C++11 features we use. 2023-10-01 23:11:51 +03:00
Andrey Semashev
9d726cc5fe Switch to C++11 static_assert. 2023-10-01 17:47:29 +03:00
Andrey Semashev
2352b7eacf Updated cxxstd to 11 in library metadata. 2023-10-01 17:31:06 +03:00
Andrey Semashev
4db6450fe8 Conditionally link with Boost.Regex library, if it's in C++03 mode.
Boost.Log supports compilers that do not qualify as C++11 compilers
for Boost.Regex, even if they are compiling in C++11 mode. In that
case, we still need to link with Boost.Regex v4 prebuilt library.

For more recent compilers, Boost.Regex v5 is used, and that is
a header-only library. This commit removes linking with Boost.Regex
when this is detected at configure time.

Note that only Boost.Build is updated. CMake doesn't need to be
updated since even header-only libraries need to be listed as
dependencies.

Closes https://github.com/boostorg/log/pull/219.
2023-09-25 20:14:34 +03:00
Andrey Semashev
adbdc63e10 Drop gcc 4.6 and 4.7 from CI.
Boost.Variant now uses reference qualitication for its methods, which
is only supported since gcc 4.8.
2023-09-03 03:52:11 +03:00
Andrey Semashev
62d63678ae 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:30:41 +03:00
Andrey Semashev
7ddeff52f1 Removed dependency on Boost.LexicalCast. 2023-08-25 14:48:46 +03:00
Andrey Semashev
e175d010e6 Updated docs to note that C++11 is now required. 2023-08-13 15:53:19 +03:00
Andrey Semashev
ee82d5ba10 Removed C++03 compilers from the CI.
Dependency libraries no longer support C++03, so we are removing
support for C++03 from Boost.Log. For now, drop C++03 from CI
configs.
2023-08-13 15:50:50 +03:00
Andrey Semashev
b3ffed4ec2 Disable building boost_log_setup when settings parsers are disabled.
Check the BOOST_LOG_WITHOUT_SETTINGS_PARSERS macro in the Jamfile and
suppress building boost_log_setup if it is defined. The built library
is empty in this case, and MSVC linker even produces no library,
which later breaks installation.

Fixes https://github.com/boostorg/log/issues/164.
Closes https://github.com/boostorg/log/pull/165.
Blocked by https://github.com/bfgroup/b2/issues/104.
boost-1.83.0.beta1 boost-1.83.0
2023-06-13 19:53:07 +03:00
Andrey Semashev
756a3d0b3d Switch MSVC-14.3 AppVeyor CI build to Windows 10.
This allows to test compilation when using the latest Windows APIs. In
particular, this allows to test that linking works when Boost.Atomic uses
WaitOnAddress API.
2023-06-13 13:31:25 +03:00