diff --git a/ChangeLog b/ChangeLog index 980e20b489..3e3c04b13c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Tue Mar 10 05:30:05 1998 Tim Janik + + * gtk/gtkrange.h: + * gtk/gtkrange.c: + changed gtk_range_trough_click() to take an additional jump_perc arg, + class method and callers changed. + +Tue Mar 10 05:25:10 1998 Tim Janik + + * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz + which fixes a memory leak. + Mon Mar 9 20:38:15 1998 Owen Taylor * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: @@ -1260,11 +1272,46 @@ Mon Feb 2 04:15:08 1998 Tim Janik is destroyed. didn't include this before removal of the above mentioned bug. -Sat Jan 31 23:55:03 1998 Tim Janik +Sat Jan 31 21:26:27 1998 Owen Taylor - * ChangeLog entry for Friday (incorporation of Marius Vollmer's - reference counting revolution, plus various fixups and additions - from myself). + * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised + gtk_widget_reparent so that the child would not be unrealized + unnecessarily. Changed gtk_widget_unrealize () to recursively + unrealize the children (since the child windows will be + destroyed too.) + +Sat Jan 31 00:05:34 PST 1998 Manish Singh + + * gtk/gtkcombo.c: changed to use g_strcasecmp + * gtk/gtkobject.c: #include for atexit + +Sat Jan 31 00:13:33 1998 Owen Taylor + + * gtk/gtkstyle.c: Backed out change to close polygons + since it caused problems for the Notebook. + +Fri Jan 30 22:28:09 1998 Owen Taylor + + * gtk/gtkclist.{c,h}: + - Conformity to new reference counting schemes + - Font and color information is no-longer taken from + the (possibly unitialized) style before the widget + is realized, but is obtained when needed. (Fixes + problems with non-default styles) + - white_gc => base_gc where appropriate + - Handle graphics expose events correctly (or as + correctly as anywhere else) so that scrolling when + overlapped works. + +Fri Jan 30 21:32:11 1998 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object + flags, augment them. (Otherwise we'll clear the FLOATING flag) + +Fri Jan 30 23:55:03 1998 Tim Janik + + * Incorporation of Marius Vollmer's reference counting revolution, + plus various fixups and additions from myself. * gdk/gdk.h: * gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref. @@ -1378,42 +1425,6 @@ Sat Jan 31 23:55:03 1998 Tim Janik * gtk/testgtk.c: some changes because of all the above ;) -Sat Jan 31 21:26:27 1998 Owen Taylor - - * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised - gtk_widget_reparent so that the child would not be unrealized - unnecessarily. Changed gtk_widget_unrealize () to recursively - unrealize the children (since the child windows will be - destroyed too.) - -Sat Jan 31 00:05:34 PST 1998 Manish Singh - - * gtk/gtkcombo.c: changed to use g_strcasecmp - * gtk/gtkobject.c: #include for atexit - -Sat Jan 31 00:13:33 1998 Owen Taylor - - * gtk/gtkstyle.c: Backed out change to close polygons - since it caused problems for the Notebook. - -Fri Jan 30 22:28:09 1998 Owen Taylor - - * gtk/gtkclist.{c,h}: - - Conformity to new reference counting schemes - - Font and color information is no-longer taken from - the (possibly unitialized) style before the widget - is realized, but is obtained when needed. (Fixes - problems with non-default styles) - - white_gc => base_gc where appropriate - - Handle graphics expose events correctly (or as - correctly as anywhere else) so that scrolling when - overlapped works. - -Fri Jan 30 21:32:11 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object - flags, augment them. (Otherwise we'll clear the FLOATING flag) - Fri Jan 30 17:41:06 1998 George Lebl * gtk/gtktable.c: fixed round-off error in calculation diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 980e20b489..3e3c04b13c 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,15 @@ +Tue Mar 10 05:30:05 1998 Tim Janik + + * gtk/gtkrange.h: + * gtk/gtkrange.c: + changed gtk_range_trough_click() to take an additional jump_perc arg, + class method and callers changed. + +Tue Mar 10 05:25:10 1998 Tim Janik + + * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz + which fixes a memory leak. + Mon Mar 9 20:38:15 1998 Owen Taylor * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: @@ -1260,11 +1272,46 @@ Mon Feb 2 04:15:08 1998 Tim Janik is destroyed. didn't include this before removal of the above mentioned bug. -Sat Jan 31 23:55:03 1998 Tim Janik +Sat Jan 31 21:26:27 1998 Owen Taylor - * ChangeLog entry for Friday (incorporation of Marius Vollmer's - reference counting revolution, plus various fixups and additions - from myself). + * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised + gtk_widget_reparent so that the child would not be unrealized + unnecessarily. Changed gtk_widget_unrealize () to recursively + unrealize the children (since the child windows will be + destroyed too.) + +Sat Jan 31 00:05:34 PST 1998 Manish Singh + + * gtk/gtkcombo.c: changed to use g_strcasecmp + * gtk/gtkobject.c: #include for atexit + +Sat Jan 31 00:13:33 1998 Owen Taylor + + * gtk/gtkstyle.c: Backed out change to close polygons + since it caused problems for the Notebook. + +Fri Jan 30 22:28:09 1998 Owen Taylor + + * gtk/gtkclist.{c,h}: + - Conformity to new reference counting schemes + - Font and color information is no-longer taken from + the (possibly unitialized) style before the widget + is realized, but is obtained when needed. (Fixes + problems with non-default styles) + - white_gc => base_gc where appropriate + - Handle graphics expose events correctly (or as + correctly as anywhere else) so that scrolling when + overlapped works. + +Fri Jan 30 21:32:11 1998 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object + flags, augment them. (Otherwise we'll clear the FLOATING flag) + +Fri Jan 30 23:55:03 1998 Tim Janik + + * Incorporation of Marius Vollmer's reference counting revolution, + plus various fixups and additions from myself. * gdk/gdk.h: * gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref. @@ -1378,42 +1425,6 @@ Sat Jan 31 23:55:03 1998 Tim Janik * gtk/testgtk.c: some changes because of all the above ;) -Sat Jan 31 21:26:27 1998 Owen Taylor - - * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised - gtk_widget_reparent so that the child would not be unrealized - unnecessarily. Changed gtk_widget_unrealize () to recursively - unrealize the children (since the child windows will be - destroyed too.) - -Sat Jan 31 00:05:34 PST 1998 Manish Singh - - * gtk/gtkcombo.c: changed to use g_strcasecmp - * gtk/gtkobject.c: #include for atexit - -Sat Jan 31 00:13:33 1998 Owen Taylor - - * gtk/gtkstyle.c: Backed out change to close polygons - since it caused problems for the Notebook. - -Fri Jan 30 22:28:09 1998 Owen Taylor - - * gtk/gtkclist.{c,h}: - - Conformity to new reference counting schemes - - Font and color information is no-longer taken from - the (possibly unitialized) style before the widget - is realized, but is obtained when needed. (Fixes - problems with non-default styles) - - white_gc => base_gc where appropriate - - Handle graphics expose events correctly (or as - correctly as anywhere else) so that scrolling when - overlapped works. - -Fri Jan 30 21:32:11 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object - flags, augment them. (Otherwise we'll clear the FLOATING flag) - Fri Jan 30 17:41:06 1998 George Lebl * gtk/gtktable.c: fixed round-off error in calculation diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 980e20b489..3e3c04b13c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,15 @@ +Tue Mar 10 05:30:05 1998 Tim Janik + + * gtk/gtkrange.h: + * gtk/gtkrange.c: + changed gtk_range_trough_click() to take an additional jump_perc arg, + class method and callers changed. + +Tue Mar 10 05:25:10 1998 Tim Janik + + * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz + which fixes a memory leak. + Mon Mar 9 20:38:15 1998 Owen Taylor * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: @@ -1260,11 +1272,46 @@ Mon Feb 2 04:15:08 1998 Tim Janik is destroyed. didn't include this before removal of the above mentioned bug. -Sat Jan 31 23:55:03 1998 Tim Janik +Sat Jan 31 21:26:27 1998 Owen Taylor - * ChangeLog entry for Friday (incorporation of Marius Vollmer's - reference counting revolution, plus various fixups and additions - from myself). + * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised + gtk_widget_reparent so that the child would not be unrealized + unnecessarily. Changed gtk_widget_unrealize () to recursively + unrealize the children (since the child windows will be + destroyed too.) + +Sat Jan 31 00:05:34 PST 1998 Manish Singh + + * gtk/gtkcombo.c: changed to use g_strcasecmp + * gtk/gtkobject.c: #include for atexit + +Sat Jan 31 00:13:33 1998 Owen Taylor + + * gtk/gtkstyle.c: Backed out change to close polygons + since it caused problems for the Notebook. + +Fri Jan 30 22:28:09 1998 Owen Taylor + + * gtk/gtkclist.{c,h}: + - Conformity to new reference counting schemes + - Font and color information is no-longer taken from + the (possibly unitialized) style before the widget + is realized, but is obtained when needed. (Fixes + problems with non-default styles) + - white_gc => base_gc where appropriate + - Handle graphics expose events correctly (or as + correctly as anywhere else) so that scrolling when + overlapped works. + +Fri Jan 30 21:32:11 1998 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object + flags, augment them. (Otherwise we'll clear the FLOATING flag) + +Fri Jan 30 23:55:03 1998 Tim Janik + + * Incorporation of Marius Vollmer's reference counting revolution, + plus various fixups and additions from myself. * gdk/gdk.h: * gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref. @@ -1378,42 +1425,6 @@ Sat Jan 31 23:55:03 1998 Tim Janik * gtk/testgtk.c: some changes because of all the above ;) -Sat Jan 31 21:26:27 1998 Owen Taylor - - * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised - gtk_widget_reparent so that the child would not be unrealized - unnecessarily. Changed gtk_widget_unrealize () to recursively - unrealize the children (since the child windows will be - destroyed too.) - -Sat Jan 31 00:05:34 PST 1998 Manish Singh - - * gtk/gtkcombo.c: changed to use g_strcasecmp - * gtk/gtkobject.c: #include for atexit - -Sat Jan 31 00:13:33 1998 Owen Taylor - - * gtk/gtkstyle.c: Backed out change to close polygons - since it caused problems for the Notebook. - -Fri Jan 30 22:28:09 1998 Owen Taylor - - * gtk/gtkclist.{c,h}: - - Conformity to new reference counting schemes - - Font and color information is no-longer taken from - the (possibly unitialized) style before the widget - is realized, but is obtained when needed. (Fixes - problems with non-default styles) - - white_gc => base_gc where appropriate - - Handle graphics expose events correctly (or as - correctly as anywhere else) so that scrolling when - overlapped works. - -Fri Jan 30 21:32:11 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object - flags, augment them. (Otherwise we'll clear the FLOATING flag) - Fri Jan 30 17:41:06 1998 George Lebl * gtk/gtktable.c: fixed round-off error in calculation diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 980e20b489..3e3c04b13c 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,15 @@ +Tue Mar 10 05:30:05 1998 Tim Janik + + * gtk/gtkrange.h: + * gtk/gtkrange.c: + changed gtk_range_trough_click() to take an additional jump_perc arg, + class method and callers changed. + +Tue Mar 10 05:25:10 1998 Tim Janik + + * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz + which fixes a memory leak. + Mon Mar 9 20:38:15 1998 Owen Taylor * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: @@ -1260,11 +1272,46 @@ Mon Feb 2 04:15:08 1998 Tim Janik is destroyed. didn't include this before removal of the above mentioned bug. -Sat Jan 31 23:55:03 1998 Tim Janik +Sat Jan 31 21:26:27 1998 Owen Taylor - * ChangeLog entry for Friday (incorporation of Marius Vollmer's - reference counting revolution, plus various fixups and additions - from myself). + * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised + gtk_widget_reparent so that the child would not be unrealized + unnecessarily. Changed gtk_widget_unrealize () to recursively + unrealize the children (since the child windows will be + destroyed too.) + +Sat Jan 31 00:05:34 PST 1998 Manish Singh + + * gtk/gtkcombo.c: changed to use g_strcasecmp + * gtk/gtkobject.c: #include for atexit + +Sat Jan 31 00:13:33 1998 Owen Taylor + + * gtk/gtkstyle.c: Backed out change to close polygons + since it caused problems for the Notebook. + +Fri Jan 30 22:28:09 1998 Owen Taylor + + * gtk/gtkclist.{c,h}: + - Conformity to new reference counting schemes + - Font and color information is no-longer taken from + the (possibly unitialized) style before the widget + is realized, but is obtained when needed. (Fixes + problems with non-default styles) + - white_gc => base_gc where appropriate + - Handle graphics expose events correctly (or as + correctly as anywhere else) so that scrolling when + overlapped works. + +Fri Jan 30 21:32:11 1998 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object + flags, augment them. (Otherwise we'll clear the FLOATING flag) + +Fri Jan 30 23:55:03 1998 Tim Janik + + * Incorporation of Marius Vollmer's reference counting revolution, + plus various fixups and additions from myself. * gdk/gdk.h: * gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref. @@ -1378,42 +1425,6 @@ Sat Jan 31 23:55:03 1998 Tim Janik * gtk/testgtk.c: some changes because of all the above ;) -Sat Jan 31 21:26:27 1998 Owen Taylor - - * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised - gtk_widget_reparent so that the child would not be unrealized - unnecessarily. Changed gtk_widget_unrealize () to recursively - unrealize the children (since the child windows will be - destroyed too.) - -Sat Jan 31 00:05:34 PST 1998 Manish Singh - - * gtk/gtkcombo.c: changed to use g_strcasecmp - * gtk/gtkobject.c: #include for atexit - -Sat Jan 31 00:13:33 1998 Owen Taylor - - * gtk/gtkstyle.c: Backed out change to close polygons - since it caused problems for the Notebook. - -Fri Jan 30 22:28:09 1998 Owen Taylor - - * gtk/gtkclist.{c,h}: - - Conformity to new reference counting schemes - - Font and color information is no-longer taken from - the (possibly unitialized) style before the widget - is realized, but is obtained when needed. (Fixes - problems with non-default styles) - - white_gc => base_gc where appropriate - - Handle graphics expose events correctly (or as - correctly as anywhere else) so that scrolling when - overlapped works. - -Fri Jan 30 21:32:11 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object - flags, augment them. (Otherwise we'll clear the FLOATING flag) - Fri Jan 30 17:41:06 1998 George Lebl * gtk/gtktable.c: fixed round-off error in calculation diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 980e20b489..3e3c04b13c 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,15 @@ +Tue Mar 10 05:30:05 1998 Tim Janik + + * gtk/gtkrange.h: + * gtk/gtkrange.c: + changed gtk_range_trough_click() to take an additional jump_perc arg, + class method and callers changed. + +Tue Mar 10 05:25:10 1998 Tim Janik + + * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz + which fixes a memory leak. + Mon Mar 9 20:38:15 1998 Owen Taylor * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: @@ -1260,11 +1272,46 @@ Mon Feb 2 04:15:08 1998 Tim Janik is destroyed. didn't include this before removal of the above mentioned bug. -Sat Jan 31 23:55:03 1998 Tim Janik +Sat Jan 31 21:26:27 1998 Owen Taylor - * ChangeLog entry for Friday (incorporation of Marius Vollmer's - reference counting revolution, plus various fixups and additions - from myself). + * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised + gtk_widget_reparent so that the child would not be unrealized + unnecessarily. Changed gtk_widget_unrealize () to recursively + unrealize the children (since the child windows will be + destroyed too.) + +Sat Jan 31 00:05:34 PST 1998 Manish Singh + + * gtk/gtkcombo.c: changed to use g_strcasecmp + * gtk/gtkobject.c: #include for atexit + +Sat Jan 31 00:13:33 1998 Owen Taylor + + * gtk/gtkstyle.c: Backed out change to close polygons + since it caused problems for the Notebook. + +Fri Jan 30 22:28:09 1998 Owen Taylor + + * gtk/gtkclist.{c,h}: + - Conformity to new reference counting schemes + - Font and color information is no-longer taken from + the (possibly unitialized) style before the widget + is realized, but is obtained when needed. (Fixes + problems with non-default styles) + - white_gc => base_gc where appropriate + - Handle graphics expose events correctly (or as + correctly as anywhere else) so that scrolling when + overlapped works. + +Fri Jan 30 21:32:11 1998 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object + flags, augment them. (Otherwise we'll clear the FLOATING flag) + +Fri Jan 30 23:55:03 1998 Tim Janik + + * Incorporation of Marius Vollmer's reference counting revolution, + plus various fixups and additions from myself. * gdk/gdk.h: * gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref. @@ -1378,42 +1425,6 @@ Sat Jan 31 23:55:03 1998 Tim Janik * gtk/testgtk.c: some changes because of all the above ;) -Sat Jan 31 21:26:27 1998 Owen Taylor - - * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised - gtk_widget_reparent so that the child would not be unrealized - unnecessarily. Changed gtk_widget_unrealize () to recursively - unrealize the children (since the child windows will be - destroyed too.) - -Sat Jan 31 00:05:34 PST 1998 Manish Singh - - * gtk/gtkcombo.c: changed to use g_strcasecmp - * gtk/gtkobject.c: #include for atexit - -Sat Jan 31 00:13:33 1998 Owen Taylor - - * gtk/gtkstyle.c: Backed out change to close polygons - since it caused problems for the Notebook. - -Fri Jan 30 22:28:09 1998 Owen Taylor - - * gtk/gtkclist.{c,h}: - - Conformity to new reference counting schemes - - Font and color information is no-longer taken from - the (possibly unitialized) style before the widget - is realized, but is obtained when needed. (Fixes - problems with non-default styles) - - white_gc => base_gc where appropriate - - Handle graphics expose events correctly (or as - correctly as anywhere else) so that scrolling when - overlapped works. - -Fri Jan 30 21:32:11 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object - flags, augment them. (Otherwise we'll clear the FLOATING flag) - Fri Jan 30 17:41:06 1998 George Lebl * gtk/gtktable.c: fixed round-off error in calculation diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 980e20b489..3e3c04b13c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,15 @@ +Tue Mar 10 05:30:05 1998 Tim Janik + + * gtk/gtkrange.h: + * gtk/gtkrange.c: + changed gtk_range_trough_click() to take an additional jump_perc arg, + class method and callers changed. + +Tue Mar 10 05:25:10 1998 Tim Janik + + * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz + which fixes a memory leak. + Mon Mar 9 20:38:15 1998 Owen Taylor * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: @@ -1260,11 +1272,46 @@ Mon Feb 2 04:15:08 1998 Tim Janik is destroyed. didn't include this before removal of the above mentioned bug. -Sat Jan 31 23:55:03 1998 Tim Janik +Sat Jan 31 21:26:27 1998 Owen Taylor - * ChangeLog entry for Friday (incorporation of Marius Vollmer's - reference counting revolution, plus various fixups and additions - from myself). + * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised + gtk_widget_reparent so that the child would not be unrealized + unnecessarily. Changed gtk_widget_unrealize () to recursively + unrealize the children (since the child windows will be + destroyed too.) + +Sat Jan 31 00:05:34 PST 1998 Manish Singh + + * gtk/gtkcombo.c: changed to use g_strcasecmp + * gtk/gtkobject.c: #include for atexit + +Sat Jan 31 00:13:33 1998 Owen Taylor + + * gtk/gtkstyle.c: Backed out change to close polygons + since it caused problems for the Notebook. + +Fri Jan 30 22:28:09 1998 Owen Taylor + + * gtk/gtkclist.{c,h}: + - Conformity to new reference counting schemes + - Font and color information is no-longer taken from + the (possibly unitialized) style before the widget + is realized, but is obtained when needed. (Fixes + problems with non-default styles) + - white_gc => base_gc where appropriate + - Handle graphics expose events correctly (or as + correctly as anywhere else) so that scrolling when + overlapped works. + +Fri Jan 30 21:32:11 1998 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object + flags, augment them. (Otherwise we'll clear the FLOATING flag) + +Fri Jan 30 23:55:03 1998 Tim Janik + + * Incorporation of Marius Vollmer's reference counting revolution, + plus various fixups and additions from myself. * gdk/gdk.h: * gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref. @@ -1378,42 +1425,6 @@ Sat Jan 31 23:55:03 1998 Tim Janik * gtk/testgtk.c: some changes because of all the above ;) -Sat Jan 31 21:26:27 1998 Owen Taylor - - * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised - gtk_widget_reparent so that the child would not be unrealized - unnecessarily. Changed gtk_widget_unrealize () to recursively - unrealize the children (since the child windows will be - destroyed too.) - -Sat Jan 31 00:05:34 PST 1998 Manish Singh - - * gtk/gtkcombo.c: changed to use g_strcasecmp - * gtk/gtkobject.c: #include for atexit - -Sat Jan 31 00:13:33 1998 Owen Taylor - - * gtk/gtkstyle.c: Backed out change to close polygons - since it caused problems for the Notebook. - -Fri Jan 30 22:28:09 1998 Owen Taylor - - * gtk/gtkclist.{c,h}: - - Conformity to new reference counting schemes - - Font and color information is no-longer taken from - the (possibly unitialized) style before the widget - is realized, but is obtained when needed. (Fixes - problems with non-default styles) - - white_gc => base_gc where appropriate - - Handle graphics expose events correctly (or as - correctly as anywhere else) so that scrolling when - overlapped works. - -Fri Jan 30 21:32:11 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object - flags, augment them. (Otherwise we'll clear the FLOATING flag) - Fri Jan 30 17:41:06 1998 George Lebl * gtk/gtktable.c: fixed round-off error in calculation diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 980e20b489..3e3c04b13c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,15 @@ +Tue Mar 10 05:30:05 1998 Tim Janik + + * gtk/gtkrange.h: + * gtk/gtkrange.c: + changed gtk_range_trough_click() to take an additional jump_perc arg, + class method and callers changed. + +Tue Mar 10 05:25:10 1998 Tim Janik + + * gdk/gdk.c (gdk_ic_destroy): applied gtk-gronlund-980309-1.patch.gz + which fixes a memory leak. + Mon Mar 9 20:38:15 1998 Owen Taylor * gtk/gtkentry.c gtk/gtkeditable.c gtk/gtkspinbutton.c: @@ -1260,11 +1272,46 @@ Mon Feb 2 04:15:08 1998 Tim Janik is destroyed. didn't include this before removal of the above mentioned bug. -Sat Jan 31 23:55:03 1998 Tim Janik +Sat Jan 31 21:26:27 1998 Owen Taylor - * ChangeLog entry for Friday (incorporation of Marius Vollmer's - reference counting revolution, plus various fixups and additions - from myself). + * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised + gtk_widget_reparent so that the child would not be unrealized + unnecessarily. Changed gtk_widget_unrealize () to recursively + unrealize the children (since the child windows will be + destroyed too.) + +Sat Jan 31 00:05:34 PST 1998 Manish Singh + + * gtk/gtkcombo.c: changed to use g_strcasecmp + * gtk/gtkobject.c: #include for atexit + +Sat Jan 31 00:13:33 1998 Owen Taylor + + * gtk/gtkstyle.c: Backed out change to close polygons + since it caused problems for the Notebook. + +Fri Jan 30 22:28:09 1998 Owen Taylor + + * gtk/gtkclist.{c,h}: + - Conformity to new reference counting schemes + - Font and color information is no-longer taken from + the (possibly unitialized) style before the widget + is realized, but is obtained when needed. (Fixes + problems with non-default styles) + - white_gc => base_gc where appropriate + - Handle graphics expose events correctly (or as + correctly as anywhere else) so that scrolling when + overlapped works. + +Fri Jan 30 21:32:11 1998 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object + flags, augment them. (Otherwise we'll clear the FLOATING flag) + +Fri Jan 30 23:55:03 1998 Tim Janik + + * Incorporation of Marius Vollmer's reference counting revolution, + plus various fixups and additions from myself. * gdk/gdk.h: * gdk/gdkgc.c: new functions gdk_gc_ref/gdk_gc_unref. @@ -1378,42 +1425,6 @@ Sat Jan 31 23:55:03 1998 Tim Janik * gtk/testgtk.c: some changes because of all the above ;) -Sat Jan 31 21:26:27 1998 Owen Taylor - - * gtk/gtkwidget.c: Added a new GTK_IN_REPARENT flag and revised - gtk_widget_reparent so that the child would not be unrealized - unnecessarily. Changed gtk_widget_unrealize () to recursively - unrealize the children (since the child windows will be - destroyed too.) - -Sat Jan 31 00:05:34 PST 1998 Manish Singh - - * gtk/gtkcombo.c: changed to use g_strcasecmp - * gtk/gtkobject.c: #include for atexit - -Sat Jan 31 00:13:33 1998 Owen Taylor - - * gtk/gtkstyle.c: Backed out change to close polygons - since it caused problems for the Notebook. - -Fri Jan 30 22:28:09 1998 Owen Taylor - - * gtk/gtkclist.{c,h}: - - Conformity to new reference counting schemes - - Font and color information is no-longer taken from - the (possibly unitialized) style before the widget - is realized, but is obtained when needed. (Fixes - problems with non-default styles) - - white_gc => base_gc where appropriate - - Handle graphics expose events correctly (or as - correctly as anywhere else) so that scrolling when - overlapped works. - -Fri Jan 30 21:32:11 1998 Owen Taylor - - * gtk/gtkwidget.c (gtk_widget_init): Don't replace the object - flags, augment them. (Otherwise we'll clear the FLOATING flag) - Fri Jan 30 17:41:06 1998 George Lebl * gtk/gtktable.c: fixed round-off error in calculation diff --git a/gdk/gdk.c b/gdk/gdk.c index 5f97e03472..16d43da2bf 100644 --- a/gdk/gdk.c +++ b/gdk/gdk.c @@ -3463,6 +3463,7 @@ gdk_ic_destroy (GdkIC ic) XDestroyIC (private->xic); xim_ic_list = g_list_remove (xim_ic_list, private); + g_free (private); } GdkIMStyle diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 5f97e03472..16d43da2bf 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -3463,6 +3463,7 @@ gdk_ic_destroy (GdkIC ic) XDestroyIC (private->xic); xim_ic_list = g_list_remove (xim_ic_list, private); + g_free (private); } GdkIMStyle diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 3de5142330..357fec1320 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -149,14 +149,16 @@ typedef enum GTK_SCROLL_STEP_BACKWARD, GTK_SCROLL_STEP_FORWARD, GTK_SCROLL_PAGE_BACKWARD, - GTK_SCROLL_PAGE_FORWARD + GTK_SCROLL_PAGE_FORWARD, + GTK_SCROLL_JUMP } GtkScrollType; typedef enum { GTK_TROUGH_NONE, GTK_TROUGH_START, - GTK_TROUGH_END + GTK_TROUGH_END, + GTK_TROUGH_JUMP } GtkTroughType; typedef enum diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 806e7a8135..0e939b7dc8 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -56,7 +56,8 @@ static gint gtk_range_focus_out (GtkWidget *widget, static void gtk_real_range_draw_trough (GtkRange *range); static void gtk_real_range_draw_slider (GtkRange *range); static gint gtk_real_range_timer (GtkRange *range); -static gint gtk_range_scroll (GtkRange *range); +static gint gtk_range_scroll (GtkRange *range, + gfloat jump_perc); static void gtk_range_add_timer (GtkRange *range); static void gtk_range_remove_timer (GtkRange *range); @@ -290,13 +291,14 @@ gtk_range_slider_update (GtkRange *range) gint gtk_range_trough_click (GtkRange *range, gint x, - gint y) + gint y, + gfloat *jump_perc) { g_return_val_if_fail (range != NULL, GTK_TROUGH_NONE); g_return_val_if_fail (GTK_IS_RANGE (range), GTK_TROUGH_NONE); if (RANGE_CLASS (range)->trough_click) - return (* RANGE_CLASS (range)->trough_click) (range, x, y); + return (* RANGE_CLASS (range)->trough_click) (range, x, y, jump_perc); return GTK_TROUGH_NONE; } @@ -382,7 +384,8 @@ gtk_range_default_vslider_update (GtkRange *range) gint gtk_range_default_htrough_click (GtkRange *range, gint x, - gint y) + gint y, + gfloat *jump_perc) { gint xthickness; gint ythickness; @@ -403,7 +406,14 @@ gtk_range_default_htrough_click (GtkRange *range, if ((x < (trough_width - xthickness) && (y < (trough_height - ythickness)))) { gdk_window_get_position (range->slider, &slider_x, NULL); + + if (jump_perc) + { + *jump_perc = ((double) x) / ((double) trough_width); + return GTK_TROUGH_JUMP; + } + if (x < slider_x) return GTK_TROUGH_START; else @@ -417,7 +427,8 @@ gtk_range_default_htrough_click (GtkRange *range, gint gtk_range_default_vtrough_click (GtkRange *range, gint x, - gint y) + gint y, + gfloat *jump_perc) { gint xthickness; gint ythickness; @@ -438,7 +449,14 @@ gtk_range_default_vtrough_click (GtkRange *range, if ((x < (trough_width - xthickness) && (y < (trough_height - ythickness)))) { gdk_window_get_position (range->slider, NULL, &slider_y); + + if (jump_perc) + { + *jump_perc = ((double) y) / ((double) trough_height); + return GTK_TROUGH_JUMP; + } + if (y < slider_y) return GTK_TROUGH_START; else @@ -723,6 +741,7 @@ gtk_range_button_press (GtkWidget *widget, { GtkRange *range; gint trough_part; + gfloat jump_perc; g_return_val_if_fail (widget != NULL, FALSE); g_return_val_if_fail (GTK_IS_RANGE (widget), FALSE); @@ -731,8 +750,9 @@ gtk_range_button_press (GtkWidget *widget, if (!GTK_WIDGET_HAS_FOCUS (widget)) gtk_widget_grab_focus (widget); + jump_perc = -1; range = GTK_RANGE (widget); - if (!range->button) + if (range->button == 0) { gtk_grab_add (widget); @@ -743,18 +763,24 @@ gtk_range_button_press (GtkWidget *widget, if (event->window == range->trough) { range->click_child = RANGE_CLASS (range)->trough; - - trough_part = gtk_range_trough_click (range, event->x, event->y); - + + if (range->button == 2) + trough_part = gtk_range_trough_click (range, event->x, event->y, &jump_perc); + else + trough_part = gtk_range_trough_click (range, event->x, event->y, NULL); + range->scroll_type = GTK_SCROLL_NONE; if (trough_part == GTK_TROUGH_START) range->scroll_type = GTK_SCROLL_PAGE_BACKWARD; else if (trough_part == GTK_TROUGH_END) range->scroll_type = GTK_SCROLL_PAGE_FORWARD; - + else if (trough_part == GTK_TROUGH_JUMP && + jump_perc >= 0 && jump_perc <= 1) + range->scroll_type = GTK_SCROLL_JUMP; + if (range->scroll_type != GTK_SCROLL_NONE) { - gtk_range_scroll (range); + gtk_range_scroll (range, jump_perc); gtk_range_add_timer (range); } } @@ -768,7 +794,7 @@ gtk_range_button_press (GtkWidget *widget, range->click_child = RANGE_CLASS (range)->step_forw; range->scroll_type = GTK_SCROLL_STEP_FORWARD; - gtk_range_scroll (range); + gtk_range_scroll (range, -1); gtk_range_add_timer (range); gtk_range_draw_step_forw (range); } @@ -777,7 +803,7 @@ gtk_range_button_press (GtkWidget *widget, range->click_child = RANGE_CLASS (range)->step_back; range->scroll_type = GTK_SCROLL_STEP_BACKWARD; - gtk_range_scroll (range); + gtk_range_scroll (range, -1); gtk_range_add_timer (range); gtk_range_draw_step_back (range); } @@ -915,7 +941,7 @@ gtk_range_key_press (GtkWidget *widget, if (scroll != GTK_SCROLL_NONE) { range->scroll_type = scroll; - gtk_range_scroll (range); + gtk_range_scroll (range, -1); if (range->old_value != range->adjustment->value) { gtk_signal_emit_by_name (GTK_OBJECT (range->adjustment), "value_changed"); @@ -934,7 +960,7 @@ gtk_range_key_press (GtkWidget *widget, { if (pos == GTK_TROUGH_START) range->adjustment->value = range->adjustment->lower; - else + else if (pos == GTK_TROUGH_END) range->adjustment->value = range->adjustment->upper - range->adjustment->page_size; @@ -1143,7 +1169,7 @@ gtk_real_range_timer (GtkRange *range) range->need_timer = FALSE; } - if (gtk_range_scroll (range)) + if (gtk_range_scroll (range, -1)) return return_val; } @@ -1151,7 +1177,8 @@ gtk_real_range_timer (GtkRange *range) } static gint -gtk_range_scroll (GtkRange *range) +gtk_range_scroll (GtkRange *range, + gfloat jump_perc) { gfloat new_value; gint return_val; @@ -1166,7 +1193,16 @@ gtk_range_scroll (GtkRange *range) { case GTK_SCROLL_NONE: break; - + + case GTK_SCROLL_JUMP: + if (jump_perc >= 0 && jump_perc <= 1) + { + new_value = (range->adjustment->lower + + (range->adjustment->upper - range->adjustment->page_size - + range->adjustment->lower) * jump_perc); + } + break; + case GTK_SCROLL_STEP_BACKWARD: new_value -= range->adjustment->step_increment; if (new_value <= range->adjustment->lower) diff --git a/gtk/gtkrange.h b/gtk/gtkrange.h index ef7b36dea2..ad68af94ac 100644 --- a/gtk/gtkrange.h +++ b/gtk/gtkrange.h @@ -89,7 +89,8 @@ struct _GtkRangeClass void (* slider_update) (GtkRange *range); gint (* trough_click) (GtkRange *range, gint x, - gint y); + gint y, + gfloat *jump_perc); gint (* trough_keys) (GtkRange *range, GdkEventKey *key, GtkScrollType *scroll, @@ -116,16 +117,19 @@ void gtk_range_draw_step_back (GtkRange *range); void gtk_range_slider_update (GtkRange *range); gint gtk_range_trough_click (GtkRange *range, gint x, - gint y); + gint y, + gfloat *jump_perc); void gtk_range_default_hslider_update (GtkRange *range); void gtk_range_default_vslider_update (GtkRange *range); gint gtk_range_default_htrough_click (GtkRange *range, gint x, - gint y); + gint y, + gfloat *jump_perc); gint gtk_range_default_vtrough_click (GtkRange *range, gint x, - gint y); + gint y, + gfloat *jump_perc); void gtk_range_default_hmotion (GtkRange *range, gint xdelta, gint ydelta);