Commit Graph

  • 6b9f7b001e Finally fixed some odd test errors on msvc9. Frank Mori Hess 2009-03-07 16:44:27 +0000
  • 316167fb02 Trying to work around msvc 7.1 bugs in some tests. Frank Mori Hess 2009-03-07 14:42:57 +0000
  • 37805661eb some inspect cleanups (mostly getting rid of tabs). Frank Mori Hess 2009-03-06 16:17:16 +0000
  • af4a86781e Replaced tab indentation with spaces, added a missing copyright/license. Frank Mori Hess 2009-03-06 16:12:47 +0000
  • ba5085fc2a Added copyright comments to boostbook xml files. Frank Mori Hess 2009-03-06 15:50:31 +0000
  • ec8155ce6a Removed obsolete Makefile. Frank Mori Hess 2009-03-06 15:45:57 +0000
  • dff6be7def Trying to work around msvc 9 apparently compiling unused member f unctions in templates. Frank Mori Hess 2009-03-05 13:33:40 +0000
  • a67605599f Deal with compile errors caused by enable_shared_from_this reversions. Added check to make sure postconstructor_invoker doesn't call adl_postconstruct multiple times. Frank Mori Hess 2009-03-04 16:39:05 +0000
  • d44d7caed1 Fixed "looser throw specifier for virtual" compile errors. Frank Mori Hess 2009-03-04 14:24:15 +0000
  • 8c8c0587b5 Added const qualification to no_slots_error::what(). Frank Mori Hess 2009-03-03 15:43:58 +0000
  • ffa9bf448b Trying to fix compile error of some test programs on compilers that don't support void returns. Frank Mori Hess 2009-03-03 15:20:27 +0000
  • 987a3f4f1c Quiet a compiler warning on msvc 7.1 Frank Mori Hess 2009-03-03 15:06:48 +0000
  • c3d7dd6ae0 Trying to fix compile error on mutex_test.cpp on msvc9 Frank Mori Hess 2009-03-03 15:04:06 +0000
  • 4d8daa4abd Merged Signals2 from sandbox to trunk. Frank Mori Hess 2009-03-01 20:54:34 +0000
  • 80485f528a Moved deconstruct_access from signals2::detail to signals2 namespace, and got rid of using declaration that caused problems on visual studio 2005. Frank Mori Hess 2009-02-24 01:02:49 +0000
  • 3a48ca503f Added signature_type typedef to signals2::signal. Frank Mori Hess 2009-02-24 01:01:04 +0000
  • 48399f1edb On second though, I don't like automatically tracking weak_ptr<signals2::trackable> and weak_ptr<signals2::signal>. Frank Mori Hess 2009-02-23 05:30:12 +0000
  • 8c1c6218ce Added automatic tracking of weak_ptr<signals2::trackable> and weak_ptr<signals2::signal> objects via visit_each. Frank Mori Hess 2009-02-22 19:48:39 +0000
  • 594f1f2fbe Added a paragraph for the description of the optional_last_value class on its reference page. Frank Mori Hess 2009-02-11 15:32:58 +0000
  • 55baa3ef8a Some minor documentation tweaks. Frank Mori Hess 2009-02-09 22:04:11 +0000
  • 42cf85b40c Added paragraphs to rationale about optional_last_value and mutex types. Frank Mori Hess 2009-02-09 21:37:44 +0000
  • a9180e940f Added example and tutorial section for using extended slots. Frank Mori Hess 2009-02-09 21:03:20 +0000
  • 0cfa23c8f9 Added link from postconstructor section of tutorial to deconstruct example programs. Added a warning about binding a shared_ptr you intended to track to a slot. Frank Mori Hess 2009-02-09 15:50:14 +0000
  • b7def07b77 Converted document-view section of tutorial to use extracted code snippets. Frank Mori Hess 2009-02-09 15:00:02 +0000
  • d4214ed9c9 converted more of tutorial to use code snippets from example programs. Frank Mori Hess 2009-02-09 03:08:07 +0000
  • 52d6f7ede2 Added new snippets extracted from examples. Frank Mori Hess 2009-02-09 03:07:39 +0000
  • 5dcfe2fc53 Added some more comments to identify snippets for use in documentation. Frank Mori Hess 2009-02-09 03:02:14 +0000
  • 05e0a77ffb Hacked up a little program for extracting code snippets from example programs, and included some of the snippets into the tutorial. Frank Mori Hess 2009-02-06 21:48:35 +0000
  • 26e0626fdf Added some brief descriptions of some example programs. Frank Mori Hess 2009-02-06 15:00:16 +0000
  • f7364222db Added a bunch of example programs extracted from tutorial. Frank Mori Hess 2009-02-05 22:10:13 +0000
  • 1710995cfa Fixed deconstruct when used with enable_shared_from_this Frank Mori Hess 2009-02-05 20:58:10 +0000
  • 46fb80dc3e Added test for deconstruct on a class derived from enable_shared_from_this. Frank Mori Hess 2009-02-05 20:57:09 +0000
  • 44f2fc27d8 Removed obsolete calls to detail::do_postconstruct Frank Mori Hess 2009-02-05 19:58:17 +0000
  • 281fc012bd Added checks for double postconstructs. Frank Mori Hess 2009-02-05 19:54:39 +0000
  • 9b3a31dd91 Fixed indendation. Frank Mori Hess 2009-02-05 14:51:29 +0000
  • 1ecc31a74a Updated reference documentation to reflect changes to postconstructors/predestructors Frank Mori Hess 2009-02-04 21:24:22 +0000
  • b0e87e825c Tweaked conversion operator of postconstruct_invoker. Frank Mori Hess 2009-02-04 16:21:05 +0000
  • 2935441893 Added a missing forward declaration. Frank Mori Hess 2009-02-03 19:19:37 +0000
  • fcfd06c6f4 Added new examples showing the use of postconstructors, predestructors, and automatic connection management. Frank Mori Hess 2009-02-02 19:48:54 +0000
  • 64a2ae9e5c Got rid of View base class. Frank Mori Hess 2009-02-02 19:48:14 +0000
  • 83dafe2020 Slightly simplified document-view example. Frank Mori Hess 2009-02-02 19:00:18 +0000
  • a266d6c1d4 Fixed return type for 0 argument and variadic deconstruct overloads. Frank Mori Hess 2009-02-02 16:51:18 +0000
  • 3eda4231b9 Made postconstructor_invoker constructor private. Frank Mori Hess 2009-02-01 02:21:21 +0000
  • 2a4c44e298 Reworked deconstruct<>() so it operates non-intrusively via argument-dependent lookup instead of needing postconstructible and predestructible base classes. Also added support for passing arguments to postconstructors. Frank Mori Hess 2009-02-01 01:12:03 +0000
  • cb96c616ba Added missing include of bind.hpp. Frank Mori Hess 2009-01-30 21:02:12 +0000
  • d04da18498 Got rid of non-portable __PRETTY_FUNCTION__. Frank Mori Hess 2009-01-30 21:01:58 +0000
  • 3784c7bdcb Patch for msvc 7.1 from Adam Butcher Frank Mori Hess 2009-01-30 12:56:12 +0000
  • 396d75cfa0 Added beginnings of tutorial sections on deconstruct stuff, Mutex template type parameter, and a stub for an extended_slot_type/connect_extended section. Frank Mori Hess 2009-01-26 22:06:39 +0000
  • cc360bd0a5 Added paragraph on non-intrusiveness of new automatic connection management scheme. Frank Mori Hess 2009-01-26 22:04:59 +0000
  • 6ed6b7cda4 Added mention of deconstruct Frank Mori Hess 2009-01-26 22:04:24 +0000
  • 228a57ac37 Fixed a typo. Frank Mori Hess 2009-01-26 19:09:54 +0000
  • 60d27e2f7d Added reference documentation for signal_type. Frank Mori Hess 2009-01-26 18:58:00 +0000
  • deacb19005 Added test of passing template type parameters through signal_type positionally. Frank Mori Hess 2009-01-26 16:17:55 +0000
  • da5e7c76d8 Added new headers to signals2.hpp convenience header. Frank Mori Hess 2009-01-26 16:17:07 +0000
  • 010067e800 Added test of signature_type keyword. Frank Mori Hess 2009-01-26 15:32:29 +0000
  • 41326c4451 Changed NAMED_SIGNATURE_PARAMETER macro to BOOST_SIGNALS2_NAMED_SIGNATURE_PARAMETER. Added requirement that Signature parameter be a function type. Frank Mori Hess 2009-01-26 15:31:37 +0000
  • 037d3cddaa Added reference documentation for deconstruct and deconstruct_access. Frank Mori Hess 2009-01-26 02:54:02 +0000
  • 2870068625 We're supposed to use parameter::value_type instead of parameter::binding for named template parameters. Frank Mori Hess 2009-01-23 21:14:59 +0000
  • 2d2d242d2a Added signal_type metafunction which uses Boost.Parameter to enable named template type parameters when declarng signals. Frank Mori Hess 2009-01-23 16:14:14 +0000
  • 95366e5b3b Expanded thread-safety section. Frank Mori Hess 2009-01-21 22:19:08 +0000
  • c357603334 Made postconstructible and predestructible abstract base classes. Frank Mori Hess 2009-01-21 21:57:05 +0000
  • b6a8f089bb Don't do deep copies of both combiner and connection list when only one or the other needs to be copied. Frank Mori Hess 2009-01-21 15:42:02 +0000
  • c6cba65d0d Added beginnings of section on thread-safety. Frank Mori Hess 2009-01-21 03:43:06 +0000
  • 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. Frank Mori Hess 2009-01-20 21:59:19 +0000
  • 449107f2e1 Tried to clairify the behavior of the signal::disconnect template. Frank Mori Hess 2009-01-20 21:58:21 +0000
  • 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). Frank Mori Hess 2009-01-20 21:27:19 +0000
  • 922c3990c2 Added some porting notes about deconstruct and friends. Did some additional minor tweaks and corrections. Frank Mori Hess 2009-01-20 21:16:03 +0000
  • e12ebe4a1f Optimized copying of deconstruct_deleter. Frank Mori Hess 2009-01-17 17:18:22 +0000
  • 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. Frank Mori Hess 2009-01-16 22:44:51 +0000
  • 524e79f296 changed sp_ms_deleter to deconstruct_deleter. Frank Mori Hess 2009-01-16 21:04:11 +0000
  • 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. Frank Mori Hess 2009-01-16 20:55:42 +0000
  • c523e1fb11 Made shared_connection_block::blocking show its documented behavior even after underlying connection has expired. Frank Mori Hess 2009-01-14 20:46:43 +0000
  • 716314fa7e Tweaked a test slightly to test shared_connection_block::unblock() method. Frank Mori Hess 2009-01-14 20:44:44 +0000
  • f4f9c7afa6 Made tutorial output to signals2 subdir instead of signals. Frank Mori Hess 2009-01-14 18:45:30 +0000
  • d56dcc3ec0 Brought back trackable class, to ease porting of existing single-threaded code from Boost.Signals to Boost.Signals2. Frank Mori Hess 2009-01-14 16:58:30 +0000
  • 5ed2a2b159 Added check for BOOST_HAS_WINTHREADS when determining what os-specific header to use. Frank Mori Hess 2009-01-14 16:52:13 +0000
  • 7af3bd4891 Added test for boost::signals2::dummy_mutex. Frank Mori Hess 2009-01-14 16:46:41 +0000
  • 467e922fd8 Made mutex_test slightly less likely to deadlock in the event of test failure. Frank Mori Hess 2009-01-13 19:49:57 +0000
  • f21dc3c4bb Added test program for boost::signals2::mutex, based on libs/thread/test/test_mutex.cpp. Frank Mori Hess 2009-01-13 19:45:02 +0000
  • 9be331047d Fixed tracking of null but not empty shared_ptr (broken by recent optimization changes). Frank Mori Hess 2008-12-18 22:09:36 +0000
  • b1deb11868 Added test of tracking a null but not empty shared_ptr. Frank Mori Hess 2008-12-18 22:03:52 +0000
  • 0c7f7dcf76 Make sure weak_ptr is expired, and doesn't just refer to a null shared_ptr. Frank Mori Hess 2008-12-15 19:34:09 +0000
  • 1893022493 Made sure all macros defined by Signals2 are prefixed by BOOST_SIGNALS2_. Frank Mori Hess 2008-12-14 17:23:07 +0000
  • 128ffcc61d Optimized invocation speed with respect to overhead from copying signal arguments. Frank Mori Hess 2008-12-12 21:48:19 +0000
  • d05cd6df9d Opimized speed with respect to automatic tracking overhead during signal invocation. Frank Mori Hess 2008-12-12 21:34:58 +0000
  • ea200f05f3 Added comparison benchmark between Boost.Signals and Signals2. Frank Mori Hess 2008-12-12 21:19:53 +0000
  • 94353e94a8 Removed some obsolete notes on default combiner behavior. Frank Mori Hess 2008-11-12 02:29:08 +0000
  • 4e5ff310ae Fixed bug in default ExtendedSlotFunction template type parameter for preferred syntax signals2::signal. Added test code for extended slots to signal_test. Frank Mori Hess 2008-11-04 21:03:16 +0000
  • 5aa7704586 Use boost::throw_exception instead of throw. Frank Mori Hess 2008-11-04 16:37:44 +0000
  • fc61b2b7d2 renamed BOOST_SIGNALS_MAX_ARGS to BOOST_SIGNALS2_MAX_ARGS to avoid conflict with original Boost.Signals. Frank Mori Hess 2008-11-01 16:59:29 +0000
  • b224d2adf7 Fixed a compile warning and added missing declaration of TryEnterCriticalSection when not using windows.h. Frank Mori Hess 2008-10-20 03:27:36 +0000
  • f900c0c6ec Fix compile error when targeting windows platforms before NT 4. Frank Mori Hess 2008-10-19 15:56:28 +0000
  • 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. Frank Mori Hess 2008-10-09 21:16:54 +0000
  • 1a50f64fca Made include guard macro names consistent. Frank Mori Hess 2008-10-09 18:38:49 +0000
  • 2d90b9df81 Made names of include guard macros consistent. Frank Mori Hess 2008-10-09 18:25:47 +0000
  • 41f497059d Removed supported compiler table, which does not reflect state of Signals2 code. Frank Mori Hess 2008-10-09 12:42:24 +0000
  • 95665cde22 Fixed default Combiner template types, which are now optional_last_value. Frank Mori Hess 2008-10-08 19:01:27 +0000
  • c32307fc7c Fixed swapped default values for ExtendedSlotFunction parameters of signal and signalN. Frank Mori Hess 2008-10-08 18:53:37 +0000
  • 89e52e5d53 Updated faq entry on API changes with new extended_slot_type. Frank Mori Hess 2008-10-08 18:45:37 +0000
  • 6bfee8386e Updated some urls in docs wrt change from thread_safe_signals -> signals2. Frank Mori Hess 2008-10-08 18:21:06 +0000