Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | C++17: Replace call_*() helpers with std::apply().c++17v4 | Murray Cumming | 2016-09-21 | 3 | -45/+4 |
| | |||||
* | C++17: Use std::invoke(). | Murray Cumming | 2016-09-21 | 14 | -21/+45 |
| | | | | | | | This makes code more generic. Maybe this will let us simplify code. I don't actually have a compiler (or its standard library) that supports this, so this probably does not build. | ||||
* | C++17: limit_trackable_target: Use constexpr if to simplify code. | Murray Cumming | 2016-09-21 | 1 | -24/+3 |
| | |||||
* | slot_rep::dup(): Remove an unnecessary static_cast. | Murray Cumming | 2016-07-28 | 1 | -1/+1 |
| | | | | Found by CLion's code inspection. | ||||
* | Build: Fix silent builds | Kjell Ahlstedt | 2016-07-18 | 2 | -5/+12 |
| | | | | | | | | | * configure.ac: Pass yes to AM_SILENT_RULES, thus enabling silent builds. Require mm-common 0.9.10 (not necessary for silent builds, but necessary when MM_AX_CXX_COMPILE_STDCXX is used). * docs/reference/Doxyfile.in: Set QUIET=YES. Update for doxygen 1.8.11 (not necessary for silent builds). Bug #768797 | ||||
* | Correct a comment. | Murray Cumming | 2016-07-06 | 1 | -1/+1 |
| | |||||
* | 2.99.7 | Murray Cumming | 2016-06-27 | 2 | -1/+13 |
| | |||||
* | Remove trailing whitespace. | Murray Cumming | 2016-05-16 | 2 | -8/+8 |
| | |||||
* | slot_base: Use weak_raw_ptr instead of destroy_notify_struct. | Murray Cumming | 2016-05-02 | 1 | -28/+6 |
| | | | | This seems cleaner. | ||||
* | connection: Use weak_raw_ptr for slot_base. | Murray Cumming | 2016-05-02 | 2 | -28/+5 |
| | | | | | Instead of connection deriving from notifiable and setting/unsetting its own notification callbacks. This simplifies the code. | ||||
* | Added sigc::internal::weak_raw_ptr<>. | Murray Cumming | 2016-05-02 | 6 | -2/+189 |
| | | | | | As a simpler way to null a pointer to an object when that object is deleted. | ||||
* | connection: Update the documentation. | Murray Cumming | 2016-04-29 | 1 | -9/+2 |
| | | | | This no longer needs to (or can be) created from an iterator. | ||||
* | Docs: Fix some minor typos. | Murray Cumming | 2016-04-29 | 4 | -4/+4 |
| | |||||
* | Docs: Fix invokation->invocation typos. | Murray Cumming | 2016-04-29 | 6 | -20/+20 |
| | |||||
* | signal_base: Remove unnecessary trackable.h include. | Murray Cumming | 2016-04-28 | 1 | -1/+0 |
| | |||||
* | signal_base: Do not derive from trackable. | Murray Cumming | 2016-04-28 | 2 | -4/+3 |
| | | | | | | | | Because we don't seem to actually use the trackable API when using these objects. There was a call to notify_callbacks(), but that cannot have done anything, because nothing registers any callbacks with the base trackable, and now cannot possibly register any callbacks, because it's no longer a trackable. | ||||
* | slot_rep: Pass a slot_rep*, not notifiable*, to destroy(). | Murray Cumming | 2016-04-28 | 2 | -6/+8 |
| | | | | | To make it clearer exactly what callback signature is expected, and what the type of the data is. | ||||
* | signal_impl: Doesn't need to derive from notifiable. | Murray Cumming | 2016-04-28 | 1 | -2/+1 |
| | |||||
* | 2.99.6 | Murray Cumming | 2016-04-27 | 2 | -1/+28 |
| | |||||
* | copy operations: Name all parameters src. | Murray Cumming | 2016-04-27 | 4 | -10/+10 |
| | | | | To make it more obvious that these are copy operations. | ||||
* | signal_impl_holder: Split into this and signal_exec_holder. | Murray Cumming | 2016-04-24 | 2 | -6/+28 |
| | | | | | | | | And use just signal_exec_holder in signal_impl::clear(), instead of trying to take create a shared_ptr to this while this is being destroyed. Bug #764935 | ||||
* | signal_exec: Rename to signal_exec_holder. | Murray Cumming | 2016-04-24 | 3 | -17/+17 |
| | | | | Because that's what it does. It doesn't execute anything. | ||||
* | signal_impl: Trying to do the ref-counting with std::shared_ptr. | Murray Cumming | 2016-04-23 | 3 | -63/+23 |
| | | | | Bug #764935 | ||||
* | slot: use pointer for functor_ member | Marcin Kolny | 2016-04-22 | 1 | -9/+11 |
| | | | | | Using pointer instead of value allows us to avoid calling destructor of functor_ directly in destroy() | ||||
* | test_disconnect: Add comment to explain potential leak. | Murray Cumming | 2016-04-22 | 1 | -1/+1 |
| | | | | Because clang-tidy incorrectly (but understandably) complains about this. | ||||
* | tests: Make single argument constructors explicit. | Murray Cumming | 2016-04-22 | 6 | -7/+7 |
| | | | | Found by the google-explicit-constructor clang-tidy check. | ||||
* | limit_refernce: =default copy/move operations. | Murray Cumming | 2016-04-22 | 1 | -0/+8 |
| | | | | | Because we really use at least the default copy constructor, so this makes that clearer. | ||||
* | limit_reference: Make constructor explicit. | Murray Cumming | 2016-04-22 | 1 | -1/+1 |
| | |||||
* | Connection: Constructor: Take slot_base as reference. | Murray Cumming | 2016-04-22 | 3 | -7/+7 |
| | | | | This constructor existed before, so this avoids an API break. | ||||
* | signal_emit: Make constructor explicit. | Murray Cumming | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | temp_slot_list: Make constructor explicit. | Murray Cumming | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | typed_slot_rep: Make constructor explicit. | Murray Cumming | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | test_size: Add comments with the results, so we can notice changes. | Murray Cumming | 2016-04-21 | 1 | -0/+26 |
| | |||||
* | slot_rep: Rename notify() for clarity. | Murray Cumming | 2016-04-21 | 3 | -4/+5 |
| | |||||
* | signal_impl: Rename notify_self_and_iter_invalidated(). | Murray Cumming | 2016-04-21 | 2 | -3/+3 |
| | | | | | To notify_self_and_iter_of_invalidated_slot(), to make it clear both what is being notified, and what is being invalidated. | ||||
* | test_accum_iter: Use of decltype(auto). | Murray Cumming | 2016-04-21 | 1 | -1/+2 |
| | |||||
* | Use temp_slot_list as const. | Murray Cumming | 2016-04-21 | 1 | -3/+3 |
| | |||||
* | Fixed missing newline in doxygen comment. | Murray Cumming | 2016-04-21 | 1 | -2/+2 |
| | |||||
* | signal_emit: Make a_ private. | Murray Cumming | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | signal_emit: Remove some public type aliases. | Murray Cumming | 2016-04-21 | 1 | -2/+2 |
| | |||||
* | connection: Rename notify() for clarity. | Murray Cumming | 2016-04-21 | 2 | -5/+5 |
| | |||||
* | connection: Make notify() private. | Murray Cumming | 2016-04-21 | 1 | -3/+3 |
| | |||||
* | connection: Take the slot_base directly, without the intermediate slot_iterator. | Murray Cumming | 2016-04-21 | 3 | -103/+16 |
| | |||||
* | signal::connect(): Return a sigc::connection. | Murray Cumming | 2016-04-21 | 6 | -14/+21 |
| | | | | Instead of an iterator aliases to a signal<>::connection. | ||||
* | slot_list: Remove this now-unused class. | Murray Cumming | 2016-04-21 | 1 | -78/+0 |
| | |||||
* | Remove unused const_*_iterator. | Murray Cumming | 2016-04-21 | 1 | -70/+0 |
| | | | | And the unused slot_list methods that use it. | ||||
* | signal: Remove public emitter_type alias. | Murray Cumming | 2016-04-21 | 1 | -1/+1 |
| | |||||
* | signal: Rename iterator to connection. | Murray Cumming | 2016-04-21 | 4 | -17/+11 |
| | | | | It is still actually an iterator, but we can change that later. | ||||
* | Remove now-unused slot_reverse_iterator_buf. | Murray Cumming | 2016-04-21 | 1 | -158/+0 |
| | |||||
* | signal: Remove slots(). | Murray Cumming | 2016-04-21 | 2 | -31/+7 |
| | | | | | Because it does not seem useful. Also remove the unused extra iterator types and the const slot(). |