]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-8
make toolbar Child structure accesible from apps
[~andy/gtk] / ChangeLog.pre-2-8
index 1418048a9f9396d13205cde55f7e5507ebdbb99b..6cb2f52b116ad153ff1aa9bd47dae7553d16954c 100644 (file)
@@ -1,3 +1,320 @@
+Thu Jan 29 22:57:39 1998  Owen Taylor  <owt1@cornell.edu>
+
+       * gtk/gtkstyle.c (gtk_default_draw_polygon): Close
+         the polygon if it isn't already. (To match gtk_draw_polygon)
+         Simplified logic. (Appearance could probably be
+         improved for objects with gradual curves by adding in
+         some intermediate edge coloration)
+
+Thu Jan 29 21:36:14 1998  Tim Janik  <timj@gimp.org>
+
+       * gtk/gtksignal.c (gtk_signal_query): new function to gather
+         information about a certain signal.
+
+       * gtk/gtksignal.c (gtk_signal_newv): new function similar to
+         gtk_signal_new().
+
+       * gtk/gtksignal.c (gtk_signal_real_emit): check for function_offset
+         == 0.
+
+       * gtk/gtksignal.c (gtk_signal_connect_by_type): perform a signal
+         id lookup on the parent as well.
+
+       * gtk/gtkobject.c (gtk_object_class_add_user_signal): new
+         function for implementation of user defined signals.
+       * gtk/gtkobject.c (gtk_object_class_add_signals): free old
+         signal id array.
+
+       * gtk/gtkobject.h: this holds the typedefs for GtkSignalFunc and
+         GtkSignalMarshaller now, because they are used for
+         gtk_object_class_add_user_signal.
+
+       * gtk/gtktypeutils.c (gtk_type_class_init): reset object_class->signals
+         and object_class->nsignals for new object classes.
+
+Tue Jan 27 15:52:48 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
+
+       * gtk/gtkhandlebox.c (gtk_handle_box_realize): The auto_shrink
+       policy of the floating window is now set to TRUE.  This fixes the
+       problem of the floating window being too big when the handlebox
+       child is small.
+       (gtk_handle_box_motion): Now we use GDK_POINTER_MOTION_HINT_MASK
+       to improve movement.
+
+Tue Jan 27 14:15:50 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+        * docs/gtkfaq.sgml: more additions/changes Tony Gale.
+
+Mon Jan 26 17:12:12 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+       * docs/gtkfaq.sgml: additions/changes from new FAQ maintainers
+          Nathan Froyd and Tony Gale.
+
+Mon Jan 26 16:54:02 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+       * docs/gtk.texi: additions/changes from Gregory A. McLean
+
+Mon Jan 26 02:15:29 1998  Tim Janik  <timj@gimp.org>
+
+       * gdk/gdkdraw.c:
+       * gdk/gdkgc.c:
+       * gdk/gdkimage.c:
+       * gdk/gdkinput.c:
+       * gdk/gdkpixmap.c:
+       * gdk/gdkproperty.c:
+       * gdk/gdkselection.c:
+       * gdk/gdkwindow.c: added a bunch of checks for window != NULL and
+         private->destroyed.
+
+Sun Jan 25 19:15:32 1998  Tim Janik  <timj@gimp.org>
+
+       * gtk/gtkwidget.h (enum): added new widget flag GTK_LEAVE_PENDING.
+       * gtk/gtkmain.c (gtk_main_iteration_do): if a widget has
+         GTK_LEAVE_PENDING set, send it its LEAVE_NOTIFY event, regardless
+         of a grab or sensitivity.
+         changed the compression code for enter/leave notify events to
+         free *both* compressed event, and removed an unneccessary call
+         to g_list_remove.
+
+       * ChangeLog: finally catched up with the recent changes on my part.
+
+       * gtk/gtkobject.h: new element n_args in GtkObjectClass.
+       * gtk/gtkobject.c (gtk_object_query_args): this function now returns
+         the arguments in the correct order.
+
+        * gtk/gtkbox.c:
+       * gtk/gtkbutton.c:
+       * gtk/gtkcontainer.c:
+       * gtk/gtkframe.c:
+       * gtk/gtklabel.c:
+       * gtk/gtkobject.c:
+       * gtk/gtkwidget.c:
+       * gtk/gtkwindow.c: various fixes and additions to the gtk_*_set_arg
+         and gtk_*_get_arg() functions.
+
+       * gdk/gdk.h:
+       * gdk/gdk.c (gdk_pointer_is_grabbed): new function.
+
+       * gtk/gtkmain.h:
+       * gtk/gtkmain.c: implementations of gtk_invoke_key_snoopers(),
+         gtk_key_snooper_install() and gtk_key_snooper_remove(). this
+         mechanism allowes applications to track global hot keys that need
+         to bypass accelerator tables and else key processing stuff.
+
+Thu Jan 22 18:58:44 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
+
+       * gdk/gdkcc.c: Switched the file to GNU indentation, for consistency.
+
+       * gdk/gdktypes.h (struct _GdkColorContext): Picky, picky... fix
+       two lines with wrong indentation :-)
+
+Thu Jan 22 02:32:06 1998  Scott Goehring  <scott@poverty.bloomington.in.us>
+
+       * gtk/Makefile.am: Fixed the called to runelisp to use $(SHELL).
+         (Cannot rely on the script having execute permissions.)
+
+Wed Jan 21 17:29:54 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+       * Released 0.99.3
+
+Wed Jan 21 01:32:21 1998  Tim Janik  <timj@psynet.net>
+
+       * gtk/gtkwidget.h:
+       * gtk/gtkwidget.c: changed the state_changed signal to take an
+         extra argument `old_state'.
+         removed `gtk_widget_restore_state'.
+         changed `gtk_widget_set_state' and `gtk_widget_set_sensitive' to use
+         only one function `gtk_widget_propagate_state' to iterate down the
+         tree. this causes GtkWidget::state_changed to be invoked on state
+         changes and on sensitivity changes. some comment cleanups.
+
+Tue Jan 20 16:38:52 1998  Owen Taylor  <owt1@cornell.edu>
+       * gtk/gtkcombobox.{c,h}: removed
+         gtk/gtkcombo.{c,h}: added [Paolo Molaro's version]
+         gtk/testgtk.c: changed to use new version
+         gtk/Makefile.am gtk/gtk.h
+       
+Mon Jan 19 20:10:19 CST 1998 Shawn T. Amundson <amundson@gimp.org>
+
+       * gdk/gdk.h Fixed typo where strdup was used instead of g_strdup
+          (found by Frank Neumann)
+
+Mon Jan 19 16:21:00 1998  Federico Mena  <federico@bananoid.nuclecu.unam.mx>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set
+       container_class->focus to NULL.  Widgets in the toolbar should not
+       get the focus via the normal key bindings (no toolkit does this,
+       and it makes sense).
+
+       * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
+       match Eckehard's new prototypes.
+
+       * gtk/gtktoolbar.h: Switched the order of the tooltip_text and
+       widget parameters to the gtk_toolbar_*_widget() functions, to be
+       friendlier to the C++ bindings.  This is per request of Guillaume
+       Laurent.
+
+Mon Jan 19 09:16:38 1998  Tim Janik  <timj@psynet.net>
+
+       * gtk/gtkmain.c (gtk_grab_add) (gtk_grab_remove): this is a stack
+         of grabbing widgets now, having unique entries. the GTK_HAS_GRAB
+         flag of a widget is set while it is on the stack (wasn't
+         implemented before).
+
+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
@@ -13,6 +330,9 @@ Fri Jan 16 01:55:17 1998  Tim Janik  <timj@psynet.net>
 
        * 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"
@@ -93,6 +413,10 @@ Wed Jan  7 02:14:30 PST 1998 Manish Singh <yosh@gimp.org>
        * 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.
@@ -106,6 +430,9 @@ Sat Jan  3 20:23:25 1998  Owen Taylor  <owt1@cornell.edu>
 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