Commit Graph

102 Commits

Author SHA1 Message Date
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
Frank Mori Hess
6eba73c525 Added test for and fixed compile errors in signal::set_combiner()
and combiner() methods.  Refs #3125.



[SVN r53599]
2009-06-03 13:43:51 +00:00
Frank Mori Hess
f78d3a55fc Copying some cmake files added to release branch back to trunk.
[SVN r53572]
2009-06-02 14:30:13 +00:00
Frank Mori Hess
2d7a9bfcc6 Removed debug output.
[SVN r53535]
2009-06-01 13:07:09 +00:00
Frank Mori Hess
6fe3bf8ab9 Fixed bug in test.
[SVN r53461]
2009-05-30 16:03:54 +00:00
Frank Mori Hess
f8d2974291 Made benchmark output slightly more readable.
[SVN r53403]
2009-05-29 18:10:57 +00:00
Frank Mori Hess
66825217a5 Added check of slot_result_type with void return type.
[SVN r53401]
2009-05-29 17:55:06 +00:00
Frank Mori Hess
919ad78bfa Added some tests for std::unary_function/std::binary_function
typedefs.



[SVN r53393]
2009-05-29 15:16:04 +00:00
Frank Mori Hess
687dee2875 Added signature_type member typedef to variadic signal implementation.
Also added it to slot classes.



[SVN r53359]
2009-05-28 19:44:44 +00:00
Frank Mori Hess
4acf719aa9 Added variadic signal/slot implementations used when
BOOST_NO_VARIADIC_TEMPLATES is not defined.  The
signal0, signal1, etc classes are not available when using
the variadic implementations, I plan to mark them as
deprecated.  Also the arg1_type, arg2_type member typedefs
are not available and are replaced with a "arg" member
template class.  Documentation updates to follow.



[SVN r53355]
2009-05-28 18:49:27 +00:00
Frank Mori Hess
c0795a7c67 Added a little test of a signal taking a reference argument.
[SVN r53310]
2009-05-27 17:26:19 +00:00
Frank Mori Hess
6183fc34c3 Added shared_connection_block::connection() query, and a
connection::operator!=().  Added a test of shared_connection_block
assignment.


[SVN r53131]
2009-05-20 15:16:37 +00:00
Frank Mori Hess
ca91bb77bd Made shared_connection_block default constructible. Split shared_connection_block
tests out of deletion_test, and added a little test for a 
default-constructed shared_connection_block.


[SVN r53128]
2009-05-20 14:36:49 +00:00
Frank Mori Hess
ecf42fe741 Generate code snippets using bjam instead of checking them into
svn, to avoid bogus entries in inspect report.



[SVN r51649]
2009-03-08 16:11:36 +00:00
Frank Mori Hess
6b9f7b001e Finally fixed some odd test errors on msvc9.
[SVN r51640]
2009-03-07 16:44:27 +00:00
Frank Mori Hess
316167fb02 Trying to work around msvc 7.1 bugs in some tests.
[SVN r51638]
2009-03-07 14:42:57 +00:00
Frank Mori Hess
af4a86781e Replaced tab indentation with spaces, added a missing copyright/license.
[SVN r51635]
2009-03-06 16:12:47 +00:00
Frank Mori Hess
ffa9bf448b Trying to fix compile error of some test programs on compilers that don't
support void returns.


[SVN r51574]
2009-03-03 15:20:27 +00:00
Frank Mori Hess
c3d7dd6ae0 Trying to fix compile error on mutex_test.cpp on msvc9
[SVN r51572]
2009-03-03 15:04:06 +00:00
Frank Mori Hess
4d8daa4abd Merged Signals2 from sandbox to trunk.
[SVN r51520]
2009-03-01 20:54:34 +00:00
Frank Mori Hess
48399f1edb On second though, I don't like automatically tracking
weak_ptr<signals2::trackable> and weak_ptr<signals2::signal>.



[SVN r51411]
2009-02-23 05:30:12 +00:00
Frank Mori Hess
8c1c6218ce Added automatic tracking of weak_ptr<signals2::trackable> and
weak_ptr<signals2::signal> objects via visit_each.



[SVN r51398]
2009-02-22 19:48:39 +00:00