123 Commits

Author SHA1 Message Date
Andrey Semashev
526f59d8b8 Remove dependencies on Boost.StaticAssert.
Boost.StaticAssert has been merged into Boost.Config, so remove
the dependency.
2026-01-22 23:04:00 +03:00
Peter Dimov
b5d021af0b Add /bigobj workarounds to test/Jamfile 2024-10-08 04:21:26 +03:00
Peter Dimov
907541a1c2 Add cmake_install_test, cmake_subdir_test 2024-10-08 03:15:43 +03:00
Rene Rivera
dcb748a065 Update build deps. 2024-08-08 00:03:04 -05:00
Rene Rivera
94fc56139a Switch to /boost/test//included target for header only mode of Boost.Test. 2024-07-25 23:30:00 -05:00
Rene Rivera
6169df4cab Change all <source> references to <library>. 2024-07-20 21:25:34 -05:00
Rene Rivera
d36834c9d7 Sync from upstream. 2024-05-30 11:20:51 -05:00
Frank Mori Hess
83d10662a4 Add support for returning move-only type for optional_last_value and
last_value.
2024-05-24 14:21:36 -04:00
Rene Rivera
1e0c1f174c Sync from upstream. 2024-04-10 07:57:17 -05:00
Frank Mori Hess
d3545d16db Add "null" method to signals so user can query if a signal
has been moved from.  Allow some methods to be called on
null signals.
2024-03-30 13:20:55 -04:00
Rene Rivera
63225c9c88 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Frank Mori Hess
4d994bbed8 Fix disconnect by slot when slot is wrapped in a
boost::reference_wrapper
2023-12-30 14:51:49 -05:00
Frank Mori Hess
eca74ed0b5 Add test for disconnect by slot when the slot is another signal. 2023-12-30 14:31:53 -05:00
Frank Mori Hess
ac85388e0a Add test for disconnect by function name. 2023-11-28 10:47:06 -05:00
fanquake
95eb177a8d refactor: use boost/core/ref.hpp over boost/ref.hpp
boost/ref.hpp is deprecated.
2022-04-03 17:06:12 +01:00
Peter Dimov
622bbccd85 Use Boost::included_unit_test_framework in tests/CMakeLists.txt 2021-06-07 20:50:43 +03:00
Peter Dimov
73299b6446 Regenerate CMakeLists.txt; add test/CMakeLists.txt 2021-06-07 04:04:18 +03:00
Frank Mori Hess
c6e593e925 Suppress type conversion warning in ordering_test.cpp.. 2020-11-02 12:36:32 -05:00
Frank Mori Hess
a381f1e1ee More use of boost/bind/bind.hpp instead of boost/bind.hpp to avoid
deprecation warnings about global placeholders.
2020-03-11 16:21:07 -04:00
Frank Mori Hess
45aa4e831a Replace deprecated boost/test/minimal.hpp with
boost/test/included/unit_test.hpp
2020-03-11 16:18:00 -04:00
Frank Mori Hess
8ff73565af Using boost/bind/bind.hpp instead of boost/bind.hpp to avoid
deprecation warnings about global placeholders.
2020-03-11 14:23:31 -04:00
Frank Mori Hess
b703f41635 Add missing return value for test_mutex::try_lock 2019-05-15 20:39:54 -04:00
Frank Mori Hess
3914ee7474 boost.signals has been removed, so get rid of old signals vs
signals2 benchmark program.
2019-05-10 12:57:02 -04:00
Frank Mori Hess
6eb2409a83 Add new unit test. 2019-05-10 12:37:23 -04:00
CromwellEnage
30f4a31421 Revert test/Jamfile.v2 2018-11-20 16:04:02 -05:00
CromwellEnage
77e137811b Test function type template parameter support
<boost/signals2/variadic_signal.hpp>
* Add boost::signals2::detail::variadic_extended_signature template specializations for boost::function and std::function (when available).

