1
0
forked from boostorg/core
Commit Graph

1408 Commits

Author SHA1 Message Date
Peter Dimov f6193acbdf Document BOOST_CORE_ALIGNOF 2023-01-26 03:01:01 +02:00
Peter Dimov a504b356d4 Merge branch 'develop' into feature/alignof 2023-01-26 02:02:00 +02:00
Peter Dimov bd1835f92f Avoid memory leak in alloc_construct_cxx11_test.cpp, because ASan diagnoses it 2023-01-26 01:10:00 +02:00
Peter Dimov bfad92e307 Add Drone support 2023-01-25 22:00:41 +02:00
Peter Dimov ce93055f03 Disable failing tests under g++ -m32 2023-01-25 21:37:26 +02:00
Peter Dimov 39cf1e65a3 Add BOOST_CORE_ALIGNOF 2023-01-25 20:10:31 +02:00
Peter Dimov 642a0cf70e Update ci.yml 2023-01-25 01:56:57 +02:00
Peter Dimov d3ed836f75 Document boost::core::launder 2023-01-24 19:40:30 +02:00
Peter Dimov c4777c309e Avoid including <new> in core/launder.hpp when not C++17 2023-01-24 18:54:45 +02:00
Peter Dimov 2b3b97c633 Add boost::core::launder 2023-01-24 17:50:45 +02:00
Peter Dimov ab455ab2f8 Disable -Wdeprecated-declarations for early clang-cl 2023-01-23 05:24:28 +02:00
Peter Dimov 116c6830e0 Add VS2017 clang-cl to Appveyor 2023-01-23 04:13:05 +02:00
Peter Dimov d8cfc71073 lwt_unattended: disable WER dialog box on crash 2023-01-19 02:35:15 +02:00
Peter Dimov dd85ed565e Update CMakeLists.txt 2023-01-12 20:53:52 +02:00
Peter Dimov 58fd395c51 Merge branch 'develop' of https://github.com/vinniefalco/boost-core into feature/pr-122 2023-01-12 20:51:58 +02:00
Peter Dimov 992824c50b Update appveyor.yml 2023-01-12 19:55:57 +02:00
Peter Dimov 9d443cb094 Update appveyor.yml 2023-01-12 18:44:30 +02:00
Peter Dimov 7d67301bba Add CMake tests to Appveyor 2023-01-12 15:25:51 +02:00
Peter Dimov e487fec094 Merge branch 'develop' into feature/appveyor 2023-01-12 15:23:02 +02:00
Andrey Semashev 0890785fec Added #pragma once in swap.hpp. 2023-01-07 03:52:46 +03:00
Andrey Semashev eda68d4086 Trim trailing spaces in boost::swap tests. 2023-01-07 03:42:31 +03:00
Andrey Semashev 8a8738a981 Propagate noexcept specification in boost::swap.
Mark boost::swap noexcept if the type supports non-throwing swap
implementation.
2023-01-07 03:42:15 +03:00
Andrey Semashev 99f9654f18 Fixed incorrect preprocessor condition for ref_empty definition.
Closes https://github.com/boostorg/core/pull/137.
2023-01-07 01:06:41 +03:00
Andrey Semashev 1e84baeea3 Use defaulted template arguments to restrict boost::ref converting ctor. 2023-01-06 19:38:55 +03:00
Andrey Semashev 1825265014 Marked boost::ref methods and associated functions with noexcept. 2023-01-06 19:12:47 +03:00
Peter Dimov 8caca51c4d Do not run lightweight_test_fail16.cpp under CMake, as CTest doesn't like std::abort 2022-12-30 22:03:06 +02:00
Peter Dimov 2d302c1666 Document boost::core::lwt_init 2022-12-30 21:57:12 +02:00
Peter Dimov 6299da9273 Add boost::core::lwt_init() 2022-12-30 21:17:58 +02:00
Peter Dimov 843e0f7bb0 Add boost::core::detail::lwt_unattended() 2022-12-28 17:49:01 +02:00
Andrey Semashev ddc6cc25a9 Actualized includes of ref.hpp. 2022-12-22 18:59:27 +03:00
Andrey Semashev 86bf1d4aec Deprecated boost::core::is_same and the associated header.
Moved is_same implementation to detail (both directory and namespace)
to use in the public headers and avoid introducing new dependencies.
The documentation now recommends users to use Boost.TypeTraits or
C++ standard library instead.

