]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Only call g_object_get() when necessary. (#373137, Morten Welinder, patch
[~andy/gtk] / ChangeLog
index c933d8c41c9b83169e2222e4edad9807d65aeec4..785f47d86a05cce50e8ba519e13f898fda5c9ddb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,334 @@
+2007-04-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkentry.c (gtk_entry_grab_focus): Only call
+       g_object_get() when necessary.  (#373137, Morten Welinder,
+       patch by Xan Lopez)
+
+2007-04-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
+       a note about being embedded.  (#340107, Christian Persch)
+
+2007-04-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
+       restrict drags within an application/widget.  (#163141, 
+       Jorn Baayen)
+
+2007-04-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * docs/tools/Makefile.am:
+       * gtk/Makefile.am: Make make clean clean.  (#410160, Tommi
+       Komulainen)
+
+2007-04-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
+       * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder): 
+       * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
+       (get_children_folder_cb): Plug memory leaks caused by wrong 
+       use of g_slist_remove_link().  (#405515, Nicolas Peninguy)
+
+2007-04-28  Matthias Clasen  <mclasen@redhat.com>
+       
+       * demos/gtk-demo/printing.c: Fix the headers in the print
+       demo.  (#423722, Yevgen Muntyan)
+
+2007-04-28  Xan Lopez  <xan@gnome.org>
+
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text): 
+       Use strstr instead of g_strstr with -1 for length.
+
+2007-04-28  Xan Lopez  <xan@gnome.org>
+
+       * gtk/gtkentry.c:
+       * gtk/gtkentrycompletion.c:
+       * gtk/gtkentrycompletion.h:
+       * gtk/gtkentryprivate.h:
+
+       Remember the user input that triggered the completion, add
+       API to the retrieve it and reset the entry contents to it
+       if the user cancels the tentative completion during
+       the inline-selection.
+       
+2007-04-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkgeometry-x11.c: Factor out window movement
+       functions. (#63820, Tilman Sauerbeck)
+
+2007-04-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
+       (#63820, Tilman Sauerbeck)
+
+2007-04-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
+       and unmapping functions.  (#63820, Tilman Sauerbeck)
+
+2007-04-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkgeometry-x11.c: Make list handling code
+       easier to read.  (#63820, Tilman Sauerbeck)
+
+2007-04-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtkassistant.c:
+       * gtkiconfactory.c:
+       * gtkiconview.c:
+       * gtkpapersize.c:
+       * gtkrecentmanager.c:
+       * gtktextiter.c: Internalize some strings, pointed out
+       by Damon Chaplin.
+
+2007-04-27  Xan Lopez  <xan@gnome.org>
+
+       Support inline-selection in entries (#318459)
+       
+       * gtk/gtkentry.c:
+       * gtk/gtkentrycompletion.c:
+       * gtk/gtkentrycompletion.h:
+       * gtk/gtkentryprivate.h:
+
+       When enabled cursor-match is emited when the cursor is on
+       a possible completion on the list. The default implementation
+       will replace the contents on the entry with the contents of
+       the text column in the completion model.
+
+       Review and improvements by Matthias Clasen.
+
+2007-04-27  Michael Natterer  <mitch@imendio.com>
+
+       Merged heavily modified patch from maemo-gtk which enables opening
+       and closing submenus on click, and introduces some usability
+       changes when gtk-touchscreen-mode is enabled (bug #128968):
+
+       * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
+       "activated_submenu" to indicate that the current mouse operation
+       (click or drag) has opened a submenu.
+
+       (gtk_menu_shell_button_press): pop up submenus without delay
+       and record the fact in "activated_submenu".
+
+       (gtk_menu_shell_button_release): if a submenu was explicitely
+       opened, or not opened by this release's button_press, or enough
+       time has passed since timeout-opening it, close the submenu here.
+
+       (gtk_menu_shell_enter_notify): when entering a menu item with
+       any mouse button pressed, open its submenu.
+
+       (gtk_real_menu_shell_move_current): in touchsreen mode, close the
+       submenu when moving the focus away from it via keyboard-navigation.
+
+       * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
+       parameter "gboolean with_delay" so GtkMenuShell can control this
+       for the different scenarios of submenu showing.
+
+       (_gtk_menu_item_popdown_submenu): new function. also needed by
+       GtkMenuShell for closing submenus on click.
+
+       Renamed internal function gtk_menu_item_select_timeout() to
+       gtk_menu_item_popup_timeout().
+
+       (gtk_menu_item_real_popup_submenu): new utility function which
+       does the actual popup and records the exact time of the popup when
+       the menu was timeout-opened (using g_get_current_time()).
+
+       (gtk_real_menu_item_select): don't add the popup timeout when in
+       touchscreen mode.
+
+       * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
+       first item of every opened menu.
+
+2007-04-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserentry.c: Append a '/' to directory names
+       in the completion popup.  (#431323, Maarten Maathuis)
+
+2007-04-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * demo/gtk-demo/combobox.c: Add a simple validation demo. 
+       * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
+       children to a GtkComboBoxEntry.  (#426401, Paul Pogonyshev)
+
+2007-04-26  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
+       (gtk_input_dialog_fill_keys): Remove old child of scrolled window
+       before adding a new one when switching what input device is being
+       handled. (#399425)
+
+2007-04-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/lpr/gtkprintbackendlpr.c
+       (gtk_print_backend_lpr_init): Mark the printer list as done. 
+       (#428665, Bogdan Gheorghe)
+
+2007-04-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * Makefile.am:
+       * gtk/Makefile.am: Don't install UNIX-printing headers and
+       support files on non-UNIX platforms.  (#425655, Vincent Geddes)
+
+2007-04-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
+       unnamed separators.  (#369112, Christian Persch)
+
+2007-04-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
+       invalid memory.  (#429732, Armin Burgmeier)
+
+2007-04-26  Cody Russell  <bratsche@gnome.org>
+
+       * gdk/win32/xcursors.h:
+       * gdk/win32/gdkcursor-win32.c:
+
+       Use Win32 native cursors instead of the ones built into GTK
+       where it makes sense. (#128852, Tim Evans)
+
+2007-04-25  Cody Russell  <bratsche@gnome.org>
+
+       * gdk/gdkwindow.h:
+       * gtk/gtkwidget.c:
+       * gtk/gtkhandlebox.c:
+       * gdk/directfb/gdkwindow-directfb.c:
+       * gdk/linux-fb/gdkwindow-fb.c:
+       * gdk/quartz/gdkwindow-quartz.c:
+       * gdk/win32/gdkwindow-win32.c:
+       * gdk/x11/gdkwindow-x11.c:
+       Added window type hint and implement drop shadows on Win32
+       for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
+
+2007-04-25  Jakub Steiner <jimmac@ximian.com>
+
+       * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
+               gtk-close as per discussion in bug #431740.
+
+2007-04-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
+       of the header window again.  (#431067, Benjamin Berg)
+
+2007-04-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
+       NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
+       depends on it. 
+
+       * tests/testicontheme.c: Report builtin icons.
+
+2007-04-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't 
+       crash if end_run is not set.  (#424168, Matthias Hasselmann)
+
+2007-04-25  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
+       scroll buttons (we were setting the state to ACTIVE but
+       immediately overwriting it with NORMAL or PRELIGHT). Also got rid
+       of many separate calls to gdk_window_invalidate_rect() by
+       remembering the old button state and only invalidating the area if
+       the state has changed (addresses parts of bug #433242, Tommi
+       Komulainen).
+
+       (gtk_menu_scroll_to): change the arrow states only if changing
+       from or to INSENSITIVE state, so we don't overwrite the ACTIVE
+       state set by above function.
+
+2007-04-25  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
+       build. Dunno if the fix is right, but I think it is.
+
+2007-04-25  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
+       cleanup/refactor some leftover code.
+
+2007-04-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
+       half-open ranges like -2 or 3-, and be a bit more liberal
+       about whitespace.
+       (dialog_set_page_ranges): Support half-open ranges.
+
+       * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
+       number of pages in half-open ranges.
+       (preview_iface_is_selected): Support half-open ranges here, too.
+
+2007-04-24  Chris Wilson  <chris@chris-wilson.co.uk>
+
+       * gtk/gtkicontheme.c (scan_directory): Ensure the 
+       icon_theme->all_icons and dir->icons hash tables use the same string
+       as their keys. (#418531)
+
+2007-04-23  Cody Russell  <bratsche@gnome.org>
+       * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
+       left-most tab when notebooks are top-oriented.  Also general cleanup of
+       notebook tab related code.  (Lieven van der Heide, Cody Russell)
+
+2007-04-23  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
+       the amount of debug spew if we are not debugging.
+       
+2007-04-23  Michael Natterer  <mitch@imendio.com>
+
+       * tests/Makefile.am (testtooltips_SOURCES): fix typo:
+       testtoooltips_SOURCES -> testtooltips_SOURCES.
+
+2007-04-19  Cody Russell <bratsche@gnome.org>
+
+       * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
+       for Windows Vista.  (#392015, Hiroyuki Yamamoto)
+
+2007-04-19  Dominic Lachowicz <domlachowicz@gmail.com>
+
+       * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
+       non-WinXP rendering paths. From Daniel Atallah (#403470)
+       
+2007-04-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkicontheme.h:
+       * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
+       icon lookup flag and implement it.  (#396901, Luca Ferreti)
+       
+2007-04-18  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c:
+       (gdk_window_quartz_process_updates_internal),
+       (gdk_window_quartz_process_all_updates),
+       (gdk_window_impl_quartz_process_updates): Refactor the process 
+       updates functions to share code between them. Also fixes bug 
+       #427660 by not updating larger regions than necessary.
+
+2007-04-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkregion-generic.h (GROWREGION): Handle the case
+       of nRects == 0 correctly.  
+       
+2007-04-18  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
+       a leak by not increasing the refcount of the GtkRecentInfo
+       object when returning it (thanks to Matthias Clasen).
+
+2007-04-16  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkprintoperation.c (gtk_print_operation_run):
+       Make async print preview work by actually starting
+       the print process in that case (#424168)
+
+2007-04-14  Yevgen Muntyan <muntyan@tamu.edu>
+
+       * gtk/gtkselection.c (selection_get_text_plain): fixed
+       wrong g_convert_with_fallback() call which caused
+       gtk_selection_data_get_text() return invalid UTF-8 for
+       non-ASCII text in text/plain selection (#382824).
+
 2007-04-12  Jakub Steiner <jimmac@ximian.com>
 
        * gtk/stock-icons/*: update the stock icons to follow the Tango