Initial revision
[ardour.git] / libs / sigc++2 / ChangeLog
1 2004-10-12  Martin Schulze  <mschulze@cvs.gnome.org>
2
3         * MSVC_Net2003/*/*.vcproj, MSVC_Net2003/blank.cpp: Fix project files
4         to compile out-of-the-box and add dummy file so that .cc files get
5         recognized as c++ code files (patch from Timothy M. Shead).
6
7 2004-10-10  Martin Schulze <mschulze@cvs.gnome.org>
8
9         * sigc++/signal_base.{h,cc}, sigc++/functors/slot_base.{h,cc},
10         sigc++/functors/macros/slot.h.m4: If SIGC_NEW_DELETE_IN_LIBRARY_ONLY
11         is defined, implement signal_base::operator new/delete and
12         slot_rep::operator new/delete (suggested by Timothy M. Shead).
13         Remove old work-around from 2004-10-02 since it didn't work.
14
15 2004-10-07  Martin Schulze <mschulze@cvs.gnome.org>
16
17         * configure.ac: Update for libtool 1.5a (with support for Intel C++).
18         * MSVC_Net2003/sigc++config.h: Remove bogus '#define'
19         (reported by Timothy M. Shead <tshead@k-3d.com>).
20
21 2004-10-02  Martin Schulze <mschulze@cvs.gnome.org>
22
23         * configure.ac: Bump version number to 2.0.6.
24         * NEWS: Add ChangeLog summary for version 2.0.6.
25
26 2004-10-02  Martin Schulze <mschulze@cvs.gnome.org>
27
28         * sigc++/functors/slot_base.{h,cc}, sigc++/functors/macros/slot.h.m4:
29         Rename (typed_)slot_rep::detach to (typed_)slot_rep::destroy.
30         Call the dtor of the functor stored in typed_slot_rep from destroy().
31         A cleaner solution would be to add an additional "virtual" function
32         that calls 'delete' or a real virtual dtor. However, this would be
33         less efficient and might break the ABI. (Fixes #152323.)
34
35 2004-10-02  Martin Schulze <mschulze@cvs.gnome.org>
36
37         * sigc++config.h.in, MSVC_Net2003/sigc++config.h,
38         sigc++/signal_base.cc, sigc++/functors/slot_base.{h,cc},
39         sigc++/functors/macros/slot.h.m4: Define and use new macro
40         SIGC_NEW_DELETE_IN_LIBRARY_ONLY to ABI-compatibly move
41         all calls to new and delete into non-inline library code.
42
43 2004-09-26  Martin Schulze <mschulze@cvs.gnome.org>
44
45         * sigc++/adaptors/lambda/macros/group.h.m4: Add a missing
46         template keyword in the definition of deduce_result_type::type
47         (hopefully fixes #152327).
48
49 2004-09-26  Martin Schulze <mschulze@cvs.gnome.org>
50
51         * sigc++/macros/object_slot.h.m4: Use correct bound_mem_functor
52         variants for const (volatile) methods (fixes #148744).
53
54 2004-09-01  Martin Schulze <mschulze@cvs.gnome.org>
55
56         * docs/index.html: Correct link to lambda module.
57
58 2004-09-01  Martin Schulze <mschulze@cvs.gnome.org>
59
60         * README: Update compatibility section.
61
62 2.0.5:
63
64 2004-09-01  Martin Schulze <mschulze@cvs.gnome.org>
65
66         * MSVC_Net2003/Makefile.am: Add sigc++config.h to EXTRA_DIST.
67         * configure.ac: Bump version number to 2.0.5.
68         * NEWS: Add ChangeLog summary for version 2.0.5.
69
70 2.0.4:
71
72 2004-08-21  Martin Schulze <mschulze@cvs.gnome.org>
73
74         * tests/test_lambda.cc: Use sigc::var("\n") instead of sigc::ref("\n").
75         Comment out the affected lines, nevertheless.
76         Sun FORTE and Compaq C++ can handle neither sigc::ref("\n") nor
77         sigc::var("\n"). I see more chances fixing sigc::var("\n").
78         * sigc++/adaptors/lambda/macros/base.h.m4: Add a comment about a
79         possible work around for sigc::var("\n") compiler problems.
80         * tests/test_compatibility.cc: Remove a 'const' keyword that prevents
81         the test case from compiling with the Sun FORTE.
82         * tests/test_trackable.cc: Remove a 'virtual' keyword and an unused
83         variable to avoid compiler warnings.
84         * NEWS: Add ChangeLog summary for version 2.0.4.
85
86 2004-08-03  Martin Schulze <mschulze@cvs.gnome.org>
87
88         * scripts/cxx.m4, sigc++config.h.in, configure.ac,
89         sigc++/adaptors/lambda/macros/operator.h.m4, tests/test_lambda.cc:
90         Rollback change from 2004-07-15: configure check
91         SIGC_OPERATOR_OVERLOAD_AMBIGUITY is not needed - the overload
92         ambiguity doesn't occur if the lambda operators take all arguments
93         as const reference.
94         * configure.ac: Bump version number to 2.0.4.
95
96 2004-08-03  James Lin <slimjimmy@mail.com>
97
98         * Added SIGC_API qualifier to all externally-visible non-template 
99         classes/structs.
100         * Added #include <sigc++config.h> to the files that use SIGC_API.
101         * Added empty SIGC_API definition to sigc++config.h.in for non-MSVC
102         compilers.  I'm not sure if this is the right place to put this
103         (probably not).
104         * Added MSVC-specific sigc++config.h to the MSVC project directory.
105         (The comment in it probably should be edited.)
106         * Changed MSVC project settings to output a multi-threaded DLL, set 
107         the include paths to work (hopefully) out-of-the-box.  Disabled
108         precompiled headers, since they just complicate things and 
109         shouldn't be necessary for such a relatively project.
110
111 2004-08-01  Martin Schulze <mschulze@cvs.gnome.org>
112
113         * sigc++/type_traits.h: Remove type_trait<>::instance()
114         (was unimplemented and unused; caused problems with the MSVC).
115
116 2004-07-23  Martin Schulze <mschulze@cvs.gnome.org>
117
118         * Makefile.am: Fix typo concerning distribution of libsigc++-2.0.spec.
119         * AUTHORS: Mention our contributors for platforms Sun FORTE and Intel C++.
120
121 2004-07-15  Martin Schulze <mschulze@cvs.gnome.org>
122
123         * *.h.m4: Don't call operator()() in sun_forte_workaround(); rather copy
124         operator()(). Calling operator()() makes a copy of the arguments causing
125         wrong results if an argument type is a reference. Hopefully fixes #147311.
126
127 2004-07-15  Martin Schulze <mschulze@cvs.gnome.org>
128
129         * tests/test_lambda.cc: Break "std::cout << [expr] << a << std::endl;"
130         into "std::cout << [expr]; std::cout << a << std::endl;".
131         I hope this fixes #147313 where the right values for "[expr]" but wrong
132         values for "a" were written to std::cout for some compiler with optimizations
133         turned off.
134
135 2004-07-15  Martin Schulze <mschulze@cvs.gnome.org>
136
137         * sigc++/adaptors/lambda/macros/operator.h.m4: Correct return type deduction
138         of lambda expressions in lambda_operator*::operator()(). Might be related to
139         bug #147313.
140         * sigc++/adaptors/lambda/macros/group.h.m4: Use m4 macro _P_().
141
142 2004-07-15  Martin Schulze <mschulze@cvs.gnome.org>
143
144         * scripts/cxx.m4, sigc++config.h.in, configure.ac,
145         sigc++/adaptors/lambda/macros/operator.h.m4, tests/test_lambda.cc:
146         Add configure check SIGC_OPERATOR_OVERLOAD_AMBIGUITY for a SUN FORTE
147         compiler problem (bug #147391). Use it to decide whether the lambda
148         action operators may be overloaded (not doing so restricts the API slightly).
149         * sigc++/adaptors/lambda/macros/operator.h.m4: Add some doxygen comments
150         and remove attic code.
151         * sigc++/adaptors/lambda/macros/base.h.m4:
152         Add templates unwrap_lambda_type and unwrap_lambda_value() to support
153         the non-overloaded lambda action operators. Also add some doxygen comments
154         and remove attic code.
155         * sigc++/adaptors/lambda/macros/group.h.m4: Fix a bug that resulted in
156         gargabe values being passed on to the functor contained in the group adaptor
157         (partly fixes #147313).
158
159 2004-07-11  Martin Schulze <mschulze@cvs.gnome.org>
160
161         * scripts/cxx.m4, sigc++config.h.in, configure.ac, *.h.m4:
162         Split SIGC_CXX_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD
163         into SIGC_CXX_GCC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD
164         and SIGC_CXX_MSVC_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD.
165         Remove LIBSIGC_TEMPLATE_PREFIX. Add template keyword to
166         SIGC_WORKAROUND_OPERATOR_PARENTHESES depending on the configure checks.
167         Should fix the compiler problems with MSVC.
168
169 2004-07-11  Martin Schulze <mschulze@cvs.gnome.org>
170
171         * examples/hello_world.cc: Use sigc::ptr_fun instead of std::ptr_fun.
172         (fixes bug #144846)
173
174 2004-07-11  Eric Bourque <ericb@computer.org>
175
176         * libsigc++-2.0.spec.in: new file
177         * configure.ac : patched generate spec file
178         * .cvsignore: ignore generated file (Martin Schulze)
179         * Makefile.am: distribute spec file (Martin Schulze)
180
181 2004-07-11  Murray Cumming  <murrayc@murrayc.com>
182
183         * sigc++/connection.cc: Added some comments.
184         * sigc++/trackable.cc: operator=(): Check for self-asignment, though I 
185         do not know of any actual bug that this fixes. Added some comments.
186         * sigc++/trackable.h Added some doxygen documentation.
187
188 2004-07-09  Murray Cumming  <murrayc@murrayc.com>
189
190         * tests/: Added test_disconnect_during_emit.cc, to prove that this 
191         works.
192
193 2004-07-08  Murray Cumming  <murrayc@murrayc.com>
194
195         * tests/test_retype_return.cc: foo::operator(int): return a 
196         value. The SUN Forte 5.5 compiler complains about this, as it should.
197
198 2004-07-08  Murray Cumming  <murrayc@murrayc.com>
199
200         * sigc++/macros/signal.h.m4: class signal*: Rename the slot_list 
201         typedef to slot_list_type, because there is already a template class 
202         called slot_type. SUN Forte 5.5 seems to complain about this and I am 
203         not surprised. The old typdef is still there for backwards 
204         compatibility, except when building with SUN Forte.
205
206 2004-07-07  Murray Cumming  <murrayc@murrayc.com>
207
208         * scripts/cxx.m4: SIGC_CXX_TEMPLATE_SPECIALIZATION_OPERATOR_OVERLOAD():
209         Don't define the SIGC_TEMPLATE_SPECIALIZATOIN_OPERATOR_OVERLOAD C 
210         macro at all if the test fails. This might fix the build on SUN Forte.
211         * sigc++/functors/macros/mem_fun.h.m4: Default constructor: Initialize 
212         the func_ptr_ member variable. I have no evidence that this solves any 
213         problems, but it worried me.
214         * sigc++/functors/slot_base.h: operator bool(): Correct documentation, 
215         to use @code instead of <code>
216         * sigc++/macros/signal.h.m4: Remove the documentation for the 
217         parameters named first and last, because they do not exist.
218
219 2004-05-31  Martin Schulze  <mschulze@cvs.gnome.org>
220
221         * autogen.sh: Add '--force'-flag to the 'libtoolize'-command (bug #143425).
222
223 2.0.3:
224
225 2004-05-30  Martin Schulze  <mschulze@cvs.gnome.org>
226
227         * configure.ac: Bump version number to 2.0.3.
228         * NEWS: Add ChangeLog summary for version 2.0.3.
229         * sigc++/macros/signal.h.m4: Fix segfault on emission of unconnected signal.
230         * tests/test_signal.cc, tests/test_accumulated.cc: Emit unconnected signal.
231         * sigc++/macros/object_slot.h.m4: Suppress compiler warning at
232         dynamic_cast<>-test (tested by Christof Petig/Timothy M. Shead).
233
234 2.0.2:
235
236 2004-05-22  Martin Schulze  <mschulze@cvs.gnome.org>
237
238         * configure.ac: Bump version number to 2.0.2.
239         * NEWS: Add ChangeLog summary for version 2.0.2.
240
241 2004-05-20  Martin Schulze  <mschulze@cvs.gnome.org>
242
243         * sigc++/macros/signal.h.m4: If a custom accumulator is specified
244         invoke it on signal emission even if the signal's slot list is empty.
245         (This used to be the case in libsigc++-1.2 as pointed out by Timothy.)
246
247 2004-05-20  Martin Schulze  <mschulze@cvs.gnome.org>
248
249         * sigc++/macros/object_slot.h.m4: Suppress compiler warning at
250         dynamic_cast<>-test (suggested by Timothy M. Shead).
251
252 2004-05-01  Martin Schulze  <mschulze@cvs.gnome.org>
253
254         * README: Updated for libsigc++-2.0.
255
256 2.0.1:
257
258 2004-04-27  Martin Schulze  <mschulze@cvs.gnome.org>
259
260         * configure.ac: Bump version number to 2.0.1.
261         * NEWS: Add ChangeLog summary for version 2.0.1.
262         * sigc++/adaptors/lambda/macros/base.h.m4: Fixed documentation.
263         * sigc++/adaptors/macros/bind.h.m4: Hide work-arounds from doxygen.
264         * scripts/cxx.m4, sigc++config.h.in, configure.ac,
265         sigc++/adaptors/macros/bind.h.m4: Removed configure     check. It
266         showed that the Apple gcc can also compile the sophisticated version
267         of the work-around.
268
269 2004-04-26  Martin Schulze  <mschulze@cvs.gnome.org>
270
271         * sigc++/macros/object_slot.h.m4: Modified test for SigC::Object
272         inheritance so that it also works if SigC::Object is virtual base.
273         (Fixes bug 141094 reported by Jonathan Brandmeyer)
274
275 2004-04-26  Martin Schulze  <mschulze@cvs.gnome.org>
276
277         * scripts/cxx.m4: Updated the configure check. It would probably
278         have succeeded on the Apple.
279
280 2004-04-26  Martin Schulze  <mschulze@cvs.gnome.org>
281
282         * sigc++/adaptors/macros/bind.h.m4: Add work-arounds for
283         bind<-1>::deduce_result_type compilation error on Apple gcc 3.3.
284         * scripts/cxx.m4, sigc++config.h.in, configure.ac: Add configure
285         check for the compilation error above.
286         * sigc++/adaptors/lambda/macros/operator.h.m4: Replace _A with
287         _Aa. _A is a reserved keyword on Apple gcc 3.3 (Spundun Bhatt).
288         (fixes bug #10444 reported by Spundun Bhatt)
289
290 2004-04-19  Martin Schulze  <mschulze@cvs.gnome.org>
291
292   * sigc++/signal_base.cc: Fixed serious bug in signal_base::impl():
293   Only reference a newly created object (initial reference).
294   (This fixes bug #140269 reported by Andris.)
295
296 2004-04-19  Murray Cumming  <murrayc@murrayc.com>
297
298         * scripts/cxx.m4: Updated the operator() template check, because it
299         failed with gcc 3.4 (from cvs). Apparently the template keyword can
300         only be used from another template.
301
302 2.0.0:
303
304 2004-04-06  Martin Schulze  <mschulze@cvs.gnome.org>
305
306         * configure.ac: Bump version number to 2.0.0.
307         * NEWS: Add ChangeLog summary for version 2.0.0.
308         * TODO, AUTHORS: Bring up to date.
309         * sigc++-2.0.pc.in, Makefile.am: 1.9 -> 2.0
310         * Added more documentation.
311
312 2004-04-10  Murray Cumming  <murrayc@murrayc.com>
313
314         * sigc++/connection.[h|cc]: Implement blocked() to avoid undefined 
315         symbol linker error.
316
317 2004-04-08  Murray Cumming  <murrayc@murrayc.com>
318
319         * dist the scripts directory.
320
321 1.9.16:
322
323 2004-04-06  Martin Schulze  <teebaum@cvs.gnome.org>
324
325         * configure.ac: Bump version number to 1.9.16.
326         * NEWS: Add ChangeLog summary for version 1.9.16.
327
328 2004-04-02  Murray Cumming  <murrayc@murrayc.com>
329
330         * sigc++/connection.cc: Make block() and unblock() always return a 
331         value, to fix compiler warnings. Patch from bug #138620 by
332         Alexander Nedotsukov.
333
334 2004-04-02  Murray Cumming  <murrayc@murrayc.com>
335
336         * Fix the compile of examples/member_method.cc. Bug #131701 from 
337         Kirill Smelkov. I also made the examples build as part of the regular
338         build.
339
340 2004-04-02  Murray Cumming  <murrayc@murrayc.com>
341
342         * sigc++config.h.m4: Remove every undef apart from the one we need, to
343         avoid clashes, because we #include this in a public header.
344
345 2004-03-25  Murray Cumming  <murrayc@murrayc.com>
346
347         * scripts/cxx.m4, configure.in, sigc++config.h.in: Rename the 
348         template_keyword check to template_specialization, because the problem
349         is with or without the keyword.
350         * sigc++/adaptors/macros/adaptor_trait.h.m4: Define 
351         SIGC_WORKAROUND_OPERATOR_PARENTHESES, which calls either operator() or 
352         sun_forte_workaround() depending on the result of the compiler test.
353         * many .m4 files: Add sun_forte_workaround methods that call the 
354         operator() methods. Put them in #ifdefs so that only SUN Forte C++ 
355         sees them.
356
357 2004-03-22  Murray Cumming  <murrayc@murrayc.com>
358
359         * Makefile.am, sigc++/Makfile.am: Fix the sigc++config.h.in disting,
360         to fix make distcheck.
361
362 2004-03-21  Murray Cumming  <murrayc@murrayc.com>
363
364         * Rename config.h.in to sigc++config.h.in so that gtkmm does not 
365         include some other config.h at strange times - fixes a problem in
366         the gtkmm demos. This should really be in the sigc++ directory, but
367         that seems to add that as an include path, which causes the STL
368         headers to include sigc++/signal.h instead of some STL signal.h header.
369
370 2004-03-20  Murray Cumming  <murrayc@murrayc.com>
371
372         * Makefile.am: Install the config.h platform-specific header.
373         * sigc++-2.0.pc.in: Report the include path for config.h
374
375 2004-03-20  Murray Cumming  <murrayc@murrayc.com>
376
377         * Added config.h.in, using autoheader, from which config.h will be 
378         generated, so we can detect compiler features.
379         * configure.ac: Added AC_CONFIG_HEADER(config.h) to generate config.h
380         from config.h.in.
381         * scripts/cxx.m4: Added this directory and file, with a 
382         SIGC_CXX_TEMPLATE_KEYWORD_OPERATOR_OVERLOAD macro that defines 
383         the SIGC_TEMPLATE_KEYWORD_OPERATOR_OVERLOAD C macro.
384         * autogen.sh: Added -I scripts to the aclocal call, so that it finds
385         the m4 macro for configure.ac.
386         * sigc++/adapators/macros/adaptor_trait.h.m4: Include config.h and
387         use SIGC_TEMPLATE_KEYOWRD_OPERATOR_OVERLOAD.
388
389 2004-03-18  Martin Schulze  <mschulze@cvs.gnome.org>
390
391   * tests/test_mem_fun.cc, tests/test_ptr_fun.cc: Don't test
392   making functors from overloaded methods with partial template
393   specialization. Not portable among different compilers (SUN FORTE).
394   * adaptors/macros/apdaptor_trait.h.m4: Only gcc seems to use the
395   notation A.template operator()<...>(...) => adapt preprocessor check
396   for #define LIBSIGC_TEMPLATE_PREFIX. TODO: replace with configure check.
397
398 2004-03-13  Murray Cumming  <murrayc@murrayc.com>
399
400         * g++ 3.4 (pre-release) build fixes:
401         * sigc++/macros/signal.h.m4: slot_iterator_buf::operator*():
402         Use blocked() and empty() instead of non-existant blocked_and_empty().
403         * sigc++/functors/macros/mem_fun.h.m4: memfun_functor*::operator()(): 
404         Use this->func_ptr_ instead of just func_ptr_.
405         * sigc++/adaptors/macros/deduce_result_type.h.m4: Use 
406         T_functor::template deduce_result_type<> instead of just
407         T_functor::deduce_result_type<>.
408         * sigc++/adaptors/lambda/macros/base.h.m4, operator.h.m4, group.h.m4:: 
409         Use template keyword again. operator[](): Use this->value_ instead of 
410         just value_.
411         * sigc++/adaptors/lambda/macros/bind/m4: Use template keyword, and 
412         this-> again.
413         * sigc++/adaptors/macros/compose.h.m4, hide.h.m4, bind_return.h.m4, 
414         exception_catch.h.m4:
415         rettype.h.m4, rettype_return.h.m4: Use template keyword,and this-> again
416
417 1.9.15:
418
419 2004-02-27  Martin Schulze  <teebaum@cvs.gnome.org>
420
421         * configure.ac: Bump version number to 1.9.15.
422         * NEWS: Add ChangeLog summary for version 1.9.15.
423
424 2004-02-27  Martin Schulze  <teebaum@cvs.gnome.org>
425
426   * sigc++/functors/macros/slot.h.m4: Make the unnumbered slot templates'
427   copy ctors use the copy ctors of the base class. Fixes bug #24698.
428   * tests/test_slot.cc: Test copy ctor (Bryan Forbes).
429
430 2004-02-27  Martin Schulze  <teebaum@cvs.gnome.org>
431
432   * tests/type_functor_trait.cc: Bring it up-to-date (use sigc::ref).
433   Make it work with the SUN Forte.
434
435 2004-02-24  Martin Schulze  <teebaum@cvs.gnome.org>
436
437   * sigc++/type_traits.h: Make is_base_and_derived<> work with the SUN Forte.
438
439 2004-02-19  Martin Schulze  <teebaum@cvs.gnome.org>
440
441   * sigc++/type_traits.h: Make is_base_and_derived<> platform independant.
442   * sigc++/adaptors/lambda/macros/base.h.m4: Make lambda_core<> ctors
443   explicit. Remove an unused ctor from lambda_core<T_type, true>.
444
445 2004-02-14  Martin Schulze  <teebaum@cvs.gnome.org>
446
447   * sigc++/functors/slot_base.h, sigc++/functors/macros/slot.h.m4:
448   Move some documentation to slot_base.h.
449   * sigc++/signal_base.h, sigc++/macros/signal.h.m4:
450   Move some documentation to signal_base.h.
451
452   API addition:
453   * sigc++/functors/macros/slot.h.m4: Add numbered slot# templates.
454   Make unnumbered slot templates inherit from slot#.
455
456   API change:
457   * sigc++/functors/macros/mem_fun.h.m4: Allow for methods of the object's
458   base types to be passed into sigc::mem_fun(). (Used to be the case in
459   libsigc++-1.2).
460
461 2004-02-13  Murray Cumming  <murrayc@usa.net>
462
463         * sigc++/functors/slot_base.[h|cc], sigc++/trackable.[h|cc]: Create 
464         and use a typedef for the destroy_notify callback functions, to avoid
465         confusion function pointer declaration syntax in the API.
466
467 2004-02-13  Murray Cumming  <murrayc@murrayc.com>
468
469         * Moved implementation to .cc files:
470         * sigc++/functors/: Added slot_base.[h|cc] which contains non-template
471         code that was previsouly in the generated functors/slot.h and 
472         non-generated slot.cc files. All non-inline implementation is now in 
473         the .cc file.
474         * sigc++/functors/macros/slot.m4: Removed the code that has been moved
475         to slot_base.[h|cc].
476         * sigc++/: Added signal_base.[h|cc] which contains non-template code 
477         that was previously in the generated signal.h and non-generated
478         signal.cc file. All non-inline implementation is now in the .cc file.
479         * sigc++/macros/signal.m4: Removed the code that ahs been moved to
480         signal.cc
481         * sigc++/connector.[h|cc]: method implementation moved to the .cc file.
482
483 1.9.14:
484
485 2004-02-13  Martin Schulze  <teebaum@cvs.gnome.org>
486
487         * configure.ac: Bump version number to 1.9.14.
488         * NEWS: Add ChangeLog summary for version 1.9.14.
489
490 2004-02-09  Murray Cumming  <murrayc@usa.net>
491
492         * sigc++/functors/macros/slot.h.m4: slot_base: Added operator bool(), needed to
493         check for a slot that is created with the default constructor. This was
494         present in libsigc++ 1.2 also.
495
496 2004-02-06  Murray Cumming  <murrayc@usa.net>
497
498         * Makefile.am: Build the docs directory, by adding it to SUBDIRS.
499         * docs/Doxyfile.in: Updated to be more glibmm-like.
500         * Added some @deprecated doxygen bits.
501         * sigc++/macros/signal.h.m4: Call base constructor from signal_base
502         constructor - this is an error-as-warning when building gtkmm.
503
504 1.9.13:
505
506 2003-11-30  Martin Schulze  <teebaum@cvs.gnome.org>
507
508         * configure.ac: Bump version number to 1.9.13.
509         * NEWS: Add ChangeLog summary for version 1.9.13.
510         * Makefile.am, MSVC_Net2003/Makefile.am, configure.ac:
511         Distribute MS .Net project files.
512         * sigc++/adaptors/macros/[bind,hide].h.m4: Correct and add
513         documentation. Make hide_functor ctor explicit.
514
515 2003-11-11  Martin Schulze  <teebaum@cvs.gnome.org>
516
517         * sigc++/adaptors/macros/[bind,hide].h.m4: Change to zero-based
518         argument index in numbered bind() and hide() overload
519         (Agreement on the mailing list).
520         Support binding up to CALL_SIZE arguments with one bind adaptor.
521         (Requested by joey yandle and others).
522         Only support binding of multiple arguments in unnumberd overloads
523         to keep the API simple (Requested by Murray Cumming).
524         * tests/test_[bind,hide,functor_trait].cc, sigc++/bind.h:
525         Reflect API changes in compatibility module and test cases.
526
527 2003-11-10  Martin Schulze  <teebaum@cvs.gnome.org>
528
529         * sigc++/adaptors/macros/[bind,hide].h.m4: Add unnumbered
530         bind() and hide() overloads to make specifying the argument
531         position optional (Proposed by Jeff Franks).
532         * tests/test_[bind,hide].cc: Test unnumbered bind() and hide().
533         * sigc++/adaptors/macros/adaptor_trait.h.m4:
534         Change "#ifdef MSVC" to "#ifdef _MSC_VER" (Roel Vanhout).
535
536 2003-11-09  Martin Schulze  <teebaum@cvs.gnome.org>
537
538         * sigc++/functors/macros/slot.h.m4: Change functor type in
539         typed_slot_rep to adaptor_trait::adaptor_type<T_functor>
540         and use explicit function template instantiation in
541         internal::slot_call::call_it(). Avoids copying of arguments
542         in call_it() and enables binding of object instances
543         to class methods through bind() (Reported by Jeff Franks).
544         * tests/test_bind.cc: Test binding object instances to
545         class methods through bind().
546         * sigc++/adaptors/adaptors.h: Include retype[_result].h.
547         * sigc++/adaptors/macros/adaptor_trait.h.m4:
548         - Add documentation.
549         - Mark some c-tors as explicit.
550         - Remove ununsed operator T_functor&() from adaptor_functor.
551         * sigc++/adaptors/macros/deduce_result_type.h.m4:
552         Rewrite parts of the documentation.
553         * sigc++/adaptors/macros/bind.h.m4: Add documentation.
554         * sigc++/functors/macros/mem_fun.h.m4: Remove unnecessary
555         explicit markers. Minor fixes to documentation.
556         * sigc++/functors/macros/functor_trait.h.m4:
557         Minor fixes to documentation.
558
559 1.9.12:
560
561 2003-11-04  Martin Schulze  <teebaum@cvs.gnome.org>
562
563         * configure.ac: Bump version number to 1.9.12.
564         * NEWS: Add ChangeLog summary for version 1.9.12.
565
566 2003-11-03  Martin Schulze  <teebaum@cvs.gnome.org>
567
568         * sigc++/macros/signal.h.m4: Document accumulators.
569         Move slot_iterator_buf into namespace internal. Since
570         accumulators have the iterator type as a template argument
571         there is no need to expose this very internal type.
572         * sigc++/functors/macros/*.m4: Regroup documentation.
573         Documentation of the core parts of the library should be
574         complete by now.
575
576 2003-11-02  Martin Schulze  <teebaum@cvs.gnome.org>
577
578         * Improve documentation of the core parts of the library.
579         * tests/test_ptr_fun.cc: Test ptr_fun() with static
580         member functions.
581
582 2003-11-02  Martin Schulze  <teebaum@cvs.gnome.org>
583
584         * Move all .m4 files into new subdirectories
585         sigc++/[...]/macros. Install the .m4 files on
586         "make install" (Reported by Ron Steinke).
587
588 2003-11-01  Martin Schulze  <teebaum@cvs.gnome.org>
589
590         * sigc++/[class,method,object]_slot.h.m4: Include
591         sigc++/functors/mem_fun.h (Reported by Ron Steinke).
592
593 2003-11-01  Martin Schulze  <teebaum@cvs.gnome.org>
594
595         * sigc++/adaptors/lambda/operator.h.m4: Add negation
596         operator I have completely overlooked until now.
597         * sigc++/tests/test_lambda.cc: Test negation operator.
598
599 2003-11-01  Martin Schulze  <teebaum@cvs.gnome.org>
600
601         * sigc++/[class_slot,method_slot,object_slot,hide].h.m4,
602         sigc++/signal.h.m4, sigc++/functors/mem_fun.h.m4:
603         - Use a shorter notation for ..._mem_function variants.
604         - Change order of mem_funcotr<>'s template arguments to
605         match std::mem_fun_t and to be more consistent with adaptors.
606         - Use ::sigc::slot's implicit ctor in compatibility module.
607         * sigc++/adaptors/lambda/operator.h.m4: Change some
608         lambda action names to match action names in std.
609
610         API addition:
611         * sigc++/adaptors/retype.h.m4: New file adding
612         adaptor retype.
613         * sigc++/Makefile.am: Build and distribute new file.
614         * tests/test_retype.cc: New file testing adaptor retype.
615         * MSVC_Net2003/tests/test_retype/test_reytype.vcproj,
616         tests/Makefile.am: Build and distribute new test case.
617
618 2003-11-01  Martin Schulze  <teebaum@cvs.gnome.org>
619
620         * MSVC_Net2003: New directory containing project
621         files for Visual Studio .Net 2003.
622         Credits to Roel Vanhout <roel@riks.nl>!
623
624 2003-11-01  Martin Schulze  <teebaum@cvs.gnome.org>
625
626         * sigc++/retype.h.m4: Use LIBSIGC_TEMPLATE_PREFIX
627         in explicit function template instantiations.
628         * sigc++/type_traits.h: Add template specialization
629         for arrays (T_type[N]) to disable non-working member
630         type_trait<T_type[N]>::instance().
631         * sigc++/visit_each.h: Remove more disturbing
632         limit_derived_target<>::operator() overloads.
633         (Should have noticed earlier that they are unnecessary.)
634         * sigc++/adaptors/deduce_result_type.h.m4,
635         sigc++/adaptors/lambda/operator.h.m4,
636         sigc++/functors/functor_trait.h.m4,
637         tests/test_[bind,compose,exception_catch,hide,lambda].cc:
638         Completely removed support for typeof(). We don't need
639         it any more and it is completely non-standard!
640
641 2003-10-30  Cedric Gustin <cedric.gustin@swing.be>
642  
643         * configure.ac: Added test of win32 platform. Commented
644         out AM_DISABLE_SHARED (DLLs are shared libraries).
645         * sigc++/Makefile.am: added a few LDFLAGS for win32
646         DLLs.
647
648 2003-10-30  Martin Schulze  <teebaum@cvs.gnome.org>
649
650         * sigc++/signal.h.m4: Add SigC::Signal#<>::slot().
651         * sigc++/slot.h.m4: Comment out make_slot() work-around.
652         * sigc++/adaptors/bind.h.m4: Remove unnecessary brackets
653         in template argument lists. They are confusing MSVC.
654         * sigc++/adaptors/*.h.m4, sigc++/adaptors/lambda/*.h.m4:
655         Use LIBSIGC_TEMPLATE_PREFIX in explicit function
656         template instantiations.
657         * sigc++/tests/test_*.cc:
658         - Include <string> where std::string is used.
659         - Use double instead of float.
660
661 2003-10-27  Martin Schulze  <teebaum@cvs.gnome.org>
662
663         * sigc++/retype.h.m4: Cleanup.
664         * TODO: Bring it up to date.
665
666 1.9.11:
667
668 2003-10-26  Martin Schulze  <teebaum@cvs.gnome.org>
669
670         * configure.ac: Bump version number to 1.9.11.
671         * NEWS: Add ChangeLog summary for version 1.9.11.
672
673 2003-10-26  Martin Schulze  <teebaum@cvs.gnome.org>
674
675         Compatiblity module:
676         * sigc++/signal.h.m4: Move definition of compatiblity
677         classes SigC::SignalN to here.
678         * sigc++/connection.h:
679         - Add connection::connected().
680         - Add compatibility typedef SigC::Connection.
681         * sigc++/bind.h, sigc++/bind_return.h,
682         sigc++/class_slot.h.m4, sigc++/hide.h.m4,
683         sigc++/method_slot.h.m4, sigc++/object.h,
684         sigc++/object_slot.h.m4, sigc++/retype.h.m4,
685         sigc++/retype_return.h sigc++/slot.h.m4,
686         sigc++/compatibility.h:
687         New files to complete compatibility module.
688         Split content of compatibility.h.m4 among the new files.
689         * sigc++/compatibility.h.m4: Removed.
690         * Makefile.am: Build and distribute new files.
691         * tests/test_compatibility.cc: Test new stuff.
692
693         Fixes:
694         * sigc++/functors/slot.h.m4: Fix copy constructor and
695         operator=() of slot template.
696         * sigc++/adaptors/bind.h.m4: Fix deduce_result_type
697         template specializations. bind<0>() probably compiles
698         with gcc-3.3, now.
699
700 2003-10-26  Martin Schulze  <teebaum@cvs.gnome.org>
701
702         Fixes:
703         * sigc++/functors/slot.{cc,h.m4}:
704         - Fix notification process: don't defer detaching of a
705         slot from all referred trackables during signal emission!
706         - Size optimization: replace virtual functions from
707         struct typed_slot_rep with function pointers in slot_rep
708         (reduces size of a typical typed_slot_rep instantiation
709         by 30% !!!).
710         * tests/test_slot.cc: Test sigc::slot more thoroughly.
711         * sigc++/functors/mem_fun.h.m4: Fix visit_each().
712         * sigc++/adaptos/bind_return.h.m4: Add support for
713         sigc::ref().
714         * tests/test_bind_return.cc: Use sigc::ref().
715         * sigc++/signal.h.m4: Avoid compiler warning about
716         uninitialized variable r_ in emit().
717         * sigc++/visit_each.h: Cleanup.
718
719         API additions:
720         * sigc++/adpators/lambda/operators.h.m4: Add
721         lambda actions sigc::{reinterpret,static,dynamic}_cast_
722         to support explicit parameter conversion.
723         * tests/test_lambda.cc: Test sigc::static_cast_.
724         * sigc++/adaptors/retype_return.h.m4: New file adding
725         adaptor retype_return (and hide_return).
726         * sigc++/Makefile.am: Build and distribute new file.
727         * tests/test_retype_return.cc: New file testing
728         adaptor retype_return (and hide_return).
729         * tests/Makefile.am: Build and distribute new test case.
730
731 2003-10-25  Martin Schulze  <teebaum@cvs.gnome.org>
732
733         * sigc++/visit_each.h: Remove disturbing
734         limit_derived_target<>::operator() overloads.
735         * sigc++/adaptors/bind.h.m4: Add support for sigc::ref().
736         * tests/test_bind.cc: Test sigc::ref().
737         * sigc++/adaptors/lambda/{operator,group,base}.h.m4:
738         - Move support for sigc::ref() from lambda_core<> into
739         lambda operator and lambda group creator functions.
740         - Add missing visit_each() overload for lambda<> template.
741         * tests/test_lambda.cc: Test auto-disconnection.
742         TODO: Fix a strange bug that leads to "Bus error"
743         during auto-disconnection.
744
745 1.9.10:
746
747 2003-10-23  Martin Schulze  <teebaum@cvs.gnome.org>
748
749         * configure.ac: Bump version number to 1.9.10.
750         * NEWS: Add ChangeLog summary for version 1.9.10.
751
752 2003-10-23  Martin Schulze  <teebaum@cvs.gnome.org>
753
754         * sigc++/functors/{functor_trait,slot}.h.m4:
755         Move definition of struct nil into functor_trait.h.
756
757 2003-10-23  Martin Schulze  <teebaum@cvs.gnome.org>
758
759         * configure.ac: Disable typeof() compiler checks.
760         * sigc++/adaptors/bind.h.m4: Remove unnecessary
761         deduce_result_type<> template specializations.
762
763 2003-10-20  Martin Schulze  <teebaum@cvs.gnome.org>
764
765         * sigc++/adaptors/compose.h.m4:
766         Correct order of typedefs for good. (Patch from Jeff Franks.)
767
768 1.9.9:
769
770 2003-10-20  Martin Schulze  <teebaum@cvs.gnome.org>
771
772         * sigc++/connection.h: Add constructor that takes
773         a sigc::slot_base& to support 3rd-party slot lists
774         like they are used in glibmm/gtkmm.
775         * sigc++/functors/slot.h.m4: Make sigc::slot::call_type public.
776         (Fixes compile problems reported by Jeff Franks.)
777         * sig++/type_traits.h: Don't use long long in
778         sigc::is_base_and_derived.
779         (Fixes compile problems reported by Jeff Franks.)
780         * sigc++/adaptors/{bind,compose,hide,exception_catch}.h.m4:
781         Correct order of typedefs. (Repoted by Jeff Franks.)
782         * configure.ac: Bump version number to 1.9.9.
783         * NEWS: Add ChangeLog summary for version 1.9.9.
784
785 1.9.8:
786
787 2003-10-19  Martin Schulze  <teebaum@cvs.gnome.org>
788
789         * sigc++/functors/slot.h.m4: Define doxygen group functors.
790         * configure.ac: Bump version number to 1.9.8.
791         * NEWS: Add ChangeLog summary for version 1.9.8.
792
793 2003-10-19  Martin Schulze  <teebaum@cvs.gnome.org>
794
795         * NEWS: Add announces of versions 1.9.6 and 1.9.7.
796         * sigc++/compatibility.h.m4: New file. Defines namespace SigC.
797         namespace SigC should be API compatible to libsigc++-1.2.
798         * sigc++/Makefile.am: Build compatibility.h.
799         * tests/test_compatibility.cc, tests/Makefile.am:
800         Add test case for compatibility module.
801         * docs/index.html: Change group names.
802         * sigc++/sigc++.h: Include connection.h.
803         * sigc++/connection.{cc,h}:
804         - Rename dependency to destroy_notify_callback.
805         - Change parameter name in set_slot() from d to data.
806         - Fix operator=(): Add "return *this;"
807         - Get rid of namespace functor.
808         - Corrections in documentation.
809         * sigc++/signal.{cc,h.m4}:
810         - Add reference counter to signal_impl. Replaces "bool destroy_".
811         - Move signal_base, slot_iterator[_buf], slot_list out of
812         namespace internal. They are part of the public API.
813         - Add convenience function signal#::make_slot().
814         - Get rid of namespace functor.
815         - Corrections in documentation.
816         * sigc++/trackable.{cc,h}:
817         - Rename dependency to destroy_notify_callback.
818         - Rename trackable::clear() to trackable::notify_callbacks().
819         - Corrections in documentation.
820         * sigc++/type_traits.h: Add documentation.
821         * sigc++/visit_each.h:
822         - Get rid of namespace functor.
823         - Add documentation.
824         * sigc++/adaptors[/lambda]/*: Get rid of namespace functor.
825         * sigc++/functors/{functor_trait.h,ptr_fun.h.m4,mem_fun.h.m4}:
826         - Get rid of namespace functor.
827         - Corrections in documentation / add documentation.
828         * sigc++/functors/slot.{cc,h.m4}:
829         - Move slot_base out of namespace internal. It's public API.
830         - Get rid of one-letter-parameter-names.
831         - Get rid of namespace functor.
832         - Corrections in documentation.
833         * tests/*.cc: Get rid of "using namespace ...".
834
835 2003-09-10  Martin Schulze  <teebaum@cvs.gnome.org>
836
837         * sigc++/adaptors/lambda/{base,operators}.h.m4:
838         Add subscript ([]) and assign (=) operator. I think there are now
839         enough operators available to make any future power user happy.
840         The only one missing is the comma operator and if we added it
841         the logical consequence would be to also add if(), switch(), do(),
842         etc. lambda expressions which are really out of place in libsigc++.
843         * sigc++/type_traits.h: Fix is_base_and_derived<> for const types.
844         * tests/test_lambda.cc: Test new operators.
845
846 1.9.7:
847
848 2003-09-05  Martin Schulze  <teebaum@cvs.gnome.org>
849
850         * configure.ac: Bump version number to 1.9.7.
851
852 2003-09-03  Martin Schulze  <teebaum@cvs.gnome.org>
853
854         * sigc++/adaptors/lambda/operator.h.m4:
855         - Restructure so that the size of the generated source file stays
856         reasonable for 34 operators: There are only two lambda templates
857         lambda_operator and lambda_operator_unary. The action is an additional
858         template parameter. A small template lambda_action[_unary] is specialized
859         for all actions.
860         - Add most operators that boost::lambda supports. Missing operators are
861         "=", "[]", "," and support for pointer arithmetic. I don't know if it's
862         worth adding these. In libsigc++, the purpose of lambda operators is to
863         provide some extra functionality for the group adaptor.
864         * tests/test_lambda.cc:
865         Test pre-increment, address and dereference operator.
866
867 2003-08-31  Martin Schulze  <teebaum@cvs.gnome.org>
868
869         * sigc++/reference_wrapper.h, sigc++/type_traits.h, sigc++/Makefile.am:
870         New file reference_wrapper.h provides ref() to specify that adaptors/lambdas
871         should take a reference to the object passed into ref() instead of a copy.
872         * tests/test_lambda.cc:
873         - Test group() with mem_fun().
874         - Use ref() where lambdas should store references to objects.
875         - Test var() and constant().
876         * sigc++/adaptors/lambda/base.h.m4:
877         - Support ref() in return type deduction.
878         - Add var() and constant() which create lambdas for usage with lambda operators.
879         * sigc++/adaptors/lambda/operator.h.m4:
880         - Fix return type deduction.
881         - Remove operator{+,-,*,...} overloads added on 2003-08-29. ref() is way cleaner.
882         * sigc++/adaptors/lambda/group.h.m4,
883         sigc++/adaptors/bind.h.m4, sigc++/adaptors/compose.h.m4,
884         sigc++/adaptors/exception_catch.h.m4, sigc++/adaptors/hide.h.m4:
885         Fix return type deduction.
886
887 2003-08-29  Martin Schulze  <teebaum@cvs.gnome.org>
888
889         * tests/test_lambda.cc: Add more tests.
890         * sigc++/adaptors/lambda/select.h.m4, sigc++/adaptors/lambda/lambda.cc.m4:
891         Make _1, _2, ... constant.
892         * sigc++/adaptors/lambda/operator.h.m4:
893         Add operator{+,-,*,...} overloads to distinguish between const and non-const objects.
894         Store references to non-const objects rather than copies.
895         This allows expressions like e.g. std::cout << _1.
896         * sigc++/adaptors/lambda/base.h.m4, sigc++/adaptors/lambda/group.h.m4:
897         Remove void specializations. Functors returning void are tested and work fine.
898
899 2003-08-27  Martin Schulze  <teebaum@cvs.gnome.org>
900
901         * tests/test_callof.cc, tests/test_deduce_result_type.cc:
902         Rename, correct and improve this test case.
903         * tests/Makefile.am: Build and run test_deduce_result_type
904         instead of test_callof.
905
906 2003-08-27  Martin Schulze  <teebaum@cvs.gnome.org>
907
908         * Update TODO.
909
910 2003-08-27  Martin Schulze  <teebaum@cvs.gnome.org>
911
912         * sigc++/adaptors/hide.h.m4: Remove usage of callof_ignore_arg<>.
913         * sigc++/callof.h.m4, sigc++/adaptors/deduce_result_type.h.m4,
914         sigc++/functors/functor_trait.h.m4:
915         Remove the first and move deduce_result_type templates from
916         functor_trait.h.m4 into new file deduce_result_type.h.m4.
917         * sigc++/Makefile.am, sigc++/sigc++.h, sigc++/adaptors/adaptor_trait.h.m4:
918         Build and include sigc++/adaptors/deduce_result_type.h instead of callof.h.
919         * sigc++/functors/slot.h.m4: Document struct nil.
920
921 2003-08-24  Martin Schulze  <teebaum@cvs.gnome.org>
922
923         * sigc++/functors/functor_trait.h.m4: Simplify usage of convenience
924         macro SIGC_FUNCTORS_HAVE_RESULT_TYPE:
925         namespace sigc{ namespace functor{ SIGC_FUNCTORS_HAVE_RESULT_TYPE }}
926
927 2003-08-24  Martin Schulze  <teebaum@cvs.gnome.org>
928
929         * sigc++/functors/functor_trait.h,m4, sigc++/adaptors[/lambda]/*.h.m4:
930         Merge adaptor return type deduction and typeof() into
931         sigc::functor::deduce_result_type. Use it for all adaptors.
932         * tests/test_compose.cc: Only test multi-type get-functor if
933         typeof() if supported.
934
935 2003-08-24  Martin Schulze  <teebaum@cvs.gnome.org>
936
937         * sigc++/adaptors[/lambda]/*.h.m4:
938         - Remove unnecessary void specializations. In fact, only the one
939         for sigc::functor::exception_catch<> is needed and I don't really
940         understand why. For the lambda stuff the void specializatoins are
941         just commented out at the moment.
942         - Make typeof() optional. Surprisingly, I got the lambda stuff working
943         without typeof()! The test suite doesn't catch all cases yet, so maybe
944         some thing are still not working.
945         TODO: Implement configure check.
946         * tests/test_bind.cc, tests/test_compose.cc tests/test_exception_catch.cc,
947         tests/test_hide.cc, tests/test_lambda.cc:
948         Only test multiple functor return types if typeof() is supported.
949
950 2003-08-06  Martin Schulze  <teebaum@cvs.gnome.org>
951
952         * sigc++/trackable.{cc,h}: Add function trackable::clear().
953
954 2003-06-24  Andreas Rottmann  <rottmann@users.sourceforge.net>
955
956         * TODO: Minor tweaks.
957
958 2003-06-23  Andreas Rottmann  <rottmann@users.sourceforge.net>
959
960         * docs/reference/Doxyfile.in: Use these variables.
961         * docs/reference/Makefile.am (html/index.html): Provide doxygen 
962         with SRCDIR and TOP_SRCDIR environment variables.
963         
964         * sigc++/functors/slot.h.m4: Make slot::call_type typedef public;
965         this fixes a g++ 3.3 error in signal.h.
966
967         * sigc++/signal.h.m4: Make the signal::accumulated class public;
968         this fixes a g++ 3.3 error in test_accumulated.cc.
969
970 2003-06-15  Martin Schulze  <teebaum@cvs.gnome.org>
971
972         * sigc++/functor/slot.h.m4: Correct typing error in docs.
973         * sigc++/functor/ptr_fun.h.m4: Document the whole thing.
974
975 2003-05-31  Murray Cumming  <murrayc@usa.net>
976
977         * Reference documentation: Rearranged the groups to make it all
978         a bit more like the libsigc++ 1.2 reference documentation.
979         Corrected some spelling and grammar too.
980         This needs a lot of work. The text is very hard to read and it's
981         generally not appropriate for a user of the code who doesn't
982         care about the internals. But it's not impossible - our examples
983         should show us what we need to say in the documentation.
984         We probably need some more groups for the extra stuff, like we do
985         in libsigc++ 1.2.
986
987 2003-05-29  Martin Schulze  <teebaum@cvs.gnome.org>
988
989         * sigc++/signal.h.m4: Fix documentation.
990         * sigc++/connection.h, sigc++/functor/slot.h.m4:
991         Document the whole thing.
992
993 2003-05-29  Martin Schulze  <teebaum@cvs.gnome.org>
994
995         * sigc++/signal.h.m4:
996         - Remove bogus operator() from unnumbered signal<> and
997           signal<>::accumulated templates.
998         - Document the whole thing.
999
1000         * docs/index.html: Fix some links.
1001
1002 2003-04-06  Martin Schulze  <MHL.Schulze@t-online.de>
1003
1004         * TODO, configure.ac, Makefile.am, docs/*:
1005         Add Doxygen framework.
1006
1007 2003-04-06  Martin Schulze  <MHL.Schulze@t-online.de>
1008
1009         * sigc++/callof.h.m4, sigc++/adaptors/*, tests/test_callof.cc:
1010         Move sigc::callof<> to sigc::functor::internal::callof<>.
1011
1012         * sigc++/functors/mem_fun.h.m4, tests/test_mem_fun.cc:
1013         Add new types [bound_][const_]volatile_mem_functor, visit_each()
1014         and mem_fun() overloads for volatile qualifier.
1015         Add ctor overloads in bound_*mem_functor and mem_fun() overloads
1016         that take reference instead of pointer.
1017
1018 2003-03-26  Martin Schulze  <MHL.Schulze@t-online.de>
1019
1020         * Change "closure" to "slot" throughout sigc++2 (file names,
1021         class names, member variables, documentation, etc.).
1022
1023 2003-03-26  Martin Schulze  <MHL.Schulze@t-online.de>
1024
1025         * TODO: Rewrite to reflect recent changes as well as recent discussions.
1026
1027 2003-03-24  Martin Schulze  <MHL.Schulze@t-online.de>
1028
1029         * sigc++/adaptors/bind_return.h.m4: Make the adaptor's data member
1030         public so that visit_each() can access it.
1031
1032         * sigc++/adaptors/lambda/*.h.m4: More fixes. Add a note about
1033         malfunctioning typeof() (probably compiler bug in gcc-3.2).
1034
1035         * tests/*.cc: Test references. Fix compose equivalent in test_lambda.
1036
1037 2003-03-24  Martin Schulze  <MHL.Schulze@t-online.de>
1038
1039         * sigc++/Makefile.am, sigc++/functors/functor_trait.h[.m4],
1040         sigc++/adaptors/adaptor_trait.h.m4: Move detection of function
1041         and member method pointers' return types from adaptor_trait into
1042         functor_trait. (We'll use functor_trait rather than adaptor_trait for
1043         our lambda stuff.) functor_trait.h needs to be generated from .m4 now.
1044
1045         * sigc++/functors/functor_trait.h.m4: Add convenience macros:
1046         - SIGC_FUNCTORS_HAVE_RESULT_TYPE indicates that the existance of
1047         T_functor::result_type should be assumed for all unknown functors.
1048         - SIGC_FUNCTOR_TRAIT(T_functor, T_result) explicitly specifies the
1049         result type of a functor.
1050         ("typename functor_trait<T_functor>::result_type") is used to
1051         determine the return type of our adaptors' operator()() overloads.
1052
1053         * sigc++/adaptors/[lambda/]*.h.m4: Various fixes in visit_each() and
1054         operator()() overloads to make these operator()() overloads usable.
1055         Most of them were just commented out before. Some adaptor types also
1056         have void specializations, now.
1057
1058         * sigc++/adaptors/lambda/group.h.m4: Change syntax from
1059         "[some_functor] % grp([args])" to "group([some_functor], [args])"
1060         like we agreed on the ml some time ago.
1061
1062         * sigc++/tests/test_[all adaptors].cc: Test stuff that didn't work
1063         before.
1064
1065 2003-03-22  Murray Cumming  <murrayc@usa.net>
1066
1067         * Added pgk-config file, from a mystery person in bug #108857
1068
1069 2003-03-22  Martin Schulze  <MHL.Schulze@t-online.de>
1070
1071         * tests/test_bind.cc: Test and show how to use functor_trait
1072         for user defined or 3rd-party functors so that a
1073         bind<0>([functor],[arg1])() call with no arguments can return a value.
1074
1075 2003-03-20  Martin Schulze  <MHL.Schulze@t-online.de>
1076
1077         * sigc++/callof.h.m4: Add explanations. Comment in / create templates
1078         callof_safe[#]. Unfortunately they don't work for functors with overloaded
1079         operator() so we don't use it for now. At least everything is documented.
1080
1081         * sigc++/functors/functor_trait.h, sigc++/functors/*.h.m4: Add back
1082         functor_base compiler hint. We're using it now in adaptor_functor<>.
1083
1084         * sigc++/adaptors/{adaptor_trait,bind}.h.m4: Make operator() overloads
1085         with no arguments return the result of the functor invocation.
1086         Fix multiple bind<0>().
1087         * tests/test_bind.cc: Test the stuff that's working now.
1088
1089 2003-03-16  Murray Cumming  <murrayc@usa.net>
1090
1091         * Added sigc++/sigc++.h, like in libsigc++ 1.2
1092         * examples: Added member_method example, which uses a class method
1093         and which demonstrates disconnection.
1094
1095 1.9.6:
1096
1097 2003-03-11  Andreas Rottmann  <rottmann@users.sourceforge.net>
1098
1099         * sigc++/Makefile.am: Use substitution references instead of
1100         $(patsubst). Is shorter and fixes the strange-dirs-in-dist-tarball
1101         bug.
1102
1103 2003-03-09  Martin Schulze  <MHL.Schulze@t-online.de>
1104
1105         * sigc++/connection.h: Add block() capability.
1106
1107 2003-03-09  Martin Schulze  <MHL.Schulze@t-online.de>
1108
1109         * sigc++/signal.{cc,h.m4}: Add flag signal_impl::destroy_
1110         and function signal_impl::destroy(). Use them to defer
1111         the destruction of the signal_impl object during signal
1112         emission.
1113
1114         * tests/test_disconnect.cc: Add tests for the connection
1115         class and for deleting signals during emission.
1116
1117 2003-03-09  Martin Schulze  <MHL.Schulze@t-online.de>
1118
1119         * sigc++/connection.{cc,h}, sigc++/Makefile.am:
1120         - New files that add a connection class. Objects of this
1121           class are constructed from closure list iterators and can
1122           be used to disconnect the refered closure. As opposed to
1123           iterators they stay valid beyond the lifetime of the closure.
1124
1125 2003-03-09  Martin Schulze  <MHL.Schulze@t-online.de>
1126
1127         * sigc++/functors/closure.{cc,h.m4}, sigc++/signal.cc:
1128         - Rename closure_{base,rep}::[set_]dependency_ -> [set_]parent_.
1129         - Make closure_rep inherit trackable. This allows for
1130           connection objects that stay valid beyond the life time
1131           of the refered closure.
1132         - Make some one-line-functions inline again.
1133
1134 2003-03-08  Martin Schulze  <MHL.Schulze@t-online.de>
1135
1136         * sigc++/trackable.cc: BUGFIX in trackable_dep_list::clear()
1137
1138 2003-03-08  Andreas Rottmann  <rottmann@users.sourceforge.net>
1139
1140         * sigc++/Makefile.am: Rewritten so we can build lambda cleanly.
1141         * sigc++/Makefile.am_fragment: Removed.
1142
1143         * sigc++/functors/Makfile.am: Removed.
1144         * sigc++/adaptors/Makefile.am: Removed.
1145         * sigc++/adaptors/lambda/Makefile.am: Removed.
1146         * configure.ac (AC_OUTPUT): Remove the above Makefiles.
1147
1148         * tests/Makefile.am: Re-included lambda test.
1149         
1150 2003-03-07  Martin Schulze  <MHL.Schulze@t-online.de>
1151
1152         * sigc++/signal.{cc,h.m4}:
1153         - signal_emit#<>: New templates replacing signal#<>::caller.
1154           The purpose of these templates is implementing the emit
1155           function and optimizing signal emission for the case that
1156           no accumulator is used via template specializations.
1157         - default_accumulator<>: Removed. The default for T_accumulator
1158           in signal#<> now is nil. An example how to use accumulators
1159           is available in tests/test_accumulator.cc.
1160         - signal_{base,impl}: Move the implementation of signal_base's
1161           interface to signal_impl. An object of this class is
1162           dynamically allocated when first connecting a closure to
1163           the signal. This drastically reduces the size of empty signals
1164           and allows for future addition of a reference counter to make
1165           it safe to delete a signal during emission.
1166         - Directly work on closure_rep during signal emission. This
1167           seems to be quicker than using the closure templates.
1168         - Document the classes. Restructure the header file a bit.
1169
1170         * sigc++/functors/closure.h.m4: Make closure_base::rep_ data
1171         member public, so that signal emission can directly work on it.
1172
1173         * tests/test_size.cc: Add an entry for signal_impl.
1174
1175 2003-03-07  Martin Schulze  <MHL.Schulze@t-online.de>
1176
1177         * sigc++/functors/closure.{cc,h.m4}:
1178         - closure_base: BUGFIXES in ~closure_base() and operator=().
1179         - Mark some functions with the inline keyword. This seems to
1180           help gcc 3.2 to optimize signal emission and (dis)connection.
1181         - Document the classes. Restructure the header file a bit.
1182
1183 2003-03-07  Martin Schulze  <MHL.Schulze@t-online.de>
1184
1185         * sigc++/trackable.{cc,h}: Make trackable allocate a
1186         trackable_dep_list object dynamically when adding the first
1187         dependency. (This reduces the size of objects, that are not
1188         refered by a closure by 4 bytes (50%) and increases the size
1189         of objects that are refered by a closure by 4 bytes (50%)
1190         on a 32 bit architecture => This reduces total memory use
1191         when >50% of the trackables are not refered by a closure.)
1192         Document the classes.
1193
1194 2003-03-05  Martin Schulze  <MHL.Schulze@t-online.de>
1195
1196         * tests/Makefile.am, tests/test_size.cc, tests/test_accumulated.cc:
1197         Add two test cases. test_size is showing the size of  public and
1198         internal structures. (Which apart from empty signals are smaller
1199         than the sizes of the equivalent libsigc++-1.2 structures.)
1200         test_accumulated is a test for the template signal<>::accumulated<>
1201         at the same time showing the use of accumulators in libsigc++2.
1202
1203         * Offtopic: My note about binary sizes from 2003-02-10 is wrong.
1204         Stripped libsigc++2 test binaries are about 8-10k in size.
1205
1206 2003-03-05  Martin Schulze  <MHL.Schulze@t-online.de>
1207
1208         * sigc++/visit_each.h: BUGFIX in template specialization
1209         limit_derive_target<T_Target*,T_action>::with_type<false,T_type>:
1210         Add non-const overloads for static void execute_() avoiding
1211         compile time errors.
1212
1213 2003-02-16  Martin Schulze  <MHL.Schulze@t-online.de>
1214
1215         * tests/Makefile.am, tests/test_disconnect.cc:
1216         Add testcase with a mixed connection & disconnection sequence.
1217
1218 2003-02-16  Martin Schulze  <MHL.Schulze@t-online.de>
1219
1220         * sigc++/signal.cc: Bugfix in signal_base::insert():
1221         Set notification function in the newly created copy of
1222         slot_ rather than in slot_ itself.
1223
1224 2003-02-10  Martin Schulze  <MHL.Schulze@t-online.de>
1225
1226         * sigc++/signal.h.m4: Comment in typedefs for iterator types in
1227         the signal#<> class template. Make signal#<>::connect() return an
1228         iterator for convenience.
1229         (Note that the first change increases the binary size of
1230         tests/test_signal from 201k to 204k, the second change to 206k.)
1231
1232 2003-01-23  Murray Cumming  <murrayc@usa.net>
1233
1234         * sigc++/adaptors/lambda is disable temporarily (not built and
1235         not distributed) because it gets built before its parent
1236         directory, but #includes generated sources in the parent directory.
1237
1238 2003-01-22  Murray Cumming  <murrayc@usa.net>
1239
1240         * Added Andreas Rottman's example.
1241
1242 2003-01-22  Murray Cumming  <murrayc@usa.net>
1243
1244         * Applied Andreas Rottman's make dist fixes.
1245
1246 2003-01-14  Murray Cumming  <murrayc@usa.net>
1247
1248         * Added whitespace to make the code more readable.
1249