Also, removed unnecessary includes and added missing ones in a few
places.
2022-12-22 17:55:47 +03:00
Andrey Semashev 75c765cc13 Removed suppression of -Wno-deprecated-builtins on clang-15.
Boost.TypeTraits was updated to not use the deprecated builtins, so
suppressing the warning should no longer be necessary.
2022-12-18 01:03:39 +03:00
Glen Fernandes 2286749f97 Change order of restoration of warning disables in allocator access 2022-12-15 01:08:51 -05:00
Peter Dimov 23fa5d30f3 Merge pull request #133 from boostorg/feature/lwt_remove_snprintf
Remove the use of snprintf for trivial formatting in lightweight_test
2022-12-09 18:55:14 +02:00
Andrey Semashev d428335758 Remove the use of snprintf for trivial formatting.
This implements in-place formatting for small hex numbers instead of
using snprintf with the associated portability scaffolding. This also
removes the need for #include <cstdio>.
2022-12-09 04:15:02 +03:00
Andrey Semashev be8790115c Added portable snprintf/vsnprintf definition.
This definitions is mostly a workaround for older MSVC versions that only
provided non-portable _snprintf etc. that are not fully conforming to
the standard snprintf. This implementation fixes its issues wrt. null
termination and returned values in case of buffer overflows.

On platforms that support the standard snprintf, the definitions in
the header are equivalent to the standard functions.
2022-12-09 03:53:01 +03:00
Peter Dimov 2778c5cca6 Rename BOOST_CORE_SNPRINTF to BOOST_CORE_DETAIL_SNPRINTF 2022-12-07 22:33:17 +02:00
Matt Borland d5b7c3c0dc Add snprintf macro 2022-12-06 08:11:22 -08:00
Matt Borland db916e4673 Correct test macro and add undef 2022-12-06 08:10:14 -08:00
Matt Borland 3eaba7afc0 Fix for sprintf deprecation warning 2022-12-05 20:34:46 -08:00
Andrey Semashev ad20fadde7 Added missing release notes for Boost 1.80.0. boost-1.81.0 2022-12-04 03:52:31 +03:00
Andrey Semashev a67ec1f75c Corrected Boost release version, added links in changelog. 2022-12-04 02:02:40 +03:00
Peter Dimov 5e95d28eb6 Update revision history 2022-12-01 13:59:53 +02:00
Andrey Semashev 65377a2e13 Updated to GHA checkout@v3 to avoid deprecation warnings. boost-1.81.0.beta1 2022-10-18 17:55:59 +03:00
Peter Dimov b407b5d87d Change bit_width to return int, LWG3656 has been applied as a DR to C++20 2022-09-22 01:31:01 +03:00
Peter Dimov 013c7856ce Merge branch 'develop' into feature/bit 2022-09-21 21:41:43 +03:00
Andrey Semashev 1c79871f0f Added dependency on Boost.Config to fclose_deleter_test CMake target. 2022-09-21 21:20:40 +03:00
Andrey Semashev 09f2aa123a Enabled parallel build in CMake CI jobs. 2022-09-21 21:14:13 +03:00
Andrey Semashev 9cbf3ac420 Fixed fclose_deleter test failing to build with CMake.
Jamfile parser created incorrect test for fclose_deleter_test,
which resulted in a compiler error. Prevent the parser from creating
the test target by reformatting the Jamfile and create a CMake
target with proper dependencies.
2022-09-21 21:05:27 +03:00
Andrey Semashev fd615f3bfe Use depinst in AppVeyor CI as well. 2022-09-21 20:00:24 +03:00