+2005-07-06 Manish Singh <yosh@gimp.org>
+
+ * demos/gtk-demo/menus.c: change_orientation() should return void,
+ remove unused variable in do_menus().
+
+2005-07-06 Tor Lillqvist <tml@novell.com>
+
+ * gdk/win32/gdkcursor-win32.c
+ (gdk_win32_icon_to_pixbuf_libgtk_only): Don't create the GdkPixbuf
+ until we know that we have something to put in it.
+
+2005-07-05 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
+ additional docs on precision. (#309238, Steve Chaplin)
+
+ * modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO)
+
+2005-07-05 Matthias Clasen <mclasen@redhat.com>
+
+ * doc/tools/widgets.c: Actually generate a file-button
+ image.
+
+2005-07-06 Tor Lillqvist <tml@novell.com>
+
+ * gdk/win32/gdkcursor-win32.c: Add comment about the current named
+ cursor implementation, and what it maybe really should do.
+ (gdk_win32_icon_to_pixbuf_libgtk_only): New function, code moved
+ here from gtk/gtkfilesystemwin32.c:extract_icon().
+ (gdk_cursor_get_image): Use
+ gdk_win32_icon_to_pixbuf_libgtk_only().
+
+ * gdk/gdk.symbols
+ * gdk/win32/gdkwin32.h: Declare gdk_win32_icon_to_pixbuf_libgtk_only().
+
+ * gtk/gtkfilesystemwin32.c (extract_icon): Use
+ gdk_win32_icon_to_pixbuf_libgtk_only().
+
+2005-07-05 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkmenu.c (gtk_menu_grab_notify): Take window
+ groups into account. (#309473, Diego Gonzalez)
+
+ * gtk/gtkwindow.[hc]: Add a non-exported function to
+ get the grab widget of a window group.
+
+2005-07-05 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_bin_expose): in the
+ 'main' expose loop, add back the calls to _set_cell_data
+ removed earlier. (#309221, Matthias Clasen).
+
+2005-07-05 Matthias Clasen <mclasen@redhat.com>
+
+ * demos/gtk-demo/menus.c: Demonstrate vertical menubars.
+
+ * gtk/gtk.symbols:
+ * gtk/gtkaboutdialog.[hc]: Add a wrap-license property
+ with getter and setter. (#165012, Christian Rose,
+ based on a patch by Christian Persch)
+
+2005-07-05 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/Makefile.am: Distribute the keyname-table.h header
+ and the files that are used to construct it. (#309421,
+ J. Ali Harlow)
+
+2005-07-04 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkmenubar.c (gtk_menu_bar_set_pack_direction)
+ (gtk_menu_bar_set_child_pack_direction): Queue a resize
+ on the contained menuitems as well.
+
+ * demos/gtk-demo/appwindow.c: Break some overlong lines.
+
+2005-07-03 Hans Breuer <hans@breuer.org>
+
+ * **/makefile.msc[.in] : updated
+ * gtk/gtkiconcache.c : <io.h> for open()
+ * gtk/gtkstyle.c : use G_PI instead of M_PI
+
+ * gdk/win32/gdkcursor-win32.c : implement gdk_cursor_new_from_name()
+ by mapping the lower case win32 api name to the respective cursor.
+ E.g. pass "wait" to get the IDC_WAIT cursor. Also allows to load
+ cursors from named resources in the executable.
+ (gdk_cursor_get_image) : just return NULL for now.
+
+ * gdk/win32/gdkgeometry-win32.c : implement gdk_window_move_region()
+ by delegation to ScollWindowEx(), untested.
+
+ * gdk/win32/gdkwindow-win32.c : stub for gdk_window_set_urgency_hint()
+
+2005-07-03 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkimagemenuitem.c: Hmm, when committing my vertical
+ menubar patch, I forgot the GtkImageMenuItem changes. And I
+ managed to do 2 releases without noticing that...
+
+ * gtk/gtksettings.c (gtk_settings_class_init): Correct the
+ blurb for the icon-sizes setting. String change.
+ (#309355, Benjamin Berg)
+
+2005-07-01 Matthias Clasen <mclasen@redhat.com>
+
+ * configure.in: Bump version.
+
+ * === Released 2.7.1 ===
+
+ * NEWS: Updates
+
+2005-07-01 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite
+ loop when G_FILENAME_ENCODING is invalid. (#309280, Padraig Brady)
+
+Thu Jun 30 14:17:24 2005 Manish Singh <yosh@gimp.org>
+
+ * gdk/x11/gdkprivate-x11.h: declare _gdk_xgrab_check_button_event.
+
+ * gtk/gtkbutton.c: fix signature of gtk_button_grab_broken.
+
+2005-06-30 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid
+ infinite loop if a mask is zero. (#309222, David Saxton)
+
+ * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child):
+ Clarify the code, gcc 4 complains about predecrement in MAX().
+
+ * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Don't
+ prematurely unregister callbacks.
+
+ * NEWS: Updates
+
+2005-06-29 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkbutton.c (gtk_button_grab_broken): Handle broken
+ grabs.
+
+ * gtk/gtkrange.c (gtk_range_grab_broken): Handle broken
+ grabs.
+
+ * gdk/gdkevents.h: Add a boolean to specify wether the broken
+ grab was implicit.
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_pointer_is_grabbed):
+ As the documentation states, don't return TRUE for
+ implicit grabs.
+
+ * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
+ a boolean field to store wether a pointer grab is implicit.
+
+ * gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_button_event):
+ Track implicit grabs.
+
+ * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
+ _gdk_xgrab_check_button_event for button events.
+
+2005-06-28 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size2):
+ Make sure that cell boxes are always completely inside
+ the item area.
+
+2005-06-27 Matthias Clasen <mclasen@redhat.com>
+
+ * demos/gtk-demo/main.c (create_tree): Make the list of
+ demos scrollable.
+
+ * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):
+ Fix positioning at the end of the line for lines ending
+ in invisible characters.
+ (gtk_text_layout_get_line_display): Set display->layout
+ to a PangoLayout, even for totally invisible lines.
+
+ * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Ignore
+ GrabBroken events which are caused by overgrabbing inside
+ the application; menus rely on these for their operation.
+
+ * gdk/gdkevents.h (struct _GdkEventGrabBroken): Add a
+ grab_window field.
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate): Set
+ grab_window to NULL when generating GrabBroken events for
+ WM_KILLFOCUS messages.
+
+ * gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_unmap)
+ (_gdk_xgrab_check_destroy): Set grab_window to NULL when
+ generating GrabBroken events when the grab window becomes
+ unviewable or is destroyed.
+
+ * gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab):
+ Generate GrabBroken events when overriding a grab inside
+ the application. In this case, set grab_window to the new
+ grab_window.
+
+2005-06-27 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkbutton.c (gtk_real_button_activate): Continue
+ to activate even if we can't grab the keyboard.
+ (gtk_button_finish_activate): Only ungrab when we have
+ a keyboard grab. (#172998, William Jon McCann)
+
+2005-06-27 Matthias Clasen <mclasen@redhat.com>
+
+ * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
+ Avoid a segfault. (#309054)
+
+2005-06-27 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
+ fields for grab timestamps.
+
+ * gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab):
+ Store grab timestamps when grabbing.
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard_ungrab)
+ (gdk_display_pointer_ungrab): Don't unset the grab_window
+ if the timestamps indicate that the ungrab will fails.
+
+ * gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when
+ they are grab-shadowed by something thats not a
+ submenu. (#145416, Euan MacGregor)
+
+2005-06-27 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtk[hv]ruler.c (gtk_[hv]ruler_draw_ticks):
+ Fix indentation.
+
+2005-06-27 Kjartan Maraas <kmaraas@gnome.org>
+
+ * gtk/gtkhruler.c: (gtk_hruler_draw_ticks): Fix leaks
+ * gtk/gtkvruler.c: (gtk_vruler_draw_ticks): Same
+ Closes bug #308953.
+
+2005-06-27 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Use
+ GMappedFile.
+
+ * configure.in: Require GLib 2.7.1
+
+2005-06-26 Matthias Clasen <mclasen@redhat.com>
+
+ * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
+ Unregister XIM callbacks here. (#309054)
+
+ * modules/input/gtkimcontextxim.h: Small cleanup.
+
+ * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
+ scroll offset when drawing the box. (#308834, Tom von
+ Schwerdtner)
+
+2005-06-26 Tor Lillqvist <tml@novell.com>
+
+ * gdk/Makefile.am
+ * gtk/Makefile.am: Current GNU tools do understand the PRIVATE
+ keyword, so no need to remove those entries from the import
+ library. libtool installs the .dll.a import library itself, so no
+ need to do it here. Install the .def file.
+
+Sun Jun 26 00:04:36 2005 Manish Singh <yosh@gimp.org>
+
+ * gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
+ GDK_GRAB_BROKEN to the switch cases.
+
+ * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
+ variables.
+
+ * gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.
+
+2005-06-26 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column
+ header drag operations if the grab is broken.
+
+ * gtk/gtkhsv.c (gtk_hsv_grab_broken): Stop the drag if
+ the grab is broken.
+
+ * gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't do
+ explicitly ungrab pointer and keyboard. We're unmapping
+ the grab window anyway.
+ (gtk_combo_box_popup): Handle grab failures.
+
+2005-06-25 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/x11/gdkmain-x11.c (gdk_keyboard_grab, gdk_pointer_grab):
+ Don't emit grab-broken for overgrabbing, until we figure
+ out how to do that without breaking the menu code.
+
+2005-06-25 Matthias Clasen <mclasen@redhat.com>
+
+ Add a GrabBroken event to GDK, and a grab-broken-event
+ signal to GtkWidget. (#107320, Simon Cooke, initial patch
+ by John Ehresman)
+
+ * gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type,
+ define a GdkEventGrabBroken event struct.
+
+ * gdk/win32/gdkevents-win32.c (gdk_event_translate):
+ Generate GrabBroken events in response to WM_KILLFOCUS.
+
+ * gdk/x11/gdkmain-x11.c: Generate GrabBroken events
+ when a grab is broken by the window becoming unviewable,
+ or by another grab from the same client.
+
+ * gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event.
+
+ * gtk/gtkwidget.c (gtk_widget_event_internal): Translate
+ GrabBroken events into grab_broken_event signals.
+
+ * gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken
+ events.
+
+ * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate
+ the menu when the grab is broken.
+
+ * gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop
+ the color picker if the grab is broken.
+
+ * gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if
+ the grab is broken.
+
+2005-06-25 Matthias Clasen <mclasen@redhat.com>
+
+ Add some new stock items. (#166480, Kristof Vansant)
+
+ * gtk/stock-icons/stock_fullscreen_16.png:
+ * gtk/stock-icons/stock_fullscreen_24.png:
+ * gtk/stock-icons/stock_leave_fullscreen_16.png:
+ * gtk/stock-icons/stock_leave_fullscreen_24.png:
+ * gtk/stock-icons/stock_info_16.png:
+ * gtk/stock-icons/stock_info_24.png: New icons.
+
+ * gtk/stock-icons/Makefile.am: Add new icons.
+
+ * gtk/gtkstock.h: Define names for the new icons.
+
+ * gtk/gtkstock.c (builtin_items): Register new stock items.
+
+ * gtk/gtkiconfactory.c (get_default_icons): Register new
+ stock icons.
+
+2005-06-24 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkrgb.c (gdk_rgb_select_conv): Fix up selection of
+ conversion functions for MSB machines: convert_0888[_br]
+ now work on bytes so are endian independent.
+ (Reported by David Zeuthen)
+
2005-06-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
jump to the next line if we are at the end of the line.
+ (gtk_text_view_move_cursor_internal): Make movement by
+ paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
2005-06-23 Tor Lillqvist <tml@novell.com>