2007-03-12 Matthias Clasen * === Released 2.10.10 === * NEWS: Updates 2007-03-12 Matthias Clasen Merge from trunk: * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set the background of the panel window on style changes. (#402144, Benjamin Berg) 2007-03-12 Matthias Clasen * NEWS: Updates 2007-03-12 Matthias Clasen Merge from trunk: * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb): Handle the row reference path being NULL. (#410565, Joe Markus Clarke, patch by Chris Wilson) 2007-03-11 Matthias Clasen Merge from trunk: * tests/testiconview.c: Handle Menu key presses without crash. (#385637, Christian Persch) 2007-03-11 Matthias Clasen Merge from trunk: * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window): Don't crash if active_tips_data is NULL. (#382904, Li Yuan) 2007-03-11 Matthias Clasen Merge from trunk: * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez) 2007-03-12 Kristian Rietveld Merge from trunk: * gtk/gtkfilechooserdefault.c (check_save_entry): immediately bail out if current_folder is NULL. (#350988, lots of reporters, modified patch by Jan Darmochwal). 2007-03-12 Christian Persch * gtk/gtkfilechooserdefault.c: (browse_widgets_create): Don't make the Location: label bold. Bug #372449. 2007-03-10 Kristian Rietveld Updated fix for #356515, merged from trunk: * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send a focus-in event to the tree view after hiding the search dialog; only hide the search dialog and send the focus events when the dialog is currently visible. 2007-03-10 Kristian Rietveld Merge from trunk: * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node): when (un)reffing an element, also (un)ref its parent elements. (Fixes #364946, reported by many, testcase by Andreas Koehler). 2007-03-10 Kristian Rietveld Merge from trunk: * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed), (gtk_tree_model_sort_sort_level): ref count nodes the proper way, (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node), (gtk_tree_model_sort_free_level): bring zero ref count loops in sync, (gtk_tree_model_sort_free_level): free child levels before decreasing the zero ref count of the current level, (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count is > 0. 2007-03-10 Matthias Clasen Merge from trunk: * gtk/gtkprintoperation-unix.c: Initialize the do_preview field of PrintResponseData. (#396703, Christian Persch) * tests/print-editor.c: Plug some leaks. 2007-03-09 Matthias Clasen Merge from trunk: * gtk/gtktextview.c (gtk_text_view_end_selection_drag): Get rid of the unused event argument. Update all callers. * gtk/gtktextview.c (gtk_text_view_focus_out): Call gtk_text_view_end_selection_drag. (#351671, Boyd Timothy) 2007-03-09 Matthias Clasen Merge from trunk: * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress): Don't commit modifier-adorned characters. (#331369, #335796, Lin Ma and others) 2007-03-09 Matthias Clasen * gdk/x11/gdkasync.c: Fix the build 2007-03-09 Matthias Clasen * gtk/gtkfilesystemwin32.c (get_icon_path): Remove C99isms. (#416525, Kazuki Iwamoto) 2007-03-09 Tor Lillqvist * README.win32: Update. 2007-03-08 Matthias Clasen * NEWS: Updates 2007-03-08 Matthias Clasen Merged from trunk: * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks to an idle to avoid deadlock with xcb-ified libX11. (#413032, Sebastian Dröge) 2007-03-08 Matthias Clasen Merged from trunk: * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Set child visibility to FALSE here; it will be turned back on in switch_page. (#413664, Carlos Garnacho) 2007-03-08 Kristian Rietveld Revert revision 17315: * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send a focus-in event to the tree view after hiding the search dialog. (#356515, Rich Burridge, Peter Parente). 2007-03-08 Mathias Hasselmann * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are stored in the current theme with the name "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell icons as reported by SHGetFileInfoW. (#412221) 2007-03-07 Matthias Clasen * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the focus around the arrow if there is no label widget. (#124045, Cody Russell) 2007-03-07 Matthias Clasen Merge from trunk: * gtk/gtkcombo.c: (gtk_combo_init): * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget), (gtk_combo_box_menu_setup): Set names on the popup widgets to make them themable. (#414975, Benjamin Berg) 2007-03-07 Guillaume Savaton * Added Esperanto (eo) to ALL_LINGUAS in configure.in 2007-03-07 Michael Natterer Merge from trunk: * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove empty finalize() implementation, some cosmetic cleanup (bug #415645). 2007-03-06 Chris Wilson * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init), (do_theme_change), (gtk_icon_theme_set_custom_theme), (load_themes): Be careful not to trigger a style reset before we have loaded any icon themes. (#414875). 2007-03-06 Tor Lillqvist * gdk/Makefile.am * gtk/Makefile.am: Further fixes for building on Win32 outside srcdir. (#413492, Mathias Hasselmann) 2007-03-04 Ihar Hrachyshka * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be fixed now. 2007-03-04 Claudio Saavedra * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently breaking the build. 2007-03-04 Ihar Hrachyshka * configure.in: Added be@latin to ALL_LINGUAS. 2007-03-01 Murray Cumming * gtk/gtksettings.c: (gtk_settings_get_property): Fix the build, by converting the case statement to an if else. I am only guessing that this is the desired logic. 2007-03-01 Matthias Clasen Merge from trunk: * gtk/gtksettings.c: Always store gtk-color-scheme values from all sources in the ColorSchemeData struct and ignore the property_value for gtk-color-scheme. This fixes #412596, reported by Thomas Wood. 2007-02-28 Matthias Clasen Merge from trunk: * gtk/gtksettings.c: Make color scheme update properly when changing themes. (#402131, Benjamin Berg) 2007-02-28 Matthias Clasen Merge from trunk: * gtk/gtkrc.c: Don't leak references to the color-hash gotten from GtkSettings. (#409357, Benjamin Berg) 2007-02-26 Matthias Clasen Merge from trunk: Apply a patch by Carlos Garnacho to fix several problems with filechooser size handling (#325477, #151169, 143213, #153785) * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly. (browse_widgets_create): Don't force the paned position to 200. (find_good_size_from_style): Take the size of the extra widget into account. * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints): Accept a minimal width parameter. Update all callers. 2007-02-26 Matthias Clasen Merge from trunk: * gtk/gtkprinteroptionwidget.c: Make the folder selection for print-to-file work. Reported by Ian Collier. 2007-02-26 Chris Wilson Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash * gtk/gtkicontheme.c: (scan_directory): Reorder the replacement of the shared base_name key, so that we avoid dereferencing the string in the icon_theme->all_icon hash table after freeing it from the dir->icons hash table. 2007-02-18 Matthias Clasen Merged from trunk: * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually): Ignore invisible text when going to end of the previous line. (#382565) 2007-02-16 Kristian Rietveld Merged from trunk: * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send a focus-in event to the tree view after hiding the search dialog. (#356515, Rich Burridge, Peter Parente). 2007-02-16 Matthias Clasen Merged from trunk: * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan Maraas) 2007-02-15 Matthias Clasen Merged from trunk: * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more careful when checking for ButtonRelease events that end implicit grabs. (#386618, Christof Krüger) 2007-02-15 Matthias Clasen Merged from trunk: * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines even if there are no views. (#408018, Albert Huang) 2007-02-15 Cody Russell Backport from trunk: * gdk/win32/gdkevents-win32.c: Make sure we get enough main context iterations while we're resizing so that the window contents are resized more smoothly (#389765). * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents are resized (#310522). 2007-02-09 Emmanuele Bassi Backport from trunk: * 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. 2007-02-05 Michael Natterer Merge from trunk: * 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-04 Tor Lillqvist * 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 Mariano Suárez-Alvarez * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init): be a little more helpful with the docs on GtkCellRendererText:alignment. Bug #403409. 2007-01-31 Christian Persch * 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 * 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 * modules/printbackends/file/gtkprintbackendfile.c: (file_printer_get_options): Fix leaked string. Fixes bug #402565. 2007-01-30 Matthias Clasen * 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) 2007-01-26 Michael Natterer Merge from trunk: * 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). 2007-01-25 Matthias Clasen Merge from trunk: * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting the paintable iface. 2007-01-24 Michael Natterer Merge from trunk: * 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 * README: Remove mention of no-longer-existing PATCH keyword in bugzilla. (#396899) 2007-01-24 Kjartan Maraas * gtk/gtkfilesystemunix.c: (expand_tilde): Revert the tilde patch I commited a while ago since it apparently doesn't work with later releases of gtk+ anyway. 2007-01-23 Carlos Garcia Campos * gtk/gtkpagesetup.c (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak. Fixes bug #399907. 2007-01-23 Murray Cumming * gtk/gtktreemodel.c: gtk_tree_path_next(): Add a note to the documentation about the changed path being only a path to a potential node, so you must check that it really exists.