+Fri Jul 4 22:26:27 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.[ch] gdkevents-x11.c: Split
+ toplevel-specific pieces of GdkWindowImplX11 into
+ a separate GdkToplevelX11 structure.
+
+Fri Jul 4 22:05:09 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkasync.c (struct _SetInputFocusState): Fix
+ some leftover fields.
+
+Fri Jul 4 15:57:52 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter):
+ Use asynchronously _gdk_x11_set_input_focus_safe
+ to avoid having to trap errors and XSync().
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use
+ _gdk_x11_set_input_focus_safe() here as well.
+
+ * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
+ Rework handling of property notifies on _NET_WM_STATE
+ so that we ignore _NET_WM_DESKTOP notifies unless we
+ really care.
+
+ * gdk/x11/gdkimage-x11.c (gdk_image_check_xshm): Use
+ XShmQueryExtension() rather than XQueryExtension() to
+ avoid extra rountrip.
+
+ * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init):
+ Remove unused call to XGetWindowAttributes()
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Remove
+ unused call to XGetKeyboardControl().
+
+ * gdk/x11/gdkdisplay-x11.c gdk/gdk.def (gdk_display_flush):
+ Add (#99571)
+
+ * gdk/win32/gdkevents-win32.c gdk/linux-fb/gdkevents-fb.c
+ No-op implementations of gdk_display_flush().
+
+ * gdk/gdkwindow.c (gdk_window_process_all_updates): Use
+ gdk_display_flush() rather than gdk_flush() to avoid
+ XSync().
+
+ * gdk/x11/gdkwindow-x11.c (update_wm_hints)
+ gdk/x11/gdkwindow-x11.h: Centralize all handling of WM_HINTS here
+ so that we don't have to get the property back from the server.
+
+ * gdk/x11/gdkwindow-x11.c (show_window_internal): Store
+ the serial of when we map a toplevel to allow optimizing
+ out notifies on _NET_WM_STATE/_NET_WM_DESKTOP.
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate): Don't
+ XTranslateCoordinates() for override-redirect windows.
+
+Fri Jul 4 15:59:27 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Remove comment
+ about setting window group after the window is mapped from docs
+ - nothing the ICCCM forbids that.
+
+ * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
+ Fix g_return_val_if_fail() in void return function.
+
+ * configure.in: Fix misplaced comma that was resulting
+ in XShm always being disabled.
+
+Fri Jul 4 19:55:49 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * tests/stresstest-toolbar: remove this accidentally committed
+ file.
+
+ * tests/stresstest-toolbar.c: really add this new test
+
+Fri Jul 4 19:06:31 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * tests/stresstest-toolbar.c: new test for removing items
+
+ * tests/testtoolbar.c: add a popup menu
+
+ * gtk/gtkcontainer.c (gtk_container_remove): add hack to avoid
+ assert widget->parent == container when the container is a
+ toolbar.
+
+ * gtk/gtktoolbar.c (gtk_toolbar_remove_tool_item): Make much
+ simpler. Also make correct.
+
+ * gtk/gtktoolbar.c (gtk_toolbar_button_press): make
+ popup_context_menu a boolean handled signal.
+
+2003-07-04 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_polygon,
+ gdk_win32_draw_segments, gdk_win32_draw_lines): We can calculate
+ the width and height of the bounding rectangle only after the
+ minumum x and y have been found, and need a separate loop for
+ it. Thanks to Bruce Hochstetler for providing a sample program
+ exhibiting the bug.
+
+2003-07-03 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdk.def: Add gdk_string_to_compound_text_for_display.
+ (#116537, Peter Zelezny)
+
+Thu Jul 3 03:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to
+ fix warning. Assign something to old_value to quiet gcc
+
+ * gtk/gtkcalendar.c
+ (start_spinning): gtk_timeout_add->g_timeout_add
+
+ * gtk/gtkicontheme.c
+ (theme_lookup_icon): Make it compile (remove double semicolon)
+
+ * gtk/gtktoolbutton.c
+ (gtk_tool_button_class_init): Long comment about properties.
+ (gtk_tool_button_class_init): Improve text for "use_underline"
+ property
+ (gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based
+ on whether the passed-in label has use_mnemonic set
+ (gtk_tool_button_create_menu_proxy): Split image cloning out in
+ new function. Make that function also handle image with pixbuf
+ storage.
+ (gtk_tool_button_construct_contents): Use gtk_widget_destroy()
+ instead of gtk_container_remove().
+ (gtk_tool_button_construct_contents): Fix eliding bug
+
+ * gtk/gtktoolbar.c
+ (gtk_toolbar_finalize): New function. Unref tooltips, pointed out
+ by Morten Welinder
+ (gtk_toolbar_button_press): Make popup_context_menu signal provide
+ coordinates and button number
+
+ * tests/testtoolbar.c (main): Add new pixbuf toolbutton
+
+ * tests/apple-red.png: new file
+
+Wed Jul 2 18:00:56 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkicontheme.[ch]: Implement a loader for
+ named themed icon based on from gnome-desktop library
+ by Alex Larsson.
+
+ * gtk/gtkiconthemeparser.[ch]: .ini file parsing code
+ from gnome-desktop.
+
+ * gtk/gtkiconfactory.[ch]: Add
+ gtk_icon_source_set/get_icon_name() to allow stock icons
+ to be based off of named theme icons.
+
+ * gtk/gtkiconfactory.c: Rework sources so that the source
+ is *either* a pixbuf, or a filename, or an icon name,
+ instead of the pixbuf/filename mix it was before. Put a
+ workaround for get_pixbuf() so that it can return the
+ filename pixbuf, e.g, for render_icon().
+
+ * gtk/gtkiconfactory.c: Make the default setup use
+ themed icons, and add builtin icons to the default
+ icon theme for all the standard pixbufs, so we
+ don't rely on actually having an icon theme on disk.
+
+ * gtk/gtkrc.c: Add support for @"icon-name" to specify
+ a themed icon for a stock icon source.
+
+ * tests/Makefile.am test/testicontheme.c: Add a test
+ program from gnome-desktop.
+
+ * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add
+ Net/IconThemeName / gtk-icon-theme-name setting.
+
+ * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually
+ update the icon cache serial so we don't continually
+ think we are out-of-date.
+
+ * gtk/gtkwidget.c: Fix a couple of references in doc comments
+ to ::direction_set that should have been to ::direction-changed
+
+Wed Jul 2 14:45:41 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
+ style to the widget.
+
+Wed Jul 2 15:42:26 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtk.h: Add new toolbar headers
+
+ * tests/testtoolbar.c: new file
+
+ * tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c
+
+ * gtk/gtkexpander.c (gtk_expander_class_init): Make it compile
+
+Tue Jul 1 22:49:25 2003 Soeren Sandmann <sandmann@daimi.au.dk>
+
+ * gtk/gtktoolbar.c:
+ (gtk_toolbar_remove_tool_item): Fix bug where list is changed
+ inside a for loop (pointed out by Morten Welinder).
+ (gtk_toolbar_focus_home_or_end): Minor formatting change
+
+ Comments from Owen:
+
+ * gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use
+ gtk_toolbar_elide_underscores instead.
+
+ * gtk/gtktoolbar.c: rename signal from focus_ends to
+ focus_home_or_end.
+ (_gtk_toolbar_elide_underscores): export this as an internal
+ function.
+ (gtk_toolbar_move_focus): add comment explaining difference to
+ gtk_toolbar_focus();
+ (gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and
+ TAB_BACKWARD focus the right widgets in RTL mode
+
+ * gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take
+ "label" and "icon" parameters
+
+ * gtk/gtktoolbutton.[ch]: remove icon_set property.
+
+2003-07-01 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs. (116364, Morten Welinder)
+
+ * tests/testgtk.c: Use GtkFontButton and GtkColorButton to bring up the corresponding
+ dialogs.
+
+ * gtk/Makefile.am (gtk_public_h_sources): Add gtkfontbutton.h, gtkcolorbutton.h.
+ (gtk_c_sources): Add gtkfontbutton.c, gtkcolorbutton.c.
+
+ * gtk/gtkfontbutton.[hc]: New files containing a font picker widget.
+
+ * gtk/gtkcolorbutton.[hc]: New files containing a color picker widget.
+
+ * gtk/gtk.h: Include gtkexpander.h, gtkfontbutton.h, gtkcolorbutton.h.
+
+ * gtk/gtkexpander.c: Small additions to the docs.
+
+2003-07-01 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_get_pointer):
+ WindowFromPoint() wants screen coordinates (#115422, Tim Evans).
+
+2003-07-01 Matthias Clasen <maclas@gmx.de>
+
+ * configure.in: Check for Xcursor.
+
+ * gdk/x11/gdkcursor-x11.c:
+ * gdk/gdkdisplay.h:
+ * gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
+ gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
+ gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
+ gdk_display_get_maximal_cursor_size(). (#69436)
+
+2003-06-30 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkdnd-win32.c (find_window_enum_proc): New function,
+ callback proc for EnumWindows().
+ (gdk_drag_find_window_for_screen): Actually take the drag_window
+ argument into account: Instead of using WindowFromPoint(), use
+ EnumWindows(), to be able to skip the drag_window. (#116320, Tony
+ M Brown, Herman Bloggs)
+
+ * gdk/win32/*.c: Replace gdk_drawable_ref()/unref() and
+ gdk_window_ref()/unref() calls with g_object_ref()/unref().
+ Consistently use %p format in debugging output of pointers and
+ HANDLEs.
+
+2003-06-30 Mark McLoughlin <mark@skynet.ie>
+
+ * gtk/gtkexpander.h: kill some stray characters
+ breaking the build.
+
+2003-06-30 Mark McLoughlin <mark@skynet.ie>
+
+ Add GtkExpander. See discussion in bug #60553.
+
+ * gtk/gtkexpander.[ch]: add.
+
+ * gtk/Makefile.am: build gtk-expander.[ch].
+
+ * docs/widget_geometry.txt: add info on the layout
+ of GtkExpander.
+
Mon Jun 30 01:20:19 2003 Soeren Sandmann <sandmann@daimi.au.dk>
- * gtkradiotoolbutton.c
- * gtkradiotoolbutton.h
- * gtktoggletoolbutton.c
- * gtktoggletoolbutton.h
- * gtktoolbutton.c
- * gtktoolbutton.h
- * gtktoolitem.c
- * gtktoolitem.h
- * gtktoolbar.c
- * gtktoolbar.h
- * gtkseparatortoolitem.c
- * gtkseparatortoolitem.h
+ * gtkradiotoolbutton.c: new file
+ * gtkradiotoolbutton.h: "
+ * gtktoggletoolbutton.c: "
+ * gtktoggletoolbutton.h: "
+ * gtktoolbutton.c: "
+ * gtktoolbutton.h: "
+ * gtktoolitem.c: "
+ * gtktoolitem.h: "
+ * gtktoolbar.c: many changes
+ * gtktoolbar.h: many changes
+ * gtkseparatortoolitem.c: new file
+ * gtkseparatortoolitem.h "
New toolbar.
+
+ - Items on a toolbar are now separate widgets, instances of a
+ subclass of GtkToolItem.
+
+ - Items there aren't room for on the toolbar are unmapped, and an
+ overflow menu with a proxy menu item is added instead.
+
+ - The toolbar is keyboard navigatable. Press TAB to focus the
+ first item, then use arrow keys and Ctrl TAB to move around the
+ toolbar. TAB moves focus out of the toolbar.
+
+ - Bascially all of the old toolbar API is deprecated in favor of
+ new API in gtktoolbar.h, gtktoolitem.h, gtktoolbutton.h
+
+ - The toolbar is backwards compatible with the old toolbar.
2003-06-29 Matthias Clasen <maclas@gmx.de>