2005-07-22 Matthias Clasen * === Released 2.7.4 === * NEWS: Updates * gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup): Point out escaping oversight. (#311260, Owen Taylor) 2005-07-21 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup a possible resize idle. (#311141, Robert Ögren) * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): (gtk_tree_model_sort_sort_level): Ref the level while using it, otherwise it may get nuked by gtk_tree_model_sort_increment_stamp. (gtk_tree_model_sort_row_deleted): Don't leak the root level here. (#300089, James Bramford, Markku Vire) 2005-07-21 Federico Mena Quintero * gtk/gtkfilechooser.c (gtk_file_chooser_set_filename): Clarify the usage of this function. (gtk_file_chooser_set_uri): Likewise. (gtk_file_chooser_set_current_name): Likewise. * gtk/gtkfilechooserdefault.c (set_file_system_backend): Instrument this function for profiling as well. (gtk_file_chooser_default_init): Likewise; just to have a marker of where instance initialization begins. 2005-07-21 Owen Taylor * gtk/gtkwidget.c (update_pango_context): Fix a couple of leaks. 2005-07-21 Christian Rose * configure.in: Added "hy" to ALL_LINGUAS. 2005-07-21 Matthias Clasen * NEWS: Updates * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Be a bit more careful to not shrink the label to a negative width. (#311175, Thomas Vander Stichele) * gtk/gtk.symbols: mark gtk_socket_steal as deprecated. * configure.in: Bump the cairo requirement. 2005-07-19 Owen Taylor * gtk/gtksettings.c gtk/gtkwidget.c: Change machinery for following font rendering xsettings to set cairo font options on PangoContext * gdk/x11/gdkxftdefaults.c gdk/x11/gdkevents-x11.c gdkscreen-x11.h gdkprivate-x11.h: Get default values for rendering options (such as antialiasing, dpi) from the Xft resources for the display, borrowing a bit of code from Xft. * gtk/gtksettings.c (gtk_settings_class_init): Fix docs for values of gtk-xft-hintstyle. 2005-07-21 Tor Lillqvist Make GtkPlug/Socket cross-platform: Add Win32 implementation, splice out X11 implementation to separate files. (#58541) * gtk/gtk.symbols: Make GtkPlug/Socket API available with all backends. * gtk/Makefile.am: Changes to build GtkPlug/Socket with all backends. * gtk/gtksocket.c * gtk/gtkplug.c: Splice out backend-dependend parts to separate files, see below. * gtk/gtksocketprivate.h * gtk/gtkplugprivate.h: New files. Declare the backend-specific functions, and the private backend-independent functions they call back to. * gtk/gtksocket-stub.c * gtk/gtkplug-stub.c * gtk/gtksocket-x11.c * gtk/gtkplug-x11.c * gtk/gtksocket-win32.c * gtk/gtkplug-win32.c * gtk/gtkwin32embed.h * gtk/gtkwin32embed.c: New files, containing the backend-specific parts of GtkPlug/Socket. * gtk/gtkxembed.h * gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used in error messages and debugging output. * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now use GTK_IS_PLUG() with all backends. * tests/testsocket_common.c: Make it work on Win32, too. 2005-07-21 Tor Lillqvist * gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use wide-char API when available. (#311079, Peter Zelezny) 2005-07-21 Matthias Clasen * gtk/gtkwidget.c (gtk_widget_modify_bg, gtk_widget_modify_base): Add hints on how to handle "no window" widgets. (#136347) 2005-07-20 Keith Packard * gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface): Follow change in cairo API to add Screen* to cairo_xlib_create_surface_for_bitmap 2005-07-20 Matthias Clasen * gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the svg loader, if available. This should help with the fact that svg is not reliably sniffable with the current gdk-pixbuf sniffing code. * gtk/gtkstyle.c (gtk_default_draw_expander): Make sure expanded expanders are not fuzzy. (#310172, reported by Alexander Larsson, patch by Owen Taylor) * gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we can't get a keyboard grab. (#168351) * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_[sg]et_property): Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION. 2005-07-19 Federico Mena Quintero * gtk/gtkfilechooserdefault.c: Added a few utility functions for profiling; instrument the code, make it conditional. 2005-07-19 Kristian Rietveld * gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate past the end of the string, so pango_layout_get_cursor_pos() won't complain. (#309211, Tommi Komulainen). 2005-07-19 Tor Lillqvist * gtk/gtkmain.c (check_sizeof_GtkWindow, check_sizeof_GtkBox): Don't bother mentioning the -fnative-struct (used by GCC 2) switch in the error message any longer. 2005-07-18 Matthias Clasen * gdk/gdkpixbuf-render.c: Small formatting fixes in doc comments. * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted) (gtk_combo_box_model_row_inserted): Remove useless calls to gtk_tree_row_reference_inserted/deleted, since we don't use manual row references here. * gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call gettext_initialization before checking gtk_initialized, otherwise there are scenarios where it is not called at all. For an example, see tests/testfilechooserbutton.c. (#310323, Arkady L. Shane) 2005-07-18 Tor Lillqvist * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove any possible leftover clipping region in the DC if we don't want any clipping. Thanks to Robert Ögren. (#309823) * configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use -Wl,-luuid. This avoids a libtool warning as libuuid is static. 2005-07-18 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate the focus-on-click value to the button. (#310543, Christian Persch) * gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note about the need to handle expose events. We really need a chapter on the GTK+ drawing model that we can refer to here... (#310765, Steve Chaplin) 2005-07-16 Tor Lillqvist * configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is needed in case one builds without the ie55 stuff. (#310582)