Commit Graph

598 Commits

Author SHA1 Message Date
Frank Mori Hess
228a57ac37 Fixed a typo.
[SVN r50791]
2009-01-26 19:09:54 +00:00
Frank Mori Hess
60d27e2f7d Added reference documentation for signal_type.
[SVN r50789]
2009-01-26 18:58:00 +00:00
Frank Mori Hess
deacb19005 Added test of passing template type parameters through signal_type
positionally.



[SVN r50786]
2009-01-26 16:17:55 +00:00
Frank Mori Hess
da5e7c76d8 Added new headers to signals2.hpp convenience header.
[SVN r50785]
2009-01-26 16:17:07 +00:00
Frank Mori Hess
010067e800 Added test of signature_type keyword.
[SVN r50784]
2009-01-26 15:32:29 +00:00
Frank Mori Hess
41326c4451 Changed NAMED_SIGNATURE_PARAMETER macro to
BOOST_SIGNALS2_NAMED_SIGNATURE_PARAMETER.  Added requirement
that Signature parameter be a function type.


[SVN r50783]
2009-01-26 15:31:37 +00:00
Frank Mori Hess
037d3cddaa Added reference documentation for deconstruct and deconstruct_access.
[SVN r50781]
2009-01-26 02:54:02 +00:00
Frank Mori Hess
2870068625 We're supposed to use parameter::value_type instead of parameter::binding for
named template parameters.



[SVN r50750]
2009-01-23 21:14:59 +00:00
Frank Mori Hess
2d2d242d2a Added signal_type metafunction which uses Boost.Parameter
to enable named template type parameters when
declarng signals.


[SVN r50747]
2009-01-23 16:14:14 +00:00
Frank Mori Hess
95366e5b3b Expanded thread-safety section.
[SVN r50716]
2009-01-21 22:19:08 +00:00
Frank Mori Hess
c357603334 Made postconstructible and predestructible abstract base classes.
[SVN r50715]
2009-01-21 21:57:05 +00:00
Frank Mori Hess
b6a8f089bb Don't do deep copies of both combiner and connection list
when only one or the other needs to be copied.



[SVN r50701]
2009-01-21 15:42:02 +00:00
Frank Mori Hess
c6cba65d0d Added beginnings of section on thread-safety.
[SVN r50696]
2009-01-21 03:43:06 +00:00
Frank Mori Hess
9a1691e742 Updated the "User-level connection management" section of
the design rationale, which seemed to be outdated even with respect
to the old Boost.Signals library.



[SVN r50694]
2009-01-20 21:59:19 +00:00
Frank Mori Hess
449107f2e1 Tried to clairify the behavior of the signal::disconnect template.
[SVN r50693]
2009-01-20 21:58:21 +00:00
Frank Mori Hess
601ed57906 Removed design overview section, as it was obsolete (even with respect
to the original Boost.Signals I believe, since it seems to think
boost::any is used to store slot functions).



[SVN r50691]
2009-01-20 21:27:19 +00:00
Frank Mori Hess
922c3990c2 Added some porting notes about deconstruct and friends. Did
some additional minor tweaks and corrections.



[SVN r50690]
2009-01-20 21:16:03 +00:00
Frank Mori Hess
e12ebe4a1f Optimized copying of deconstruct_deleter.
[SVN r50655]
2009-01-17 17:18:22 +00:00
Frank Mori Hess
2fa60f8d02 Starting to address some of the documentation weaknesses pointed
out during review.  Added a section on portinf from Boost.Signals
based on one of the faq entries.



[SVN r50646]
2009-01-16 22:44:51 +00:00
Frank Mori Hess
524e79f296 changed sp_ms_deleter to deconstruct_deleter.
[SVN r50643]
2009-01-16 21:04:11 +00:00
Frank Mori Hess
bbc093ae4d Added boost::signals2::deconstruct, which is similar to boost::make_shared
except with postconstructible/predestructible support.  All overloads of
deconstruct may be made a friend by making 
boost::signals2::deconstruct_access a friend.



[SVN r50642]
2009-01-16 20:55:42 +00:00
Frank Mori Hess
c523e1fb11 Made shared_connection_block::blocking show its documented
behavior even after underlying connection has expired.


[SVN r50598]
2009-01-14 20:46:43 +00:00
Frank Mori Hess
716314fa7e Tweaked a test slightly to test shared_connection_block::unblock()
method.



[SVN r50597]
2009-01-14 20:44:44 +00:00
Frank Mori Hess
f4f9c7afa6 Made tutorial output to signals2 subdir instead of signals.
[SVN r50596]
2009-01-14 18:45:30 +00:00
Frank Mori Hess
d56dcc3ec0 Brought back trackable class, to ease porting of existing
single-threaded code from Boost.Signals to Boost.Signals2.



