2005-06-02 20:54:45 GMT Andreas Rottmann patch-6 Summary: added Steven brown to THANKS file Revision: libsigcx--dev--0--patch-6 added Steven brown to THANKS file new files: .arch-ids/THANKS.id THANKS 2005-06-02 20:53:38 GMT Andreas Rottmann patch-5 Summary: fix for cross-compliation (AC_TRY_RUN) (Steven Brown) Revision: libsigcx--dev--0--patch-5 fix for cross-compliation (AC_TRY_RUN) (Steven Brown) modified files: scripts/macros.m4 2005-06-02 20:50:21 GMT Andreas Rottmann patch-4 Summary: fix test compilation on newer GCCs (idea from Steven Brown) Revision: libsigcx--dev--0--patch-4 fix test compilation on newer GCCs (idea from Steven Brown) modified files: sigcx/macros/tunnel.h.m4 2005-06-02 20:40:00 GMT Andreas Rottmann patch-3 Summary: fix "make dist" (Steven Brown) Revision: libsigcx--dev--0--patch-3 fix "make dist" (Steven Brown) modified files: Makefile.am scripts/Makefile.am 2005-04-10 19:58:29 GMT Andreas Rottmann patch-2 Summary: cygwin fixes by Steven Brown Revision: libsigcx--dev--0--patch-2 2005-04-10 Steven Brown * configure.ac: Capture the SigC++ macro path at configure time as SIGC_MACROS rather than at make time in case the PKG_CONFIG_PATH environment variable was only available during configure. * sigcx/Makefile.am: Add -no-undefined to the LDFLAGS of the shared libraries as Windows DLLs can't deal with undefined symbols - sigcx doesn't depend on having them, anyway. Change the build of bind3.h to use SIGC_MACROS. Remove custom CXXLINK as it was preventing libtools that don't use --tag from working via autogen.sh (E.g., 1.4.x on Debian Woody). From the comment on it, it sounds like it was an attempt to work around a bug with automake in conjunction with libtool 1.5 that no longer exists. * sigcx/dispatch.cc: Add headers required for select() that were missing, causing issues on Cygwin. modified files: ChangeLog configure.ac sigcx/Makefile.am sigcx/dispatch.cc 2005-04-10 16:39:13 GMT Andreas Rottmann patch-1 Summary: .arch-inventory/=tagging-method update, stale libtool.m4 removed Revision: libsigcx--dev--0--patch-1 .arch-inventory/=tagging-method update, stale libtool.m4 removed removed files: scripts/.arch-ids/libtool.m4.id scripts/libtool.m4 modified files: scripts/.arch-inventory {arch}/=tagging-method 2005-04-10 Steven Brown * configure.ac: Capture the SigC++ macro path at configure time as SIGC_MACROS rather than at make time in case the PKG_CONFIG_PATH environment variable was only available during configure. * sigcx/Makefile.am: Add -no-undefined to the LDFLAGS of the shared libraries as Windows DLLs can't deal with undefined symbols - sigcx doesn't depend on having them, anyway. Change the build of bind3.h to use SIGC_MACROS. Remove custom CXXLINK as it was preventing libtools that don't use --tag from working via autogen.sh (E.g., 1.4.x on Debian Woody). From the comment on it, it sounds like it was an attempt to work around a bug with automake in conjunction with libtool 1.5 that no longer exists. * sigcx/dispatch.cc: Add headers required for select() that were missing, causing issues on Cygwin. 2004-10-16 Andreas Rottmann * README (Abstract): New section. * sigcx/Makefile.am (libsigcx_0_6_la_LDFLAGS): Bump version info, resulting in new SONAME, see changes from 2003-07-20. 2004-10-08 Andreas Rottmann * sigcx/gtk_dispatch.cc (timer_callback): Invoke callback before removing the vent (fixes bug reported by Klaus Triendl, thanks). 2003-07-20 Andreas Rottmann * sigcx/thread_tunnel.cc, sigcx/thread_tunnel.h (callbacks_pending): Implemented. * sigcx/macros/tunnel.h.m4 (callbacks_pending): New pure virtual method. 2003-06-03 Andreas Rottmann * configure.ac: Bumped version to 0.6.4. * NEWS: Added news for 0.6.4. * doc/index.doxy: Include the gtkmm example. * examples/gtkmm_example.cc: More comments, and make SIGINT print message and exit. * examples/Makefile.am: Split gtkmm_example rules into compile and link. 2003-04-27 Andreas Rottmann * examples/Makefile.am (gtkmm_example): Use $(CXXFLAGS). * examples/gtkmm_example.cc (~MyWindow): drain my_tunnel_ before finishing threads. * sigcx/dispatch.cc (SignalDispatcher::signal_handler): Unlock during callback invokation. * sigcx/thread_tunnel.cc (ThreadTunnel::send): Fixed waiting for sync callback. * sigcx/macros/tunnel.h.m4 (Tunnel::drain): New method. * sigcx/thread_tunnel.h, sigcx/thread_tunnel.cc: Implemented drain(). 2003-04-24 Andreas Rottmann * sigcx/Makefile.am (libsigcx_0_6_la_LDFLAGS): -version-info="2:0:0". * sigcx/timeval.h (TimeVal): Lots of const fixes. * sigcx/timeval.h (TimeVal::operator+): Silly typo fix. * sigcx/timeval.h, sigcx/timeval.cc: Some small enhancements to make code more C++ish. * dispatch.h (StandardDispatcher), * sigcx/dispatch.cc (StandardDispatcher::run): Switch to a faster timeout handler implementation. (StandardDispatcher::remove): Speed fix. * examples/README: New file. * tests/timeval_test.cc: New test for TimeVal. * tests/Makefile.am: Adapted. * examples/gtkmm_example.cc: New example; showing interaction with gtkmm. * examples/Makefile.am: Added rule for gtkmm_example; not executed by default. 2003-04-23 Andreas Rottmann * sigcx/dispatch.h, sigcx/dispatch.cc (SignalDispatcher): Set prev_handler correctly in SignalEvent instances (fixes segfault). * sigcx/thread.h, sigcx/thread.cc (Thread): Added static yield() method. Implemented in all backends. 2003-04-22 Andreas Rottmann * sigcx/Makefile.am (CXXLINK): Overriding this for using libtool 1.5 --tag=CXX (this makes libtool link with g++). * configure.ac: Bumped version to 0.6.3. Fixed strerror_r check. * NEWS: Added news for 0.6.3. * scripts/Makefile.am (EXTRA_DIST): Added libtool.m4. * scripts/libtool.m4: New file (from libtool 1.5). 2003-04-15 Andreas Rottmann * configure.ac: Bumped version to 0.6.2. * NEWS: Added news for 0.6.2. * tests/x_thread_test.cc: Also test exception safety of dispatcher. * README: Added a bit of inforamtion to help users get started. * sigcx/thread_tunnel.h: Remove SIGCX_THREADS #ifdefs. * sigcx/thread_tunnel.cc: Use the guard classes. (handle_input): Is now exception-safe. * sigcx/Makefile.am: Bumped -version-info. * sigcx/macros/tunnel.h.m4 (TunnelCallback#): Renamed static `tunnel' method to `pack_n_tunnel', to avoid potential ambiguties. * sigcx/dispatch.h, sigcx/gtk_dispatch.h: Remove SIGCX_THREADS #ifdefs. * sigcx/dispatch.cc, sigcx/gtk_dispatch.cc: Use the new Guard class. * sigcx/thread.h (Guard, sigcx/UnGuard): New classes (scoped locking). 2003-04-14 Andreas Rottmann * sigcx/thread-pthreads.h, sigcx/thread-pthreads.c: Use pthread API directly for self(), to be more efficent and avoid the global static Private instance. * sigcx/util.cc: Added #include "config.h". * sigcx/util.cc (errno_string): Remove mutex locking, since it is useless if we are not the only library calling strerror(). * sigcx/macros/tunnel.h.m4 (open_tunnel): Default sync argument to false. * examples/hello_world.cc (main): Also show use of open_tunnel(). * doc/index.doxy: Updated. * examples/Makefile.am (hello_world_LDADD): Fixed @SIGC_RELEASE@ reference. (INCLUDES): Renamed to AM_CPPFLAGS. * configure.ac: Added missing strerror_r check. 2003-04-13 Andreas Rottmann * doc/Makefile.am: Fixed removal of old doc files. * configure.ac: Bumped version to 0.6.1. * scripts/macros.m4 (AC_CHECK_DOXYGEN): Now sets $DOXYGEN instead of $doxygen. * configure.ac (MAYBE_DOC): AC_SUBST'ed. Is "doc" if DOXYGEN is available, empty otherwise. * Makefile.am (SUBDIRS): Build doc conditionally. * doc/Makefile.am: We know now that $(DOXYGEN) is set. * doc/index.doxy: Fixes in the `Starting' Page. 2003-03-16 Andreas Rottmann * configure.ac: Bumped version to 0.6.0. (SIGCX_DEVBRANCH): Bump to 0.6. * scripts/pthread.m4 (PTHREAD_CFLAGS): -D_REENTRANT is correct, not -DREENTRANT. * sigcx/Makefile.am: Adapted for 0.6 branch. 2003-01-22 Andreas Rottmann * Makefile.am (CLEANFILES): Move sigcxconfig.h to DISTCLEANFILES. 2003-01-12 Andreas Rottmann * configure.ac: Bumped version to 0.5.8. * NEWS: Removed Yehia cruft, replaced with some current information. * sigcx/Makefile.am (libsigcx_0_5_la_LDFLAGS): Updated -version-info. 2002-12-31 Andreas Rottmann * sigcx/macros/Makefile.am (m4includedir): Fixed reference to @SIGCX_RELEASE@. * sigcx/sigcx-0.6.pc.in (branch, sigcx/devbranch): New variables. * sigcx/sigcx-0.6-gtk+.pc.in (Requires): Fixed sigcx dependency. * configure.ac: Bumped version to 0.5.7. 2002-12-26 Andreas Rottmann * tests/signal_handler_test.cc: Adapted for new dispatcher interface (slots instead of callback objects). * configure.ac, Makefile.am, doc/Makefile.am: Use name of next stable branch for pkg-config files and current (maybe unstable) branch name for shared libs and directory names. * scripts/pthread.m4: Set HAVE_PTHREAD. * sigcx/macros/tunnel.h.m4: Compiler warning fix. * sigcx/Makefile.am: Use name of next stable branch for pkg-config files and current (maybe unstable) branch name for shared libs and directory names. 2002-10-28 Andreas Rottmann * sigcx/dispatch.h (Dispatcher): changed method add_timeout_handler(const Handler, unsigned long) to accept milli- instead of microseconds. * sigcx/dispatch.cc (Dispatcher::run): Fixed calculation of timeout. 2002-10-24 Andreas Rottmann * sigcx/util.cc, sigcx/util.h: New files. (errno_string) New function. * sigcx/Makefile.am: Added util.h and util.cc. * sigcx/dispatch.h, sigcx/dispatch.cc (Dispatcher): Handler adding methods return now handler IDs for removal, remove accepts such IDs. Callback slots now have zero arguments. * sigcx/gtk_dispatch.h, sigcx/gtk_dispatch.cc: Adapted accordingly. * sigcx/thread_tunnel.h, sigcx/thread_tunnel.cc: Ditto. (ThreadTunnel) Use errno_string() for FatalError.