]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
Fix optimization that was correct for the use here, but completely
[~andy/gtk] / ChangeLog.pre-2-4
index 1d1b3753e2b0c11fa3bc3bc15b40cbc7690c3629..0ca83d2ef362ef694cf7f66236f4b6f40065cc4f 100644 (file)
@@ -1,3 +1,222 @@
+Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (strstr_len): Fix optimization that
+       was correct for the use here, but completely incorrect
+       in general.
+
+Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
+       until patch adding gtk_window_set_size() is recommitted. 
+
+       * **Makefile.am configure.in gdk/x11/gdkim-11.c
+         gtk/gtkmain.c gtk/gtkimmulticontext.c gtk/gtkmain.c
+         gtk/gtkrc.c: Remove all traces of -DX_LOCALE support.
+         (#10784)
+
+Wed Apr 25 12:16:36 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/X11/gdkevents-x11.c (gdk_event_translate): Test for 
+       window == NULL in a number of cases.
+
+       * tests/testdnd.c: Set module path for gdk-pixbuf.
+
+Thu Apr 19 16:11:07 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/Makefile.am xembed.h: File containing #defines
+       for XEMBED protocol.
+
+       * gtk/gtkplug.[ch] gtk/gtksocket.[ch]: 
+
+       - Change protocol from old plug/socket specific protocol
+         to XEMBED draft
+       - Various fixes to work with GTK+-2.0
+
+       Still quite a bit of work to do here to handle initiation
+       from the socket side (as specified by XEMBED), to handle
+       the more advanced features of XEMBED, and to figure out
+       a good way to handle same-app embedding with less overhead
+       than using full XEMBED.
+
+Wed Apr 18 16:04:28 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.[ch] (gtk_window_real_set_focus): Keep
+       track of whether the toplevel has the focus; only send
+       focus-in events to the focus widget when the window
+       actually has the focus.
+
+2001-04-25  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtkwindow.h: set_decorations_hint and set_functions_hint
+       were still in the header
+
+2001-04-24  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkclist.[ch]:
+       * gtk/gtkctree.c:
+       When there is a row highlighted for D'n'D it must alse
+       be painted hightlighted on exposes. Otherwise exposes from
+       the icon being dragged will mess up the hightlight.
+
+       * gtk/gtkfontsel.c:
+       Don't recenter selected font when exposing the font family
+       clist. This means you can now actually scroll the font family
+       list.
+
+       * gtk/gtknotebook.c:
+       Fix focus movement on scrolling tabs that are placed on the left
+       and right.
+
+2001-04-21  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
+       empty/invisible lines.
+
+       * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
+       (gtk_text_iter_set_visible_line_index): new functions to set
+       indexes excluding invisible text
+
+       * gtk/gtktextlayout.c (line_display_iter_to_index): get visible 
+       index
+
+       * gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
+       (gtk_text_iter_get_visible_line_offset): new functions to 
+       get indexes excluding invisible text
+
+       * gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
+       bunch of extra padding that served no purpose
+
+       * gtk/gtkdialog.c: Make all the spacings configurable via style
+       properties, for chubbiness configuration in themes
+
+       * tests/testtext.c: fix path to the immodules.
+       
+Mon Apr 23 18:57:03 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtksocket.c (gtk_socket_filter_func): add missing '}' that
+       got munched by #endif.
+
+       * gtk/Makefile.am (gtk_plug_c_sources): add missing '\'
+
+       * gtk/gtktreeview.c: Refactored code to clean up a number of
+       events.
+
+       * gtk/gtktreemodel.c (gtk_tree_path_compare): Switched return
+       values to make consistent with other functions.  Spotted by Jeff
+       Franks <jcf@tpg.com.au>.
+
+       * gtk/gtktreeview.h (struct _GtkTreeViewClass): Fixes to signal
+       declaration spotted by Jeff Franks <jcf@tpg.com.au>.
+
+2001-04-23  Sven Neumann  <sven@gimp.org>
+
+       * gtk/Makefile.am
+       * gtk/gtkplug.c
+       * gtk/gtksocket.c: on request of Owen, reverted my last change 
+       and exclude gtkplug.c/gtksocket.c from the build for non-X11 targets
+
+2001-04-23  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtkplug.c: put into #ifdef GDK_WINDOWING_X11 to make GTK+
+       compile for non-X11 targets again
+
+2001-04-20  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkcolorsel.[ch]:
+       API Change. Take GdkColor arguments instead of gdouble *.
+       Leave the old gtk_color_selection_set_color for compatibility,
+       but marked deprecated.
+       Do correct rounding when converting RGB <-> HSV.
+       
+       * gtk/gtkcolorseldialog.c:
+       * tests/testgtk.c:
+       Use new GtkColorSelection API.
+
+       * gtk/gtkhsv.c:
+       Fix problem selecting colors in triangle when Hue is 330.
+       Fix some black dots around the HSB triangle.
+       
+       * gtk/gtkfilesel.c:
+       return FALSE from the focus_in_event handler to fix focus problems.
+
+2001-04-18  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_class_init): add signals and binding
+       set, so keybindings are configurable    
+       (gtk_window_activate_default): Change to activate the focus widget
+       instead if there's a focus widget, to be consistent with the
+       behavior that previously existed in key_press_event
+
+2001-04-18  Havoc Pennington  <hp@redhat.com>
+
+       * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201
+
+2001-04-18  Havoc Pennington  <hp@redhat.com>
+
+        Close bug #50615:
+       
+       * gtk/gtkstyle.c (gtk_default_draw_layout): Use text_gc to draw
+       the layout
+
+       * gtk/gtktext.c: Use base/text instead of bg/fg throughout
+
+       * gtk/gtkentry.c: Use base/text instead of bg/fg throughout
+
+       * gtk/gtktextdisplay.c: Use base/text instead of bg/fg throughout
+       
+       * gtk/gtkstyle.c (gtk_style_init): make GTK_STATE_SELECTED default
+       to blue for base, in addition to bg
+       
+2001-04-18  Havoc Pennington  <hp@redhat.com>
+
+       * tests/testgtk.c (create_image): allow shrinking the image window
+       to test that we clip to allocation.
+
+       * gtk/gtkimage.c (gtk_image_expose): clip to allocation,
+       #9845
+
+       * gtk/gtkenums.h: move GtkWrapMode in here, #50472
+
+Wed Apr 18 14:23:14 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkimage-x11.c (gdk_image_new): Try changing
+       mode on shm segments to 0600. We'll see who complains.
+
+       * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Call
+       _gdk_windowing_window_destroy() AFTER recursing through
+       children.
+
+       * tests/Makefile.am (noinst_PROGRAMS): Build testsocket,
+       testsocket_child on X.
+
+       * tests/testsocket[_child].c: Fix uses of
+       gtk_window_get_default_accel_group().
+
+       [ Merge patch from Ramiro Estrugo  <ramiro@eazel.com> from gtk-1-2 ]
+
+       * gdk/gdkimage.c: (gdk_image_get):
+       Deal with the possibility that XGetImage() might return NULL.
+       Allocate the GdkImagePrivate structure only after XGetImage()
+       succeeds in order not to dereference a NULL ximage pointer.  This
+       prevents a core dump when XGetImage() fails - which is unlikely,
+       but can happen due to race conditions accessing the geometries of
+       drawables.  An x error will still be triggered, but the gdk image
+       wrapper at least wont seg fault.
+       
+2001-04-18  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkimage.c: fix to properly queue resizes when the image is
+       set
+
+       * gtk/gtktextview.c (gtk_text_view_do_popup): desensitize Paste
+       if the insertion point isn't editable
+
+       * demos/gtk-demo/images.c: Added a GtkImage demo
+
+       * demos/gtk-demo/drawingarea.c: drawing area demo
+       
+       * demos/gtk-demo/menus.c (create_menu): cleanups
+
 Wed Apr 18 12:15:52 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkwindow-x11.c gdk/x11/gdkwindow-x11.h