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

797 Commits

Author SHA1 Message Date
Antony Polukhin
a719764869 Update copyright years 2026-01-04 09:53:05 +03:00
dependabot[bot]
962a4d56b7 Bump actions/checkout from 2 to 6 (#73)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-26 22:04:51 +03:00
Antony Polukhin
64bc030a42 Add dependabot 2025-12-24 20:19:12 +03:00
Antony Polukhin
2751e5768a Fix "size" variable shadowing (#72)
Fixes: https://github.com/boostorg/dll/issues/95
boost-1.90.0.beta1 boost-1.90.0
2025-10-24 20:06:05 +03:00
Antony Polukhin
bc8657d8b3 Fix issues with std::error_code being passed to boost::system::error_code& (#107) 2025-10-24 19:12:18 +03:00
Yury Bura
c6d1c7f977 Fix build with CMake (#103) 2025-08-26 13:02:43 +03:00
Antony Polukhin
4105c3a8f8 Test CMake in CI and add initial CMakeLists.txt for tests (#100) boost-1.89.0 2025-06-27 20:39:11 +03:00
Antony Polukhin
67ded46a03 Merge remote-tracking branch 'luoh/develop' into develop 2025-06-11 16:09:12 +03:00
Antony Polukhin
a2281ce546 Update OSes in CI (#99) 2025-06-11 15:04:22 +03:00
Antony Polukhin
d662bcbb67 Fix usage of missing variable (#98)
Fixes https://github.com/boostorg/dll/issues/96
2025-06-11 09:59:25 +03:00
Antony Polukhin
67ecfd32d6 Minor tweak to restart CI 2025-06-10 21:34:44 +03:00
Antony Polukhin
fac620f43d Fix inspect tool builds in CI (#97) 2025-06-10 20:24:18 +03:00
Yury Bura
798bb044d4 Add BOOST_DLL_USE_STD_FS cmake option (#94) 2025-06-10 18:47:05 +03:00
Luohao Wang
3663b87e67 Remove __attribute__((weak)) on Cygwin which causes unsuccessful export 2025-06-03 18:05:35 +08:00
Luohao Wang
2ebfa68bfb Fix missing of <link.h> on Cygwin 2025-06-03 14:38:53 +08:00
Antony Polukhin
c30df76b04 Fix MacOS compilation on C++11 and C++14 (#93)
Fixes https://github.com/boostorg/dll/issues/92
boost-1.88.0
2025-03-31 17:34:47 +03:00
Antony Polukhin
013633d375 Switch to std::shared_ptr from boost::shared_ptr and provide a BOOST_… (#90)
…DLL_USE_BOOST_SHARED_PTR compatibility macro to restore the old behavior

Fixes https://github.com/boostorg/dll/issues/75
boost-1.88.0.beta1
2025-01-30 21:42:48 +03:00
Antony Polukhin
841e188556 More warnings about smart* parts of the library 2025-01-28 13:01:30 +03:00
Antony Polukhin
753af610e9 Document why RTLD_NODELETE is missing and why there is no .release() method. Add info on possible workaround and what to do if it does not help
Closes https://github.com/boostorg/dll/issues/74
Closes https://github.com/boostorg/dll/issues/68
2025-01-16 19:04:13 +03:00
Antony Polukhin
e2ca8d9ce8 Update docs
Fixes: https://github.com/boostorg/dll/issues/51
2025-01-14 21:46:32 +03:00
Antony Polukhin
cb815af057 Add missing override into example 2025-01-10 22:10:45 +03:00
Antony Polukhin
002fd888ef Fix conversion warning 2025-01-10 22:01:24 +03:00
Antony Polukhin
25393d3484 Update copyright years 2025-01-05 19:29:49 +03:00
Antony Polukhin
d4c93c501a More tests, docs and fixes for library_info (#89) 2025-01-05 19:24:06 +03:00
Antony Polukhin
e7ad58bfb9 Use std::thread in tests (#88) 2024-12-30 14:34:53 +03:00
Antony Polukhin
816955cc8d Modernize codebase (#87) 2024-12-28 09:01:36 +03:00
Antony Polukhin
f71d8e7bd7 Fix "Factory method in plugin" example and modernize all the examples (#86)
Fixes https://github.com/apolukhin/Boost.DLL/issues/62
2024-12-22 13:15:43 +03:00
Antony Polukhin
96ee80d134 Remove a confusing comment. The next example shows the proper usage of BOOST_DLL_ALIAS
Fixes https://github.com/apolukhin/Boost.DLL/issues/54
2024-12-22 11:01:30 +03:00
Antony Polukhin
fdb48ba8f4 Add test from bugreport, provide compile time diagnostics for such cases (#85)
Fixes https://github.com/apolukhin/Boost.DLL/issues/47
2024-12-22 10:32:29 +03:00
Antony Polukhin
b7713ead36 Fix buffer resizing on Windows (#84)
Fixes https://github.com/apolukhin/Boost.DLL/issues/63
2024-12-21 16:35:03 +03:00
Antony Polukhin
237de51eb2 Link with dl library in CMake builds if it is available
Fixes https://github.com/boostorg/dll/issues/67
2024-12-21 15:35:07 +03:00
Antony Polukhin
9d452d1459 Add smoke test for shared_library construction from native handler and cleanup the program_location implementation (fixes https://github.com/boostorg/dll/issues/70) (#83) 2024-12-21 15:09:52 +03:00
Antony Polukhin
7ecf45890c Merge pull request #82 from boostorg/construct-from-native
Add constructor taking native_handle_t
2024-12-21 11:30:52 +03:00
Antony Polukhin
7cbc0d4394 Merge branch 'develop' of github.com:boostorg/dll into HEAD 2024-12-20 16:53:55 +03:00
Antony Polukhin
15d8fb4377 Fix function names retrieval for particular section in PR created by clang-win 2024-12-20 00:21:11 +03:00
Antony Polukhin
e6304f480b Make smart library work in C++11 mode (#80) 2024-12-19 21:47:04 +03:00
Antony Polukhin
3a903d2bb3 Avoid Boost.Spirit usage (#79) 2024-12-18 23:31:58 +03:00
Antony Polukhin
0d984c6604 Use Standard Library type traits (#78) 2024-12-17 16:01:38 +03:00
Antony Polukhin
06bc4c8b4b Modernize code and drop Boost.Function dependency (#77) 2024-12-17 13:49:58 +03:00
Antony Polukhin
c66dfab77f Switch to std::error_code from boost::system::error_code where possible (#76) 2024-12-17 12:07:38 +03:00
Antony Polukhin
46da0d1bac Require C++17 for the smart* part of the library 2024-12-15 20:20:55 +03:00
Antony Polukhin
29a15f642b Do not use boost::move in examples 2024-12-15 19:01:23 +03:00
Antony Polukhin
b42fdd8634 Remove remaining parts of Boost.Move 2024-12-15 18:46:38 +03:00
Antony Polukhin
52e4837f3c Drop dependency on Boost.Move 2024-12-15 18:13:51 +03:00
Vinícius dos Santos Oliveira
dab63b80a8 Add constructor taking native_handle_t
Calls to dlopen() will always fail on FreeBSD if ambient authority is
disabled (i.e. process is in capsicum mode). For these cases, FreeBSD
offers fdlopen(). The new constructor allows the user to explicitly call
fdlopen() and then use Boost.DLL to manage the loaded plugin.

Android's libc (Bionic) also has fdlopen(), but under a different name:
android_dlopen_ext().

As Linux implements a sandboxing model closer to Capsicum (that's
already planned in the roadmap for the Landlock subsystem), similar
restrictions will hit glibc and we might see fdlopen() in glibc as well.
2024-08-25 18:04:11 -03:00
René Ferdinand Rivera Morell
477583869e Add support for modular build structure. (#71)
This is part of the effort to make the Boost libraries "modular" for build and consumption. See https://lists.boost.org/Archives/boost/2024/01/255704.php and https://github.com/grafikrobot/boost-b2-modular/blob/b2-modular/README.adoc for more information.

This PR depends on the following other PRs being merged to both develop and master branches of the respective repos:

- https://github.com/boostorg/boost/pull/854
boost-1.87.0.beta1 boost-1.87.0
2024-08-24 12:39:04 +03:00
Antony Polukhin
6c60dde50b Update copyright years boost-1.86.0.beta1 boost-1.86.0 boost-1.85.0.beta1 boost-1.85.0 2024-01-07 13:16:17 +03:00
Antony Polukhin
482c5b3b03 CI fix attempt (1) boost-1.84.0 boost-1.84.0.beta1 2023-10-21 15:49:22 +03:00
Antony Polukhin
fa1e323a62 CI fix attempt 2023-10-21 15:11:47 +03:00
Antony Polukhin
eaf60c819d Drop C++03 support (#66) 2023-10-21 10:49:58 +03:00