Commit Graph

598 Commits

Author SHA1 Message Date
Frank Mori Hess
854d3ce500 Fixed compile error in mutex_test I recently introduced. 2015-04-20 10:47:25 -04:00
Frank Mori Hess
9864b4dbcd Merge branch 'develop' 2015-04-18 13:47:15 -04:00
Frank Mori Hess
1680fc0c08 Fixed race in mutex_test. 2015-04-18 13:45:04 -04:00
Frank Mori Hess
79a8dc9e1d Fixed compile errors with reference slot return type, when
compiling in c++11 mode.
2015-04-12 22:53:46 -04:00
Frank Mori Hess
2659f70dff Fixed compile error in c++11 mode due to my last change. 2015-04-12 22:05:57 -04:00
Frank Mori Hess
c22312b86c Destroy user slots promptly after disconnection, and without
holding any signals2 mutexes.
2015-04-12 21:44:30 -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
4982d8a8ef Merge branch 'develop' 2015-03-25 15:05:25 -04:00
Frank Mori Hess
18dfed8989 Fixed a parameter forwarding issue with bound_extended_slot_function
in c++98 mode.
2015-03-24 12:57:55 -04:00
Frank Mori Hess
fb8344aa09 Fixed forwarding issues with gcc 4.9 and later in c++11 mode. 2015-03-23 18:38:34 -04:00
Frank Mori Hess
9cf234651e Fixed forwarding issues with gcc 4.9 and later in c++11 mode. 2015-03-23 18:36:35 -04:00
Frank Mori Hess
0cc3f5aa12 Made internal invocation_janitor class noncopyable as suggested by
Eric Levin, to avoid compiler warnings on msvc.
2015-03-04 12:03:32 -05:00
Frank Mori Hess
8032e1d5ae Merge branch 'develop' 2014-11-13 13:59:03 -05:00
Frank Mori Hess
fd0d8042e2 Fix for missing include from Evangelos Foutras. 2014-11-06 23:32:20 -05:00
Frank Mori Hess
db1a5f9692 Merge branch 'develop' 2014-10-30 16:05:18 -04:00
Frank Mori Hess
da69ce807e Applied patch from Stefan Bühler from ticket #10721 2014-10-30 15:59:54 -04:00
Frank Mori Hess
f3cd4d3899 Merge branch 'develop' 2014-09-26 18:30:52 -04:00
Frank Mori Hess
c031040102 Merge pull request #7 from MarcelRaad/patch-1
Remove unused include
2014-09-26 18:27:06 -04:00
Marcel Raad
af47b6d323 Remove unused include
This header file does not compile with clang-cl because of the try/catch, and it's not used anyway since 44f2fc27d8.
2014-09-26 11:22:38 +02:00
Frank Mori Hess
5430e17d63 Removed dead code which checked wrong #define 2014-09-10 12:22:37 -04:00
Frank Mori Hess
164b6a471a Merge branch 'develop' 2014-08-21 16:14:20 -04:00
Frank Mori Hess
bc056228d5 Merge pull request #6 from danieljames/metadata
Create metadata file.
2014-08-18 10:32:46 -04:00
Daniel James
e74ce11fdd Add metadata file. 2014-08-18 15:10:34 +01:00
Frank Mori Hess
7315b00e62 Merge branch 'develop' 2014-08-15 21:07:25 -04:00
Frank Mori Hess
fdc0c8b54a Added an overload to avoid unreferenced parameter warning (patch
from Sergiu Dotenco).
2014-08-15 21:05:18 -04:00
Frank Mori Hess
909748a874 Merge branch 'develop' 2014-08-15 17:10:11 -04:00
Frank Mori Hess
0b656211f1 Fixed unused parameter warning. 2014-08-15 17:08:59 -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
5516d08b21 Merge branch 'develop' 2014-07-08 11:28:55 -04:00
Frank Mori Hess
79a97d9d7e Merge pull request #4 from MarcelRaad/patch-1
Compile fix for MSVC 14
2014-07-03 16:52:56 -04:00
Marcel Raad
2ea1a2f8ad Compile fix for MSVC 14
Enables the Visual C++ 12 workaround also for Visual C++ 14.
2014-07-03 21:47:39 +02:00
Frank Mori Hess
c1e3ca8c1a Merge pull request #3 from stgates/winrt
[winrt support] Updating Signals2 to work with the Windows Runtime.
2014-06-22 19:51:12 -04:00
Steve Gates
afc2d898ed Updating Signals2 to work with the Windows Runtime.
Basically just use InitializeCriticalSectionEx.
2014-06-17 11:02:38 -07:00
Frank Mori Hess
7085769baf Merge branch 'develop' 2014-03-02 12:42:18 -05: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
cf3a40ed5e Added missing newline at end of file. 2014-01-03 11:40:57 -05:00
Frank Mori Hess
5fc774c2d0 Fixed line that somehow got out of sync with develop. 2014-01-03 11:39:04 -05:00
Frank Mori Hess
a494a68e92 Merge branch 'develop'
Conflicts:
	doc/porting.xml
	doc/reference/connection.xml
	doc/reference/signal_header.xml
	doc/tutorial.xml
	include/boost/signals2/detail/signal_template.hpp
	include/boost/signals2/detail/signals_common_macros.hpp
	include/boost/signals2/detail/slot_template.hpp
	include/boost/signals2/detail/variadic_slot_invoker.hpp
	include/boost/signals2/preprocessed_signal.hpp
	test/signal_test.cpp
2014-01-03 11:27:17 -05:00
Frank Mori Hess
96f7da77ed Removed some macro usage that is no longer needed. 2014-01-01 11:20:31 -05:00
Frank Mori Hess
9ec67c28f1 Merge pull request #1 from DanielaE/feature/vc12-variadic
Enable compilation with VS2013 and later. Fixes ticket #9529
2014-01-01 08:07:38 -08:00
Daniela Engert
badf044236 Enable compilation with VS2013 and later.
Instead of adding partially specialized class template 'slot' with dependent template argument 'SlotFunction' which doesn't work with Visual Studio compilers, get around this problem by introducing class template 'slot_impl' - much like in the "faux-variadic" code path used by compilers which don't implement variadic templates.

As a by-product, make library level-4-warning-clean.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2013-12-31 16:51:09 +01:00
Frank Mori Hess
40dc434f94 Removed redundant forward declaration of slot class when
compiling with variadic templates.
2013-12-29 21:35:02 -05:00
Frank Mori Hess
a75540ffc2 Removed redundant #define. 2013-12-29 20:38:58 -05:00
Frank Mori Hess
930373d2f5 Removed unreachable code. 2013-12-29 20:09:25 -05:00
Frank Mori Hess
28cae5b027 Merge pull request #2 from DanielaE/fix/vc-move-support
* fix: compilation of move support up to vc11
2013-12-29 16:55:53 -08:00
Daniela Engert
de7c018d3a * fix: compilation of move support up to vc11
Visual Studio compilers up to VS2012 don't auto-generate move constructors and move assignment operators. One has to implement them manually.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2013-12-29 17:22:02 +01:00
Frank Mori Hess
fca4de8238 Added documentation for signal move constructor and move assignment. 2013-12-25 11:54:52 -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
d3e6e46869 Updated reference docs with new move support for connection classes. 2013-12-24 11:02:32 -05:00