2005-04-09 Matthias Clasen * === Released 2.6.5 === * NEWS: Updates 2005-04-08 Matthias Clasen * gtk/gtkimage.c (gtk_image_expose, gtk_image_calc_size): If a stock_id is unknown, display the missing image. (#169870, Steven Walter) * gtk/gtkiconcache.c (icon_name_hash): Use the same function as in updateiconcache.c. (spotted by Morten Welinder) * gtk/gtkcombobox.c (gtk_combo_box_popdown): Make this work when called from gtk_combo_box_destroy(). (#172999, Christian Persch) 2005-04-08 Matthias Clasen Fix double-click to autosize treeview columns. This was probably broken since 2.2 ! (#169675) * gtk/gtktreeview.c (gtk_tree_view_button_press): Leave the "user-resized" state of the column on a double-click to autosize. (gtk_tree_view_button_press, gtk_tree_view_motion_resize_column): Enter the "user-resized" state of the column only if a drag actually changes the column width, not on any click. 2005-04-07 Matthias Clasen * gtk/updateiconcache.c (write_card32, write_card16): Avoid unaligned access. (#172947) Some fixes from Morten Welinder (#172947): * gtk/updateiconcache.c (icon_name_hash): Make this compiler- and platform-independent. (is_cache_up_to_date): Don't compare mtimes is a stat call failed. (build_cache): Error out if a stat fails. 2005-04-07 Matthias Clasen * gtk/updateiconcache.c (is_cache_up_to_date): Return TRUE if the cache is newer than the directory. (#172852, Jacob Kroon) * configure.in: Replace an explicit pkg-config by $PKG_CONFIG. (#168074, Hans-Wolfgang Loidl) * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Ignore regions which fall completely outside the line. (#165862, Felipe Heidrich) 2005-04-06 Matthias Clasen * gtk/*.c, gdk/gdkdisplaymanager.c: s/G-OBJECT/G_OBJECT/g, and some more build fixes. 2005-04-06 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source) (gtk_tree_view_enable_model_drag_dest): Pass the target list to the underlying dnd implementation, otherwise we miss the target info in the drag-data-received signal. (#164085, Jorn Baayen) * gtk/*.c, gdk/gdkdisplaymanager.c: Use canonical property names for g_object_notify() calls. (#171746, Morten Welinder) 2005-04-06 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow resetting search-column to -1, and document it. (#172891, Lorenzo Gil Sanchez) 2005-04-06 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_motion_resize_column) (gtk_tree_view_bin_expose): Avoid a few unnecessary calls to gdk_window_get_pointer(). (#168015, Billy Biggs) * gtk/gtkwindow.c (gtk_window_set_keep_below): Fix the EWMH link, noticed by Kristof Vansant. * po/.cvsignore, po-properties/.cvsignore: Remove Makefile.in.in. (#171092, Stefan Kasal) 2005-04-06 Matthias Clasen * gtk/gtkrc.c (gtk_rc_parse_style): Don't modify scanner->value, copy it first. (#165693, Tommi Komulainen) 2005-04-05 Matthias Clasen * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_grab_focus): * gtk/gtkcombobox.c (gtk_combo_box_grab_focus): Implement grab_focus for GtkComboBox and GtkComboBoxEntry. (#171912, Gustavo Carneiro) 2005-04-05 Matthias Clasen * gtk/gtkicontheme.c: Store icon caches along with the mtimes of the toplevel directories. The previous mechanism of a hashtable-per-theme caused duplicate icon caches for the same toplevel directory to be created. (#170030) 2005-04-05 Matthias Clasen * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect the license and credits buttons from being affected by gtk_widget_show_all(). (#172724) * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a reference to the item. (#167920, Hazael Maldonado Torres) * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some more docs on interactive search. * NEWS: Updates 2005-04-05 Tor Lillqvist * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour display mode. For some reason, in this mode GetDeviceCaps(BITSPIXEL) returns 1 (but GetDeviceCaps(NUMCOLORS) does return 16). (#143415) * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force 24bpp GdkVisual on 32bpp displays. (#140706) Mon Apr 4 19:13:23 2005 Jonathan Blandford Fix for #172319, Tristan Van Berkom: * gtk/gtktreeview.c (gtk_tree_view_expand_all): change to use gtk_tree_view_real_expand_row() instead of doing this by hand. Mon Apr 4 14:33:55 2005 Manish Singh * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): cast combo->priv->entry to GTK_ENTRY() Mon Apr 4 12:14:35 2005 Søren Sandmann * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into widget coordinates instead of root coordinates. Patch from Jorn Baayen. (#172236) 2005-04-04 Matthias Clasen * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): Take padding into account when calculating max_layout_width. * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): Use gtk_accel_map_change_entry(), so that reusing the same action name works. (#170727, Paolo Borelli) 2005-04-04 Tor Lillqvist * gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging function, to log a clipboard format name symbolically. (_gdk_win32_data_to_string): Also new, to log random data bytes. Merge from HEAD: * gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print debugging output only if asked for, not always. * gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New debugging function. As GetKeyNameText() returns a localized key name we need to convert it to UTF-8. * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkevents-win32.c: : Declare new functions, use them. Implement delayed rendering on Win32, specifically for transfering images through the clipboard from GTK+ apps to other apps (#168173, implementation by Ivan Wong): * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle WM_RENDERFORMAT. * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkglobals-win32.c: Add _format_atom_table, _delayed_rendering_data and _image_bmp. * gdk/win32/gdkmain-win32.c: Initialize _image_bmp. * gdk/win32/gdkproperty-win32.c (gdk_property_change): Accept formats other than GDK_TARGET_STRING or _utf8_string, and assume they are handled through delayed rendering. * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Return all available formats (including those registered by GTK+ apps) on request_targets. (gdk_selection_property_get): We should append a zero byte like X11 does. (gdk_win32_selection_add_targets): New function, for gtkselection's use. Win32 requires that the clipboard owner registers all valid formats even if the owner wants delayed rendering. (_gdk_win32_selection_convert_to_dib): New function. Convert images to DIB using gdk-pixbuf. * gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets(). * gtk/gtkselection.c (gtk_selection_add_target, gtk_selection_add_targets): Call gdk_win32_selection_add_targets() to register target formats. * gdk/gdk.symbols: Add gdk_win32_selection_add_targets(). 2005-04-03 Hans Breuer * gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of the line pattern not the start of the line. Fixes bug #171641. * gtk/makefile.msc.in : follow .symbols changes 2005-04-01 Matthias Clasen * gtk/gtkselection.c: Move documentation inline, document if add_target functions append or prepend. (#172350, Jon-Kare Hellan) Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry (#171373, Robert Staudinger) * gtk/gtkcombobox.h: Add a get_active_text vfunc. * gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And implement it here. * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text): Implement get_active_text by always returning the content of the entry. 2005-03-31 Sven Neumann * gtk/gtkbutton.c * gtk/gtkiconview.c: fixed gtk-doc comments. 2005-03-30 Federico Mena Quintero Fix #170755: