From 86be352e82f412a5e75e320cc45de054ab6c42ca Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Sun, 10 May 1998 07:44:43 +0000 Subject: [PATCH] bugfixes, cleanups and macro reduction, nothing major though ;) --- ChangeLog | 12 ------------ ChangeLog.pre-2-0 | 12 ------------ ChangeLog.pre-2-10 | 12 ------------ ChangeLog.pre-2-2 | 12 ------------ ChangeLog.pre-2-4 | 12 ------------ ChangeLog.pre-2-6 | 12 ------------ ChangeLog.pre-2-8 | 12 ------------ NEWS | 8 ++++---- config.h.in | 9 ++++----- glib/ChangeLog | 10 ++++++++++ glib/glibconfig.h.in | 3 --- gtk/gtkfeatures.h | 19 ++++++------------- gtk/gtkfeatures.h.in | 21 +++++++-------------- 13 files changed, 31 insertions(+), 123 deletions(-) diff --git a/ChangeLog b/ChangeLog index a68e3b6c3..c6054ab30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,16 +4,6 @@ Sat May 9 20:11:20 1998 Owen Taylor is Digital Unix and we need -std1 to get the right prototypes. -Sat May 9 20:08:12 1998 Owen Taylor - - * glib/gmem.c: Experimentally restore GMemChunk - to its primeval state - where mem areas are - freed incrementally instead of searching the tree - every time a mem area is completely empty. Also, - always keep one mem chunk around. (Reduced calls - to malloc() a lot, but doesn't really improve - performance significiantly) - Fri May 8 21:31:50 1998 Owen Taylor * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the @@ -594,8 +584,6 @@ Wed Apr 15 20:42:46 1998 Owen Taylor the 'make dist' form of GTK+. (Dependency caused dependencies to be redone when BUILT_SOURCES changed) -========== - Thu Apr 30 11:18:00 1998 Owen Taylor * gtk/gtkcombo.[ch]: Allow the user to use the popup list diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index a68e3b6c3..c6054ab30 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -4,16 +4,6 @@ Sat May 9 20:11:20 1998 Owen Taylor is Digital Unix and we need -std1 to get the right prototypes. -Sat May 9 20:08:12 1998 Owen Taylor - - * glib/gmem.c: Experimentally restore GMemChunk - to its primeval state - where mem areas are - freed incrementally instead of searching the tree - every time a mem area is completely empty. Also, - always keep one mem chunk around. (Reduced calls - to malloc() a lot, but doesn't really improve - performance significiantly) - Fri May 8 21:31:50 1998 Owen Taylor * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the @@ -594,8 +584,6 @@ Wed Apr 15 20:42:46 1998 Owen Taylor the 'make dist' form of GTK+. (Dependency caused dependencies to be redone when BUILT_SOURCES changed) -========== - Thu Apr 30 11:18:00 1998 Owen Taylor * gtk/gtkcombo.[ch]: Allow the user to use the popup list diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a68e3b6c3..c6054ab30 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -4,16 +4,6 @@ Sat May 9 20:11:20 1998 Owen Taylor is Digital Unix and we need -std1 to get the right prototypes. -Sat May 9 20:08:12 1998 Owen Taylor - - * glib/gmem.c: Experimentally restore GMemChunk - to its primeval state - where mem areas are - freed incrementally instead of searching the tree - every time a mem area is completely empty. Also, - always keep one mem chunk around. (Reduced calls - to malloc() a lot, but doesn't really improve - performance significiantly) - Fri May 8 21:31:50 1998 Owen Taylor * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the @@ -594,8 +584,6 @@ Wed Apr 15 20:42:46 1998 Owen Taylor the 'make dist' form of GTK+. (Dependency caused dependencies to be redone when BUILT_SOURCES changed) -========== - Thu Apr 30 11:18:00 1998 Owen Taylor * gtk/gtkcombo.[ch]: Allow the user to use the popup list diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index a68e3b6c3..c6054ab30 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -4,16 +4,6 @@ Sat May 9 20:11:20 1998 Owen Taylor is Digital Unix and we need -std1 to get the right prototypes. -Sat May 9 20:08:12 1998 Owen Taylor - - * glib/gmem.c: Experimentally restore GMemChunk - to its primeval state - where mem areas are - freed incrementally instead of searching the tree - every time a mem area is completely empty. Also, - always keep one mem chunk around. (Reduced calls - to malloc() a lot, but doesn't really improve - performance significiantly) - Fri May 8 21:31:50 1998 Owen Taylor * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the @@ -594,8 +584,6 @@ Wed Apr 15 20:42:46 1998 Owen Taylor the 'make dist' form of GTK+. (Dependency caused dependencies to be redone when BUILT_SOURCES changed) -========== - Thu Apr 30 11:18:00 1998 Owen Taylor * gtk/gtkcombo.[ch]: Allow the user to use the popup list diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a68e3b6c3..c6054ab30 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -4,16 +4,6 @@ Sat May 9 20:11:20 1998 Owen Taylor is Digital Unix and we need -std1 to get the right prototypes. -Sat May 9 20:08:12 1998 Owen Taylor - - * glib/gmem.c: Experimentally restore GMemChunk - to its primeval state - where mem areas are - freed incrementally instead of searching the tree - every time a mem area is completely empty. Also, - always keep one mem chunk around. (Reduced calls - to malloc() a lot, but doesn't really improve - performance significiantly) - Fri May 8 21:31:50 1998 Owen Taylor * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the @@ -594,8 +584,6 @@ Wed Apr 15 20:42:46 1998 Owen Taylor the 'make dist' form of GTK+. (Dependency caused dependencies to be redone when BUILT_SOURCES changed) -========== - Thu Apr 30 11:18:00 1998 Owen Taylor * gtk/gtkcombo.[ch]: Allow the user to use the popup list diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a68e3b6c3..c6054ab30 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -4,16 +4,6 @@ Sat May 9 20:11:20 1998 Owen Taylor is Digital Unix and we need -std1 to get the right prototypes. -Sat May 9 20:08:12 1998 Owen Taylor - - * glib/gmem.c: Experimentally restore GMemChunk - to its primeval state - where mem areas are - freed incrementally instead of searching the tree - every time a mem area is completely empty. Also, - always keep one mem chunk around. (Reduced calls - to malloc() a lot, but doesn't really improve - performance significiantly) - Fri May 8 21:31:50 1998 Owen Taylor * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the @@ -594,8 +584,6 @@ Wed Apr 15 20:42:46 1998 Owen Taylor the 'make dist' form of GTK+. (Dependency caused dependencies to be redone when BUILT_SOURCES changed) -========== - Thu Apr 30 11:18:00 1998 Owen Taylor * gtk/gtkcombo.[ch]: Allow the user to use the popup list diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a68e3b6c3..c6054ab30 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -4,16 +4,6 @@ Sat May 9 20:11:20 1998 Owen Taylor is Digital Unix and we need -std1 to get the right prototypes. -Sat May 9 20:08:12 1998 Owen Taylor - - * glib/gmem.c: Experimentally restore GMemChunk - to its primeval state - where mem areas are - freed incrementally instead of searching the tree - every time a mem area is completely empty. Also, - always keep one mem chunk around. (Reduced calls - to malloc() a lot, but doesn't really improve - performance significiantly) - Fri May 8 21:31:50 1998 Owen Taylor * gtk/gtkwidget.c (gtk_widget_queue_draw): Free the @@ -594,8 +584,6 @@ Wed Apr 15 20:42:46 1998 Owen Taylor the 'make dist' form of GTK+. (Dependency caused dependencies to be redone when BUILT_SOURCES changed) -========== - Thu Apr 30 11:18:00 1998 Owen Taylor * gtk/gtkcombo.[ch]: Allow the user to use the popup list diff --git a/NEWS b/NEWS index 81bbfc625..5754d8fb0 100644 --- a/NEWS +++ b/NEWS @@ -3,11 +3,11 @@ Overview of Changes in GTK+ 1.1.0: * Significant speedups to widget creation and destruction through caching colormap and visual queries to the XServer. * Speedups for type creation and especially gtk_type_is_a() checks. -* Speedups in signal lookup and creation and especaially with signal - emissions. -* Minor speedups with object data allocation and destruction. +* Speedups in signal lookup, creation and emissions and connection handling. +* Additions to the signal handling API (e.g. *_emitv). +* Minor speedups with object data allocation and destruction. * Newly included file gtkfeatures.h which defines compatibility macros to - test for certain API features upon program compilation. + test for certain API features upon program compilation. * New widget GtkCTree * Upgrade to libtool-1.2 * Lots of bug fixes, including one that fixed a major memory leak diff --git a/config.h.in b/config.h.in index 5b9bc422c..c606837d5 100644 --- a/config.h.in +++ b/config.h.in @@ -22,6 +22,10 @@ #undef HAVE_SHAPE_EXT #undef HAVE_SYS_SELECT_H +/* some systems do not allow to ipcrm pages prior to + * actual usage, namely: OSF1 V3.2, SunOS 4.1.1, 5.5, 5.5.1, 5.6, + * IRIX 5.2 and 6.2. + */ #undef IPC_RMID_DEFERRED_RELEASE #undef NO_FD_SET @@ -32,11 +36,6 @@ #undef XINPUT_GXI #undef XINPUT_XFREE -#undef GTK_MAJOR_VERSION -#undef GTK_MINOR_VERSION -#undef GTK_MICRO_VERSION -#undef GTK_VERSION - /* Define as the return type of signal handlers (int or void). */ #undef RETSIGTYPE diff --git a/glib/ChangeLog b/glib/ChangeLog index 5a0668af5..c4d8d4ff3 100644 --- a/glib/ChangeLog +++ b/glib/ChangeLog @@ -1,3 +1,13 @@ +Sat May 9 20:08:12 1998 Owen Taylor + + * glib/gmem.c: Experimentally restore GMemChunk + to its primeval state - where mem areas are + freed incrementally instead of searching the tree + every time a mem area is completely empty. Also, + always keep one mem chunk around. (Reduced calls + to malloc() a lot, but doesn't really improve + performance significiantly) + Thu May 7 08:17:28 1998 Tim Janik * glib.h (G_GNUC_PRINTF): diff --git a/glib/glibconfig.h.in b/glib/glibconfig.h.in index 4d4ad2dc7..8fae1ffb7 100644 --- a/glib/glibconfig.h.in +++ b/glib/glibconfig.h.in @@ -35,9 +35,6 @@ #undef NO_SYS_ERRLIST #undef NO_SYS_SIGLIST -/* #undef PACKAGE */ -/* #undef VERSION */ - /* The number of bytes in a char. */ #undef SIZEOF_CHAR diff --git a/gtk/gtkfeatures.h b/gtk/gtkfeatures.h index c4d051c56..a1cc0db01 100644 --- a/gtk/gtkfeatures.h +++ b/gtk/gtkfeatures.h @@ -25,30 +25,23 @@ extern "C" { #pragma } #endif /* __cplusplus */ + /* compile time version */ #define GTK_MAJOR_VERSION (1) #define GTK_MINOR_VERSION (1) #define GTK_MICRO_VERSION (0) -/* new functions gtk_container_set_focus_vadjustment() and - * gtk_container_set_focus_hadjustment(). +/* new gtk_container_set_focus_[hv]adjustment() */ #define GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS 1-0-1 -/* new macros for checking of class types - */ -#define GTK_HAVE_IS_CLASS 1-1-0 - -/* export the gtk_signal_init() function - * new gtk_signal_n_emissions*() functions +/* newly exported gtk_signal_init() + * new gtk_signal_n_emissions*() * "signal-name" is now an alias for "signal_name" - * new gtk_signal_emitv*() interface + * new gtk_signal_emitv*() */ -#define GTK_HAVE_SIGNAL_INIT 1-1-0 -#define GTK_HAVE_N_EMISSIONS 1-1-0 -#define GTK_HAVE_SIGNAL_LISP_SYNTAX 1-1-0 -#define GTK_HAVE_SIGNAL_EMITV 1-1-0 +#define GTK_HAVE_SIGNAL_INIT 1-0-2 diff --git a/gtk/gtkfeatures.h.in b/gtk/gtkfeatures.h.in index 5c06eeb7d..ecf1d2c3f 100644 --- a/gtk/gtkfeatures.h.in +++ b/gtk/gtkfeatures.h.in @@ -25,30 +25,23 @@ extern "C" { #pragma } #endif /* __cplusplus */ + /* compile time version */ #define GTK_MAJOR_VERSION (@GTK_MAJOR_VERSION@) -#define GTK_MINOR_VERSION (@GTK_MAJOR_VERSION@) +#define GTK_MINOR_VERSION (@GTK_MINOR_VERSION@) #define GTK_MICRO_VERSION (@GTK_MICRO_VERSION@) -/* new functions gtk_container_set_focus_vadjustment() and - * gtk_container_set_focus_hadjustment(). +/* new gtk_container_set_focus_[hv]adjustment() */ #define GTK_HAVE_CONTAINER_FOCUS_ADJUSTMENTS 1-0-1 -/* new macros for checking of class types - */ -#define GTK_HAVE_IS_CLASS 1-1-0 - -/* export the gtk_signal_init() function - * new gtk_signal_n_emissions*() functions +/* newly exported gtk_signal_init() + * new gtk_signal_n_emissions*() * "signal-name" is now an alias for "signal_name" - * new gtk_signal_emitv*() interface + * new gtk_signal_emitv*() */ -#define GTK_HAVE_SIGNAL_INIT 1-1-0 -#define GTK_HAVE_N_EMISSIONS 1-1-0 -#define GTK_HAVE_SIGNAL_LISP_SYNTAX 1-1-0 -#define GTK_HAVE_SIGNAL_EMITV 1-1-0 +#define GTK_HAVE_SIGNAL_INIT 1-0-2 -- 2.43.2