2008-10-16 Matthias Clasen * === Released 2.14.4 ==== * NEWS: Updates 2008-10-15 Michael Natterer Merged from trunk: * gdk/gdkapplaunchcontext.h (GDK_IS_APP_LAUNCH_CONTEXT): fix typo in the type name so the macro becomes usable. 2008-10-13 Matthias Clasen Merged from trunk: Bug 555779 – GtkCellRendererPixbuf crashed on failed GIcon lookup * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_create_themed_pixbuf): Don't crash if a GIcon is not present in the current theme. Patch by Alex Larsson. 2008-10-13 Matthias Clasen Merged from trunk: Bug 552318 – menubar mnemonics consumed even when gtk-enable-mnemonics=false * gtk/gtkwindow.c (gtk_window_activate_key): Don't let mnemonic entries block accelerator activation when gtk-enable-mnemonics is FALSE. Problem reported by Andreas Moog. 2008-10-10 Simos Xenitellis Merged from trunk: Bug 555000 – Wrong treatment on non-spacing marks dead keys in GtkIMContextSimple * gtk/gtkimcontextsimple.c: Change IS_DEAD_KEY() macro so that it only checks if input is a deadkey. 2008-10-09 Richard Hult Merged from trunk: Bug 550342 – Splash screens have a caption * gdk/quartz/gdkwindow-quartz.c: (_gdk_window_new), (gdk_window_set_decorations): Patch from Marianne Gagnon to make splash windows borderless. 2008-10-09 Simos Xenitellis Bug 554192 – double press on the "circumflex" dead key (standard french 105 keyboard) no longer produces the "^" character * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): Changed the order, put check_compact_table() first, then check_algorithmically(). 2008-10-08 Christian Persch Bug 554702 – gtkfilesystem leaks GError * gtk/gtkfilesystem.c (_gtk_file_system_init): Free the GError. 2008-10-08 Matthias Clasen Merged from trunk: * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb): Don't forget to reset reload_state when current_folder is already correct. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=465992 2008-10-06 Matthias Clasen Merged from trunk: * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): Avoid unitialized memory warnings from valgrind. 2008-10-06 Matthias Clasen Merged from trunk: * gtk/gtkprintunixdialog.c (create_main_page): Show the tooltip on the range entry itself, too. 2008-10-04 Tor Lillqvist Bug 132501 - Make utility window translate to tool window in win32 Implement the utility window type hint. Such windows are kept on top of other windows of the same process. Makes GIMP's toolbox and dock windows behave more like in GNOME under metacity. Apply the same logic also to windows marked with the dialog window type hint, and windows that are transient for some other window. I'll call such windows "transient-type" below. * gdk/win32/gdkevents-win32.c (doesnt_want_key): Drop unused variables. (ensure_stacking_on_unminimize) (ensure_stacking_on_window_pos_changing) (ensure_stacking_on_activate_app): New functions to implement the desired stacking order. Make sure that a window that is not transient-type stays below any transient-type windows of the application. When activating a non-transient-type window make sure it rises as high as possible while still staying below the lowest transient-type window. (gdk_event_translate): Call above functions on WM_WINDOWPOSCHANGING, WM_ACTIVATEAPP and on WM_SIZE when unminimizing. Improve debugging printout. * gdk/win32/gdkwindow-win32.c (get_effective_window_decorations): Handle utility windows like toolbar windows. (gdk_window_new_internal) (update_style_bits): Give utility windows the WS_EX_TOOLWINDOW extended style. (gdk_window_set_title): If debugging "misc" or "events", make the handle of top-level windows show up in their title bars. Very useful when looking at debugging output. (gdk_window_set_transient_for) (gdk_window_set_keep_above) (gdk_window_set_keep_below) (gdk_window_set_modal_hint) (gdk_window_set_skip_taskbar_hint) (gdk_window_set_skip_pager_hint): Add and improve debugging printout. (gdk_window_set_type_hint): Print hint symbolically in GDK_NOTE(). 2008-10-04 Tor Lillqvist * gdk/win32/gdkmain-win32.c (_gdk_win32_window_exstyle_to_string) (_gdk_win32_window_pos_bits_to_string): New debugging printout functions. Decode the WS_EX_* and SWP_* bits. * gdk/win32/gdkprivate-win32.h: Declare them. Define GDK_DEBUG_MISC_OR_EVENTS for use in GDK_NOTE() to match either "misc" or "events". 2008-10-02 Matthias Clasen Merged from trunk: 530575 – GtkEntry with invisible chars has a confused cursor in overwrite mode Bug 371908 – Password Entry broken * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text in the layout when positioning the cursor, not the actual text content of the entry. This makes a different when using overwrite mode in an invisible entry. Problem noticed by Jonathan Blandford * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave properly when invisible. 2008-10-02 Simos Xenitellis Bug 554506 – combining diacritics broken, became deadkeys * gtk/gtkimcontextsimple.c: added check if keysym is greater than 0x1000000, in this case it is not a dead key. 2008-10-02 Christian Persch Bug 554704 – gtkfilesystemmodel does too much work * gtk/gtkfilesystemmodel.c: Replace g_slist_length()<1 check with a simple NULL check. 2008-10-02 Christian Persch Bug 554701 – filechooser spams console with useless warnings * gtk/gtkfilesystem.c.c: Don't warn if the async call was simply cancelled. 2008-10-02 Christian Persch Bug 554698 – mem leak in filechooser * gtk/gtkfilechooserdefault.c: Plug a mem leak. 2008-10-02 Christian Persch Bug 554696 – invalid free function used * gtk/gtkfilesystemmodel.c: Use the right free func. 2008-10-02 Christian Persch Bug 554691 – mem leak in filechooser * gtk/gtkfilesystemmodel.c: Plug a mem leak. 2008-10-02 Christian Persch Bug 554690 – mem leak in filechooser * gtk/gtkfilechooserdefault.c: Plug a mem leak. 2008-10-01 Tor Lillqvist * gtk/gtkscalebutton.c: Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers. 2008-09-29 Richard Hult Merged from trunk: Bug 554141 – uninitialized data use/free in gtkclipboard-quartz.c * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents): Patch from Jon A. Cruz to initialize the allocated selection data. 2008-09-26 Matthias Clasen Merged from trunk: Bug 553211 – GtkFileChooserButton unsets filter after first use * gtk/gtkfilechooserdefault.c (show_and_select_files): Also get the content-type, since it is used later on. Pointed out by Davyd Madeley. 2008-09-26 Matthias Clasen Merged from trunk: Bug 553578 - tabs are not drawn correctly * gtk/gtknotebook.c: Track the visibility state of notebook tabs between allocations so that we know to redraw the tab labels if tabs are hidden and shown without changing position. Reported by Marek Kašík, patch by Owen Taylor. 2008-09-26 Matthias Clasen Merged from trunk: Bug 553133 – GtkFileChooser won't ask to mount a volume * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use a GtkMountOperation when mounting, so that we get a password dialog when required. 2008-09-25 Marek Kasik Bug 553241 – double freed pointer in lpr_write cause firefox3 crash * modules/printbackends/lpr/gtkprintbackendlpr.c: The redundant freeing of memory was removed. Patch by Chris Wang 2008-09-25 Michael Natterer Merged from trunk: * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): don't unref the file system backend, the newly added unset_file_system_backend() already does this (bug #553135). 2008-09-24 Tor Lillqvist * gtk-zip.sh.in: Include all of share/man, lib/pkgconfig, share/aclocal and share/gtk-doc instead of trying to list individual files or subdirectories. We had missed gail.pc, for instance.