2008-10-01 Tor Lillqvist * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state): Implement trivially on Windows. Not sure if something more complex is actually needed, more specifically whether the function needs to differentiate between "Caps Lock" and "Shift Lock" semantics? 2008-10-01 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-09-30 Michael Natterer Bug 553582 – Add orientation API to GtkSeparator * gtk/gtkseparator.[ch]: implement the GtkOrientable interface and swallow all code from GtkHSeparator and GtkVSeparator. Add gtk_separator_new() which takes a GtkOrientation argument. * gtk/gtkhseparator.c * gtk/gtkvseparator.c: remove all code except the constructor and call gtk_orientable_set_orientation() in init(). * gtk/gtk.symbols: add gtk_separator_new(). 2008-09-30 Marek Kasik Bug 344522 – support non-local destination files (GtkPrint): * gtk/gtkprintunixdialog.c * gtk/gtkprinteroptionwidget.c: Process URI instead of filename. * modules/printbackends/file/gtkprintbackendfile.c: Add ability to save files on non-local filesystems. 2008-09-30 Michael Natterer * gtk/gtk.symbols: forgot the G_GNUC_CONST of gtk_orientable_get_type(). 2008-09-30 Michael Natterer Bug 541009 – Get rid of separate subclasses for horizontal and vertical orientation: * gtk/Makefile.am * gtk/gtk.symbols * gtk/gtk.h * gtk/gtkorientable.[ch]: add new interface GtkOrientable which will be implemented by everything that can switch orientation. 2008-09-30 Christian Dywan Fix a typo in the tutorial. * docs/tutorial/gtk-tut.sgml: It's mnemonic, not 'mnemnonic'. 2008-09-29 Matthias Clasen Bug 553086 – hard to see current immodule * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): Display the actually selected context in the system menuitem. Complaint by Akira Tagoh. 2008-09-29 Matthias Clasen Bug 530568 – Entries with visibility=FALSE should warn for caps-lock on * gtk/gtkentry.c: Add a tooltip-like Caps Lock warning for password entries. The warning is also triggered if an input method is active. The warning can be turned off using the GtkEntry::caps-lock-warning property. Proposed by Owen Taylor 2008-09-29 Matthias Clasen * gtk/gtk.symbols: * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_get_context_id): Add a getter for the the sealed context_id field. 2008-09-29 Matthias Clasen Bug 107000 – Add signals to GdkKeymap for monitoring caps_lock, etc. * gdk/gdk.symbols: * gdk/gdkkeys.[ch]: Add a new GdkKeymap::state-changed signal, and a gdk_keymap_get_caps_lock_state function. * gdk/x11/gdkkeys-x11.c: Implement it here. For now, only emit state-changed when caps lock lockedness changes. * gdk/x11/gdkdisplay-x11.c: Also select for modifier lock status changes in the XkbSelectEventDetails call. 2008-09-29 Kristian Rietveld Bug 487624 - Tooltips doesn't get updated if ther's no mouse motion over widget * gtk/gtkwidget.c (gtk_widget_set_property): after updating tooltip text or markup, call gtk_widget_trigger_tooltip_query() so that existing visible tooltips are updated. 2008-09-29 Matthias Clasen Bug 371908 – Password Entry broken Bug 317002 – Disable input method completely in GtkEntry when it's in invisible mode. * gtk/gtkentry.c (gtk_entry_backspace): Make backspace behave properly when invisible. * gtk/gtkentry.c (gtk_entry_create_layout): Show preedit even if invisible. * gtk/gtkentry.c (gtk_entry_set_visibility): Don't disable input methods when making the entry invisible. 2008-09-29 Emmanuele Bassi * gdk/x11/gdkinput.c: (gdk_device_class_init), (gdk_device_finalize): Correctly chain up the finalize implementation. 2008-09-29 Richard Hult 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-27 Matthias Clasen Bug 339367 – Incorrect spotlocation * modules/input/gtkimcontextxim.c: Correct the spot location for on-the-spot style. 2008-09-27 Denis Washington * gtk/gtkiconview.c: only draw keyboard focus when keyboard navigation is used, like GtkTreeView. (Bug #553575) 2008-09-26 Matthias Clasen Bug 552959 – GtkTrayIcon: _NET_SYSTEM_TRAY_VISUAL and real transparency * gtk/gtktrayicon-x11.c: Add support for the _BET_SYSTEM_TRAY_VISUAL property described in http://lists.freedesktop.org/archives/xdg/2008-September/009919.html If _NET_SYSTEM_TRAY_VISUAL is a visual with an alpha channel, the parent-relative-background hack is skipped and we draw with a real transparent background. * gtk/gtkrc.c: Remove the default GtkTrayIcon style, since the parent-relative background is now set when realizing the tray icon. Patch by Owen Taylor 2008-09-26 Matthias Clasen Bug 552956 – Should check composite extension version * gdk/x11/gdkdisplay-x11.c: Check that the version of the composite extension is at least 0.4. Patch by Owen Taylor 2008-09-26 Matthias Clasen Bug 553803 – eventually call XCloseDevice on XOpenDevice results * gdk/x11/gdkinput.c: Add a finalize function for device objects, and call XCloseDevice there. * gdk/x11/gdkinput-x11.c: * gdk/x11/gdkdisplay-x11.c: Move freeing of device objects to the finalize function. Patch by Caolan McNamara 2008-09-26 Matthias Clasen 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 Bug 553133 – GtkFileChooser won't ask to mount a volume Bug 553211 – GtkFileChooserButton unsets filter after first use * gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Use a GtkMountOperation when mounting, so that we get a password dialog when required. * 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 Cody Russell Bug 553917 – Typo in gdkwindow-win32.c * gdk/win32/gdkwindow-win32.c: Fixed a typo in update_system_menu(). Changed GDK_DECOR_ALL to GDK_FUNC_ALL. Reported by Richard Hult 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 * 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 Michael Natterer * gtk/gtkeventbox.c: events return gboolean not gint, reindented static prototypes. 2008-09-24 Johan Dahlin Bug 553385 – gtk-builder-convert creates untranslated combobox models * gtk/gtk-builder-convert: Set the translatable property on col tags for converted combos. 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. 2008-09-24 Christian Dywan Bug 538782 – Make GtkMenu's arrow size themable * gtk/gtkmenu.c (gtk_menu_class_init), (gtk_menu_paint): Implement "arrow-scaling" style property in GtkMenu. 2008-09-24 Christian Dywan Bug 408244 – add GtkDialog::content-area-spacing * gtk/gtkbox.c (gtk_box_init), (gtk_box_set_spacing), (_gtk_box_set_spacing_set), (_gtk_box_get_spacing_set): * gtk/gtkbox.h: * gtk/gtkdialog.c (gtk_dialog_class_init), (update_spacings): Implement "content-area-spacing" style property in GtkDialog and internal helper _gtk_box_get_spacing_set in GtkBox. Patch by Tim Janik, Sven Herzberg and myself. 2008-09-24 Christian Dywan Bug 541391 – Unfocussable Treeview swallows focus * gtk/gtktreeview.c (grab_focus_and_unset_draw_keyfocus), (gtk_tree_view_focus): Honor GTK_WIDGET_CAN_FOCUS properly 2008-09-24 Denis Washington * gtk/gtkiconview.c: draw focus as a rectangle around the complete item, not just the text. (Bug #38254) 2008-09-23 Michael Natterer * gtk/gtkobject.c * gtk/gtksignal.[ch]: s/GtkType/GType/ and s/GtkSignalMarshaller/GSignalCMarshaller/. 2008-09-23 Michael Natterer * gdk/x11/gdkevents-x11.c (gdk_event_translate): remove unused variable and fix indentation. 2008-09-23 Michael Natterer * gtk/gtkclist.h * gtk/gtkctree.h * gtk/gtklist.h * gtk/gtklistitem.h * gtk/gtkobject.h * gtk/gtkoldeditable.h * gtk/gtkpixmap.h * gtk/gtkpreview.h * gtk/gtktext.h * gtk/gtktipsquery.h * gtk/gtktree.h * gtk/gtktreeitem.h: get rid of GtkType and GTK_CHECK_FOO() also in all deprecated headers. 2008-09-22 Matthias Clasen Bug 553135 – eog crash: assertion failed. Gtk error: shortcuts_remove_rows: code should not be reached * gtk/gtkfilechooserdefault.c: Disconnect from GtkFileSystem signals when we are destroyed, in order to avoid nasty surprises. Patch by Claudio Saavedra 2008-09-22 Emmanuele Bassi Bug 552789 – Show size column in the search and recently used files modes * gtk/gtkfilechooserdefault.c: Display the file size column when in OPERATION_MODE_SEARCH. This removes a stat() call and simplifies the code a little bit by changing the query for file informations for each search engine hit. 2008-09-22 Michael Natterer * gtk/gtksignal.[ch] * gtk/gtkclist.c * gtk/gtklist.c * gtk/gtkmain.c * gtk/gtktext.c * gtk/gtktreeitem.c: use G_CALLBACK and GCallback instead of GTK_SIGNAL_FUNC and GtkSignalFunc also in deprecated code. 2008-09-22 Frederic Crozat * gtk/gtkfilesystem.c: use the correct gi18n header. Fixes bug #553000. 2008-09-22 Michael Natterer * gtk/gtktoolbar.[ch]: add "Deprecated: 2.4" to all the deprecated append(), prepend() and insert() functions and recommend to use gtk_toolbar_insert() instead. Use GCallback instead of GtkSignalFunc even in deprecated API. 2008-09-20 Matthias Clasen * gtk/gtkfilechooserbutton.c (filter_model_visible_func): Don't leak a GFile. 2008-09-19 Owen Taylor Small cleanups to debug messages for GtkPlug/GtkSocket * gtk/gtksocket-x11.c: Fix debug message to say "Socket" not "Plug" * gtk/gtkplug-x11.c: Remove excess newlines from the ends of debug messages. 2008-09-19 Carlos Garnacho Bug 83935 – GtkEntry's default invisible char should be U+25CF * gtk/gtkentry.c (find_invisible_char) (gtk_entry_init): Find a more suitable invisible char than '*' based on the used font. (gtk_entry_class_init) (gtk_entry_set_property) (gtk_entry_get_property): Add a "invisible-char-set" property. (gtk_entry_unset_invisible_char): New function, needed now that the default invisible char isn't fixed. * gtk/gtkentry.h: * gtk/gtk.symbols: * docs/reference/gtk/gtk-sections.txt: Add the new function. 2008-09-19 Christian Persch Bug 552837 – mem leak in gtkimmulticontext * gtk/gtkimmulticontext.c: (gtk_im_multicontext_get_slave): Plug mem leak. 2008-09-18 Emmanuele Bassi * gtk/gtkfilechooserdefault.c (settings_save): Save the size column visibility state with the rest of the FileChooser settings. 2008-09-18 Emmanuele Bassi Bug 325095 – show a 'size' column * gtk/gtkfilechooserdefault.c: * gtk/gtkfilechooserprivate.h: Add a context menu item controlling the visibility of the file size column. This works only for the browse mode, and the column is not visible by default. * gtk/gtkfilechoosersettings.[ch]: Add a ShowSizeColumn key to the settings file. 2008-09-18 Dominic Lachowicz * modules/engines/ms-windows/*: Revert most of previous patch, as it didn't work as expected; Some work toward #531086 - the new GtkTooltip widget doesn't theme properly on win32. Now, at least the background color seems okay 2008-09-18 Dominic Lachowicz * modules/engines/ms-windows/*: MS Windows style should use pango_win32_font_description_from_logfont; Allows us to rip out a lot of potentially buggy code, and also get the font specification from the XP theme (#434987) 2008-09-18 Matthias Clasen * configure.in: updated version number to 2.15.0 for development. * ChangeLog.pre-2-14: rotate ChangeLog === Branch for 2.14 ===