| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
We don't actually call the function, but it avoids an inspection
warning from Jetbrains CLion, and doesn't seem unreasonable.
|
|
|
|
| |
Found by Jetbrains CLion.
|
| |
|
| |
|
|
|
|
| |
Instead of an iterator aliases to a signal<>::connection.
|
|
|
|
| |
It is still actually an iterator, but we can change that later.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
And rename bound_mem_functor_base to bound_mem_functor.
|
|
|
|
| |
They were only used in one place, internally, and did not add much clarity.
|
|
|
|
|
|
|
| |
Do not generate *mem_functor0 through *mem_functor7. Instead just
generate variadic *mem_functor<>.
We do still generate mem_functor, const_mem_functor and
const_volatile_mem_functor, which seems messy.
|
|
|
|
|
| |
Trying to avoid using auto where its a specific type that we are
trying to test for.
|
|
|
|
|
|
|
|
| |
* tests/testutilities.[h|cc]: New files. Code common to all test cases.
* tests/*.cc: Use class TestUtilities. Don't print anything
if the test passes. Return EXIT_FAILURE if the test fails.
* tests/Makefile.am: Add testutilities.[h|cc] to all test cases.
Bug #684956.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-19 Murray Cumming <murrayc@murrayc.com>
* scripts/: Added cxx_std.m4, with a test copied from
glibmm/scripts/cxx_std.m4 to check if the compiler has the std::
namespace.
* sigcconfig.h: #undef the new #define and add SIGC_USING_STD(),
like GLIBMM_USING_STD, to put stuff in the std:: namespace when it
is not there already,
* configure.in: Used the new test.
* tests/*: Uses SIG_USING_STD() for every std:: thing that we use.
This is needed by the Tru64 and HP-UX compilers when using their
defaults.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-07 Martin Schulze <MHL.Schulze@t-online.de>
* sigc++/signal.{cc,h.m4}:
- signal_emit#<>: New templates replacing signal#<>::caller.
The purpose of these templates is implementing the emit
function and optimizing signal emission for the case that
no accumulator is used via template specializations.
- default_accumulator<>: Removed. The default for T_accumulator
in signal#<> now is nil. An example how to use accumulators
is available in tests/test_accumulator.cc.
- signal_{base,impl}: Move the implementation of signal_base's
interface to signal_impl. An object of this class is
dynamically allocated when first connecting a closure to
the signal. This drastically reduces the size of empty signals
and allows for future addition of a reference counter to make
it safe to delete a signal during emission.
- Directly work on closure_rep during signal emission. This
seems to be quicker than using the closure templates.
- Document the classes. Restructure the header file a bit.
* sigc++/functors/closure.h.m4: Make closure_base::rep_ data
member public, so that signal emission can directly work on it.
* tests/test_size.cc: Add an entry for signal_impl.
|
|
2003-03-05 Martin Schulze <MHL.Schulze@t-online.de>
* tests/Makefile.am, tests/test_size.cc, tests/test_accumulated.cc:
Add two test cases. test_size is showing the size of public and
internal structures. (Which apart from empty signals are smaller
than the sizes of the equivalent libsigc++-1.2 structures.)
test_accumulated is a test for the template signal<>::accumulated<>
at the same time showing the use of accumulators in libsigc++2.
|