| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Instead of connection deriving from notifiable and setting/unsetting
its own notification callbacks. This simplifies the code.
|
|
|
|
| |
To make it more obvious that these are copy operations.
|
|
|
|
| |
This constructor existed before, so this avoids an API break.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is particularly unnecessary now that we have the notifiable
base class.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Use notifiable as the base class for trackable, connection, signal_impl,
self_and_iter and destroy_notify_struct.
Use this notifiable* instead of void* for the destroy/notify callback data.
This is a little more type-safe and self-documenting.
Bug #302152
|
|
|
|
|
|
| |
The SIGC_USING_STD() macro is defined as an empty string, if some standard
C++ symbols are defined in namespace std. They always are.
Since many years, SIGC_USING_STD() is an unnecessary macro.
|
| |
|
| |
|
|
|
|
|
| |
Trying to avoid using auto where its a specific type that we are
trying to test for.
|
| |
|
|
|
|
|
|
|
| |
2005-01-18 Murray Cumming <murrayc@murrayc.com>
* Bug #159597 - patch from e97_far at e.kth.se to replace C-style
casts with reinterpret_cast<> and static_cast<> to avoid warnings.
|
|
|
|
|
|
|
|
|
| |
2004-07-11 Murray Cumming <murrayc@murrayc.com>
* sigc++/connection.cc: Added some comments.
* sigc++/trackable.cc: operator=(): Check for self-asignment, though I
do not know of any actual bug that this fixes. Added some comments.
* sigc++/trackable.h Added some doxygen documentation.
|
|
|
|
|
|
|
| |
2004-04-10 Murray Cumming <murrayc@murrayc.com>
* sigc++/connection.[h|cc]: Implement blocked() to avoid undefined
symbol linker error.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-02 Murray Cumming <murrayc@murrayc.com>
* sigc++/connection.cc: Make block() and unblock() always return a
value, to fix compiler warnings. Patch from bug #138620 by
Alexander Nedotsukov.
2004-04-02 Murray Cumming <murrayc@murrayc.com>
* Fix the compile of examples/member_method.cc. Bug #131701 from
Kirill Smelkov. I also made the examples build as part of the regular
build.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-13 Murray Cumming <murrayc@usa.net>
* sigc++/functors/slot_base.[h|cc], sigc++/trackable.[h|cc]: Create
and use a typedef for the destroy_notify callback functions, to avoid
confusion function pointer declaration syntax in the API.
2004-02-13 Murray Cumming <murrayc@murrayc.com>
* Moved implementation to .cc files:
* sigc++/functors/: Added slot_base.[h|cc] which contains non-template
code that was previsouly in the generated functors/slot.h and
non-generated slot.cc files. All non-inline implementation is now in
the .cc file.
* sigc++/functors/macros/slot.m4: Removed the code that has been moved
to slot_base.[h|cc].
* sigc++/: Added signal_base.[h|cc] which contains non-template code
that was previously in the generated signal.h and non-generated
signal.cc file. All non-inline implementation is now in the .cc file.
* sigc++/macros/signal.m4: Removed the code that ahs been moved to
signal.cc
* sigc++/connector.[h|cc]: method implementation moved to the .cc file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-19 Martin Schulze <teebaum@cvs.gnome.org>
* NEWS: Add announces of versions 1.9.6 and 1.9.7.
* sigc++/compatibility.h.m4: New file. Defines namespace SigC.
namespace SigC should be API compatible to libsigc++-1.2.
* sigc++/Makefile.am: Build compatibility.h.
* tests/test_compatibility.cc, tests/Makefile.am:
Add test case for compatibility module.
* docs/index.html: Change group names.
* sigc++/sigc++.h: Include connection.h.
* sigc++/connection.{cc,h}:
- Rename dependency to destroy_notify_callback.
- Change parameter name in set_slot() from d to data.
- Fix operator=(): Add "return *this;"
- Get rid of namespace functor.
- Corrections in documentation.
* sigc++/signal.{cc,h.m4}:
- Add reference counter to signal_impl. Replaces "bool destroy_".
- Move signal_base, slot_iterator[_buf], slot_list out of
namespace internal. They are part of the public API.
- Add convenience function signal#::make_slot().
- Get rid of namespace functor.
- Corrections in documentation.
* sigc++/trackable.{cc,h}:
- Rename dependency to destroy_notify_callback.
- Rename trackable::clear() to trackable::notify_callbacks().
- Corrections in documentation.
* sigc++/type_traits.h: Add documentation.
* sigc++/visit_each.h:
- Get rid of namespace functor.
- Add documentation.
* sigc++/adaptors[/lambda]/*: Get rid of namespace functor.
* sigc++/functors/{functor_trait.h,ptr_fun.h.m4,mem_fun.h.m4}:
- Get rid of namespace functor.
- Corrections in documentation / add documentation.
* sigc++/functors/slot.{cc,h.m4}:
- Move slot_base out of namespace internal. It's public API.
- Get rid of one-letter-parameter-names.
- Get rid of namespace functor.
- Corrections in documentation.
* tests/*.cc: Get rid of "using namespace ...".
|
|
|
|
|
|
|
| |
2003-03-26 Martin Schulze <MHL.Schulze@t-online.de>
* Change "closure" to "slot" throughout sigc++2 (file names,
class names, member variables, documentation, etc.).
|
|
2003-03-09 Martin Schulze <MHL.Schulze@t-online.de>
* sigc++/connection.{cc,h}, sigc++/Makefile.am:
- New files that add a connection class. Objects of this
class are constructed from closure list iterators and can
be used to disconnect the refered closure. As opposed to
iterators they stay valid beyond the lifetime of the closure.
|