<boost/signals2/signal_type.hpp>
* Leverage Boost.Parameter support for function type template parameters.

"test/signal_type_test.cpp"
* Remove BOOST_SIGNALS2_NAMED_SIGNATURE_PARAMETER preprocessor guard.

"test/Jamfile.v2"
* Define BOOST_PARAMETER_EXPONENTIAL_OVERLOAD_THRESHOLD_ARITY=0 where applicable to prevent ICE failures.
2018-11-17 15:41:31 -05:00
James E. King III
7d982db2e8 fix open coverity issues in test and examples 2018-06-16 15:55:20 -04:00
Frank Mori Hess
6fecead745 Stop using deprecated std::bind1st. 2017-04-21 13:06:02 -04:00
Frank Mori Hess
2537c3015c Fixed tracking of shared_ptr<const void> 2016-06-10 14:10:27 -04:00
Frank Mori Hess
854d3ce500 Fixed compile error in mutex_test I recently introduced. 2015-04-20 10:47:25 -04:00
Frank Mori Hess
1680fc0c08 Fixed race in mutex_test. 2015-04-18 13:45:04 -04:00
Frank Mori Hess
a305f0b2c1 Got rid of per-connection mutexes. 2015-04-12 14:34:16 -04:00
Frank Mori Hess
22d870c3e8 Fix for signals returning a reference type. 2015-04-09 15:39:10 -04:00
Frank Mori Hess
a0bf2d188c Disconnect slots associated with signals2::trackable immediately
upon deletion of the signals2::trackable object.
Refs #10100
2014-07-08 15:29:31 -04:00
Frank Mori Hess
bd9ababaec Fixed tests for optional initialization in tests, under recent versions of clang. 2014-03-02 12:39:23 -05:00
Frank Mori Hess
33839117c5 Added move constructor and move assignment operator to signal
class.
2013-12-24 18:59:46 -05:00
Frank Mori Hess
b4f86e6d1e Added move support to connection/scoped_connection. 2013-12-23 19:58:58 -05:00
Frank Mori Hess
dc456fd3f6 Fixed compile error.
[SVN r86411]
2013-10-24 02:12:51 +00:00
Frank Mori Hess
914e69f190 Don't force disconnection of all slots in signal destructor.
Refs #9103


[SVN r85836]
2013-09-22 21:21:34 +00:00
Frank Mori Hess
50a87e115c Added swap to signal classes. Fixes #8449
[SVN r84006]
2013-04-22 03:22:06 +00:00
Frank Mori Hess
02a94c1371 Applied patch from Eric Niebler to make use of BOOST_NO_CXX11_SMART_PTR.
Refs #8115.



[SVN r83042]
2013-02-20 01:27:55 +00:00
Eric Niebler
919682b2a2 get signals2 tests running again, refs #8103
[SVN r82986]
2013-02-19 00:41:25 +00:00
Marshall Clow
216a62ee3c Removed usage of deprecated macros
[SVN r81562]
2012-11-26 17:38:50 +00:00
Frank Mori Hess
460c01a860 Fixed some gcc -Wshadow warnings.
[SVN r67096]
2010-12-08 02:35:07 +00:00
Frank Mori Hess
5e1d38c0a1 Fixed bug in test due to accidental variable shadowing.
[SVN r67095]
2010-12-08 02:34:22 +00:00
Troy D. Straszheim
9417fc1278 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Frank Mori Hess
84eaec2de8 Include <functional>, for std::greater.
[SVN r56805]
2009-10-13 22:06:46 +00:00
Frank Mori Hess
0cc2bf050e Added test for bug reported in ticket #3522, which was
fixed with [56802].  Refs #3522.



[SVN r56804]
2009-10-13 22:04:13 +00:00
Frank Mori Hess
4de09843dd Added support for tracking of objects owned by non-boost
shared_ptr.  No documentation yet.



[SVN r56639]
2009-10-07 20:56:56 +00:00
Troy D. Straszheim
b4791f3a00 Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00