]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-2
Make compile.
[~andy/gtk] / ChangeLog.pre-2-2
index 94abf571b906454a6b35cd5a115c60e558662ccc..5021df944ab4a9dd6619271dc360f6a28d3dc5fd 100644 (file)
@@ -1,3 +1,153 @@
+Wed Jul  4 23:17:04 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkdnd.c (gtk_drag_dest_hierarchy_changed):
+       Make compile.
+
+       * gtk/gtkwidget.c (gtk_widget_reset_rc_style): Fix problem
+       with calling gtk_widget_set_style_internal() with
+       the old style, not the new style. (#56989)
+
+Wed Jul  4 22:35:40 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtklabel.c gtk/gtkmenubar.c gtk/gtktreeviewcolumn.c
+         gtk/gtkwidget.c:
+       Check GTK_WIDGET_TOPLEVEL(gtk_widget_get_toplevel (widget)),
+       not GTK_WIDGET_GET_ANCESTOR ... see 
+       http://mail.gnome.org/archives/gtk-devel-list/2001-July/msg00072.html.
+       Indicate the best practice in the docs for gtk_widget_get_toplevel().
+
+       * gtk/gtkwidget.[ch]: Expose a private _gtk_widget_hierarchy_changed(),
+       so GtkPlug can give the correct signals when transforming
+       from a child to a toplevel.
+       
+       * gtk/gtkdnd.c (gtk_drag_dest_hierarchy_changed): Handle
+       reparentation correctly.
+
+       * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed):
+       Propagate the previous_toplevel argument down properly.
+
+       * gtk/gtklabel.c (gtk_label_finalize): Fix unrefing
+       of wrong atr list.
+
+       * gtk/gtkplug.[ch]: Add an "embedded" signal.
+
+       * gtk/gtksocket.[ch]: Add "child_added", "child_removed"
+       signals.
+
+       * gtk/gtkplug.[ch] gtk/gtksocket.[ch]: Add 
+       functions gtk_plug_get_id(), gtk_socket_get_id(),
+       to avoid the user having to worry about realization,
+       and gdkx.h.
+
+       * tests/testsocket.c: Extend to try out the new signals
+       and gtk_plug/socket_get_id().
+
+       * gtk/gtklabel.c (gtk_label_set_pattern_internal): Fix
+       setting of underline attributes.
+
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Ignore
+       DestroyNotify events from SubstructureNotifyMask
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
+       Switch GDK_WINDOW_TYPE (window) as needed.
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Clean up,
+       allow creation of toplevel windows as children of
+       foreign windows.
+
+       * gtk/gtkplug.c: Remove hacks involving changing private
+       fields of GdkWindow.
+
+       * gtk/gtkplug.[ch] gtk/gtksocket.c: Work to make 
+       exactly the same signals and notification
+       be emitted for local embedding as for inter-process
+       embedding.
+
+2001-07-04  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtkliststore.h: add missing gtk_list_store_newv prototype.
+
+Mon Jul  2 16:53:25 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/xembed.h gtk/gtkplug.c gtk/gtksocket.c: For
+       XEMBED embedding add a _XEMBED_INFO property to the
+       client with version number and a "mapped" flags.
+       Use the mapped flag instead of the racy MapRequestEvent
+
+        * gtk/gtksocket.c: Clean up the gtk_socket_steal()
+       code to reliably set things (when the child is a passive
+       embedder participating in the XEMBED protocol) intead
+       of just being a hack for embedding non-participating
+       programs. Fix various bugs and race conditions.
+       
+       * gtk/gtksocket.[ch] gtk/gtkplug.[ch]: Make local embedding
+       work by simply making the GtkSocket the gtk parent
+       of the GtkPlug. Set a flag in this case and make
+       the GtkPlug work like a normal container by overriding
+       methods such as check_resize and "chaining past" GtkWindow
+       to GtkBin.
+
+       * gtk/gtkentry.c (gtk_entry_real_activate)
+         gtk/gtkmain.c (gtk_propagate_event): 
+       Eliminate use of gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW).
+       
+       * gtk/gtkwidget.c (gtk_widget_get_toplevel,
+       gtk_widget_get_ancestor):
+       Explain why gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW)
+       might not give the expected result and recommend
+       an alternative.
+
+       * tests/testsocket.c tests/testsocket_child.c
+       tests/testsocket_common.c tests/Makefile.am: Extended
+       to test different type of adding plugs to sockets
+       (local,active,passive), and to test mapping/unmapping
+       the plug.
+
+       * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Don't
+       mark the window as destroyed until after we
+       called _gdk_windowing_window_destroy().
+       (_gdk_windowing_window_destroy() may use GDK functions
+       on the window.)
+
+       * gdk/x11/gdkinput.c: Remove the check for finalization - 
+       devices can be finalized under some circumnstances.
+       * gdk/x11/gdkinput-x11.c (gdk_input_device_new): Fix 
+       small problem with GDK_TYPE_DEVICE.
+2001-07-02  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_wmspec_change_state): fix to 
+       use constants not atoms.
+
+2001-07-02  James Henstridge  <james@daa.com.au>
+
+       * gtk/gtktextview.c (gtk_text_view_class_init): same here for
+       PANGO_TYPE_TAB_ARRAY.
+
+       * gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
+       for PANGO_TYPE_TAB_ARRAY.
+
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
+       s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
+
+       * gtk/gtk-boxed.defs: move all the boxed definitions to the top of
+       the file.  Remove Pango types from defs -- they are now defined in
+       libpango.
+
+Mon Jul  2 06:35:10 2001  Tim Janik  <timj@gtk.org>
+
+       * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/
+
+       * gtk/gtkobject.c (gtk_object_destroy): invoke
+       g_object_run_dispose().
+
+       * gtk/gtkwindow.c: 
+       * gtk/gtkwidget.c: 
+       * gtk/gtkobject.c:
+       * gtk/gtklist.c: s/shutdown/dispose/ for the GObject
+       method.
+
 Sat Jun 30 20:44:48 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktypeutils.c (gtk_type_class): Remove