3 2008-03-10 Deng Xiyue <manphiz@gmail.com
5 * sigc++/macros/slot.h.m4:
6 Added an include of functors/slot.h that was mistakenly removed
7 during the 2.1 series, apparently breaking API slightly.
12 2008-02-28 Elaine Xiong <elaine.xiong@sun.com>
14 * sigc++/macros/signal.h.m4:
15 * tests/test_accum_iter.cc: Add ifdefs around uses of
16 reverse_iterator to really fix the build with recent
22 2008-01-01 Ryan Hill <dirtyepic@gentoo.>
24 * tests/test_copy_invalid_slot.cc: Include the cstdlib
25 and cstring headers to fix the build with the gcc 4.3
26 pre-release. Bug #454882.
28 2007-08-31 Murray Cumming <murrayc@murrayc.com>
30 * tests/test_copy_invalid_slot.cc: Added some includes to
31 fix the build in some environments, such as when using Sun CC.
32 Thanks to Vladimir Marek in bug #469872.
36 2007-08-14 Murray Cumming <murrayc@murrayc.com>
39 * sigc++/compatibility.h: Removed this header.
41 * sigc++/bind_return.h:
42 * sigc++/connection.h:
43 * sigc++/macros/class_slot.h.m4:
44 * sigc++/macros/hide.h.m4:
45 * sigc++/macros/method_slot.h.m4:
46 * sigc++/macros/object_slot.h.m4:
47 * sigc++/macros/retype.h.m4:
48 * sigc++/macros/signal.h.m4:
49 * sigc++/macros/slot.h.m4:
51 * sigc++/retype_return.h: Removed deprecated
52 compatibility API, to probably fix the build with
53 some compilers, such as some versions of the Sun Forte C++
54 CC compiler. Some of these headers are now mostly empty and
55 should be removed later.
56 This API has been deprecated April 2004, and
57 is not widely used, so it seems safe to do this now.
60 * tests/test_compatibility.cc: Removed this test.
62 2007-07-28 Michael Elkstrand <michael@elehack.net>
64 * sigc++/macros/signal.h.m4: slot_iterator_buf,
65 slot_reverse_iterator_buf: Added typedefs for
66 value_type, reference, and pointer, so that these
67 iterators are more like standard C++ iterators, so they can
68 be used with standard C++ algorithms.
70 * tests/test_accum_iter.cc: Added a test for this.
73 2006-11-14 Daniel Elstner <daniel.kitta@gmail.com>
75 * autogen.sh: Wholly replace this script with a critter from one
76 of my personal projects, with slight modifications. This one does
77 some sophisticated stuff like probing version numbers of available
78 automake and aclocal executables, in order to choose the right one
79 accordingly. All this is necessary to make the build system work
80 robustly in custom environments such as Maemo where automake-1.9
81 doesn't come preinstalled.
83 2006-06-20 Murray Cumming <murrayc@murrayc.com>
85 * sigc++/adaptors/macros/bind.h.m4:
86 * sigc++/adaptors/macros/retype.h.m4:
87 * sigc++/functors/macros/functor_trait.h.m4:
88 * sigc++/functors/macros/slot.h.m4:
89 * sigc++/macros/retype.h.m4:
90 * sigc++/macros/signal.h.m4: Revert the previous changes, because none is
91 used in the exported symbol names from gtkmm, so this would break the ABI
94 2006-05-26 RĂ©gis Duchesne <hpreg@vmware.com>
96 * sigc++/adaptors/macros/bind.h.m4:
97 * sigc++/adaptors/macros/retype.h.m4:
98 * sigc++/functors/macros/functor_trait.h.m4:
99 * sigc++/functors/macros/slot.h.m4:
100 * sigc++/macros/retype.h.m4:
101 * sigc++/macros/signal.h.m4:
102 Renamed 'nil' to 'none' to allow an Objective-C++ compiler to compile
103 the library header files.
105 2005-12-21 Murray Cumming <murrayc@murrayc.com>
107 * sigc++/macros/signal.h.m4: Make remaining
108 reverse_iterator_buf operator--() methods
109 return by reference, like the operator++() methods.
110 Bug #304402 from John Profic.
112 2005-12-20 Murray Cumming <murrayc@murrayc.com>
114 * sigc++/macros/signal.h.m4: Make all operator--() methods
115 return by reference, like the operator++() methods.
116 Bug #304402 from John Profic.
118 2005-12-14 John Profic <profic@kursknet.ru>
120 * sigc++/macros/signal.h.m4: Fix compilation problem in
123 2005-12-14 John Profic <profic@kursknet.ru>
125 * sigc++/macros/signal.h.m4: Added emit_reverse().
127 This is the HEAD branch, for API/ABI-compatible API additions.
128 See also the libsigc-2-0 branch.
130 2005-12-01 Murray Cumming <murrayc@murrayc.com>
132 * sigc++/functors/slot_base.cc:
133 slot_base::disconnect(): Set call_ to 0,
134 to invalidate the slot, even if parent_ is 0.
135 I think parent_ is, for instance, a signal, but
136 disconnect should still work on a slot that is not
137 connected to a signal, because a slot can be invoked
139 Fixes bug #311057 from James Lin.
141 2005-12-01 Murray Cumming <murrayc@murrayc.com>
144 * tests/test_slot_disconnect.cc: Added test
145 case from bug #311057.
147 2005-11-16 Philipp Berndt <philipp.berndt@gmx.net>
149 * sigc++/adaptors/macros/exception_catch.h.m4: Make member
150 exception_catch_functor<T_functor, T_catcher, void>::catcher_
151 public so that it can be accessed by visit_each()
152 (bug fixed for generalization on 2004-11-06)
156 2005-08-01 Neal E. Coombes <nealc@trdlnk.com>
158 * sigc++/signal_base.h: Updated the documentation for temp_slot_list
159 as requested in bug #303896.
161 2005-08-01 Murray Cumming <murrayc@murrayc.com>
163 * sigc++/adaptors/hide.h.m4: Added missing
164 ) in call to sun_forte_workaround(), fixing
165 build on SUN Forte 5.5. Bug #312020.
167 2005-08-19 Bruno Martinez <brunom@fing.edu.uy>
169 * sigc++/type_traits.h: Renamed
170 ::sigc::is_base_and_derived::internal to
171 ::sigc::is_base_and_derived::internal_class
172 in order to avoid conflict with
175 2005-07-13 Murray Cumming <murrayc@murrayc.com>
177 * docs/manual/libsigc_manual.xml: Correct mentions of
178 1.2 stuff instead of 2.0. Patch in bug #310213 from
181 2005-07-13 Murray Cumming <murrayc@murrayc.com>
183 * docs/manual/libsigc_manual.xml: Fixed typo
184 found by Antonio Coralles.
186 2005-07-09 Murray Cumming <murrayc@murrayc.com>
188 * sigc++/macros/signal.h.m4: Did the same (see
189 last commit) for slot_const_iterator and
192 2005-07-09 Murray Cumming <murrayc@murrayc.com>
194 * sigc++/macros/signal.h.m4: slot_iterator:
195 operator--() now returns value, not reference, like
196 operator++() already did. This caused crashes when
197 using --no-inline with g++. Bug #308651 by
202 2005-07-04 Philip Langdale <plangdale@vmware.com>
204 * sigc++/adaptors/macros/compose.h.m4: Add a setter typedef to
205 compose*_functor and use it instead of the (incorrect) getter
206 typedef in the compose* specialization of visit_each<>().
207 This corrects the lifetime management of slots created with
208 compose(). Bug #308433.
210 2005-06-13 Marek Rouchal <marek.rouchal@infineon.com>
212 * tests/test_deduce_result_type.cc: Specify int return type
213 for main(), to be more ISO C++ compliant. Bug #307478.
215 2005-06-11 Andris Pavenis <pavenis@latnet.lv>
217 * sigc++/adaptors/lambda/macros/base.h.m4:
218 * sigc++/adaptors/lambda/macros/select.h.m4
219 * sigc++/adaptors/macros/hide.h.m4: Specify only a type (not a
220 parameter name) for unused member function parameters
222 2005-06-12 Paul Pogonyshev <pogonyshev@gmx.net>
226 * sigc++config.h.in: Add test for whether the compiler allows
227 referencing to member functions of the class/structure being
228 declared from a definition of a static member variable.
229 Supposedly a generic solution for GCC 3.2 compilation problems.
231 * sigc++/type_traits.h: Define SIGC_WRAP_IS_BASE_CLASS_ based on
232 results of the above test.
233 (struct is_base_and_derived): Wrap up is_base_class_() functions
234 in an internal class if SIGC_WRAP_IS_BASE_CLASS_ is defined.
236 2005-06-10 Murray Cumming <murrayc@murrayc.com>
238 * sigc++/adaptors/macros/bind.h.m4:
239 * sigc++/functors/macros/slot.h.m4:
240 * sigc++/macros/signal.h.m4: Use CALL_SIZE instead of
241 hard-coded 7s and 6s.
245 2005-06-10 Murray Cumming <murrayc@murrayc.com>
247 * sigc++/visit_each.h: Make the
248 limit_derived_target::with_type inner class an outer class,
249 to satisfy the SUN CC 5.7 compiler, though I think it is a
250 compiler bug. Bug #302098 has the test case.
254 2005-06-07 Murray Cumming <murrayc@murrayc.com>
256 * tests/test_compatibility.cc: Specify the actual class when
257 using test_int(), instead of the derived class, to fix the build
258 on SUN Forte CC 5.5. Patch from Friedemann Kleint in
261 2005-06-07 Murray Cumming <murrayc@murrayc.com>
263 * sigc++/macros/signal.h.m4: signal_emit::emit(): Use scope to
264 ensure a certain order of destruction of the member variables, to
265 avoid a leak on MSVC++. Patch by Andreas Ames in Bug #306249.
267 2005-06-07 Murray Cumming <murrayc@murrayc.com>
269 * sigc++/macros/signal.h.m4: Added comments about commenting-out
270 SIGC_TYPEDEF_REDEFINE_ALLOWED when using SUN Forte CC 5.7,
271 because I can not seem to create a test for it.
273 2005-06-07 Murray Cumming <murrayc@murrayc.com>
276 * scripts/cxx_std.m4:
277 * sigc++/macros/signal.h.m4:
278 * sigc++config.h.in: Added check for
279 the non-standard SUN Forte reverse_iterator<>,
280 and used it. This is based on the same stuff in
283 2005-06-07 Murray Cumming <murrayc@murrayc.com>
285 * sigc++/visit_each.h: limit_derived_target(): Just some whitespace
288 2005-05-16 Neal E. Coombes <nealc@trdlnk.com>
290 * sigc++/signal_base.h: Modified temp_slot_list to be a temporary view
291 into a slot list. Instead of emptying the original it now simply tacks
292 a placeholder to the end of the original. It then uses this as it's
293 'end' iterator. This should allow for conscious recursiveness, as well
294 as inserting a slot to any position in the slot list during emittion.
297 2005-06-04 Friedemann Kleint <kleint@bifab.de>
299 * sigc++/macros/limit_reference.h.m4:
300 visit_each() template specializations:
301 Mention the bool I_derives_trackable
302 template type, to fix the build on Solaris
307 2005-05-06 RĂ©gis Duchesne <hpreg@vmware.com>
309 * sigc++/macros/limit_reference.h.m4 (added):
310 * sigc++/Makefile.am:
311 New class that just stores a reference, and makes sure that if the
312 reference derives from trackable, then the trackable reference will be
313 used instead of the derived reference in visit_each().
314 * sigc++/functors/macros/mem_fun.h.m4: Better fix for bug #169225 by
315 RĂ©gis Duchesne and Christian Hammond, based on the new limit_reference
317 * sigc++/adaptors/bound_argument.h (added): New class (built upon the
318 new limit_reference class) that handles all 3 kinds of bound arguments:
319 by value, by reference, and by constant reference. References are
320 unwrapped in the bound_argument's constructor.
321 * sigc++/adaptors/macros/bind.h.m4: Fix for bug #302327 by RĂ©gis
322 Duchesne. Bound arguments now need to know whether they are passed by
323 reference or not. So bind() now builds bind_functor instances using
324 'reference_wrapper<Foo>' types, instead of 'Foo &' types. The
325 bind_functor code is modified to compensate.
326 * sigc++/adaptors/macros/bind_return.h.m4: Similar fix for a similar
327 bug (unfiled) with bound return arguments.
328 * sigc++/reference_wrapper.h:
329 * sigc++/type_traits.h:
330 The reference_wrapper class is only used in bound_argument.h. Put
331 correct but unused code under #if 0.
332 * sigc++/adaptors/lambda/base.h: This file needs reference_wrapper.h,
333 but was incorrectly relying on type_traits.h to include it.
335 * tests/test_virtualbase_delete.cc (deleted):
336 * tests/test_virtualbase_delete_ref_param.cc (deleted):
337 * tests/test_limit_reference.cc (added):
338 Replaced test_virtualbase_delete*.cc with a simpler
339 test_limit_reference.cc which checks for all 3 aspects of the same bug
341 * tests/test_bind_ref.cc: Slots must use 'Foo &' types. We were lucky
342 this broken usage worked before this change. The change in
343 type_traits.h made this bug obvious, by preventing the code to compile.
344 * tests/test_bind_return.cc: After my change, bind() and bind_return()
345 must use 'reference_wrapper<Foo>' types.
346 * tests/test_custom.cc: Made this test a no-op (so it does not perturb
347 'make check' on released versions of the library) and made it a
348 template ready to be modified by hackers.
350 2005-05-01 Murray Cumming <murrayc@murrayc.com>
352 * sigc++/functors/slot_base.cc:
353 slot_base::slot_base(src): If the source
354 slot_base has a null rep->call_, meaning that the
355 slot is invalid, just return a default-constructed
356 slot, to prevent the crash shown in
357 tests/tests_copy_invalid_slot.cc. Bug #302515 by
360 2005-05-01 Murray Cumming <murrayc@murrayc.com>
362 * sigc++/functors/macros/mem_fun.h.m4: bound_*<>:
363 Add a new is_base_and_derived<sigc::trackable>
364 parameter to the template and thereby provide a
365 specialization for T_Obj types that derive from
366 sigc::trackable. This prevents a crash when casting
367 from the derived type to sigc::trackable after the
368 derived destructor has run. This cast can sometimes
369 fail when using multiple inheritance, at least with
370 g++. Bug #169225 by RĂ©gis Duchesne and Christian
372 * sigc++/type_traits.h: Add documenation for
373 the internal is_base_and_derived<> template, which
374 allows us to specialize other templates for certain
377 2005-04-28 Murray Cumming <murrayc@murrayc.com>
379 * sigc++/type_traits.h: Added comments for users of
382 2005-04-28 Murray Cumming <murrayc@murrayc.com>
385 * tests/test_virtualbase_delete.cc: Added
386 simplified test case from bug #169225. We have a patch
387 to make this succeed but I am not ready to commit it
390 2005-04-27 Murray Cumming <murrayc@murrayc.com>
393 * tests/test_custom.cc:
394 Added a place to put extra test code, so I don't have
395 to keep installing my crazy libsigc++ versions.
397 2005-04-27 Murray Cumming <murrayc@murrayc.com>
399 * sigc++/visit_each.h: Revert back to the non-explicit
400 template call, because we can not specify the
401 template specialization so easily, because the
402 specializations have different numbers of types.
404 * tests/test_bind_ref.cc: Add a simple test only for
405 sigc::ref disconnection.
407 2005-04-26 Murray Cumming <murrayc@murrayc.com>
409 * sigc++/visit_each.h: Use the explicit template
410 specialization, needed for Tru64 and AIX compilers.
411 This causes a crash in some uses of sigc::ref()
412 (when using g++ 3.3.4 or 3.3.5 , but not with 3.4) but
413 seems to fix a crash in some uses of multiple inheritance
415 * tests/test_bind.cc: Comment out the crashing (not with
416 g++ 3.4) use of sigc::ref() with an explanatory comment.
420 2005-03-09 Cedric Gustin <cedric.gustin@swing.be>
422 * Makefile.am: Moved MSVC_Net2003 directory to SUBDIRS.
423 * MSVC_Net2003/Makefile.am: Added blank.cpp to EXTRA_DIST.
424 * MSVC_Net2003/libsigc++2_msvcNet2003.sln: Removed
425 test_accumulated and test_lambda projects as the tests are
426 disabled in the standard, configure-based build.
427 * MSVC_Net2003/MSVC_Net2003/libsigc++2_msvcNet2003.vcproj:
428 Generate a PDB file in the Debug target.
430 2005-03-05 Murray Cumming <murrayc@murrayc.com>
432 * docs/website/stable.html: Mention actual supported compilers.
433 * docs/website/docs.html: Removed broken examples links. Change
434 reference link to the reference overview page.
436 2005-02-23 Murray Cumming <murrayc@murrayc.com>
438 * sigc++/functors/slot_base.h: Make slot_base::operator=() public, to
439 fix the build with SUN Forte C++ 5.5 and Tru64.
443 2005-02-20 Murray Cumming <murrayc@murrayc.com>
445 * tests/test_slot.cc, test_disconnect.cc: #included <new> to avoid
446 an unresolved symbol error with the Tru64 compiler. Solution found by
447 Tim Mooney in bug #161503.
449 2005-02-20 Martin Schulze <mschulze@cvs.gnome.org>
451 * sigc++/signal_base.h: Add some documentation.
453 2005-02-20 Martin Schulze <mschulze@cvs.gnome.org>
455 * sigc++/signal_base.cc: Reset deferred_ flag to false in
456 signal_impl::sweep() (Neal E. Coombes). Partly fixes bug #167714.
458 2005-02-11 Martin Schulze <mschulze@cvs.gnome.org>
460 * docs/manual/Makefile.am: Set the correct group in post-html.
462 2005-02-11 Murray Cumming <murrayc@murrayc.com>
464 * docs/website/doc.shtml: Fix typo in url for reference docs. Found by
467 2005-02-06 Murray Cumming <murrayc@murrayc.com>
469 * sigc++/signal_base.h: temp_slot_list::begin(), end(): Actually
470 return the iterators.
472 2005-02-03 Neal E. Coombes <nealc@trdlnk.com>
474 * sigc++/signal_base.h: Add temp_slot_list struct to facilitate
475 allowing new connections to a signal during an emittion without
476 affecting that emittion.
477 * sigc++/macros/signal.h.m4: Use the new struct temp_slot_list to
478 prevent connections made during an emittion from being called in the
479 same emittion (which has the potential of causing things like
480 infinite loops). This guarantees an emittion will be finite, as well
481 as maintaining any order of emittion guarantees that may have already
486 2005-02-02 Murray Cumming <murrayc@murrayc.com>
488 * sigc++/visit_each.h: visit_each_type(): Reverted the change, so that
489 we do not specify the template types ot visit_each<>(), because it
490 crashes on g++ 3.3.4 (but not g++ 3.4.2). Added a comment telling users
491 of AIX (and maybe IRIX MipsPro and Tru64) to use the alternative version
492 if they have compilation problems.
494 2005-02-01 Murray Cumming <murrayc@murrayc.com>
496 * sigc++/adapators/macros/base.h.m4: Add sigc::var<>() documentation,
497 from Roger Ferrer IbĂ¡Ă±ez in bug #149483.
499 2005-02-01 Murray Cumming <murrayc@murrayc.com>
501 * sigc++/adaptors/macros/compose.h.m4: In the template specializations
502 of visit_each(): As before, specify the specific other template
503 specializations of visit_each that we use. Needed by AIX.
504 * tests/Makefile.am: Reenabled most tests, because AIX can now
507 2005-02-01 Murray Cumming <murrayc@murrayc.com>
509 * sigc++/visit_each.h: visit_each_type(): Specify the specific
510 template specialization of visit_each<>() to use. The AIX compiler,
511 and possibly the Tru64 compiler, need this extra hint.
513 2005-02-01 Murray Cumming <murrayc@murrayc.com>
515 * bind.h.m4: Define bind_functor::operator() inline because the AIX
516 compiler/linker sometimes fails to find it when it is defined
517 outside of the class.
521 2005-01-30 Murray Cumming <murrayc@murrayc.com>
523 * sigc++/type_traits.h: is_base_and_derived: Added
524 avoid_gcc3_warning_(), to avoid an incorrect warning when using
527 2005-01-28 Liza Klerck <liza@trdlnk.com>
529 * sigc++/functors/macros/mem_fun.h.m4: Add a sigc:: namespace
530 prefix to the nested use of visit_each(), to avoid ambiguity when
531 using 2 versions of the libsigc++ API inside different namespace.
533 2005-01-27 Murray Cumming <murrayc@murrayc.com>
535 * sigc++/adaptors/macros/adaptor_trait.h.m4: Add a sigc:: namespace
536 prefix to the nested use of visit_each(), to avoid ambiguity when
537 using 2 versions of the libsigc++ API inside different namespace,
538 which is not very advisable anyway. Bug #165222 from
543 2005-01-24 Cedric Gustin <cedric.gustin@swing.be>
545 * sigc++config.h.in : Moved the SIGC_USING_STD macro definition
546 out of the SIGC_CONFIGURE section. We also need it for MSVC.
547 * MSVC_Net2003/.cvsignore : Added .def and .aps files
548 * MSVC_Net2003/Makefile.am: Rewrote rule for local copy of
549 sigc++config.h (required for 'make distcheck').
550 * MSVC_Net2003/libsigc++2_msvcNet2003.sln: Added test_retype and
551 test_disconnect_during_emit tests.
552 * MSVC_Net2003/tests/test_disconnect_during_emit/*,
553 MSVC_Net2003/tests/test_retype/*: Initial commit.
555 2005-01-21 Murray Cumming <murrayc@murrayc.com>
557 * tests/: Disabled the test_accumulator, test_bind, and test_compose
558 tests, and part of test_mem_fun because the AIX xlC compiler can not
559 build them, but it can still do most things, including the examples.
560 See the comments in tests/Makefile.am.
562 2005-01-21 Murray Cumming <murrayc@murrayc.com>
564 * sigc++/adaptors/bind.h.m4: non-member operator()(): Specify the
565 extra nil arguments in the templated class name prefix. Oddly, the
566 AIX xlC compiler says that the type of the first parameter does not
567 match the template if you don't do this.
569 2005-01-21 Murray Cumming <murrayc@murrayc.com>
571 * sigc++/type_traits.h: is_base_and_derived struct: Move the
572 is_base_class_() functions out of the inner class, because the AIX
573 xlC compiler does not like that - see the comments in the code.
574 * sigc++/adaptors/bind.h.m4: Add the extra nil template types to
575 the template specializations, as in slot and signal.
577 2005-01-21 Murray Cumming <murrayc@murrayc.com>
579 * sigc++/functors/macros/slot.h.m4, sigc++/macros/signal.h.m4:
580 slot and signal template specialization for
581 various numbers of template args: In the class slot line, specify
582 all the remaining template types as null, instead of expecting the
583 compiler to guess them in itself. This partly fixes the build on
584 AIX with the xlC compiler. Bug #164685.
586 2005-01-19 Murray Cumming <murrayc@murrayc.com>
588 * sigc++/type_traits: struct is_base_and_derived: Make the test inner
589 struct a friend, so that it can use the big inner struct. This is
590 required by the Tru64 compiler.
591 * sigc++/adaptors/lambda/base.h: Put the unwrap_lambda_value()
592 definitions at the top, because Tru64 (understandably) needs them to
593 be declared before use.
595 2005-01-19 Murray Cumming <murrayc@murrayc.com>
597 * scripts/: Added cxx_std.m4, with a test copied from
598 glibmm/scripts/cxx_std.m4 to check if the compiler has the std::
600 * sigcconfig.h: #undef the new #define and add SIGC_USING_STD(),
601 like GLIBMM_USING_STD, to put stuff in the std:: namespace when it
602 is not there already,
603 * configure.in: Used the new test.
604 * tests/*: Uses SIG_USING_STD() for every std:: thing that we use.
605 This is needed by the Tru64 and HP-UX compilers when using their
608 2005-01-19 Murray Cumming <murrayc@murrayc.com>
610 * configure.in: AC_INIT(): Provide the extra tarball name parameter,
611 so that it does not create a libsigc--- tarball.
613 2005-01-19 Murray Cumming <murrayc@murrayc.com>
615 * configure.in: AC_INIT(): Use libsigc++ instead of sigc++, attempting
616 to get the correct tarball name.
618 2005-01-18 Murray Cumming <murrayc@murrayc.com>
620 * configure.in: Used the autoconf 2.93 and AM_INIT_AUTOMAKE()
621 technique to specify ustar format for the tarball, to prevent files
622 with long file names from appearing at the top of the tarball.
623 Based on the same fix in gtkmm 2.6.
625 2005-01-18 Murray Cumming <murrayc@murrayc.com>
627 * sigc++/functors/macros/slot_h.m4: Specify the base class when
628 using the rep_ member variable. This stops the HP-UX aCC compiler
629 from saying that a Nonstatic member is referenced in a nested class,
630 local class or static member initializer. Bug #150719.
632 2005-01-18 Murray Cumming <murrayc@murrayc.com>
634 * Bug #159597 - patch from e97_far at e.kth.se to replace C-style
635 casts with reinterpret_cast<> and static_cast<> to avoid warnings.
637 2005-01-17 Murray Cumming <murrayc@murrayc.com>
639 * docs/manual/Makefile.am: Specifying html/index.html instead of
640 just the html directory as a target seems to fix distcheck problems.
641 I can also now confirm that the install works on solaris, when using
642 gmake, though not when using make.
644 2005-01-17 Murray Cumming <murrayc@murrayc.com>
646 * MSVC_Net2004/Makefile.am: Add built files to DISTCLEANFILES to fix
648 * docs/reference/Makefile.am, manual/Makefile.am: Specify $srcdir in
649 paths, to fix distcheck of the manual, and maybe fix install problems
652 2005-01-11 Murray Cumming <murrayc@murrayc.com>
654 * docs/website/stable.html: Updated the text about binary packages.
655 * docs/website/docs.html: Link to the 2.0 documentation instead of the
658 2004-12-17 GregSchussman <schussman@slac.stanford.edu>
660 * glossary.shtml: Clean up punctuation, make definitions complete
661 sentences, and add clarifications for certain definitions according to
662 what Murray Cumming's suggestions and answers to my questions.
665 2005-01-11 Murray Cumming <murrayc@murrayc.com>
667 * docs/: Added manual, copied from the libsigc++-1.2 cvs module,
668 and updated it for the new 2.0 API.
670 2005-01-11 Murray Cumming <murrayc@murrayc.com>
672 * docs/: Added website, copied from the libsigc++-1.2 cvs module.
673 We will use it from here from now on.
675 2004-12-11 Cedric Gustin <cedric.gustin@swing.be>
677 * configure.ac : parse version tags at configure time (for
679 * MSVC_Net2003/sigc-2.0.rc.in : New resource file.
680 * MSVC_Net2003/Makefile.am: include sigc-2.0.rc in distribution.
682 2004-12-08 Cedric Gustin <cedric.gustin@swing.be>
684 * MSVC_Net2003/Makefile.am: get sigc++config.h from $(top_builddir)
685 instead of $(top_srcdir).
687 2004-12-08 Cedric Gustin <cedric.gustin@swing.be>
689 * MSVC_Net2003/*/*.vcproj: Renamed libsigc++ target to
690 sigc-2.0d.dll (Debug) and sigc-2.0.dll (Release). Added
691 $(SolutionDir) and $(SolutionDir)\.. to "Additional Include
692 Directories" in tests projects.
693 * sigc++config.h.in: Rewrote dllexport/dllimport macros for
694 MSVC, for better consistency with glibmm/gtkmm.
695 * MSVC_Net2003/Makefile.am: copy sigc++config.h from $(top_srcdir)
698 2004-11-27 Murray Cumming <murrayc@murrayc.com>
700 * configure.in: Revert the AC_PROG_LIBTOOL change, so that this builds
701 with actually released libtool versions, and in jhbuild, so that it
704 2004-11-06 Martin Schulze <mschulze@cvs.gnome.org>
706 * sigc++/adaptors/macros/exception_catch.h.m4: Make catcher_ member
707 public so that it can be accessed by visit_each() (bug reported on
708 ml by Philip Langdale <plangdale@vmware.com>).
710 2004-10-24 Martin Schulze <mschulze@cvs.gnome.org>
712 * MSVC_Net2003/*/*.vcproj: Link with the "multithreaded DLL" runtime
713 libraries and enable RTTI for the MSVC build
714 (patch from Timothy M. Shead <tshead@k-3d.com>).
715 * MSVC_Net2003/*/.cvsignore: Hide generated build files from cvs
716 (patch from Timothy M. Shead <tshead@k-3d.com>).
720 2004-10-12 Martin Schulze <mschulze@cvs.gnome.org>
722 * MSVC_Net2003/*/*.vcproj, MSVC_Net2003/blank.cpp: Fix project files
723 to compile out-of-the-box and add dummy file so that .cc files get
724 recognized as c++ code files (patch from Timothy M. Shead).
726 2004-10-10 Martin Schulze <mschulze@cvs.gnome.org>
728 * sigc++/signal_base.{h,cc}, sigc++/functors/slot_base.{h,cc},
729 sigc++/functors/macros/slot.h.m4: If SIGC_NEW_DELETE_IN_LIBRARY_ONLY
730 is defined, implement signal_base::operator new/delete and
731 slot_rep::operator new/delete (suggested by Timothy M. Shead).
732 Remove old work-around from 2004-10-02 since it didn't work.
734 2004-10-07 Martin Schulze <mschulze@cvs.gnome.org>
736 * configure.ac: Update for libtool 1.5a (with support for Intel C++).
737 * MSVC_Net2003/sigc++config.h: Remove bogus '#define'
738 (reported by Timothy M. Shead <tshead@k-3d.com>).
740 2004-10-02 Martin Schulze <mschulze@cvs.gnome.org>
742 * configure.ac: Bump version number to 2.0.6.
743 * NEWS: Add ChangeLog summary for version 2.0.6.
745 2004-10-02 Martin Schulze <mschulze@cvs.gnome.org>
747 * sigc++/functors/slot_base.{h,cc}, sigc++/functors/macros/slot.h.m4:
748 Rename (typed_)slot_rep::detach to (typed_)slot_rep::destroy.
749 Call the dtor of the functor stored in typed_slot_rep from destroy().
750 A cleaner solution would be to add an additional "virtual" function
751 that calls 'delete' or a real virtual dtor. However, this would be
752 less efficient and might break the ABI. (Fixes #152323.)
754 2004-10-02 Martin Schulze <mschulze@cvs.gnome.org>
756 * sigc++config.h.in, MSVC_Net2003/sigc++config.h,
757 sigc++/signal_base.cc, sigc++/functors/slot_base.{h,cc},
758 sigc++/functors/macros/slot.h.m4: Define and use new macro
759 SIGC_NEW_DELETE_IN_LIBRARY_ONLY to ABI-compatibly move
760 all calls to new and delete into non-inline library code.
762 2004-09-26 Martin Schulze <mschulze@cvs.gnome.org>
764 * sigc++/adaptors/lambda/macros/group.h.m4: Add a missing
765 template keyword in the definition of deduce_result_type::type
766 (hopefully fixes #152327).
768 2004-09-26 Martin Schulze <mschulze@cvs.gnome.org>
770 * sigc++/macros/object_slot.h.m4: Use correct bound_mem_functor
771 variants for const (volatile) methods (fixes #148744).
773 2004-09-01 Martin Schulze <mschulze@cvs.gnome.org>
775 * docs/index.html: Correct link to lambda module.
777 2004-09-01 Martin Schulze <mschulze@cvs.gnome.org>
779 * README: Update compatibility section.
783 2004-09-01 Martin Schulze <mschulze@cvs.gnome.org>
785 * MSVC_Net2003/Makefile.am: Add sigc++config.h to EXTRA_DIST.
786 * configure.ac: Bump version number to 2.0.5.
787 * NEWS: Add ChangeLog summary for version 2.0.5.
791 2004-08-21 Martin Schulze <mschulze@cvs.gnome.org>
793 * tests/test_lambda.cc: Use sigc::var("\n") instead of sigc::ref("\n").
794 Comment out the affected lines, nevertheless.
795 Sun FORTE and Compaq C++ can handle neither sigc::ref("\n") nor
796 sigc::var("\n"). I see more chances fixing sigc::var("\n").
797 * sigc++/adaptors/lambda/macros/base.h.m4: Add a comment about a
798 possible work around for sigc::var("\n") compiler problems.
799 * tests/test_compatibility.cc: Remove a 'const' keyword that prevents
800 the test case from compiling with the Sun FORTE.
801 * tests/test_trackable.cc: Remove a 'virtual' keyword and an unused
802 variable to avoid compiler warnings.
803 * NEWS: Add ChangeLog summary for version 2.0.4.
805 2004-08-03 Martin Schulze <mschulze@cvs.gnome.org>
807 * scripts/cxx.m4, sigc++config.h.in, configure.ac,
808 sigc++/adaptors/lambda/macros/operator.h.m4, tests/test_lambda.cc:
809 Rollback change from 2004-07-15: configure check
810 SIGC_OPERATOR_OVERLOAD_AMBIGUITY is not needed - the overload
811 ambiguity doesn't occur if the lambda operators take all arguments
813 * configure.ac: Bump version number to 2.0.4.
815 2004-08-03 James Lin <slimjimmy@mail.com>
817 * Added SIGC_API qualifier to all externally-visible non-template
819 * Added #include <sigc++config.h> to the files that use SIGC_API.
820 * Added empty SIGC_API definition to sigc++config.h.in for non-MSVC
821 compilers. I'm not sure if this is the right place to put this
823 * Added MSVC-specific sigc++config.h to the MSVC project directory.
824 (The comment in it probably should be edited.)
825 * Changed MSVC project settings to output a multi-threaded DLL, set
826 the include paths to work (hopefully) out-of-the-box. Disabled
827 precompiled headers, since they just complicate things and
828 shouldn't be necessary for such a relatively project.
830 2004-08-01 Martin Schulze <mschulze@cvs.gnome.org>
832 * sigc++/type_traits.h: Remove type_trait<>::instance()
833 (was unimplemented and unused; caused problems with the MSVC).
835 2004-07-23 Martin Schulze <mschulze@cvs.gnome.org>
837 * Makefile.am: Fix typo concerning distribution of libsigc++-2.0.spec.
838 * AUTHORS: Mention our contributors for platforms Sun FORTE and Intel C++.
840 2004-07-15 Martin Schulze <mschulze@cvs.gnome.org>
842 * *.h.m4: Don't call operator()() in sun_forte_workaround(); rather copy
843 operator()(). Calling operator()() makes a copy of the arguments causing
844 wrong results if an argument type is a reference. Hopefully fixes #147311.
846 2004-07-15 Martin Schulze <mschulze@cvs.gnome.org>
848 * tests/test_lambda.cc: Break "std::cout << [expr] << a << std::endl;"
849 into "std::cout << [expr]; std::cout << a << std::endl;".
850 I hope this fixes #147313 where the right values for "[expr]" but wrong
851 values for "a" were written to std::cout for some compiler with optimizations
854 2004-07-15 Martin Schulze <mschulze@cvs.gnome.org>
856 * sigc++/adaptors/lambda/macros/operator.h.m4: Correct return type deduction
857 of lambda expressions in lambda_operator*::operator()(). Might be related to
859 * sigc++/adaptors/lambda/macros/group.h.m4: Use m4 macro _P_().
861 2004-07-15 Martin Schulze <mschulze@cvs.gnome.org>
863 * scripts/cxx.m4, sigc++config.h.in, configure.ac,
864 sigc++/adaptors/lambda/macros/operator.h.m4, tests/test_lambda.cc:
865 Add configure check SIGC_OPERATOR_OVERLOAD_AMBIGUITY for a SUN FORTE
866 compiler problem (bug #147391). Use it to decide whether the lambda
867 action operators may be overloaded (not doing so restricts the API slightly).
868 * sigc++/adaptors/lambda/macros/operator.h.m4: Add some doxygen comments
869 and remove attic code.
870 * sigc++/adaptors/lambda/macros/base.h.m4:
871 Add templates unwrap_lambda_type and unwrap_lambda_value() to support
872 the non-overloaded lambda action operators. Also add some doxygen comments
873 and remove attic code.
874 * sigc++/adaptors/lambda/macros/group.h.m4: Fix a bug that resulted in
875 gargabe values being passed on to the functor contained in the group adaptor
876 (partly fixes #147313).
878 2004-07-11 Martin Schulze <mschulze@cvs.gnome.org>
880 * scripts/cxx.m4, sigc++config.h.in, configure.ac, *.h.m4:
881 Split SIGC_CXX_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD
882 into SIGC_CXX_GCC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD
883 and SIGC_CXX_MSVC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD.
884 Remove LIBSIGC_TEMPLATE_PREFIX. Add template keyword to
885 SIGC_WORKAROUND_OPERATOR_PARENTHESES depending on the configure checks.
886 Should fix the compiler problems with MSVC.
888 2004-07-11 Martin Schulze <mschulze@cvs.gnome.org>
890 * examples/hello_world.cc: Use sigc::ptr_fun instead of std::ptr_fun.
893 2004-07-11 Eric Bourque <ericb@computer.org>
895 * libsigc++-2.0.spec.in: new file
896 * configure.ac : patched generate spec file
897 * .cvsignore: ignore generated file (Martin Schulze)
898 * Makefile.am: distribute spec file (Martin Schulze)
900 2004-07-11 Murray Cumming <murrayc@murrayc.com>
902 * sigc++/connection.cc: Added some comments.
903 * sigc++/trackable.cc: operator=(): Check for self-asignment, though I
904 do not know of any actual bug that this fixes. Added some comments.
905 * sigc++/trackable.h Added some doxygen documentation.
907 2004-07-09 Murray Cumming <murrayc@murrayc.com>
909 * tests/: Added test_disconnect_during_emit.cc, to prove that this
912 2004-07-08 Murray Cumming <murrayc@murrayc.com>
914 * tests/test_retype_return.cc: foo::operator(int): return a
915 value. The SUN Forte 5.5 compiler complains about this, as it should.
917 2004-07-08 Murray Cumming <murrayc@murrayc.com>
919 * sigc++/macros/signal.h.m4: class signal*: Rename the slot_list
920 typedef to slot_list_type, because there is already a template class
921 called slot_type. SUN Forte 5.5 seems to complain about this and I am
922 not surprised. The old typdef is still there for backwards
923 compatibility, except when building with SUN Forte.
925 2004-07-07 Murray Cumming <murrayc@murrayc.com>
927 * scripts/cxx.m4: SIGC_CXX_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD():
928 Don't define the SIGC_TEMPLATE_SPECIALIZATOIN_OPERATOR_OVERLOAD C
929 macro at all if the test fails. This might fix the build on SUN Forte.
930 * sigc++/functors/macros/mem_fun.h.m4: Default constructor: Initialize
931 the func_ptr_ member variable. I have no evidence that this solves any
932 problems, but it worried me.
933 * sigc++/functors/slot_base.h: operator bool(): Correct documentation,
934 to use @code instead of <code>
935 * sigc++/macros/signal.h.m4: Remove the documentation for the
936 parameters named first and last, because they do not exist.
938 2004-05-31 Martin Schulze <mschulze@cvs.gnome.org>
940 * autogen.sh: Add '--force'-flag to the 'libtoolize'-command (bug #143425).
944 2004-05-30 Martin Schulze <mschulze@cvs.gnome.org>
946 * configure.ac: Bump version number to 2.0.3.
947 * NEWS: Add ChangeLog summary for version 2.0.3.
948 * sigc++/macros/signal.h.m4: Fix segfault on emission of unconnected signal.
949 * tests/test_signal.cc, tests/test_accumulated.cc: Emit unconnected signal.
950 * sigc++/macros/object_slot.h.m4: Suppress compiler warning at
951 dynamic_cast<>-test (tested by Christof Petig/Timothy M. Shead).
955 2004-05-22 Martin Schulze <mschulze@cvs.gnome.org>
957 * configure.ac: Bump version number to 2.0.2.
958 * NEWS: Add ChangeLog summary for version 2.0.2.
960 2004-05-20 Martin Schulze <mschulze@cvs.gnome.org>
962 * sigc++/macros/signal.h.m4: If a custom accumulator is specified
963 invoke it on signal emission even if the signal's slot list is empty.
964 (This used to be the case in libsigc++-1.2 as pointed out by Timothy.)
966 2004-05-20 Martin Schulze <mschulze@cvs.gnome.org>
968 * sigc++/macros/object_slot.h.m4: Suppress compiler warning at
969 dynamic_cast<>-test (suggested by Timothy M. Shead).
971 2004-05-01 Martin Schulze <mschulze@cvs.gnome.org>
973 * README: Updated for libsigc++-2.0.
977 2004-04-27 Martin Schulze <mschulze@cvs.gnome.org>
979 * configure.ac: Bump version number to 2.0.1.
980 * NEWS: Add ChangeLog summary for version 2.0.1.
981 * sigc++/adaptors/lambda/macros/base.h.m4: Fixed documentation.
982 * sigc++/adaptors/macros/bind.h.m4: Hide work-arounds from doxygen.
983 * scripts/cxx.m4, sigc++config.h.in, configure.ac,
984 sigc++/adaptors/macros/bind.h.m4: Removed configure check. It
985 showed that the Apple gcc can also compile the sophisticated version
988 2004-04-26 Martin Schulze <mschulze@cvs.gnome.org>
990 * sigc++/macros/object_slot.h.m4: Modified test for SigC::Object
991 inheritance so that it also works if SigC::Object is virtual base.
992 (Fixes bug 141094 reported by Jonathan Brandmeyer)
994 2004-04-26 Martin Schulze <mschulze@cvs.gnome.org>
996 * scripts/cxx.m4: Updated the configure check. It would probably
997 have succeeded on the Apple.
999 2004-04-26 Martin Schulze <mschulze@cvs.gnome.org>
1001 * sigc++/adaptors/macros/bind.h.m4: Add work-arounds for
1002 bind<-1>::deduce_result_type compilation error on Apple gcc 3.3.
1003 * scripts/cxx.m4, sigc++config.h.in, configure.ac: Add configure
1004 check for the compilation error above.
1005 * sigc++/adaptors/lambda/macros/operator.h.m4: Replace _A with
1006 _Aa. _A is a reserved keyword on Apple gcc 3.3 (Spundun Bhatt).
1007 (fixes bug #10444 reported by Spundun Bhatt)
1009 2004-04-19 Martin Schulze <mschulze@cvs.gnome.org>
1011 * sigc++/signal_base.cc: Fixed serious bug in signal_base::impl():
1012 Only reference a newly created object (initial reference).
1013 (This fixes bug #140269 reported by Andris.)
1015 2004-04-19 Murray Cumming <murrayc@murrayc.com>
1017 * scripts/cxx.m4: Updated the operator() template check, because it
1018 failed with gcc 3.4 (from cvs). Apparently the template keyword can
1019 only be used from another template.
1023 2004-04-06 Martin Schulze <mschulze@cvs.gnome.org>
1025 * configure.ac: Bump version number to 2.0.0.
1026 * NEWS: Add ChangeLog summary for version 2.0.0.
1027 * TODO, AUTHORS: Bring up to date.
1028 * sigc++-2.0.pc.in, Makefile.am: 1.9 -> 2.0
1029 * Added more documentation.
1031 2004-04-10 Murray Cumming <murrayc@murrayc.com>
1033 * sigc++/connection.[h|cc]: Implement blocked() to avoid undefined
1034 symbol linker error.
1036 2004-04-08 Murray Cumming <murrayc@murrayc.com>
1038 * dist the scripts directory.
1042 2004-04-06 Martin Schulze <teebaum@cvs.gnome.org>
1044 * configure.ac: Bump version number to 1.9.16.
1045 * NEWS: Add ChangeLog summary for version 1.9.16.
1047 2004-04-02 Murray Cumming <murrayc@murrayc.com>
1049 * sigc++/connection.cc: Make block() and unblock() always return a
1050 value, to fix compiler warnings. Patch from bug #138620 by
1051 Alexander Nedotsukov.
1053 2004-04-02 Murray Cumming <murrayc@murrayc.com>
1055 * Fix the compile of examples/member_method.cc. Bug #131701 from
1056 Kirill Smelkov. I also made the examples build as part of the regular
1059 2004-04-02 Murray Cumming <murrayc@murrayc.com>
1061 * sigc++config.h.m4: Remove every undef apart from the one we need, to
1062 avoid clashes, because we #include this in a public header.
1064 2004-03-25 Murray Cumming <murrayc@murrayc.com>
1066 * scripts/cxx.m4, configure.in, sigc++config.h.in: Rename the
1067 template_keyword check to template_specialization, because the problem
1068 is with or without the keyword.
1069 * sigc++/adaptors/macros/adaptor_trait.h.m4: Define
1070 SIGC_WORKAROUND_OPERATOR_PARENTHESES, which calls either operator() or
1071 sun_forte_workaround() depending on the result of the compiler test.
1072 * many .m4 files: Add sun_forte_workaround methods that call the
1073 operator() methods. Put them in #ifdefs so that only SUN Forte C++
1076 2004-03-22 Murray Cumming <murrayc@murrayc.com>
1078 * Makefile.am, sigc++/Makfile.am: Fix the sigc++config.h.in disting,
1079 to fix make distcheck.
1081 2004-03-21 Murray Cumming <murrayc@murrayc.com>
1083 * Rename config.h.in to sigc++config.h.in so that gtkmm does not
1084 include some other config.h at strange times - fixes a problem in
1085 the gtkmm demos. This should really be in the sigc++ directory, but
1086 that seems to add that as an include path, which causes the STL
1087 headers to include sigc++/signal.h instead of some STL signal.h header.
1089 2004-03-20 Murray Cumming <murrayc@murrayc.com>
1091 * Makefile.am: Install the config.h platform-specific header.
1092 * sigc++-2.0.pc.in: Report the include path for config.h
1094 2004-03-20 Murray Cumming <murrayc@murrayc.com>
1096 * Added config.h.in, using autoheader, from which config.h will be
1097 generated, so we can detect compiler features.
1098 * configure.ac: Added AC_CONFIG_HEADER(config.h) to generate config.h
1100 * scripts/cxx.m4: Added this directory and file, with a
1101 SIGC_CXX_TEMPLATE_KEYWORD_OPERATOR_OVERLOAD macro that defines
1102 the SIGC_TEMPLATE_KEYWORD_OPERATOR_OVERLOAD C macro.
1103 * autogen.sh: Added -I scripts to the aclocal call, so that it finds
1104 the m4 macro for configure.ac.
1105 * sigc++/adapators/macros/adaptor_trait.h.m4: Include config.h and
1106 use SIGC_TEMPLATE_KEYOWRD_OPERATOR_OVERLOAD.
1108 2004-03-18 Martin Schulze <mschulze@cvs.gnome.org>
1110 * tests/test_mem_fun.cc, tests/test_ptr_fun.cc: Don't test
1111 making functors from overloaded methods with partial template
1112 specialization. Not portable among different compilers (SUN FORTE).
1113 * adaptors/macros/apdaptor_trait.h.m4: Only gcc seems to use the
1114 notation A.template operator()<...>(...) => adapt preprocessor check
1115 for #define LIBSIGC_TEMPLATE_PREFIX. TODO: replace with configure check.
1117 2004-03-13 Murray Cumming <murrayc@murrayc.com>
1119 * g++ 3.4 (pre-release) build fixes:
1120 * sigc++/macros/signal.h.m4: slot_iterator_buf::operator*():
1121 Use blocked() and empty() instead of non-existant blocked_and_empty().
1122 * sigc++/functors/macros/mem_fun.h.m4: memfun_functor*::operator()():
1123 Use this->func_ptr_ instead of just func_ptr_.
1124 * sigc++/adaptors/macros/deduce_result_type.h.m4: Use
1125 T_functor::template deduce_result_type<> instead of just
1126 T_functor::deduce_result_type<>.
1127 * sigc++/adaptors/lambda/macros/base.h.m4, operator.h.m4, group.h.m4::
1128 Use template keyword again. operator[](): Use this->value_ instead of
1130 * sigc++/adaptors/lambda/macros/bind/m4: Use template keyword, and
1132 * sigc++/adaptors/macros/compose.h.m4, hide.h.m4, bind_return.h.m4,
1133 exception_catch.h.m4:
1134 rettype.h.m4, rettype_return.h.m4: Use template keyword,and this-> again
1138 2004-02-27 Martin Schulze <teebaum@cvs.gnome.org>
1140 * configure.ac: Bump version number to 1.9.15.
1141 * NEWS: Add ChangeLog summary for version 1.9.15.
1143 2004-02-27 Martin Schulze <teebaum@cvs.gnome.org>
1145 * sigc++/functors/macros/slot.h.m4: Make the unnumbered slot templates'
1146 copy ctors use the copy ctors of the base class. Fixes bug #24698.
1147 * tests/test_slot.cc: Test copy ctor (Bryan Forbes).
1149 2004-02-27 Martin Schulze <teebaum@cvs.gnome.org>
1151 * tests/type_functor_trait.cc: Bring it up-to-date (use sigc::ref).
1152 Make it work with the SUN Forte.
1154 2004-02-24 Martin Schulze <teebaum@cvs.gnome.org>
1156 * sigc++/type_traits.h: Make is_base_and_derived<> work with the SUN Forte.
1158 2004-02-19 Martin Schulze <teebaum@cvs.gnome.org>
1160 * sigc++/type_traits.h: Make is_base_and_derived<> platform independant.
1161 * sigc++/adaptors/lambda/macros/base.h.m4: Make lambda_core<> ctors
1162 explicit. Remove an unused ctor from lambda_core<T_type, true>.
1164 2004-02-14 Martin Schulze <teebaum@cvs.gnome.org>
1166 * sigc++/functors/slot_base.h, sigc++/functors/macros/slot.h.m4:
1167 Move some documentation to slot_base.h.
1168 * sigc++/signal_base.h, sigc++/macros/signal.h.m4:
1169 Move some documentation to signal_base.h.
1172 * sigc++/functors/macros/slot.h.m4: Add numbered slot# templates.
1173 Make unnumbered slot templates inherit from slot#.
1176 * sigc++/functors/macros/mem_fun.h.m4: Allow for methods of the object's
1177 base types to be passed into sigc::mem_fun(). (Used to be the case in
1180 2004-02-13 Murray Cumming <murrayc@usa.net>
1182 * sigc++/functors/slot_base.[h|cc], sigc++/trackable.[h|cc]: Create
1183 and use a typedef for the destroy_notify callback functions, to avoid
1184 confusion function pointer declaration syntax in the API.
1186 2004-02-13 Murray Cumming <murrayc@murrayc.com>
1188 * Moved implementation to .cc files:
1189 * sigc++/functors/: Added slot_base.[h|cc] which contains non-template
1190 code that was previsouly in the generated functors/slot.h and
1191 non-generated slot.cc files. All non-inline implementation is now in
1193 * sigc++/functors/macros/slot.m4: Removed the code that has been moved
1194 to slot_base.[h|cc].
1195 * sigc++/: Added signal_base.[h|cc] which contains non-template code
1196 that was previously in the generated signal.h and non-generated
1197 signal.cc file. All non-inline implementation is now in the .cc file.
1198 * sigc++/macros/signal.m4: Removed the code that ahs been moved to
1200 * sigc++/connector.[h|cc]: method implementation moved to the .cc file.
1204 2004-02-13 Martin Schulze <teebaum@cvs.gnome.org>
1206 * configure.ac: Bump version number to 1.9.14.
1207 * NEWS: Add ChangeLog summary for version 1.9.14.
1209 2004-02-09 Murray Cumming <murrayc@usa.net>
1211 * sigc++/functors/macros/slot.h.m4: slot_base: Added operator bool(), needed to
1212 check for a slot that is created with the default constructor. This was
1213 present in libsigc++ 1.2 also.
1215 2004-02-06 Murray Cumming <murrayc@usa.net>
1217 * Makefile.am: Build the docs directory, by adding it to SUBDIRS.
1218 * docs/Doxyfile.in: Updated to be more glibmm-like.
1219 * Added some @deprecated doxygen bits.
1220 * sigc++/macros/signal.h.m4: Call base constructor from signal_base
1221 constructor - this is an error-as-warning when building gtkmm.
1225 2003-11-30 Martin Schulze <teebaum@cvs.gnome.org>
1227 * configure.ac: Bump version number to 1.9.13.
1228 * NEWS: Add ChangeLog summary for version 1.9.13.
1229 * Makefile.am, MSVC_Net2003/Makefile.am, configure.ac:
1230 Distribute MS .Net project files.
1231 * sigc++/adaptors/macros/[bind,hide].h.m4: Correct and add
1232 documentation. Make hide_functor ctor explicit.
1234 2003-11-11 Martin Schulze <teebaum@cvs.gnome.org>
1236 * sigc++/adaptors/macros/[bind,hide].h.m4: Change to zero-based
1237 argument index in numbered bind() and hide() overload
1238 (Agreement on the mailing list).
1239 Support binding up to CALL_SIZE arguments with one bind adaptor.
1240 (Requested by joey yandle and others).
1241 Only support binding of multiple arguments in unnumberd overloads
1242 to keep the API simple (Requested by Murray Cumming).
1243 * tests/test_[bind,hide,functor_trait].cc, sigc++/bind.h:
1244 Reflect API changes in compatibility module and test cases.
1246 2003-11-10 Martin Schulze <teebaum@cvs.gnome.org>
1248 * sigc++/adaptors/macros/[bind,hide].h.m4: Add unnumbered
1249 bind() and hide() overloads to make specifying the argument
1250 position optional (Proposed by Jeff Franks).
1251 * tests/test_[bind,hide].cc: Test unnumbered bind() and hide().
1252 * sigc++/adaptors/macros/adaptor_trait.h.m4:
1253 Change "#ifdef MSVC" to "#ifdef _MSC_VER" (Roel Vanhout).
1255 2003-11-09 Martin Schulze <teebaum@cvs.gnome.org>
1257 * sigc++/functors/macros/slot.h.m4: Change functor type in
1258 typed_slot_rep to adaptor_trait::adaptor_type<T_functor>
1259 and use explicit function template instantiation in
1260 internal::slot_call::call_it(). Avoids copying of arguments
1261 in call_it() and enables binding of object instances
1262 to class methods through bind() (Reported by Jeff Franks).
1263 * tests/test_bind.cc: Test binding object instances to
1264 class methods through bind().
1265 * sigc++/adaptors/adaptors.h: Include retype[_result].h.
1266 * sigc++/adaptors/macros/adaptor_trait.h.m4:
1267 - Add documentation.
1268 - Mark some c-tors as explicit.
1269 - Remove ununsed operator T_functor&() from adaptor_functor.
1270 * sigc++/adaptors/macros/deduce_result_type.h.m4:
1271 Rewrite parts of the documentation.
1272 * sigc++/adaptors/macros/bind.h.m4: Add documentation.
1273 * sigc++/functors/macros/mem_fun.h.m4: Remove unnecessary
1274 explicit markers. Minor fixes to documentation.
1275 * sigc++/functors/macros/functor_trait.h.m4:
1276 Minor fixes to documentation.
1280 2003-11-04 Martin Schulze <teebaum@cvs.gnome.org>
1282 * configure.ac: Bump version number to 1.9.12.
1283 * NEWS: Add ChangeLog summary for version 1.9.12.
1285 2003-11-03 Martin Schulze <teebaum@cvs.gnome.org>
1287 * sigc++/macros/signal.h.m4: Document accumulators.
1288 Move slot_iterator_buf into namespace internal. Since
1289 accumulators have the iterator type as a template argument
1290 there is no need to expose this very internal type.
1291 * sigc++/functors/macros/*.m4: Regroup documentation.
1292 Documentation of the core parts of the library should be
1295 2003-11-02 Martin Schulze <teebaum@cvs.gnome.org>
1297 * Improve documentation of the core parts of the library.
1298 * tests/test_ptr_fun.cc: Test ptr_fun() with static
1301 2003-11-02 Martin Schulze <teebaum@cvs.gnome.org>
1303 * Move all .m4 files into new subdirectories
1304 sigc++/[...]/macros. Install the .m4 files on
1305 "make install" (Reported by Ron Steinke).
1307 2003-11-01 Martin Schulze <teebaum@cvs.gnome.org>
1309 * sigc++/[class,method,object]_slot.h.m4: Include
1310 sigc++/functors/mem_fun.h (Reported by Ron Steinke).
1312 2003-11-01 Martin Schulze <teebaum@cvs.gnome.org>
1314 * sigc++/adaptors/lambda/operator.h.m4: Add negation
1315 operator I have completely overlooked until now.
1316 * sigc++/tests/test_lambda.cc: Test negation operator.
1318 2003-11-01 Martin Schulze <teebaum@cvs.gnome.org>
1320 * sigc++/[class_slot,method_slot,object_slot,hide].h.m4,
1321 sigc++/signal.h.m4, sigc++/functors/mem_fun.h.m4:
1322 - Use a shorter notation for ..._mem_function variants.
1323 - Change order of mem_funcotr<>'s template arguments to
1324 match std::mem_fun_t and to be more consistent with adaptors.
1325 - Use ::sigc::slot's implicit ctor in compatibility module.
1326 * sigc++/adaptors/lambda/operator.h.m4: Change some
1327 lambda action names to match action names in std.
1330 * sigc++/adaptors/retype.h.m4: New file adding
1332 * sigc++/Makefile.am: Build and distribute new file.
1333 * tests/test_retype.cc: New file testing adaptor retype.
1334 * MSVC_Net2003/tests/test_retype/test_reytype.vcproj,
1335 tests/Makefile.am: Build and distribute new test case.
1337 2003-11-01 Martin Schulze <teebaum@cvs.gnome.org>
1339 * MSVC_Net2003: New directory containing project
1340 files for Visual Studio .Net 2003.
1341 Credits to Roel Vanhout <roel@riks.nl>!
1343 2003-11-01 Martin Schulze <teebaum@cvs.gnome.org>
1345 * sigc++/retype.h.m4: Use LIBSIGC_TEMPLATE_PREFIX
1346 in explicit function template instantiations.
1347 * sigc++/type_traits.h: Add template specialization
1348 for arrays (T_type[N]) to disable non-working member
1349 type_trait<T_type[N]>::instance().
1350 * sigc++/visit_each.h: Remove more disturbing
1351 limit_derived_target<>::operator() overloads.
1352 (Should have noticed earlier that they are unnecessary.)
1353 * sigc++/adaptors/deduce_result_type.h.m4,
1354 sigc++/adaptors/lambda/operator.h.m4,
1355 sigc++/functors/functor_trait.h.m4,
1356 tests/test_[bind,compose,exception_catch,hide,lambda].cc:
1357 Completely removed support for typeof(). We don't need
1358 it any more and it is completely non-standard!
1360 2003-10-30 Cedric Gustin <cedric.gustin@swing.be>
1362 * configure.ac: Added test of win32 platform. Commented
1363 out AM_DISABLE_SHARED (DLLs are shared libraries).
1364 * sigc++/Makefile.am: added a few LDFLAGS for win32
1367 2003-10-30 Martin Schulze <teebaum@cvs.gnome.org>
1369 * sigc++/signal.h.m4: Add SigC::Signal#<>::slot().
1370 * sigc++/slot.h.m4: Comment out make_slot() work-around.
1371 * sigc++/adaptors/bind.h.m4: Remove unnecessary brackets
1372 in template argument lists. They are confusing MSVC.
1373 * sigc++/adaptors/*.h.m4, sigc++/adaptors/lambda/*.h.m4:
1374 Use LIBSIGC_TEMPLATE_PREFIX in explicit function
1375 template instantiations.
1376 * sigc++/tests/test_*.cc:
1377 - Include <string> where std::string is used.
1378 - Use double instead of float.
1380 2003-10-27 Martin Schulze <teebaum@cvs.gnome.org>
1382 * sigc++/retype.h.m4: Cleanup.
1383 * TODO: Bring it up to date.
1387 2003-10-26 Martin Schulze <teebaum@cvs.gnome.org>
1389 * configure.ac: Bump version number to 1.9.11.
1390 * NEWS: Add ChangeLog summary for version 1.9.11.
1392 2003-10-26 Martin Schulze <teebaum@cvs.gnome.org>
1394 Compatiblity module:
1395 * sigc++/signal.h.m4: Move definition of compatiblity
1396 classes SigC::SignalN to here.
1397 * sigc++/connection.h:
1398 - Add connection::connected().
1399 - Add compatibility typedef SigC::Connection.
1400 * sigc++/bind.h, sigc++/bind_return.h,
1401 sigc++/class_slot.h.m4, sigc++/hide.h.m4,
1402 sigc++/method_slot.h.m4, sigc++/object.h,
1403 sigc++/object_slot.h.m4, sigc++/retype.h.m4,
1404 sigc++/retype_return.h sigc++/slot.h.m4,
1405 sigc++/compatibility.h:
1406 New files to complete compatibility module.
1407 Split content of compatibility.h.m4 among the new files.
1408 * sigc++/compatibility.h.m4: Removed.
1409 * Makefile.am: Build and distribute new files.
1410 * tests/test_compatibility.cc: Test new stuff.
1413 * sigc++/functors/slot.h.m4: Fix copy constructor and
1414 operator=() of slot template.
1415 * sigc++/adaptors/bind.h.m4: Fix deduce_result_type
1416 template specializations. bind<0>() probably compiles
1419 2003-10-26 Martin Schulze <teebaum@cvs.gnome.org>
1422 * sigc++/functors/slot.{cc,h.m4}:
1423 - Fix notification process: don't defer detaching of a
1424 slot from all referred trackables during signal emission!
1425 - Size optimization: replace virtual functions from
1426 struct typed_slot_rep with function pointers in slot_rep
1427 (reduces size of a typical typed_slot_rep instantiation
1429 * tests/test_slot.cc: Test sigc::slot more thoroughly.
1430 * sigc++/functors/mem_fun.h.m4: Fix visit_each().
1431 * sigc++/adaptos/bind_return.h.m4: Add support for
1433 * tests/test_bind_return.cc: Use sigc::ref().
1434 * sigc++/signal.h.m4: Avoid compiler warning about
1435 uninitialized variable r_ in emit().
1436 * sigc++/visit_each.h: Cleanup.
1439 * sigc++/adpators/lambda/operators.h.m4: Add
1440 lambda actions sigc::{reinterpret,static,dynamic}_cast_
1441 to support explicit parameter conversion.
1442 * tests/test_lambda.cc: Test sigc::static_cast_.
1443 * sigc++/adaptors/retype_return.h.m4: New file adding
1444 adaptor retype_return (and hide_return).
1445 * sigc++/Makefile.am: Build and distribute new file.
1446 * tests/test_retype_return.cc: New file testing
1447 adaptor retype_return (and hide_return).
1448 * tests/Makefile.am: Build and distribute new test case.
1450 2003-10-25 Martin Schulze <teebaum@cvs.gnome.org>
1452 * sigc++/visit_each.h: Remove disturbing
1453 limit_derived_target<>::operator() overloads.
1454 * sigc++/adaptors/bind.h.m4: Add support for sigc::ref().
1455 * tests/test_bind.cc: Test sigc::ref().
1456 * sigc++/adaptors/lambda/{operator,group,base}.h.m4:
1457 - Move support for sigc::ref() from lambda_core<> into
1458 lambda operator and lambda group creator functions.
1459 - Add missing visit_each() overload for lambda<> template.
1460 * tests/test_lambda.cc: Test auto-disconnection.
1461 TODO: Fix a strange bug that leads to "Bus error"
1462 during auto-disconnection.
1466 2003-10-23 Martin Schulze <teebaum@cvs.gnome.org>
1468 * configure.ac: Bump version number to 1.9.10.
1469 * NEWS: Add ChangeLog summary for version 1.9.10.
1471 2003-10-23 Martin Schulze <teebaum@cvs.gnome.org>
1473 * sigc++/functors/{functor_trait,slot}.h.m4:
1474 Move definition of struct nil into functor_trait.h.
1476 2003-10-23 Martin Schulze <teebaum@cvs.gnome.org>
1478 * configure.ac: Disable typeof() compiler checks.
1479 * sigc++/adaptors/bind.h.m4: Remove unnecessary
1480 deduce_result_type<> template specializations.
1482 2003-10-20 Martin Schulze <teebaum@cvs.gnome.org>
1484 * sigc++/adaptors/compose.h.m4:
1485 Correct order of typedefs for good. (Patch from Jeff Franks.)
1489 2003-10-20 Martin Schulze <teebaum@cvs.gnome.org>
1491 * sigc++/connection.h: Add constructor that takes
1492 a sigc::slot_base& to support 3rd-party slot lists
1493 like they are used in glibmm/gtkmm.
1494 * sigc++/functors/slot.h.m4: Make sigc::slot::call_type public.
1495 (Fixes compile problems reported by Jeff Franks.)
1496 * sig++/type_traits.h: Don't use long long in
1497 sigc::is_base_and_derived.
1498 (Fixes compile problems reported by Jeff Franks.)
1499 * sigc++/adaptors/{bind,compose,hide,exception_catch}.h.m4:
1500 Correct order of typedefs. (Repoted by Jeff Franks.)
1501 * configure.ac: Bump version number to 1.9.9.
1502 * NEWS: Add ChangeLog summary for version 1.9.9.
1506 2003-10-19 Martin Schulze <teebaum@cvs.gnome.org>
1508 * sigc++/functors/slot.h.m4: Define doxygen group functors.
1509 * configure.ac: Bump version number to 1.9.8.
1510 * NEWS: Add ChangeLog summary for version 1.9.8.
1512 2003-10-19 Martin Schulze <teebaum@cvs.gnome.org>
1514 * NEWS: Add announces of versions 1.9.6 and 1.9.7.
1515 * sigc++/compatibility.h.m4: New file. Defines namespace SigC.
1516 namespace SigC should be API compatible to libsigc++-1.2.
1517 * sigc++/Makefile.am: Build compatibility.h.
1518 * tests/test_compatibility.cc, tests/Makefile.am:
1519 Add test case for compatibility module.
1520 * docs/index.html: Change group names.
1521 * sigc++/sigc++.h: Include connection.h.
1522 * sigc++/connection.{cc,h}:
1523 - Rename dependency to destroy_notify_callback.
1524 - Change parameter name in set_slot() from d to data.
1525 - Fix operator=(): Add "return *this;"
1526 - Get rid of namespace functor.
1527 - Corrections in documentation.
1528 * sigc++/signal.{cc,h.m4}:
1529 - Add reference counter to signal_impl. Replaces "bool destroy_".
1530 - Move signal_base, slot_iterator[_buf], slot_list out of
1531 namespace internal. They are part of the public API.
1532 - Add convenience function signal#::make_slot().
1533 - Get rid of namespace functor.
1534 - Corrections in documentation.
1535 * sigc++/trackable.{cc,h}:
1536 - Rename dependency to destroy_notify_callback.
1537 - Rename trackable::clear() to trackable::notify_callbacks().
1538 - Corrections in documentation.
1539 * sigc++/type_traits.h: Add documentation.
1540 * sigc++/visit_each.h:
1541 - Get rid of namespace functor.
1542 - Add documentation.
1543 * sigc++/adaptors[/lambda]/*: Get rid of namespace functor.
1544 * sigc++/functors/{functor_trait.h,ptr_fun.h.m4,mem_fun.h.m4}:
1545 - Get rid of namespace functor.
1546 - Corrections in documentation / add documentation.
1547 * sigc++/functors/slot.{cc,h.m4}:
1548 - Move slot_base out of namespace internal. It's public API.
1549 - Get rid of one-letter-parameter-names.
1550 - Get rid of namespace functor.
1551 - Corrections in documentation.
1552 * tests/*.cc: Get rid of "using namespace ...".
1554 2003-09-10 Martin Schulze <teebaum@cvs.gnome.org>
1556 * sigc++/adaptors/lambda/{base,operators}.h.m4:
1557 Add subscript ([]) and assign (=) operator. I think there are now
1558 enough operators available to make any future power user happy.
1559 The only one missing is the comma operator and if we added it
1560 the logical consequence would be to also add if(), switch(), do(),
1561 etc. lambda expressions which are really out of place in libsigc++.
1562 * sigc++/type_traits.h: Fix is_base_and_derived<> for const types.
1563 * tests/test_lambda.cc: Test new operators.
1567 2003-09-05 Martin Schulze <teebaum@cvs.gnome.org>
1569 * configure.ac: Bump version number to 1.9.7.
1571 2003-09-03 Martin Schulze <teebaum@cvs.gnome.org>
1573 * sigc++/adaptors/lambda/operator.h.m4:
1574 - Restructure so that the size of the generated source file stays
1575 reasonable for 34 operators: There are only two lambda templates
1576 lambda_operator and lambda_operator_unary. The action is an additional
1577 template parameter. A small template lambda_action[_unary] is specialized
1579 - Add most operators that boost::lambda supports. Missing operators are
1580 "=", "[]", "," and support for pointer arithmetic. I don't know if it's
1581 worth adding these. In libsigc++, the purpose of lambda operators is to
1582 provide some extra functionality for the group adaptor.
1583 * tests/test_lambda.cc:
1584 Test pre-increment, address and dereference operator.
1586 2003-08-31 Martin Schulze <teebaum@cvs.gnome.org>
1588 * sigc++/reference_wrapper.h, sigc++/type_traits.h, sigc++/Makefile.am:
1589 New file reference_wrapper.h provides ref() to specify that adaptors/lambdas
1590 should take a reference to the object passed into ref() instead of a copy.
1591 * tests/test_lambda.cc:
1592 - Test group() with mem_fun().
1593 - Use ref() where lambdas should store references to objects.
1594 - Test var() and constant().
1595 * sigc++/adaptors/lambda/base.h.m4:
1596 - Support ref() in return type deduction.
1597 - Add var() and constant() which create lambdas for usage with lambda operators.
1598 * sigc++/adaptors/lambda/operator.h.m4:
1599 - Fix return type deduction.
1600 - Remove operator{+,-,*,...} overloads added on 2003-08-29. ref() is way cleaner.
1601 * sigc++/adaptors/lambda/group.h.m4,
1602 sigc++/adaptors/bind.h.m4, sigc++/adaptors/compose.h.m4,
1603 sigc++/adaptors/exception_catch.h.m4, sigc++/adaptors/hide.h.m4:
1604 Fix return type deduction.
1606 2003-08-29 Martin Schulze <teebaum@cvs.gnome.org>
1608 * tests/test_lambda.cc: Add more tests.
1609 * sigc++/adaptors/lambda/select.h.m4, sigc++/adaptors/lambda/lambda.cc.m4:
1610 Make _1, _2, ... constant.
1611 * sigc++/adaptors/lambda/operator.h.m4:
1612 Add operator{+,-,*,...} overloads to distinguish between const and non-const objects.
1613 Store references to non-const objects rather than copies.
1614 This allows expressions like e.g. std::cout << _1.
1615 * sigc++/adaptors/lambda/base.h.m4, sigc++/adaptors/lambda/group.h.m4:
1616 Remove void specializations. Functors returning void are tested and work fine.
1618 2003-08-27 Martin Schulze <teebaum@cvs.gnome.org>
1620 * tests/test_callof.cc, tests/test_deduce_result_type.cc:
1621 Rename, correct and improve this test case.
1622 * tests/Makefile.am: Build and run test_deduce_result_type
1623 instead of test_callof.
1625 2003-08-27 Martin Schulze <teebaum@cvs.gnome.org>
1629 2003-08-27 Martin Schulze <teebaum@cvs.gnome.org>
1631 * sigc++/adaptors/hide.h.m4: Remove usage of callof_ignore_arg<>.
1632 * sigc++/callof.h.m4, sigc++/adaptors/deduce_result_type.h.m4,
1633 sigc++/functors/functor_trait.h.m4:
1634 Remove the first and move deduce_result_type templates from
1635 functor_trait.h.m4 into new file deduce_result_type.h.m4.
1636 * sigc++/Makefile.am, sigc++/sigc++.h, sigc++/adaptors/adaptor_trait.h.m4:
1637 Build and include sigc++/adaptors/deduce_result_type.h instead of callof.h.
1638 * sigc++/functors/slot.h.m4: Document struct nil.
1640 2003-08-24 Martin Schulze <teebaum@cvs.gnome.org>
1642 * sigc++/functors/functor_trait.h.m4: Simplify usage of convenience
1643 macro SIGC_FUNCTORS_HAVE_RESULT_TYPE:
1644 namespace sigc{ namespace functor{ SIGC_FUNCTORS_HAVE_RESULT_TYPE }}
1646 2003-08-24 Martin Schulze <teebaum@cvs.gnome.org>
1648 * sigc++/functors/functor_trait.h,m4, sigc++/adaptors[/lambda]/*.h.m4:
1649 Merge adaptor return type deduction and typeof() into
1650 sigc::functor::deduce_result_type. Use it for all adaptors.
1651 * tests/test_compose.cc: Only test multi-type get-functor if
1652 typeof() if supported.
1654 2003-08-24 Martin Schulze <teebaum@cvs.gnome.org>
1656 * sigc++/adaptors[/lambda]/*.h.m4:
1657 - Remove unnecessary void specializations. In fact, only the one
1658 for sigc::functor::exception_catch<> is needed and I don't really
1659 understand why. For the lambda stuff the void specializatoins are
1660 just commented out at the moment.
1661 - Make typeof() optional. Surprisingly, I got the lambda stuff working
1662 without typeof()! The test suite doesn't catch all cases yet, so maybe
1663 some thing are still not working.
1664 TODO: Implement configure check.
1665 * tests/test_bind.cc, tests/test_compose.cc tests/test_exception_catch.cc,
1666 tests/test_hide.cc, tests/test_lambda.cc:
1667 Only test multiple functor return types if typeof() is supported.
1669 2003-08-06 Martin Schulze <teebaum@cvs.gnome.org>
1671 * sigc++/trackable.{cc,h}: Add function trackable::clear().
1673 2003-06-24 Andreas Rottmann <rottmann@users.sourceforge.net>
1675 * TODO: Minor tweaks.
1677 2003-06-23 Andreas Rottmann <rottmann@users.sourceforge.net>
1679 * docs/reference/Doxyfile.in: Use these variables.
1680 * docs/reference/Makefile.am (html/index.html): Provide doxygen
1681 with SRCDIR and TOP_SRCDIR environment variables.
1683 * sigc++/functors/slot.h.m4: Make slot::call_type typedef public;
1684 this fixes a g++ 3.3 error in signal.h.
1686 * sigc++/signal.h.m4: Make the signal::accumulated class public;
1687 this fixes a g++ 3.3 error in test_accumulated.cc.
1689 2003-06-15 Martin Schulze <teebaum@cvs.gnome.org>
1691 * sigc++/functor/slot.h.m4: Correct typing error in docs.
1692 * sigc++/functor/ptr_fun.h.m4: Document the whole thing.
1694 2003-05-31 Murray Cumming <murrayc@usa.net>
1696 * Reference documentation: Rearranged the groups to make it all
1697 a bit more like the libsigc++ 1.2 reference documentation.
1698 Corrected some spelling and grammar too.
1699 This needs a lot of work. The text is very hard to read and it's
1700 generally not appropriate for a user of the code who doesn't
1701 care about the internals. But it's not impossible - our examples
1702 should show us what we need to say in the documentation.
1703 We probably need some more groups for the extra stuff, like we do
1706 2003-05-29 Martin Schulze <teebaum@cvs.gnome.org>
1708 * sigc++/signal.h.m4: Fix documentation.
1709 * sigc++/connection.h, sigc++/functor/slot.h.m4:
1710 Document the whole thing.
1712 2003-05-29 Martin Schulze <teebaum@cvs.gnome.org>
1714 * sigc++/signal.h.m4:
1715 - Remove bogus operator() from unnumbered signal<> and
1716 signal<>::accumulated templates.
1717 - Document the whole thing.
1719 * docs/index.html: Fix some links.
1721 2003-04-06 Martin Schulze <MHL.Schulze@t-online.de>
1723 * TODO, configure.ac, Makefile.am, docs/*:
1724 Add Doxygen framework.
1726 2003-04-06 Martin Schulze <MHL.Schulze@t-online.de>
1728 * sigc++/callof.h.m4, sigc++/adaptors/*, tests/test_callof.cc:
1729 Move sigc::callof<> to sigc::functor::internal::callof<>.
1731 * sigc++/functors/mem_fun.h.m4, tests/test_mem_fun.cc:
1732 Add new types [bound_][const_]volatile_mem_functor, visit_each()
1733 and mem_fun() overloads for volatile qualifier.
1734 Add ctor overloads in bound_*mem_functor and mem_fun() overloads
1735 that take reference instead of pointer.
1737 2003-03-26 Martin Schulze <MHL.Schulze@t-online.de>
1739 * Change "closure" to "slot" throughout sigc++2 (file names,
1740 class names, member variables, documentation, etc.).
1742 2003-03-26 Martin Schulze <MHL.Schulze@t-online.de>
1744 * TODO: Rewrite to reflect recent changes as well as recent discussions.
1746 2003-03-24 Martin Schulze <MHL.Schulze@t-online.de>
1748 * sigc++/adaptors/bind_return.h.m4: Make the adaptor's data member
1749 public so that visit_each() can access it.
1751 * sigc++/adaptors/lambda/*.h.m4: More fixes. Add a note about
1752 malfunctioning typeof() (probably compiler bug in gcc-3.2).
1754 * tests/*.cc: Test references. Fix compose equivalent in test_lambda.
1756 2003-03-24 Martin Schulze <MHL.Schulze@t-online.de>
1758 * sigc++/Makefile.am, sigc++/functors/functor_trait.h[.m4],
1759 sigc++/adaptors/adaptor_trait.h.m4: Move detection of function
1760 and member method pointers' return types from adaptor_trait into
1761 functor_trait. (We'll use functor_trait rather than adaptor_trait for
1762 our lambda stuff.) functor_trait.h needs to be generated from .m4 now.
1764 * sigc++/functors/functor_trait.h.m4: Add convenience macros:
1765 - SIGC_FUNCTORS_HAVE_RESULT_TYPE indicates that the existance of
1766 T_functor::result_type should be assumed for all unknown functors.
1767 - SIGC_FUNCTOR_TRAIT(T_functor, T_result) explicitly specifies the
1768 result type of a functor.
1769 ("typename functor_trait<T_functor>::result_type") is used to
1770 determine the return type of our adaptors' operator()() overloads.
1772 * sigc++/adaptors/[lambda/]*.h.m4: Various fixes in visit_each() and
1773 operator()() overloads to make these operator()() overloads usable.
1774 Most of them were just commented out before. Some adaptor types also
1775 have void specializations, now.
1777 * sigc++/adaptors/lambda/group.h.m4: Change syntax from
1778 "[some_functor] % grp([args])" to "group([some_functor], [args])"
1779 like we agreed on the ml some time ago.
1781 * sigc++/tests/test_[all adaptors].cc: Test stuff that didn't work
1784 2003-03-22 Murray Cumming <murrayc@usa.net>
1786 * Added pgk-config file, from a mystery person in bug #108857
1788 2003-03-22 Martin Schulze <MHL.Schulze@t-online.de>
1790 * tests/test_bind.cc: Test and show how to use functor_trait
1791 for user defined or 3rd-party functors so that a
1792 bind<0>([functor],[arg1])() call with no arguments can return a value.
1794 2003-03-20 Martin Schulze <MHL.Schulze@t-online.de>
1796 * sigc++/callof.h.m4: Add explanations. Comment in / create templates
1797 callof_safe[#]. Unfortunately they don't work for functors with overloaded
1798 operator() so we don't use it for now. At least everything is documented.
1800 * sigc++/functors/functor_trait.h, sigc++/functors/*.h.m4: Add back
1801 functor_base compiler hint. We're using it now in adaptor_functor<>.
1803 * sigc++/adaptors/{adaptor_trait,bind}.h.m4: Make operator() overloads
1804 with no arguments return the result of the functor invocation.
1805 Fix multiple bind<0>().
1806 * tests/test_bind.cc: Test the stuff that's working now.
1808 2003-03-16 Murray Cumming <murrayc@usa.net>
1810 * Added sigc++/sigc++.h, like in libsigc++ 1.2
1811 * examples: Added member_method example, which uses a class method
1812 and which demonstrates disconnection.
1816 2003-03-11 Andreas Rottmann <rottmann@users.sourceforge.net>
1818 * sigc++/Makefile.am: Use substitution references instead of
1819 $(patsubst). Is shorter and fixes the strange-dirs-in-dist-tarball
1822 2003-03-09 Martin Schulze <MHL.Schulze@t-online.de>
1824 * sigc++/connection.h: Add block() capability.
1826 2003-03-09 Martin Schulze <MHL.Schulze@t-online.de>
1828 * sigc++/signal.{cc,h.m4}: Add flag signal_impl::destroy_
1829 and function signal_impl::destroy(). Use them to defer
1830 the destruction of the signal_impl object during signal
1833 * tests/test_disconnect.cc: Add tests for the connection
1834 class and for deleting signals during emission.
1836 2003-03-09 Martin Schulze <MHL.Schulze@t-online.de>
1838 * sigc++/connection.{cc,h}, sigc++/Makefile.am:
1839 - New files that add a connection class. Objects of this
1840 class are constructed from closure list iterators and can
1841 be used to disconnect the refered closure. As opposed to
1842 iterators they stay valid beyond the lifetime of the closure.
1844 2003-03-09 Martin Schulze <MHL.Schulze@t-online.de>
1846 * sigc++/functors/closure.{cc,h.m4}, sigc++/signal.cc:
1847 - Rename closure_{base,rep}::[set_]dependency_ -> [set_]parent_.
1848 - Make closure_rep inherit trackable. This allows for
1849 connection objects that stay valid beyond the life time
1850 of the refered closure.
1851 - Make some one-line-functions inline again.
1853 2003-03-08 Martin Schulze <MHL.Schulze@t-online.de>
1855 * sigc++/trackable.cc: BUGFIX in trackable_dep_list::clear()
1857 2003-03-08 Andreas Rottmann <rottmann@users.sourceforge.net>
1859 * sigc++/Makefile.am: Rewritten so we can build lambda cleanly.
1860 * sigc++/Makefile.am_fragment: Removed.
1862 * sigc++/functors/Makfile.am: Removed.
1863 * sigc++/adaptors/Makefile.am: Removed.
1864 * sigc++/adaptors/lambda/Makefile.am: Removed.
1865 * configure.ac (AC_OUTPUT): Remove the above Makefiles.
1867 * tests/Makefile.am: Re-included lambda test.
1869 2003-03-07 Martin Schulze <MHL.Schulze@t-online.de>
1871 * sigc++/signal.{cc,h.m4}:
1872 - signal_emit#<>: New templates replacing signal#<>::caller.
1873 The purpose of these templates is implementing the emit
1874 function and optimizing signal emission for the case that
1875 no accumulator is used via template specializations.
1876 - default_accumulator<>: Removed. The default for T_accumulator
1877 in signal#<> now is nil. An example how to use accumulators
1878 is available in tests/test_accumulator.cc.
1879 - signal_{base,impl}: Move the implementation of signal_base's
1880 interface to signal_impl. An object of this class is
1881 dynamically allocated when first connecting a closure to
1882 the signal. This drastically reduces the size of empty signals
1883 and allows for future addition of a reference counter to make
1884 it safe to delete a signal during emission.
1885 - Directly work on closure_rep during signal emission. This
1886 seems to be quicker than using the closure templates.
1887 - Document the classes. Restructure the header file a bit.
1889 * sigc++/functors/closure.h.m4: Make closure_base::rep_ data
1890 member public, so that signal emission can directly work on it.
1892 * tests/test_size.cc: Add an entry for signal_impl.
1894 2003-03-07 Martin Schulze <MHL.Schulze@t-online.de>
1896 * sigc++/functors/closure.{cc,h.m4}:
1897 - closure_base: BUGFIXES in ~closure_base() and operator=().
1898 - Mark some functions with the inline keyword. This seems to
1899 help gcc 3.2 to optimize signal emission and (dis)connection.
1900 - Document the classes. Restructure the header file a bit.
1902 2003-03-07 Martin Schulze <MHL.Schulze@t-online.de>
1904 * sigc++/trackable.{cc,h}: Make trackable allocate a
1905 trackable_dep_list object dynamically when adding the first
1906 dependency. (This reduces the size of objects, that are not
1907 refered by a closure by 4 bytes (50%) and increases the size
1908 of objects that are refered by a closure by 4 bytes (50%)
1909 on a 32 bit architecture => This reduces total memory use
1910 when >50% of the trackables are not refered by a closure.)
1911 Document the classes.
1913 2003-03-05 Martin Schulze <MHL.Schulze@t-online.de>
1915 * tests/Makefile.am, tests/test_size.cc, tests/test_accumulated.cc:
1916 Add two test cases. test_size is showing the size of public and
1917 internal structures. (Which apart from empty signals are smaller
1918 than the sizes of the equivalent libsigc++-1.2 structures.)
1919 test_accumulated is a test for the template signal<>::accumulated<>
1920 at the same time showing the use of accumulators in libsigc++2.
1922 * Offtopic: My note about binary sizes from 2003-02-10 is wrong.
1923 Stripped libsigc++2 test binaries are about 8-10k in size.
1925 2003-03-05 Martin Schulze <MHL.Schulze@t-online.de>
1927 * sigc++/visit_each.h: BUGFIX in template specialization
1928 limit_derive_target<T_Target*,T_action>::with_type<false,T_type>:
1929 Add non-const overloads for static void execute_() avoiding
1930 compile time errors.
1932 2003-02-16 Martin Schulze <MHL.Schulze@t-online.de>
1934 * tests/Makefile.am, tests/test_disconnect.cc:
1935 Add testcase with a mixed connection & disconnection sequence.
1937 2003-02-16 Martin Schulze <MHL.Schulze@t-online.de>
1939 * sigc++/signal.cc: Bugfix in signal_base::insert():
1940 Set notification function in the newly created copy of
1941 slot_ rather than in slot_ itself.
1943 2003-02-10 Martin Schulze <MHL.Schulze@t-online.de>
1945 * sigc++/signal.h.m4: Comment in typedefs for iterator types in
1946 the signal#<> class template. Make signal#<>::connect() return an
1947 iterator for convenience.
1948 (Note that the first change increases the binary size of
1949 tests/test_signal from 201k to 204k, the second change to 206k.)
1951 2003-01-23 Murray Cumming <murrayc@usa.net>
1953 * sigc++/adaptors/lambda is disable temporarily (not built and
1954 not distributed) because it gets built before its parent
1955 directory, but #includes generated sources in the parent directory.
1957 2003-01-22 Murray Cumming <murrayc@usa.net>
1959 * Added Andreas Rottman's example.
1961 2003-01-22 Murray Cumming <murrayc@usa.net>
1963 * Applied Andreas Rottman's make dist fixes.
1965 2003-01-14 Murray Cumming <murrayc@usa.net>
1967 * Added whitespace to make the code more readable.