Commit Graph

598 Commits

Author SHA1 Message Date
Frank Mori Hess
50c3420bb5 Added extended_slot_type and connect_extended() to signal classes.
[SVN r49182]
2008-10-08 18:11:22 +00:00
Frank Mori Hess
3e255edc25 Replaced some tab indentation with spaces.
[SVN r49163]
2008-10-07 14:20:07 +00:00
Frank Mori Hess
88dfed5d71 Made shared_connection_block take a const reference to a signal.
This is more consistent since connection::disconnect is a const method.


[SVN r49152]
2008-10-06 20:13:58 +00:00
Frank Mori Hess
bbbbd285d3 Fixed header name.
[SVN r49151]
2008-10-06 20:13:00 +00:00
Frank Mori Hess
2786ebc21c Test auto tracking of signal wrapped in a reference_wrapper.
[SVN r49117]
2008-10-02 18:20:05 +00:00
Frank Mori Hess
98f64bb353 automatically track signals that are wrapped in a boost::reference_wrapper.
[SVN r49116]
2008-10-02 18:19:40 +00:00
Frank Mori Hess
3706aab7f1 Fixed recognition of const signal as a signal.
[SVN r49115]
2008-10-02 18:17:49 +00:00
Frank Mori Hess
37414f5597 Brought back slot self-disconnection via throwing expired_slot, as it's the
only thread-safe way for a slot to disconnect itself.



[SVN r49102]
2008-10-02 01:34:35 +00:00
Frank Mori Hess
b9ce20dc1d Added missing "inline" for free connection swap function.
[SVN r49084]
2008-10-01 15:50:14 +00:00
Frank Mori Hess
322cf4fee9 Added test to make sure slot.hpp can compile on its
own, and added missing include so it passes.



[SVN r49082]
2008-10-01 15:11:00 +00:00
Frank Mori Hess
4ba9db8e27 Added signals2::optional_last_value, and made it the default
combiner for signals.  It is preferrable to last_value since it
never throws.


[SVN r49076]
2008-09-30 20:28:23 +00:00
Frank Mori Hess
8c75711a97 Fixed a few links that weren't being generated correctly.
[SVN r49075]
2008-09-30 19:24:53 +00:00
Frank Mori Hess
7eab2cd6a9 Fixed typo.
[SVN r49074]
2008-09-30 19:24:21 +00:00
Frank Mori Hess
ec235baa99 Changed signal type to portable syntax so test will run on older compilers.
[SVN r49073]
2008-09-30 19:12:22 +00:00
Frank Mori Hess
78894a2caa More updating of obsolete bits of docs.
[SVN r49072]
2008-09-30 19:10:45 +00:00
Frank Mori Hess
33c8f248fc Updated with new tests and namespace changes.
[SVN r49071]
2008-09-30 19:10:03 +00:00
Frank Mori Hess
bfd79d94a1 Simplified behavior of scoped_connection::release. Removed swaps
for scoped_connection since the base class swaps work fine for
scoped_connection too now.


[SVN r49068]
2008-09-30 15:35:42 +00:00
Frank Mori Hess
58c3c75703 Tweaked description of signals2::mutex wrt boost detection of
thread support.



[SVN r49067]
2008-09-30 15:33:37 +00:00
Frank Mori Hess
74569ab1e0 Added note about automatic slot tracking of signals.
[SVN r49037]
2008-09-29 20:49:40 +00:00
Frank Mori Hess
ebb5ea7ff4 Removed obsolete documentation regarding expired_slot exceptions
[SVN r49036]
2008-09-29 20:40:36 +00:00
Frank Mori Hess
4cbb8f8f91 Combiners don't have to catch expired_slot anymore.
[SVN r49035]
2008-09-29 20:31:51 +00:00
Frank Mori Hess
434db96180 Fixed scoped_connection example with respect to it being noncopyable now.
Made some other minor additions/tweaks.



[SVN r49034]
2008-09-29 20:29:47 +00:00
Frank Mori Hess
b69d06d77d Minor tweak to faq question.
[SVN r49032]
2008-09-29 20:28:38 +00:00
Frank Mori Hess
a0cf7a0890 Updated docs with respect to rename of
signals2::lightweight_mutex to signals2::mutex


