commit 1ed442180d65da78d071019c0dc0d365932e4503 Author: Matthias Clasen Date: Mon Oct 12 13:42:40 2015 -0400 3.18.2 NEWS | 17 +++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) commit 83427240220c0fb412140a169560516a1edcc250 Author: Benjamin Otte Date: Sat Oct 10 23:21:45 2015 +0200 stylecontext: Make sure style is valid when looking up style properties Otherwise, the validation may happen vey automatically some time during the style property and that will most likely cause a crash. https://bugzilla.gnome.org/show_bug.cgi?id=756338 gtk/gtkstylecontext.c | 3 +++ 1 file changed, 3 insertions(+) commit 78a59caed9ffd95e73c2ccf957b808a061553084 Author: Felipe Borges Date: Fri Oct 2 17:15:26 2015 +0200 gtkprintoperation: job names must not exceed 255 chars According to http://datatracker.ietf.org/doc/rfc2911/, The 'name' attribute syntax is essentially the same as 'text', including the REQUIRED support of UTF-8 except that the sequence of characters is limited so that its encoded form MUST NOT exceed 255 (MAX) octets. CUPS will not print jobs with names exceeding 255 characters. https://bugzilla.gnome.org/show_bug.cgi?id=755988 gtk/gtkprintoperation.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 5d70f4bd44131e4923277370be9df7fe091a0369 Author: Matthias Clasen Date: Wed Oct 7 23:19:32 2015 -0400 color chooser: Render icons sharp at scale 2 We need to load the icons at the right scale, and render them to a surface with the right scale too. https://bugzilla.gnome.org/show_bug.cgi?id=756195 gtk/gtkcolorswatch.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit c1b1e41ddbeb0a1e2f71648c3e0a2ac12cd9091d Author: Carlos Soriano Date: Thu Oct 8 01:19:19 2015 +0200 gtkfilesystem: protect against null filesystem type The filesystem:type attribute could be NULL, then g_strv_contains will crash if that happens. Just don't call it if the attribute is not set. gtk/gtkfilesystem.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a8dc876e023bd5536ac686d1f16b5196c88de31d Author: Sébastien Wilmet Date: Tue Sep 22 14:40:57 2015 +0200 textiter: fix bug in _gtk_text_btree_get_iter_at_last_toggle() If the last tag toggle is the end iter, the function returned the wrong tag toggle. This resulted in some bugs where the view wasn't relayout/redrawn correctly. The function also always returned TRUE, probably because the return value is used nowhere. But for consistency with _gtk_text_btree_get_iter_at_first_toggle(), it's better to keep the return value, and also because otherwise the function would be wrong (it doesn't always return a tag toggle, if there is none). https://bugzilla.gnome.org/show_bug.cgi?id=755413 gtk/gtktextiter.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 7394270efad892464a26fac8fc35cbe29696ec5c Author: Timm Bäder Date: Thu Oct 1 13:08:37 2015 +0200 GtkPopover: Don't apply shape on wayland Popovers are subsurfaces on wayland so we don't need that, and the shape messed up hidpi popovers there. gtk/gtkpopover.c | 5 +++++ 1 file changed, 5 insertions(+) commit cbc8d4a88a1717b8ad297772b8ab040c1072f5df Author: Jonas Ådahl Date: Tue Oct 6 14:30:28 2015 +0800 wayland: Don't ignore wl_keyboard.leave if surface is gone keyboard_handle_leave() might be called with a NULL surface resource (for example if the surface was destroyed after the event was sent). If so, we should still deal with the keyboard focus lost event, otherwise we will both leak (the keyboard_focus GdkWindow reference) and miss stopping the key repeat timer. https://bugzilla.gnome.org/show_bug.cgi?id=755927 gdk/wayland/gdkdevice-wayland.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit da2f672c11eceee52eb5160d914f35d14a04d711 Author: Christoph Reiter Date: Wed Oct 7 00:00:35 2015 +0200 Fix accessibility not getting initialized in gtk_init() if a default display is already set _gtk_accessibility_init() only gets called if the default display changes, but in case gdk_init() is called before gtk_init() the default display is already set and no property notification occurs. This can happen quite easily in pygobject where "from gi.repository import Gdk, Gtk" will call gdk_init() followed by gtk_init() in the Python overrides. This fixes it by checking for a default display in all cases. gtk/gtkmain.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit ca9440c21e2c24a608a0b2bb8bc2884022779664 Author: Rafal Luzynski Date: Sun Aug 23 02:32:21 2015 +0200 flowbox: correct the behavior with "can-focus"==FALSE In fact there were two issues: 1. GtkFlowBoxChild with "can-focus"==FALSE should pass the focus to its child immediately. 2. GtkFlowBox with "can-focus"==FALSE should cease its custom keynav implementation and fall back to the default GtkContainer behavior which is more natural. Thanks to these changes the flow box can act as a better replacement for GtkGrid and similar containers. https://bugzilla.gnome.org/show_bug.cgi?id=753371 gtk/gtkflowbox.c | 63 ++++++++++++++++++++++++++++++++++++++++++++------------ gtk/gtkflowbox.h | 2 +- 2 files changed, 51 insertions(+), 14 deletions(-) commit bd46d285d3dc724e8e142ddb36283d9c1864a81f Author: Chun-wei Fan Date: Mon Oct 12 23:22:35 2015 +0800 MSVC builds: Fix "install" Use $(GlibEtcInstallRoot) when invoking glib-compile-schemas, as CopyDir is not GlibInstallRoot for GTK+ (due to quoting issues), meaning that the glib-compile-schemas tool may not be found in certain cases. Issue pointed out by Ignacio Casal Quinteiro. build/win32/vs10/gtk3-install.propsin | 2 +- build/win32/vs9/gtk3-install.vspropsin | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3b0056ae1ae25dc69fc34409a8162d48782cb0ee Author: Ignacio Casal Quinteiro Date: Thu Oct 8 17:48:57 2015 +0200 win32: use the same parameter name as the implementation gdk/win32/gdkdisplay-win32.c | 2 +- gdk/win32/gdkwin32display.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d19b3d2c74f4347fb76f865b0badd81a6ce947ce Author: Jiri Grönroos Date: Mon Oct 5 17:07:38 2015 +0000 Updated Finnish translation po/fi.po | 7217 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 6712 insertions(+), 505 deletions(-) commit 47cee3521a9393b7ebb21824e39ff5296dd6b24a Author: Jiri Grönroos Date: Mon Oct 5 17:04:41 2015 +0000 Updated Finnish translation po/fi.po | 7324 +++++--------------------------------------------------------- 1 file changed, 506 insertions(+), 6818 deletions(-) commit b06cb4b9d119b8b2589019b89636571eee2b5137 Author: Matthias Clasen Date: Mon Oct 5 08:19:07 2015 -0400 assistant: Deal with spontaneous page disappearance Removing pages from the assistant with gtk_widget_destroy() used to work. It broke with the recent interposition of a box between each page and the notebook. Fix this by cleaning up when the box child is removed. https://bugzilla.gnome.org/show_bug.cgi?id=756042 gtk/gtkassistant.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit f561bdb3ebe0bac016639bb480af4c67eaa8fbcb Author: Wolfgang Stöggl Date: Sun Oct 4 11:37:40 2015 +0000 Updated German translation po-properties/de.po | 874 +++++++++++++++++++++++++++++----------------------- 1 file changed, 488 insertions(+), 386 deletions(-) commit d4e644ec52ccbf8c932d16188d91b99560605fe7 Author: Christian Kirbach Date: Sun Oct 4 09:13:09 2015 +0000 Updated German translation po-properties/de.po | 4021 ++++++++++++++++++++++++++------------------------- 1 file changed, 2042 insertions(+), 1979 deletions(-) commit ee856fd30d66bf9ec214beba9ce54bad4028114c Author: Matthias Clasen Date: Sat Oct 3 17:38:36 2015 -0400 Add a test for gtk_style_context_list_classes This test failed before the previous commit. testsuite/gtk/stylecontext.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit b9d45919494dabdd05bc3b96d92a01d2bb39ed05 Author: Matthias Clasen Date: Sat Oct 3 17:37:34 2015 -0400 Fix gtk_style_context_list_classes The function was always returning NULL. gtk/gtkstylecontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e1ec1497a871dafab9897ed62453112629f2483c Author: Matthias Clasen Date: Sat Oct 3 16:20:50 2015 -0400 switch: Unclip the slider shadow This commit arranges things so the shadow of the slider can extend outside the widget, even if the switch itself has no shadow. https://bugzilla.gnome.org/show_bug.cgi?id=755791 gtk/gtkswitch.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)