2
0
mirror of https://github.com/boostorg/scope.git synced 2026-01-19 04:42:10 +00:00

Commit Graph

  • c979d5e11b Replaced macos-13 with macos-15 in GitHub Actions. develop master Andrey Semashev 2025-12-13 20:45:14 +03:00
  • edb755c829 Updated regression matrix URLs in readme. boost-1.90.0.beta1 boost-1.90.0 Andrey Semashev 2025-08-25 19:17:13 +03:00
  • 90646c6d67 Added a note about support for interruptible close in fd_deleter. Andrey Semashev 2025-08-08 20:21:24 +03:00
  • e286819b43 Enabled C++14 tests on gcc 4.8 and 4.9. boost-1.89.0 Andrey Semashev 2025-06-19 04:52:52 +03:00
  • 03252fd0af Silence -Wmissing-field-initializers gcc warning in unique_fd test. Andrey Semashev 2025-06-19 04:46:05 +03:00
  • c96cfb6c18 Relax C++11 type_traits requirements. Andrey Semashev 2025-06-19 04:22:30 +03:00
  • 3e1e0a98b2 Attach C++ requirements to the library target. Andrey Semashev 2025-06-19 03:45:11 +03:00
  • 3530ff1eae Added a missing include for std::declval. Andrey Semashev 2025-06-19 04:06:37 +03:00
  • eb55e3eb05 Added a workaround in tests for MSVC 14.1 in C++17 mode. Andrey Semashev 2025-06-14 17:59:26 +03:00
  • 74ddc67b19 Added a link to MSVC bug re. name lookup in noexcept. Andrey Semashev 2025-06-14 01:49:49 +03:00
  • 9f0b6c1c45 Added a workaround for broken name loopup in MSVC 14.1. Andrey Semashev 2025-06-14 00:27:27 +03:00
  • 51980018ab Added AppVeyor CI badges to readme. Andrey Semashev 2025-06-13 15:40:39 +03:00
  • 53cdfa3834 Added AppVeyor CI config. Andrey Semashev 2025-06-13 02:03:13 +03:00
  • dafc182bf1 Added new gcc and clang jobs to GitHub Actions. Andrey Semashev 2025-06-13 03:30:53 +03:00
  • 13ce05982a Use Azure mirrors of Ubuntu .deb repositories in containers. Andrey Semashev 2025-06-13 02:15:12 +03:00
  • df5fd8f135 Removed windows-2019 GitHub Actions jobs. Andrey Semashev 2025-06-13 01:54:07 +03:00
  • b4099179dc Fixed links to fd_deleter.hpp and fd_resource_traits.hpp in docs. Andrey Semashev 2025-05-13 02:02:47 +03:00
  • c1a41db7a6 Wording improvement in the docs. Andrey Semashev 2025-05-13 01:18:07 +03:00
  • cf346ba9aa Removed usage of obsolete ubuntu-20.04 GHA image. Andrey Semashev 2025-04-19 18:37:28 +03:00
  • 68871a7295 Trim trailing spaces. Andrey Semashev 2025-04-13 14:45:58 +03:00
  • 650fac7419 Added compilers to GitHub Actions CI, removed macos-12 job. boost-1.88.0.beta1 boost-1.88.0 Andrey Semashev 2024-12-15 23:48:08 +03:00
  • 03f3395fb0 Added CMake testing on Windows. boost-1.87.0.beta1 boost-1.87.0 Andrey Semashev 2024-10-19 20:44:00 +03:00
  • bc85d865f2 Add support for modular build structure. (#21) René Ferdinand Rivera Morell 2024-08-18 18:10:27 -05:00
  • db963eab9c Fixed an example of using scope_exit with std::function in the docs. boost-1.86.0.beta1 boost-1.86.0 Andrey Semashev 2024-07-03 23:17:20 +03:00
  • eea343a918 Added macos-12 and 13 testing in addition to latest (which is 14). Andrey Semashev 2024-05-21 01:22:25 +03:00
  • 42a3456628 Use macos-latest image as macos-11 is being removed. Andrey Semashev 2024-05-21 01:06:58 +03:00
  • 7f730d3997 Use https for test matrix links. Andrey Semashev 2024-04-17 00:45:38 +03:00
  • ef2a954303 Added CI/test/dependency badges. Andrey Semashev 2024-04-17 00:41:31 +03:00
  • b24ee3d683 Updated link to library docs. Andrey Semashev 2024-04-17 00:30:30 +03:00
  • 8321450aca Improved docs for unallocated_resource. boost-1.85.0.beta1 boost-1.85.0 Andrey Semashev 2024-03-12 15:12:10 +03:00
  • 1a1dcd8817 Added a test for unallocated_resource with INVALID_HANDLE_VALUE on Windows. Andrey Semashev 2024-03-12 14:02:08 +03:00
  • d18cc5fde7 Mention _read for reading from fds on Windows. Andrey Semashev 2024-03-08 02:33:49 +03:00
  • 17023298dd Updated URLs in README.md. Andrey Semashev 2024-02-07 14:11:10 +03:00
  • 0da459f549 Updated changelog. Andrey Semashev 2024-02-07 14:02:57 +03:00
  • db29667f84 Improved scope guard docs. Andrey Semashev 2024-02-07 13:52:25 +03:00
  • d68ee383b0 Improved library description. Andrey Semashev 2024-02-07 02:08:51 +03:00
  • 3da27e413f Added library metadata. Andrey Semashev 2024-02-07 02:05:39 +03:00
  • c8a05799c3 Corrected make_default return type in fd_resource_traits example. Andrey Semashev 2024-02-06 20:50:25 +03:00
  • 052f3ad41f Added missing return in get_random_bytes example in the docs. Andrey Semashev 2024-02-06 15:36:52 +03:00
  • 3aa8d4fc00 Added gcc-13 CI job. Andrey Semashev 2024-02-06 00:33:22 +03:00
  • 622a37492d Updated C++23 flags for clang-17 in CI config. Andrey Semashev 2024-02-06 00:13:25 +03:00
  • a0c5ebf58f Reduced CI job timeouts. Andrey Semashev 2024-02-05 23:58:59 +03:00
  • 9d15c42d82 Further tweaks for the CI scripts. Andrey Semashev 2024-02-05 18:33:49 +03:00
  • ab1ed91983 Fix CI script for the case when the library is part of Boost tree. Andrey Semashev 2024-02-05 18:24:30 +03:00
  • fc3caba128 Remove snapshot directory once not needed. Andrey Semashev 2024-02-05 17:51:49 +03:00
  • 56a3acc6e4 Replaced actions/checkout usage with manual download commands. Andrey Semashev 2024-02-05 15:53:50 +03:00
  • d4d5d36255 Removed Conan and vcpkg projects. Andrey Semashev 2024-02-05 02:49:33 +03:00
  • f4abde30e2 Move MSVC C4702 warning silencing past includes. Andrey Semashev 2024-02-05 00:47:51 +03:00
  • 0cfc01818c Disabled MSVC warning C4702: unreachable code. Andrey Semashev 2024-02-05 00:31:56 +03:00
  • 183715b90f Disable warnings for auxiliary definitions on unique_fd test. Andrey Semashev 2024-02-05 00:19:09 +03:00
  • 127c3aaa4e Enabled warnings-as-errors for tests. Andrey Semashev 2024-02-05 00:03:54 +03:00
  • 8861d0297d Avoid calling unique_resource_data member function in a catch block of unique_resource_data ctor. Andrey Semashev 2024-02-04 23:25:43 +03:00
  • 75ac159ab6 Fixed operator-> example for unique_resource. Andrey Semashev 2024-02-04 23:23:24 +03:00
  • 9ea2a7264a Added a missing comma. Andrey Semashev 2024-02-04 21:17:14 +03:00
  • 16bbac4980 Improved unique_resource docs. Andrey Semashev 2024-02-04 21:15:23 +03:00
  • 45317772d1 Removed support for "reduced" resource traits in unique_resource. Andrey Semashev 2024-02-04 19:32:24 +03:00
  • 7167bce99a Don't call reset() in unique_resource destructor, call the deleter directly. Andrey Semashev 2024-02-04 01:46:07 +03:00
  • adf827b190 Docs improvements. Andrey Semashev 2024-02-03 21:08:05 +03:00
  • 3914e2fabd Revert "Switched to actions/checkout@v4 to avoid CI deprecation warnings." Andrey Semashev 2024-02-02 13:38:45 +03:00
  • a8750d563f Switched to actions/checkout@v4 to avoid CI deprecation warnings. Andrey Semashev 2024-02-02 13:27:37 +03:00
  • 18ac09b864 Add a link to an article re. different values for unallocated Windows handles. Andrey Semashev 2024-02-02 06:08:09 +03:00
  • 05bf32daa5 Added an example of using set_active with a runtime value. Andrey Semashev 2024-02-02 02:42:17 +03:00
  • f781fd71c7 Improved scope guard examples in docs. Andrey Semashev 2024-02-01 02:52:09 +03:00
  • d53d4f43af Enforced correctness checks for resource traits, improved docs. Andrey Semashev 2024-01-31 04:36:29 +03:00
  • bb295bcd77 Consistently use "unallocated" term to refer to a unique_resource in an unallocated state. Andrey Semashev 2024-01-31 01:39:32 +03:00
  • e595286ad3 Converted typedefs to using type aliases. Andrey Semashev 2024-01-31 01:11:01 +03:00
  • 080e8100f1 Made formatting more consistent in examples. Andrey Semashev 2024-01-30 11:43:59 +03:00
  • 989676edc1 Write strings in CSV format in the examples in the docs. Andrey Semashev 2024-01-30 11:40:30 +03:00
  • 7616f0b944 Added a new set of examples on the front page. Andrey Semashev 2024-01-30 03:32:54 +03:00
  • 012104819f Improved comment. Andrey Semashev 2024-01-28 23:43:22 +03:00
  • 8c985b565c Changed behavior of unique_resource constructor to be non-destructive. Andrey Semashev 2024-01-28 18:05:14 +03:00
  • 6f2adf3988 Made unique_resource::reset() implementation slightly more efficient. Andrey Semashev 2024-01-28 18:33:38 +03:00
  • 7be5037875 Simplified unique_resource swap implementation. Andrey Semashev 2024-01-28 18:18:19 +03:00
  • eca047bf40 Updated discussion re. swap implementation on unique_resource. Andrey Semashev 2024-01-28 15:50:32 +03:00
  • 10d22551b2 Moved caveats of capturing by reference to a separate section. Andrey Semashev 2024-01-28 04:36:52 +03:00
  • 56afb11dbd Added an example showing scope_exit/scope_success/scope_fail usage. Andrey Semashev 2024-01-28 04:11:45 +03:00
  • a9bb776763 Added a note about resource traits being preferred over make_unique_resource_checked. Andrey Semashev 2024-01-28 01:47:26 +03:00
  • 84be26e1a2 Use boost::core::functor for simplified CloseHandle deleter in the docs. Andrey Semashev 2024-01-27 20:04:35 +03:00
  • ecb7d7c9cd Added comparison with Library Fundamentals TS components in the docs. Andrey Semashev 2024-01-27 19:57:22 +03:00
  • 3d228f7294 Switched to BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS from Boost.Config. Andrey Semashev 2024-01-26 22:57:25 +03:00
  • 518557da18 Switch to Boost.Config macro for C++17 fold expressions. Andrey Semashev 2024-01-24 03:12:32 +03:00
  • d45a6255aa Added unallocated_resource for simplified declaration of resource traits. Andrey Semashev 2024-01-22 02:02:28 +03:00
  • fa650d558d Added explicit operator bool to unique_resource. Andrey Semashev 2024-01-21 19:52:29 +03:00
  • a53bdaad49 Removed release() member of scope guards. Andrey Semashev 2024-01-21 19:29:56 +03:00
  • b0117a4b2e Renamed scope_final to defer_guard and BOOST_SCOPE_FINAL to BOOST_SCOPE_DEFER. Andrey Semashev 2024-01-19 01:13:26 +03:00
  • 80d26d6909 Prevent default-construction of function pointers. Andrey Semashev 2023-12-17 19:16:08 +03:00
  • ad4005f87e Added an assert to make it obvious that ptr is not null. Andrey Semashev 2023-12-03 01:16:37 +03:00
  • 7ee1b44711 Added a note about potential issues of capturing by reference in scope guards. Andrey Semashev 2023-12-03 01:11:01 +03:00
  • 5719cd4966 Changed the wording to discourage using std::function with scope guards. Andrey Semashev 2023-12-02 23:39:39 +03:00
  • bc8665d398 Changed the example of unique_resource usage. Andrey Semashev 2023-12-02 23:21:22 +03:00
  • 958af1cd59 Use a using type alieas instead of a typedef in the docs. Andrey Semashev 2023-12-02 20:46:25 +03:00
  • f081d0f850 Improved wording leading to function object type requirements. Andrey Semashev 2023-12-02 19:50:33 +03:00
  • 2cd37e97c9 Remove forwarding res to is_allocated on unique_resource_data construction. Andrey Semashev 2023-12-01 19:33:21 +03:00
  • a43830544a Removed forwarding resource and deleter when constructor may throw. Andrey Semashev 2023-12-01 19:15:26 +03:00
  • 969584e578 Use invoke_swap to swap m_allocated flags. Andrey Semashev 2023-12-01 18:49:07 +03:00
  • ecb01f0f1c Added a comment describing is_not_like. Andrey Semashev 2023-12-01 17:46:05 +03:00
  • 28969ef48a Improved wording of scope_success/fail description. Andrey Semashev 2023-11-30 19:58:01 +03:00
  • 75e353281a Minor update to a scope_fail example. Andrey Semashev 2023-11-30 18:56:39 +03:00
  • d9700c5d96 Added a link to P0052R10 in the docs. Andrey Semashev 2023-11-28 20:43:01 +03:00
  • fb6607c097 Removed CMake self-test. Added running tests through CMake in GHA CI. Andrey Semashev 2023-11-28 20:20:05 +03:00