[SVN r49019]
2008-09-29 18:14:17 +00:00
Frank Mori Hess
700b2c13af Added some notes on thread-safety of connection classes.
[SVN r49015]
2008-09-29 17:25:08 +00:00
Frank Mori Hess
9e0d1840d8 Added scoped_connection::released() query, mostly because it makes it
easier to document the class' behavior.  Updated scoped_connection
documentation to make it more complete and up to date.


[SVN r49014]
2008-09-29 17:10:41 +00:00
Frank Mori Hess
d41fec8061 Renamed signals2::lightweight_mutex to signals2::mutex.
[SVN r49005]
2008-09-29 15:13:23 +00:00
Frank Mori Hess
69e80f4fce Fixed compile error.
[SVN r49004]
2008-09-29 15:12:52 +00:00
Frank Mori Hess
87c9cf74fd Tweaked interface of connection_body_base a bit. Added free swap functions
for connection classes.  Added scoped_connection::release.  Made
scoped_connection noncopyable.


[SVN r49003]
2008-09-29 15:05:04 +00:00
Frank Mori Hess
ea35061c19 Partially updated docs to reflect API changes.
[SVN r48979]
2008-09-26 21:10:39 +00:00
Frank Mori Hess
28252d9ae8 Pass arguments of slotN constructor which is bind syntactic sugar
as const references instead of as values.



[SVN r48978]
2008-09-26 20:11:42 +00:00
Frank Mori Hess
d6db6ccd64 Make sure we are using boost::signals2::last_value, not boost::last_value.
[SVN r48977]
2008-09-26 18:58:32 +00:00
Frank Mori Hess
65ffff6120 Updated example program to compile after recent API changes.
[SVN r48955]
2008-09-24 19:59:35 +00:00
Frank Mori Hess
e85d12b2c2 Updated test to reflect ThreadingModel->Mutex template type parameter
change in API.



[SVN r48954]
2008-09-24 19:46:33 +00:00
Frank Mori Hess
1bc2f21297 Replaced ThreadingModel template parameter with Mutex, which must be
a model of the Lockable concept from Boost.Thread plus DefaultConstructible.



[SVN r48953]
2008-09-24 19:45:32 +00:00
Frank Mori Hess
4f5e801a41 Fixed up header comments
[SVN r48945]
2008-09-24 14:48:26 +00:00
Frank Mori Hess
4918d671c8 Made predestructible::predestruct protected.
[SVN r48944]
2008-09-24 14:41:31 +00:00
Frank Mori Hess
a712ce3a9b Added small test program for deconstruct_ptr and friends.
[SVN r48943]
2008-09-24 14:40:44 +00:00
Frank Mori Hess
ac38694500 Changed some names to better conform to boost coding guidelines.
[SVN r48942]
2008-09-24 14:21:55 +00:00
Frank Mori Hess
7c2e42b5ce Fixed some issues caused by header and namespace rearrangements
[SVN r48941]
2008-09-24 14:21:03 +00:00
Frank Mori Hess
fbe7e784c6 Added missing include.
[SVN r48940]
2008-09-24 14:19:44 +00:00
Frank Mori Hess
6dee5717fb Removed abi prefix/suffix since this is a header-only lib.
[SVN r48933]
2008-09-23 20:44:10 +00:00
Frank Mori Hess
d8de489212 Moved everything into signals2 namespace. Moved headers
accordingly to conform with boost policy.  Have not
updated documentation to reflect changes yet.


[SVN r48932]
2008-09-23 20:23:22 +00:00
Frank Mori Hess
36daee6efd Added new trunk and tags subdirectories for thread_safe_signals, and moved
all existing into trunk subdirectory.


[SVN r48925]
2008-09-23 15:38:18 +00:00
Frank Mori Hess
93a0913f3e Fixed typo.
[SVN r48749]
2008-09-11 21:30:43 +00:00
Frank Mori Hess
9f1266de69 Use ADL for swap.
[SVN r48401]
2008-08-27 02:21:53 +00:00
Frank Mori Hess
b0e5e818f3 Fixed bug in example code, reported by "Igor R".
[SVN r47693]
2008-07-22 18:06:24 +00:00
Frank Mori Hess
6a2d77de69 Added a very basic test of using non-default threading models.
[SVN r44099]
2008-04-07 17:53:55 +00:00
Frank Mori Hess
a55993f412 Added makefile I use to generate docs.
[SVN r43577]
2008-03-12 16:05:50 +00:00
Frank Mori Hess
fac26541c8 Added missing close tag.
[SVN r43576]
2008-03-12 15:56:38 +00:00