]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Protect against NULL widget. (#379503)
[~andy/gtk] / ChangeLog
index a8e8c9acad478fa19fda0c215325cc94f747b3c9..dc2ef109943ac09618741b7d6a782830225e8432 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,341 @@
+2006-11-26  Benjamin Berg  <benjamin@sipsolutions.net>
+
+       * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
+         widget. (#379503)
+
+2006-11-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/cups/gtkprintbackendcups.c: Make
+       print dialog work when 'BrowseShortNames Off' is specified
+       in cups configuration. Patch by Tim Waugh.
+
+2006-11-24  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
+       can't go up/down, consult gtk_widget_keynav_failed() and leave the
+       widget if it returns FALSE (bug #322640).
+
+2006-11-23  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
+
+2006-11-22  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c:
+       (get_uri_shortname_for_display): g_filename_from_uri() might
+       fail; catch the failure and fall back to the non-local URI
+       case. (#363437)
+
+2006-11-19  Mark McLoughlin  <mark@skynet.ie>
+
+       Fixes bug #376502 - multi-screen support for GtkStatusIcon
+
+       * gtk/gtkstatusicon.[ch]:
+       (gtk_status_icon_set_screen),
+       (gtk_status_icon_get_screen): add multi-screen API. Allows
+       an app to display an icon on a non-default screen
+       (gtk_status_icon_class_init),
+       (gtk_status_icon_set_property),
+       (gtk_status_icon_get_property): add a "screen" property
+       
+       * tests/teststatusicon.c: update to test on multiple screens
+
+2006-11-17  Matthias Clasen  <mclasen@redhat.com>
+
+       Fix problems with drag cancellation. (#376535, Michael Natterer)
+       
+       * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
+       handlers before emitting drag-end.
+       (gtk_drag_end): Disconnect signal handlers before removing
+       the grab.  
+
+2006-11-16  Mariano Suárez-Alvarez <mariano@gnome.org>
+
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
+       add gtk-doc blurb on GtkCellRendererText::edited (#376094)
+
+2006-11-16  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
+       gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
+       and gtk-keynav-wrap-around and wrap around, beep or continue outside
+       the group manually (bug #322640).
+
+2006-11-16  Michael Natterer  <mitch@imendio.com>
+
+       Add new infrastructure for notifications of failed keyboard
+       navigation and navigation with restricted set of keys.
+
+       The patch handles configurable beeping, navigating the GUI with
+       cursor keys only (as in phone environments), and configurable
+       wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
+       and #309291.
+
+       * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
+       gtk-keynav-wrap-around and gtk-error-bell.
+
+       * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
+       API to emit it. Added New function gtk_widget_error_bell() which
+       looks at the gtk-error-bell setting and calls gdk_window_beep()
+       accordingly.
+
+       * gtk/gtk.symbols: add the new widget symbols.
+
+       * gtk/gtkcellrendereraccel.c
+       * gtk/gtkimcontextsimple.c
+       * gtk/gtkmenu.c
+       * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
+       gtk-error-bell setting instead of calling gdk_display_beep()
+       unconditionally.
+
+       * gtk/gtkcombobox.c
+       * gtk/gtkentry.c
+       * gtk/gtkiconview.c
+       * gtk/gtklabel.c
+       * gtk/gtkmenushell.c
+       * gtk/gtkspinbutton.c
+       * gtk/gtktextview.c
+       * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
+
+       * gtk/gtkentry.c
+       * gtk/gtklabel.c
+       * gtk/gtkrange.c
+       * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
+       cursor navigation and leave the widget if it returns FALSE.
+
+       * gtk/gtkmenushell.c
+       * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
+       is TRUE.
+
+       * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
+       whether to to wrap-around, and don't select active items on cursor
+       navigation if gtk-keynav-cursor-only is TRUE. Should look at
+       gtk-keynav-wrap-around too, will look into that.
+
+2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c:
+       (gtk_recent_info_get_uri_display): Return the URI
+       of the GtkRecentInfo object (upgraded to UTF-8 if
+       needed) in case of non-local file. (#351945)
+
+2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
+       
+       * gtk/gtkrecentchoosermenu.c:
+       (gtk_recent_chooser_menu_add_tip): Apply the tip only
+       if we have a displayable name for the item. (#365031,
+       patch by padraig.obriain(at)sun.com)
+
+2006-11-16  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentmanager.c: Provide a fast path returning
+       NULL when the limit is set to 0.
+
+       * gtk/gtkrecentchooserdefault.c:
+       * gtk/gtkrecentchoosermenu.c: Add the same fast path
+       inside the RecentChooser implementation; add a check
+       in the list clamping code. (#373466 and duplicates)
+
+2006-11-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options): 
+       Don't pass NULL to strncpy.  (#359537, patch by  Carlos Garcia Campos)
+
+2006-11-15  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrange.[ch]: added properties "fill-level",
+       "show-fill-level" and "restrict-to-fill-level" and getters/setters
+       for them. The "fill level" is an additional marker on the range's
+       trough than can be e.g. used to indicate the amount of
+       pre-buffering in a range showing the play position of streamed
+       media. See the embedded API docs for details. Made GtkRangeLayout
+       a GTypeInstance private struct and removed finalize()
+       implementation. Fixes bug #349808
+
+       * gtk/gtk.symbols: added the new symbols.
+
+2006-11-14  Behdad Esfahbod  <behdad@gnome.org>
+
+       * configure.in: Make libtool magic robust. (#352795)
+
+2006-11-13  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
+       leak (#370395)
+
+2006-11-09  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
+       don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
+
+2006-11-09  Carlos Garnacho  <carlosg@gnome.org>
+
+       * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
+
+2006-11-08  Carlos Garnacho  <carlosg@gnome.org>
+
+       * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
+       timeout running if the slider buttons are hidden. (#372527)
+
+2006-11-08  Christian Persch  <chpe@cvs.gnome.org>
+
+       * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
+       the "Location" label bold. Bug #372449.
+
+2006-11-07  Carlos Garnacho  <carlosg@gnome.org>
+
+       * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
+       non-focused tabs xthickness/ythickness thinner. (#353962)
+
+2006-11-07  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
+       corruption (#357050).
+
+2006-11-06  Alexander Larsson  <alexl@redhat.com>
+
+       * gtk/gtkdnd.c: (gtk_drag_begin_internal),
+       (gtk_drag_source_info_destroy), (gtk_drag_end),
+       (gtk_drag_grab_notify_cb):
+       Cancel drag when the grab is shadowed. (#122688)
+
+2006-11-01  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_class_init),
+       (gtk_combo_box_size_request): add arrow-size property to control
+       the minimum size of the arrow, have the arrow scale up with the
+       font by default. (#357950).
+
+2006-10-30  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
+       forget to queue a draw for the new cursor node. (Fixes #366548,
+       reported by Sven Herzberg).
+
+2006-10-30  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
+       only if we actually cancel a drag. Fixes bug #58389.
+
+2006-10-30  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
+       keybindings to collapse/expand rows instead of moving the focus
+       cursor. (#105895, Brian Bober and others).
+
+2006-10-29  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
+       child removal in row-expanded callback. (#366782, John Ellis).
+
+2006-10-29  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
+       of the small icon of the window class. (#152620, Kazuki Iwamoto)
+
+2006-10-29  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkcursor-win32.c
+       (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
+       for instance the built-in GDK ones.
+
+2006-10-27  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
+       case to not overwrite the variables in the lower scope (which are
+       used later on ...), get the path correctly and bail out when there
+       isn't a node above us. (#359231).
+
+2006-10-26  Christian Persch  <chpe@cvs.gnome.org>
+
+       * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
+
+2006-10-25  Johan Dahlin  <jdahlin@async.com.br>
+
+       * gtk/gtk.symbols: Add missing symbols to so make check can pass
+
+2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>
+
+       * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
+       to free GDI Pen resources, introduced by bug 340201.(#364514)
+       
+2006-10-18  Kristian Rietveld  <kris@imendio.com>
+
+       * tests/testcombo.c (main): connect to notify::popup-shown instead of
+       popup-show (the latter does not exist).
+
+2006-10-15  Paolo Borelli  <pborelli@katamail.com>
+
+       * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
+       Fixes bug #362439.
+
+2006-10-12  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
+       (committed the wrong patch).
+
+2006-10-12  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
+       bindings to trigger them. Removed gtk_combo_box_key_press(), it's
+       obsolete now. Fixes bug #358293.
+
+2006-10-11  Michael Emmel  <mike.emmel@gmail.com>
+
+       * gdkpixmap-directfb.c: add missing RGB24 case (#361176) 
+
+2006-10-11  Tor Lillqvist  <tml@novell.com>
+
+       * configure.in: Enable having some gdk-pixbuf loaders built-in
+       even if loading the others dynamically. Define Automake
+       conditional INCLUDE_FOO for each loader as TRUE if that loader is
+       built-in. See also gdk-pixbuf/ChangeLog.
+
+Wed Oct 11 14:31:30 2006  Tim Janik  <timj@imendio.com>
+
+       * docs/reference/gtk/gtk-sections.txt:
+       * gtk/gtkbindings.c: document gtk_binding_entry_skip().
+
+2006-10-11  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
+       variable.
+
+2006-10-11  Tor Lillqvist  <tml@novell.com>
+
+       Merge from 2.10 branch:
+
+       * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
+       environment variable LC_ALL or LANG is set, set the Win32 thread
+       locale to the corresponding locale. Then call the C library
+       setlocale() to set the C library locale accordingly. The
+       inconsistency mentioned below is gone. (#339756) Do some special
+       casing for Serbia and Montenegro. Handle the Latin and Cyrillic
+       scripts for Azeri, Uzbek and Serbian.
+       (enum_locale_proc): Helper function for the above functionality.
+
+       * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
+       if the environment variables are set here, as they have already
+       been taken into account and the Win32 thread locale has been
+       set.
+
+Tue Oct 10 16:38:23 2006  Tim Janik  <timj@imendio.com>
+
+       * gtk/tmpl/gtkbindings.sgml: 
+       * gtk/gtkbindings.c: applied patch from Michael Natterer to move to 
+       inline docs. applied wording fixes suggested by Martyn Russell.
+
+2006-10-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
+       Update the docs to state which out parameters may be NULL.
+       (#360870, Attilio Fiandrotti)
+
+2006-10-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
+       a typo.  (#359542, Ghee Teo)
+
 2006-10-08 Matthias Clasen <mclasen@redhat.com>
 
        * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only