]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
stop any pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
[~andy/gtk] / ChangeLog
index 74ea563ff4fcaf94ca5f153147cba2e6e6595c9d..3377697d05bcd9f7edaf0d9a486974d1e51672c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,453 @@
+2007-02-13  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
+       pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
+
+2007-02-10  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
+       remove some type checking; use better variable naming for the
+       internal menu item markers.
+
+2007-02-09  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchoosermenu.c: Add support for both prepending
+       and appending custom menu items.
+
+       (gtk_recent_chooser_menu_constructor): Add a placeholder menu
+       item for the empty menu case, and for giving us a starting
+       point for the recent items populating process.
+
+       (gtk_recent_chooser_menu_insert_item),
+       (gtk_recent_chooser_menu_dispose_items): Insert an item at
+       the position following the placeholder (and find that position
+       if needed).
+
+       (idle_populate_func), (idle_populate_clean_up): Show the
+       placeholder menu item, instead of creating one each time.
+
+       (gtk_recent_chooser_menu_populate): Kill some indirections
+       and hide the placeholder before populating the menu.
+
+       (set_recent_manager): Remember to remove the idle population
+       source if the manager changes.
+
+       * tests/testrecentchoosermenu.c: Test the appending and
+       prepending of the menu items to the recent chooser menu
+       widget.
+
+2007-02-08  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
+       of the displayed items to build the menu items mnemonic instead
+       of the overall item count. (#377164)
+
+       (idle_populate_clean_up): Append a menu item if all the items
+       got filtered in the idle populate function. (#405696)
+
+       * tests/Makefile.am:
+       * tests/testrecentchoosermenu.c: Add a test for the
+       GtkRecentChooserMenu widget.
+
+Thu Feb  8 13:07:08 2007  Tim Janik  <timj@imendio.com>
+
+       * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
+       GtkButtonBox (bug #336159).
+
+       * gtk/gtkenums.h:
+       * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
+       support GTK_BUTTONBOX_CENTER.
+
+       * tests/testbbox.c: new button box test, which allows testing of 
+       the various button box properties.
+
+       * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
+
+2007-02-07  Cody Russell  <bratsche@gnome.org>
+
+       * gdk/gdk.symbols: Add gdk_event_request_motions
+
+Wed Feb  7 19:03:28 2007  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request 
+       condition which was wrongly ported with my last commit.
+
+Tue Feb  6 15:53:59 2007  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtktextview.c (gtk_text_view_motion_event):
+       * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
+       * gtk/gtkaboutdialog.c (credits_motion_notify_event):
+       * gtk/gtkhruler.c (gtk_hruler_motion_notify):
+       * gtk/gtkvruler.c (gtk_vruler_motion_notify): 
+       * gtk/gtkentry.c (gtk_entry_motion_notify):
+       * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
+       * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
+       for new motion events after receiving motion hints.
+
+       * gdk/gdkevents.[hc]: added gdk_event_request_motions().
+
+2007-02-06  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
+       remove unused get of has_tooltip.
+
+       * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
+       portable g_snprintf instead of snprintf.
+
+2007-02-06  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
+
+       (gtk_tooltip_show_tooltip): move variables and code to local
+       scope. Fixes warnings about maybe uninitialized variables.
+
+2007-02-06  Kristian Rietveld  <kris@imendio.com>
+
+       New tooltips API.
+
+       * gtk/Makefile.am
+       * gtk/gtk.h
+       * gtk/gtk.symbols: build system foo.
+
+       * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
+       hook for appropriate events.
+
+       * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
+
+       * gtk/gtkrc.c: add style for gtk-tooltip.
+
+       * gtk/gtksettings.c (gtk_settings_class_init): make the
+       different tooltip timeouts configurable.
+
+       * gtk/gtkwidget.[ch]: add new properties, signals, make sure
+       tooltips are hidden on unmap, destroy, update window event
+       mask on realize, hook into focus change and show help
+       handlers.
+
+       * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
+
+       * gtk/gtktooltip.[ch]: new files.
+
+       * tests/Makefile.am
+       * tests/testtooltips.c: add test application.
+
+2007-02-05  Dom Lachowicz <domlachowicz@gmail.com>
+
+       * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
+       by prematurely releasing a DC. By Hiroyuki Yamamoto
+       * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking 
+       pixbufs when drawing rotated tabs. By Daniel Atallah
+       
+2007-02-05  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
+       and gtk-enable-mnemonics which enable/disable accelerators and
+       mnemonics (bug #72375, based on a patch from Tommi Komulainen).
+
+       * gtk/gtkwindow.c (gtk_window_activate_key)
+       * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
+       if the resp. setting is FALSE.
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
+       * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
+       them if the setting is FALSE.
+
+       * gtk/gtklabel.c: added signal connection to the screen's settings
+       object and traverse all widgets on the screen when the setting
+       changes. It's slightly ugly to also update GtkAccelLabels here,
+       but less ugly than connecting and traversing all widgets twice.
+
+2007-02-05  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
+       values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
+       ansi C enum value limits. Fixes bug #46757.
+
+2007-02-03  Soren Sandmann <sandmann@daimi.au.dk>
+
+       * gtk/gtksequence.[ch]: Remove these files since GSequence has
+       been moved into GLib.
+
+       * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
+
+       * configure.in: Require glib-2.13.0
+       
+2007-02-04  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
+       mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
+
+2007-02-02  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
+       style_get of vertical-separator. (#403165, Chris Wilson).
+
+2007-02-02  Christian Persch  <chpe@svn.gnome.org>
+
+       * gtk/gtkfilechoosersettings.c: (get_config_filename),
+       (ensure_settings_read), (_gtk_file_chooser_settings_init),
+       (_gtk_file_chooser_settings_set_show_hidden),
+       (_gtk_file_chooser_settings_set_expand_folders),
+       (_gtk_file_chooser_settings_save): Use a simple key file instead of a
+       markup file. Bug #399592.
+
+2007-02-02  Mariano Suárez-Alvarez  <mariano@gnome.org>
+
+       * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
+       be a little more helpful with the docs on GtkCellRendererText:alignment.
+       Bug #403409.
+
+2007-02-01  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
+       gtk_paint_box() calls.
+
+2007-02-01  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkmenu.c (gtk_menu_button_press)
+       (gtk_menu_button_release)
+       (gtk_menu_button_scroll): remove redundant and confusing
+       if (GTK_IS_MENU (widget)) checks because "widget" is always a
+       GtkMenu here.
+
+Thu Feb  1 12:22:06 2007  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
+       that gtkcombobox keeps on priv->popup_widget if it's a tree view.
+
+2007-01-31  Christian Persch  <chpe@svn.gnome.org>
+
+       * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
+       (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
+       (gtk_about_dialog_set_artists),
+       (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
+       there are no credits to show. Bug #402806.
+
+2007-01-31  Tor Lillqvist  <tml@novell.com>
+
+       * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
+       function.
+       (_gdk_input_wintab_init_check): Call it when debugging output is
+       requested.
+       (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
+       tablets. The Wacom driver reports duplicated cursors with
+       physid==0. Fix verified by Robert Ögren.
+
+2007-01-30  Felix Riemann  <friemann@svn.gnome.org>
+
+       * modules/printbackends/file/gtkprintbackendfile.c:
+       (file_printer_get_options): Fix leaked string. Fixes bug #402565.
+
+2007-01-30  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
+       (gdk_x11_window_set_user_time): Be more careful about toplevel
+       possibly being NULL.  (#402453, Sebastian Bacher)
+
+Tue Jan 30 12:09:56 2007  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
+       class_n_properties and leave an uninitialized value array behind.
+
+2007-01-29  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_select)
+       (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
+       this menu item's menu, to enable themeing menu items depending on
+       whether something is selected in their submenu (patch taken from
+       maemo-gtk).
+
+2007-01-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
+       that was mistakenly "cleaned up" a while ago. Also
+       revert a problematic change to the screen_changed
+       handler.  (#401598, Søren Sandmann)
+
+2007-01-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a 
+       problem with large y thickness.  (#136592, Xan Lopez)
+
+2007-01-28  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkaction.c (gtk_action_new): Use canonical
+       property names.  
+
+2007-01-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
+       (gtk_notebook_draw_focus): Avoid some unnecessary 
+       gtk_widget_get_style() calls.
+
+2007-01-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktoolbar.c:
+       * gtk/gtktoolitem.c:
+       * gtk/gtktoolbutton.c: Rearrange things so that setting
+       multiple properties causes not more than a single 
+       reconstruction of the contents.
+
+       * gtk/gtkaction.c (connect_proxy): Set all tool button 
+       properties in one go.
+
+2007-01-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkstatusicon.c:
+       * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
+       take up space on the panel if it is invisible.  (340110, Christian
+       Persch)
+
+       * tests/teststatusicon.c:
+       * tests/Makefile.am: Updates
+
+2007-01-27  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilesel.h:
+       * gtk/gtkrc.h:
+       * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
+       and the old file selector.  (#348256)
+
+2007-01-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
+
+2007-01-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/updateiconcache.c: Check the mtime of all directories,
+       not just the toplevel, if ftw() is available.  (#331671, Behdad
+       Esfahbod)
+
+       * configure.in: Check for ftw.h.
+
+2007-01-26  Michael Natterer  <mitch@imendio.com>
+
+       * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
+       destroy the XIM only if it exists. While the code does look safe
+       in general, there can be corner cases where the "reconnecting"
+       boolean being FALSE does not correspond to the XIM being
+       allocated (fixes #329450, fix taken from maemo-gtk).
+
+Fri Jan 26 13:07:07 2007  Tim Janik  <timj@imendio.com>
+
+       * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
+       window bounds (fix from Maemo Gtk).
+
+2007-01-26  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
+       only block/unblock completion->priv->insert_text_id if it is
+       actually connected. While this can't happen the way GtkEntry
+       itself uses the completion, it's still public API and should not
+       blindly call functions that will spit warnings (fix taken from
+       maemo-gtk).
+
+2007-01-25  Matthias Clasen  <mclasen@redhat.com>
+
+       * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
+       the paintable iface.  
+
+2007-01-24  Michael Natterer  <mitch@imendio.com>
+
+       * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
+       of PRELIGHT state for the reasons given in bug #135666. Widget
+       states are sometimes abused or otherwise used wrongly for historic
+       reasons, causing this part of the patch to break e.g. menu items.
+
+2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>
+
+       * README: Remove mention of no-longer-existing PATCH
+       keyword in bugzilla. (#396899)
+
+2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
+
+       * gtk/gtkpagesetup.c
+       (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
+       Fixes bug #399907. 
+
+2007-01-22  Chris Wilson <chris@chris-wilson.co.uk>
+
+       Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
+
+       * gtk/gtkstyle.h:
+               Cause gcc to issue a warning if the style returned from
+               gtk_style_attach is not used. Failure to update
+               widget->style causes some very difficult to reproduce bugs,
+               eg Bug 353498 – crash in Terminal: changing icon theme.
+
+2007-01-19  Michael Emmel  <mike.emmel@gmail.com>
+
+       * gdk/directfb/gdkevents-directfb.c: added fixes for window
+       crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
+
+2007-01-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcalendar.c: Fix build breakage.
+
+2007-01-19  Kristian Rietveld  <kris@imendio.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
+       (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
+       add_scroll_timeout().  (taken from maemo-gtk).
+
+2007-01-18  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkcalendar.c: Fix problems with the initial
+       focus in GtkCalendar.  (#397783, Vincent Untz)
+
+2007-01-19  Robert Ögren  <gtk@roboros.com>
+
+       Fix for bug #143460 - missed tablet clicks on Windows
+
+       * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
+       Request absolute reporting of tablet button state, and cut down
+       the packet queue size a bit.
+       (_gdk_input_other_event): Change button state handling
+       accordingly. Also drop the no longer necessary code that detects
+       missed clicks/releases for button 1. The switch to absolute button
+       state should prevent missed events for all buttons. Additionally,
+       swap button 2 and 3.
+       (_gdk_input_grab_pointer): Don't reset button_state, that will only
+       cause a new press event as soon as the next tablet packet arrives.
+
+2007-01-19  Tor Lillqvist  <tml@novell.com>
+
+       Build Wintab support always on Windows. Don't require the Wintab
+       SDK.
+
+       * configure.in: Drop the --with-wintab option. Drop the
+       HAVE_WINTAB feature test macro and Automake variable.
+
+       * acconfig.h
+       * config.h.win32.in: Drop HAVE_WINTAB.
+
+       * gdk/win32/gdkevents-win32.c
+       * gdk/win32/gdkinput.c
+       * gdk/win32/gdkinput-win32.h
+       * gdk/win32/gdkinput-win32.c
+       * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
+       unconditional.
+
+       * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
+       to load wintab32.dll dynamically here. If it is found look up the
+       handful Wintab functions we use.
+       (rest of file): Use these function pointers instead of calling the
+       functions from wntab32x.lib. The code in wntab32x.lib did the same
+       thing anyway: tried to load wintab32.dll, and looked up the
+       addresses of the actual functions from it.
+
+       * gdk/Makefile.am
+       * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
+
+       * gdk/win32/wintab.h
+       * gdk/win32/pktdef.h: New files. Copied from the Wintab
+       SDK. Copyright blurb says: "The text and information contained in
+       this file may be freely used, copied, or distributed without
+       compensation or licensing restrictions."
+
+       * README.win32: Update a bit. Remove the text about the Wintab
+       SDK.
+
 2007-01-18  Tor Lillqvist  <tml@novell.com>
 
        * gdk-pixbuf/Makefile.am