[SVN r50579]
2009-01-14 16:58:30 +00:00
Frank Mori Hess
5ed2a2b159 Added check for BOOST_HAS_WINTHREADS when determining
what os-specific header to use.


[SVN r50578]
2009-01-14 16:52:13 +00:00
Frank Mori Hess
7af3bd4891 Added test for boost::signals2::dummy_mutex.
[SVN r50576]
2009-01-14 16:46:41 +00:00
Frank Mori Hess
467e922fd8 Made mutex_test slightly less likely to deadlock in the
event of test failure.



[SVN r50566]
2009-01-13 19:49:57 +00:00
Frank Mori Hess
f21dc3c4bb Added test program for boost::signals2::mutex, based on
libs/thread/test/test_mutex.cpp.


[SVN r50565]
2009-01-13 19:45:02 +00:00
Frank Mori Hess
9be331047d Fixed tracking of null but not empty shared_ptr (broken by recent optimization
changes).


[SVN r50319]
2008-12-18 22:09:36 +00:00
Frank Mori Hess
b1deb11868 Added test of tracking a null but not empty shared_ptr.
[SVN r50318]
2008-12-18 22:03:52 +00:00
Frank Mori Hess
0c7f7dcf76 Make sure weak_ptr is expired, and doesn't just refer to a null
shared_ptr.



[SVN r50280]
2008-12-15 19:34:09 +00:00
Frank Mori Hess
1893022493 Made sure all macros defined by Signals2 are prefixed by BOOST_SIGNALS2_.
[SVN r50271]
2008-12-14 17:23:07 +00:00
Frank Mori Hess
128ffcc61d Optimized invocation speed with respect to overhead from copying signal arguments.
[SVN r50253]
2008-12-12 21:48:19 +00:00
Frank Mori Hess
d05cd6df9d Opimized speed with respect to automatic tracking overhead
during signal invocation.



[SVN r50252]
2008-12-12 21:34:58 +00:00
Frank Mori Hess
ea200f05f3 Added comparison benchmark between Boost.Signals and Signals2.
[SVN r50251]
2008-12-12 21:19:53 +00:00
Frank Mori Hess
94353e94a8 Removed some obsolete notes on default combiner behavior.
[SVN r49690]
2008-11-12 02:29:08 +00:00
Frank Mori Hess
4e5ff310ae Fixed bug in default ExtendedSlotFunction template type parameter
for preferred syntax signals2::signal.  Added test code for
extended slots to signal_test.



[SVN r49593]
2008-11-04 21:03:16 +00:00
Frank Mori Hess
5aa7704586 Use boost::throw_exception instead of throw.
[SVN r49585]
2008-11-04 16:37:44 +00:00
Frank Mori Hess
fc61b2b7d2 renamed BOOST_SIGNALS_MAX_ARGS to BOOST_SIGNALS2_MAX_ARGS to avoid conflict
with original Boost.Signals.



[SVN r49521]
2008-11-01 16:59:29 +00:00
Frank Mori Hess
b224d2adf7 Fixed a compile warning and added missing declaration of
TryEnterCriticalSection when not using windows.h.


[SVN r49395]
2008-10-20 03:27:36 +00:00
Frank Mori Hess
f900c0c6ec Fix compile error when targeting windows platforms before
NT 4.



[SVN r49391]
2008-10-19 15:56:28 +00:00
Frank Mori Hess
201b2a8c74 Got rid of some partial template specialization, for the sake of ancient
compilers using the portable syntax.  Tweaked handling of void returns.
Added a description for signalN::slot_result_type.



[SVN r49226]
2008-10-09 21:16:54 +00:00
Frank Mori Hess
1a50f64fca Made include guard macro names consistent.
[SVN r49219]
2008-10-09 18:38:49 +00:00
Frank Mori Hess
2d90b9df81 Made names of include guard macros consistent.
[SVN r49218]
2008-10-09 18:25:47 +00:00
Frank Mori Hess
41f497059d Removed supported compiler table, which does not reflect state
of Signals2 code.



[SVN r49205]
2008-10-09 12:42:24 +00:00
Frank Mori Hess
95665cde22 Fixed default Combiner template types, which are now optional_last_value.
[SVN r49187]
2008-10-08 19:01:27 +00:00
Frank Mori Hess
c32307fc7c Fixed swapped default values for ExtendedSlotFunction parameters of
signal and signalN.



[SVN r49186]
2008-10-08 18:53:37 +00:00
Frank Mori Hess
89e52e5d53 Updated faq entry on API changes with new extended_slot_type.
[SVN r49185]
2008-10-08 18:45:37 +00:00
Frank Mori Hess
6bfee8386e Updated some urls in docs wrt change from thread_safe_signals -> signals2.
[SVN r49183]
2008-10-08 18:21:06 +00:00