]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
changed gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget as
[~andy/gtk] / ChangeLog.pre-2-10
index 3b1466863f2fb9e21f0764d6802f51b313fc6601..6f46320f1c476876a1ba58a0cae4cb0f500e0729 100644 (file)
@@ -1,5 +1,370 @@
+Mon Jan 19 00:46:18 1998 MET  Eckehard Berns  <eb@berns.prima.de>
+
+       * gtk/gtktoolbar.[ch]: changed
+         gtk_toolbar_{append,prepend,inser]_item to accept any GtkWidget
+         as icon to allow more flexibility
+
+Sun Jan 18 16:54:55 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+       * gtk/gtkstatusbar.[ch] added new widget, the statusbar
+
+Sun Jan 18 09:57:00 1998  Owen Taylor  <owt1@cornell.edu>
+
+       * gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkdrawingarea.c
+         gtk/gtkentry.c gtk/gtkeventbox.c gtk/gtkfixed.c
+         gtk/gtkhandlebox.c gtk/gtkhscale.c gtk/gtkhscrollbar.c
+         gtk/gtkitem.c gtk/gtklist.c gtk/gtkmenushell.c gtk/gtkmisc.c
+         gtk/gtknotebook.c gtk/gtkpaned.c gtk/gtkpreview.c
+         gtk/gtkprogressbar.c gtk/gtkruler.c gtk/gtktext.c gtk/gtktree.c
+         gtk/gtkviewport.c gtk/gtkvscale.c gtk/gtkvscrollbar.c
+         gtk/gtkwidget.{c,h}
+
+       Added gtk_widget_set_parent_window() and 
+       gtk_widget_get_parent_window(). All widgets should use:
+       
+          gtk_widget_get_parent_window() instead of widget->parent->window.
+       
+       Any widget that wants to have children not in the parent window,
+       should use gtk_widget_set_parent() in their realize() and
+       add() routines. 
+
+       CList and Viewport widgets changed to do this. (Viewport
+       widget using code from gtk-fortier-980117-0.patch.)
+
+Sat Jan 17 23:56:02 1998  Owen Taylor  <owt1@cornell.edu>
+
+       * gtk/gtkobject.c:
+          renamed g_string_equal => g_str_equal
+          renamed g_string_hash => g_str_hash
+
+Sun Jan 18 03:57:52 1998  Tim Janik  <timj@psynet.net>
+
+       * gtk/gtkframe.c: gtk_*_get_arg() and gtk_*_set_arg() implementations.
+       * gtk/gtkobject.c: new arg `GtkObject::object_signal' similar to
+         `GtkObject::signal'. check for class type in gtk_object_{setv|getv}.
+
+       * gtk/gtkobject.c:
+       * gtk/gtksignal.c:
+       * gtk/gtktypeutils.h:
+       * gtk/gtktypeutils.c: added GTK_TYPE_DOUBLE.
+
+       * gtk/gtkwidget.c: new args `has_focus' and `has_default'.
+       * gtk/gtkwindow.c: new arg `window_position'.
+
+       * gtk/gtkbox.h:
+       * gtk/gtkbox.c: new functions gtk_box_reorder_child,
+       gtk_box_query_child_packing and gtk_box_set_child_packing to
+       allow modification of the child linkage after the widget tree
+       is setup.
+
+       * gtk/gtkbox.c:
+        * gtk/gtklabel.c:
+        * gtk/gtkwindow.c:
+       * gtk/gtkwidget.c:
+        * gtk/gtkobject.c: gtk_*_get_arg() and gtk_*_set_arg() fixes
+          and implementations.
+       
+Sat Jan 17 18:06:35 1998  Owen Taylor  <owt1@cornell.edu>
+       * gdk/gdk.c (gdk_events_pending): Take putback events into
+         account
+
+       * gdk/gdk.c (gdk_event_free): Handle dropdataavaible memory
+         allocation correctly. (Incompatible change: client must
+         _not_ fre event->data and event->data_type.)
+
+       * gdk/gdk.c (gdk_event_translate): Changed DND dragging
+         so that we don't ungrab pointer when we reenter window
+         to prevent extra Enter/Leave effects which had bad
+         effects.
+          Changed drag zone handling to not send uncessary
+         DragEnter events.
+          Fixed EnterNotify/LeaveNotify handling. (Only pay
+         attention to events on window, don't specify these
+         events to XGrabPointer - that isn't valid, and handle
+          reverse the sense of the handling of LeaveNotify.)
+
+       * gdk/gdkwindow.c (gdk_window_remove_filter): Free removed
+         filter.
+
+       * gtk/gtk.defs (GdkFont): gdk_font_free => gdk_font_unref
+
+       * gtk/gtkmain.{c,h} (gtk_events_pending): new function - apps
+         should use this instead of gdk_events_pending.
+
+       * gtk/gtkvbbox.h: Fixed a duplication in the headers.
+
+       * gtk/testgtk.c (dnd_drop): Don't free the drop data,
+         it belongs to the event.
+
+Sat Jan 17 13:26:15 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+       * gtk/gtkentry.[ch]:  Applied patch from <lupus@lettere.unipd.it> 
+          which adds gtk_entry_set_max_length function.  This was 
+          part of gtk-lupus-970112-0.
+
+       * gtk/testgtk.c: Applied gtk-wille-980113-0 which fixes 
+          a problem with a shaped widget keeping grab forever
+          when double clicked.
+     
+        * docs/gtk.texi: patch from Gregory McLean <gregm@randomc.com>
+          to add some on aspect_frame, button_box, and color_selection
+          widgets
+
+Sat Jan 17 06:24:05 1998  Tim Janik  <timj@psynet.net>
+
+       * gtk/gtktypeutils.h (gtk_type_get_arg): new function.
+       * gtk/gtkobject.h (gtk_object_query_args): new function.
+       * gtk/gtkobject.h (gtk_object_getv): new function.
+       * gtk/gtkwidget.h (gtk_widget_get): new function.
+
+Fri Jan 16 00:36:31 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
+
+       * gtk/gtkhandlebox.c: Now we use a GtkWindow of type
+       GTK_WINDOW_DIALOG as a destination for reparenting the child of
+       the handle box.  This solves the problem of having X calls in
+       Gtk.  It also makes the handle box work with KWM, OLVWM, 4Dwm (so
+       I expect mwm to work as well).  I hadn't noticed that previously
+       it only worked with fvwm and twm.
+
+       * gtk/gtkhandlebox.h (struct _GtkHandleBox): Removed the
+       real_parent field, as it is never used.
+       (struct _GtkHandleBox): Added a float_window field.  This is a
+       GtkWindow to where the child is now reparented.
+
+       * gtk/gtkhandlebox.c: Lots of changes all over the place.  Now the
+       widget has two windows.  The steady_window stays put in the parent
+       container, and the widget->window is the one that gets
+       reparented.  Now that window is transient, in compliance with the
+       ICCCM, instead of an OverrideRedirect window.
+
+       We have two windows so that we can properly receive Expose events
+       for the thin 3D line that marks the place where the handlebox is
+       docked.
+
+       * gtk/gtkhandlebox.h (struct _GtkHandleBox): Added fields for
+       dragging (mouse position information).  Added fleur_cursor so that
+       we look pretty.  Added steady_window field; it is the window that
+       actually stays on the parent (widget->window is the one that gets
+       reparented).
+
+Thu Jan 15 19:03:19 1998  Miguel de Icaza  <miguel@nuclecu.unam.mx>
+
+       * gtk/gtkclist.c (gtk_clist_set_column_width): Call
+       gtk_clist_size_allocate_columns every time the column
+       configuration changes. 
+
+Fri Jan 16 01:55:17 1998  Tim Janik  <timj@psynet.net>
+
+       * improved the gtk_widget_set handling. removed GtkArgFunc and added
+         GtkArgSetFunc and GtkArgGetFunc in _GtkTypeInfo.
+         performance consuming strcmp() calls are avoided in gtk_*_set_arg()
+         now, it is passed an arg_id on which it can switch() now.
+
+       * gtk/gtkobject.h:
+       * gtk/gtkobject.c (gtk_object_add_arg_type): added parameter arg_id.
+
+       * gtk/gtktypeutils.h:
+       * gtk/gtktypeutils.c (gtk_type_set_arg): added parameter arg_id.
+
+       * gtk/gtkobject.c: bug fixes and changes in the assertion system for
+         arg handling. changed g_print() warning calls to real g_warning()s.
+         
+       * changed all *_get_type() functions to initialize GtkTypeInfo
+         correctly with GtkArgSetFunc and GtkArgGetFunc fields.
+
+Thu Jan 15 00:44:27 PST 1998 Jay Painter <jpaint@serv.net>
+       * gtk/gtkentry.[ch]: Change window cursor to "I"
+       * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the
+       cursor
+
+Tue Jan 13 07:30:02 PST 1998 Jay Painter <jpaint@serv.net>
+       * gtk/gtkclist.c: minor updates
+       * gtk/gtktext.c: you can type in it!  It should also seg-fault *MUCH* less now,
+       because editing was never really turned off.  
+       * gtk/testgtk.c: changed the gtktext test a little
+       * gtk/testgtkrc: removed pixmap background for now, since I intend to break
+       that for a while
+
+1998-01-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>
+
+       * gtk/gtktoolbar.c: (gtk_real_toolbar_style_changed): Fixed
+       child->icon and child->label == NULL bugs.
+
+       * gtk/gtktoolbar.h: Added some new functions:
+               gtk_toolbar_append_widget()
+               gtk_toolbar_prepend_widget()
+               gtk_toolbar_insert_widget()
+       These let the user insert any kind of widget in the toolbar.  Also
+       changed the gtk_toolbar_*_item() functions to return a
+       GtkWidget * so that the user can do things with the toolbar buttons.
+
+       * gtk/gtktoolbar.c: Now the toolbar supports its own buttons and
+       arbitrary widgets as well.  Geometry management has been changed
+       accordingly.  Added gtk_toolbar_remove() function, so container
+       functionality should be complete now.
+
+       * gtk/testgtk.c (create_toolbar): Added an entry widget to test
+       the new toolbar.
+
+       * Most of these changes are adapted from the
+       gtk-lupus-970112-0-patch (should be 970112... :-)
+
+Sat Jan  9 20:52:00 PST 1998 Ian Main <imain@gimp.org>
+       * gtk/gtkfilesel.c:  Changed a few tests in the path correcting
+               function.  Hopefully this helps the filesel stability.
+
+Fri Jan  8 00:55:00 PST 1998 Jay Painter <jpaint@serv.net>
+       * gtk/gtkclist.c:
+       * gtk/gtkclist.h: modifications to GtkCList so it's look and 
+       feel is the same as scrolled windows.
+
+Thu Jan  8 17:56:09 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib/gscanner.c
+       * gtk/gtclist.c
+       * config.h.in
+       * configure.in: added test for inline and put the inline keywords
+       back in
+
+       * gtk/gtklabel.c: made the prototypes match the definitions
+
+       * gtk/fnmatch.c: minor change to make sure the right config.h
+       gets included
+       
+1998-01-07  Elliot Lee  <sopwith@localhost.cs.cuc.edu>
+
+       * gtk/gtkcombobox.c gtk/gtkcombobox.h: New widget, GtkComboBox
+       * gdk/gdkwindow.c: Make gdk_window_init set the width &
+               height of gdk_root_parent
+
+Wed Jan  7 18:06:17 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkentry.c:
+       * gtk/gtkentry.h: applied patch to use a backing pixmap for
+       drawing, which removes the bad flickering. (gtk-wille-980106-0)
+
+Wed Jan  7 02:14:30 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * glib/glib.h
+       * glib/glist.c
+       * glib/gslist.c
+       * glib/testglib.c: Added g_[s]list_insert_sorted function
+       and appropriate tests in testglib
+
+Tue Jan  6 17:09:46 1998  Owen Taylor  <owt1@cornell.edu>
+       * gtk/gtknotebook.h gtk/gtknotebook.c
+          Added "switch_page" signal. (gtk-hamann_jeske-971212-0.patch)
+
+Tue Jan  6 17:07:29 1998  Owen Taylor  <owt1@cornell.edu>
+       * gtk/gtkentry.c gtk/gtkentry.h gtk/testgtk.c : 
+          Fixed problem with deleting while text is selected.
+          Changed behavior so that motion keys remove selection.
+          Added new gtk_entry_select_region () call.
+
+Sat Jan  3 20:23:25 1998  Owen Taylor  <owt1@cornell.edu>
+       * glib/glib.h: Changed guint32 -> guint for bitfields. 
+         (Bitfields must be int or unsigned int?)
+
+Sat Jan  3 15:39:45 PST 1998 Jay Painter <jpaint@serv.net>
+       * gtk/testgtk.c: better CList test
+
+Sat Jan  3 11:09:51 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+       * GTK+ 0.99.2 Released
+
+Sat Jan  3 11:09:51 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+       * gtk/gtkscrolledwindow.c: initialize scrollbar_spacing
+         (gtk-fortier-980103-0)
+
+Sat Jan  3 10:15:08 1998  Scott Goehring  <scott@poverty.bloomington.in.us>
+
+       * configure.in: fixed a typo (no_xext_lib, not no_ext_lib).
+
+Sat Jan  3 00:41:28 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk/gtkentry.c:
+       * gtk/gtkentry.h: applied Gordon Matzigkeit's patch to add
+       fixed-length entry fields (gtk_entry_new_with_max_length)
+       
+Fri Jay  2 23:52 PST 1998 Jay Painter <jpaint@serv.net>
+       * reverted glibconfig.h and glib.h files back to the
+       way they were before my ugly hack
+       * gtk/gtkclist.c:
+       * glib/gscanner.c: removed inlines from clist and gscanner
+
+Fri Jan  2 23:55:24 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+       * Several portability fixes from Michael Callahan 
+          <callahan@xmission.com> including adding in missing
+         #includes and adding void in function prototypes.
+
+Fri Jan  2 19:28:52 1988 Jay Painter <jpaint@serv.net>
+       * gtk/gtkclist.h:
+       * gtk/gtkclist.c:
+       * gtk/gtk.h:
+       * gtk/testgtk.c:
+       * gtk/testgtkrc: added GtkCList, column list widget, and a small test
+       to testgtk
+
+Fri Jan  2 15:42:51 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
+
+       * gtk/gtkmain.c (gtk_main_iteration): Make the big switch handle
+       GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events.
+
+Fri Jan  2 12:07:33 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+       * gtk/gtkviewport.c: corrects a small resize bug in the 
+          viewport widget.  The viewport widget provides a _set_shadow 
+          function to draw its shadows. But if GTK_SHADOW_NONE is sent 
+          to this function, the viewport isn't resized correctly (it's 
+          still considered as a shadowed widget).  (gtk-fortier-971213-0)
+
+       * gtk/gtknotebook.c: this patch fixes the redraw problems of 
+          notebook tabs, without using gdk_gc_set_clip_rectangle.
+          (gtk-hamann_jeske-971218-0)
+       * add gtk_widget_(show/hide)_all (Stefan Wille)
+          (gtk-wille-301297-0)  Patch for testgtk not included
+          because it did not patch clean.  
+
+Thu Jan  1 21:21:56 PST 1998 Manish Singh <yosh@gimp.org>
+
+       * configure.in: fixed up the xinput test
+       * Miscellaneous portability fixes.
+
+Mon Dec 29 22:05:45 1997  Miguel de Icaza  <miguel@nuclecu.unam.mx>
+
+       * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values
+       from one gc to another gc.
+
+Sat Dec 27 20:39:99 1997  Elliot Lee <sopwith@redhat.com>
+       * gtk/gtkhandlebox.c: It mostly works now, please test it and make
+       fixes as needed.
+
+Fri Dec 26 11:20:03 1997  Scott Goehring  <scott@poverty.bloomington.in.us>
+
+       * gtk/Makefile.am (gtkinclude_HEADERS): added gtkhandlebox.c
+
+       * gtk/gtkhandlebox.c (gtk_handle_box_reparent): eliminated a
+       compiler warning caused by not casting an argument in a debugging
+       message. :)
+
+Fri Dec 26 02:59:39 1997  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
+
+       * gdk/gdktypes.h gdk/gdk.c gdk/gdkwindow.c: Added new
+       GDK_NO_EXPOSE and GDK_VISIBILITY_NOTIFY events.  They are needed
+       for Alan Cox's TV widget and for GtkXmHTML.  Only missing with
+       respect to their Xlib counterparts are the major_code and
+       minor_code fields from the GdkEventNoExpose structure.  Does
+       anyone need them?
+
 Tue Dec 23 03:03:17 1997  Tim Janik  <timj@psynet.net>
 
+       * gtk/gtkscrolledwindow.c (SCROLLBAR_SPACING): this macro computes
+       the spacing from klass->scrollbar_spacing now. adapted all functions
+       that used this macro (based on a patch from Patrice Fortier).
+       * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindowClass): added
+       scrollbar_spacing to substitute a define (patch from Patrice Fortier).
+
        * gtk/gtkrc.h (gtk_rc_parse_string): new function.
        * gtk/gtkrc.c: many functions adapted to use GScanner for scanning.
        (gtk_rc_parse): use gtk_rc_parse_any for parsing.