commit ff0aabe57632799bc567e1162b46cc0ad4f15058 Author: Matthias Clasen Date: Tue Feb 24 20:38:33 2015 -0500 3.15.9 NEWS | 32 ++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) commit f13157f4bbde5a505ca885fbcc342c809b572f01 Author: Jonas Ådahl Date: Tue Feb 24 18:10:07 2015 +0800 wayland: Don't allocate a full size SHM buffer when drawing using OpenGL Before this patch, we'd always allocate a full size SHM buffer via the wl_shm_pool, even though it would never be used. Instead allocate a logical 1x1 cairo image surface. https://bugzilla.gnome.org/show_bug.cgi?id=745076 gdk/wayland/gdkdisplay-wayland.c | 6 ++++++ gdk/wayland/gdkprivate-wayland.h | 1 + gdk/wayland/gdkwindow-wayland.c | 25 +++++++++++++++++++++++-- 3 files changed, 30 insertions(+), 2 deletions(-) commit aa81262f116d32936abc62324e170ade1fc68578 Author: Jonas Ådahl Date: Tue Feb 24 17:20:22 2015 +0800 wayland: Scale up wl_egl_window according to window scale In order to support window scales for EGL windows, resize the wl_egl_window to the window dimension multiplied with the window scale, just as with SHM window buffers. https://bugzilla.gnome.org/show_bug.cgi?id=745076 gdk/wayland/gdkwindow-wayland.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 56c9eac16eb09a3b0ced91b21cd3f803db8125ca Author: Jonas Ådahl Date: Tue Feb 24 16:11:48 2015 +0800 wayland: Properly support changing of surface scale When the preferred surface scale changes, for example when entering a wl_output with a higher scale than any previous entered output, recreate the shm surface and redraw the window content with the new window scale. Before this patch, the internal scale would be changed, but the shm surface would not be recreated given the new scale, i.e. we'd attach a buffer for a different scale than wl_surface.set_scale specified. https://bugzilla.gnome.org/show_bug.cgi?id=745076 gdk/wayland/gdkwindow-wayland.c | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) commit a70b478a5c1bf631dc1053b8711d3f6b64ea77e6 Author: Jonas Ådahl Date: Tue Feb 24 15:00:39 2015 +0800 wayland: Don't ever try to set surface buffer scale when not supported If the compositor is too old for handling surface buffer scales, never tyr to set change it. This will effectively always leave it to its initial state, i.e. 1. https://bugzilla.gnome.org/show_bug.cgi?id=745076 gdk/wayland/gdkwindow-wayland.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 40f2af665d59f2732ac587734b4958682d5f7c7d Author: Benjamin Otte Date: Sat Feb 21 00:03:49 2015 +0100 gdkcairo: Bail if surface is in error Don't try to paint onto an error surface. This happens for example when gdk_cairo_set_source_pixbuf() is called with a pixbuf that is too big for Cairo to handle. Spotted by Christian Boxdörfer gdk/gdkcairo.c | 3 +++ testsuite/gdk/Makefile.am | 5 +++-- testsuite/gdk/cairo.c | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) commit 0ab48fcc4227ab112835f8fc1b922cfb21a7927f Author: Benjamin Otte Date: Wed Feb 25 00:35:45 2015 +0100 css: Fix _gtk_bitmask_subtract() We were doing the wrong thing *and* writing uninitialized memory while doing so. BAD. Also added tests exposing these. https://bugzilla.redhat.com/show_bug.cgi?id=1185585 gtk/gtkallocatedbitmask.c | 7 ++++--- testsuite/gtk/bitmask.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 3 deletions(-) commit 9e50fe0aeba1dba5a151efcdf39b9f0142d26e3d Author: Fran Dieguez Date: Tue Feb 24 22:43:36 2015 +0100 Updated Galician translations po-properties/gl.po | 3072 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1659 insertions(+), 1413 deletions(-) commit e86cad1006bec14577d6ce6af04cdd90672bc80f Author: Piotr Drąg Date: Tue Feb 24 22:09:30 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 3 +++ po/POTFILES.in | 3 +++ 2 files changed, 6 insertions(+) commit 1b578ef33a4a664eaadd6988dba1688bef044e10 Author: Daniel Mustieles Date: Tue Feb 24 19:21:02 2015 +0100 Updated Spanish translation po/es.po | 72 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 28 deletions(-) commit 02774f9fd587df575c6a1b1878f343f78a6e2f58 Author: Matej Urbančič Date: Tue Feb 24 19:18:22 2015 +0100 Updated Slovenian translation po/sl.po | 2440 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 1229 insertions(+), 1211 deletions(-) commit d582e71ba8696fe112a90f6fd0abcb2fba82cf58 Author: Matej Urbančič Date: Tue Feb 24 19:04:49 2015 +0100 Updated Slovenian translation po-properties/sl.po | 3922 ++++++++++++++++++++++++++------------------------- 1 file changed, 2018 insertions(+), 1904 deletions(-) commit f986730c14f2acfe5d19cf1d6408474a62e99c43 Author: Yosef Or Boczko Date: Tue Feb 24 19:31:13 2015 +0200 Updated Hebrew properties translation po-properties/he.po | 232 ++++++++++++++++++++++++++++------------------------ 1 file changed, 124 insertions(+), 108 deletions(-) commit 0c903156ef5b043149ad4368b9b7606d985ed4bb Author: Carlos Garnacho Date: Tue Feb 24 14:52:40 2015 +0100 scrolledwindow: Only start fade animation on "visible" scrollbars If a scrollbar is not shown (because of policies, or because it isn't necessary), it doesn't make sense to start fade animations on its window on captured motion events. gtk/gtkscrolledwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b06908ad52f342d4f8624389844896751491747c Author: Yosef Or Boczko Date: Tue Feb 24 15:05:00 2015 +0200 Updated Hebrew translation po/he.po | 58 +++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 23 deletions(-) commit 913e10fe3bc62685933c082f1eaeb3a72a1d6f39 Author: Matthias Clasen Date: Mon Feb 23 22:25:11 2015 -0500 Fix the previous commit The C_() macro only takes string literals. Use g_dpgettext2() instead gtk/gtkimmulticontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b0b38c106deaa77d7bcbd4ecb7de6b41c07a9d22 Author: Matthias Clasen Date: Mon Feb 23 22:00:55 2015 -0500 Make gtk-im-context-none work This was added a few years ago, as a way to have _no_ im context at all. But it didn't actually work. Make it work, and streamline the handling of none by moving it all to gtkimmodule.c. As part of this, add context to the translated names of all im modules we ship. gtk/gtkimmodule.c | 47 ++++++++++++++++++++++++++++--------- gtk/gtkimmulticontext.c | 38 +++++++++--------------------- modules/input/imam-et.c | 2 +- modules/input/imbroadway.c | 2 +- modules/input/imcedilla.c | 2 +- modules/input/imcyrillic-translit.c | 2 +- modules/input/imime.c | 4 ++-- modules/input/iminuktitut.c | 2 +- modules/input/imipa.c | 2 +- modules/input/immultipress.c | 2 +- modules/input/imquartz.c | 2 +- modules/input/imthai.c | 2 +- modules/input/imti-er.c | 2 +- modules/input/imti-et.c | 2 +- modules/input/imviqr.c | 2 +- modules/input/imxim.c | 2 +- 16 files changed, 62 insertions(+), 53 deletions(-) commit aba2de34436035513b11faa2da4c7c56cc38ede9 Author: Daniel Drake Date: Mon Feb 23 14:49:08 2015 -0600 icontheme: allow directories with mtime 0 In order to provide a constant mtime between OS build and deploy time, while also maintaining a hardlink content-addressed model independent of timestamps, ostree sets all mtimes to 0. The icon cache code currently ignores directories with mtime 0, assuming they don't exist. Track directory existence in a more precise way. https://bugzilla.gnome.org/show_bug.cgi?id=745052 gtk/gtkicontheme.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 761c7811685387ac51b579d1765eb6f8fb91c461 Author: Bastian Ilsø Date: Thu Feb 19 16:07:09 2015 +0100 getting-started: move Drawing section to bottom. docs/reference/gtk/getting_started.xml | 91 +++++++++++++++++----------------- 1 file changed, 46 insertions(+), 45 deletions(-) commit b85fc8045ce83b8d3473b0263332d39f44aa194f Author: Daniel Mustieles Date: Mon Feb 23 19:15:08 2015 +0100 Updated Spanish translation po-properties/es.po | 138 +++++++++++++++++++++++++++++----------------------- 1 file changed, 77 insertions(+), 61 deletions(-) commit eddaf01676d3f6f28ca2609146be03a3dc9fd0b8 Author: Cosimo Cecchi Date: Sun Feb 22 17:53:18 2015 -0800 icontheme: use desired size instead of negative for DIR_UNTHEMED SVGs When loading SVGs from ICON_THEME_DIR_UNTHEMED GtkIconInfos, such as those created for a GLoadableIcon, the size of the pixbuf to load is set as a product of icon_info->scale. But a few lines above, icon_info->scale is set to -1 for ICON_THEME_DIR_UNTHEMED GtkIconInfos, so we'll end up always passing a negative size to the GdkPixbuf loader, which is interpreted as the nominal size of the image file. Instead load the SVG at the desired scaled size in that case. This fixes blurry icon in the notification panel in gnome-shell. https://bugzilla.gnome.org/show_bug.cgi?id=744991 gtk/gtkicontheme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit acd72ffabe88ae4078e1cc1c4c2377c6ea5aac5c Author: Cosimo Cecchi Date: Sun Feb 22 17:49:55 2015 -0800 icontheme: fill correct information when loading GResource-backed GIcons When loading a GResource-backed GFileIcon into a GtkIconInfo we currently fail to populate the is_resource private field. Also, since is_svg is set by looking at the filename, and g_file_get_path() returns NULL for a GResourceFile, is_svg was always FALSE. https://bugzilla.gnome.org/show_bug.cgi?id=744991 gtk/gtkicontheme.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit e7a2fc2d0184bb7e5b37c61c9787b6ae64efb532 Author: Piotr Drąg Date: Mon Feb 23 17:41:30 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit ec07987a90137677533c42515a326bb049d237c7 Author: Bastian Ilsø Date: Thu Feb 19 15:53:35 2015 +0100 Getting-started: port drawing.c to GtkApplication examples/drawing.c | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) commit c73ab94d3f22b6d1b4a2860ed8f4b795ac7d610f Author: Matthias Clasen Date: Sun Feb 22 20:02:02 2015 -0500 range: Make steppers use smooth autoscrolling This makes them work much nicer than the old timer-based implementation. gtk/gtkrange.c | 70 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 50 insertions(+), 20 deletions(-) commit 3222de2f9168f6a09901428a108eed5e499d5e77 Author: Matthias Clasen Date: Sun Feb 22 17:57:23 2015 -0500 range: Make zoom scrolling less sensitive Use the new long press delay factor to make the zoom scrolling less easy to trigger accidentally. gtk/gtkrange.c | 2 ++ 1 file changed, 2 insertions(+) commit 2b6376248dab453b8e9600a8d37da2d2b7447a34 Author: Matthias Clasen Date: Sun Feb 22 17:48:39 2015 -0500 long press: Add a delay-factor property Add a way to set a delay factor that can be used to make the long press more or less sensitive. Making this a factor instead of exposing the delay itself preserves the value of the setting as an overall 'slow down long press' setting. gtk/gtkgesturelongpress.c | 71 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 68 insertions(+), 3 deletions(-) commit c060d93e3dc8abea39b919ac61434219b4318f25 Author: Matthias Clasen Date: Mon Feb 23 07:28:40 2015 -0500 zoom scrolling: Improve the previous fix As Sebastian pointed out, just resetting the initial slider position was an incomplete fix, because it does not cause the delta to be recomputed, which is important in this scenario, because you've likely travelled some distance over the slider before the long press kicks in. Instead, explicitly record both the slider position and the delta. gtk/gtkrange.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 8726c6d5d239a342f0267d1c2bf0c90fb051d7fb Author: Matthias Clasen Date: Mon Feb 23 06:42:17 2015 -0500 zoom scrolling: avoid 'jumping back' We record the starting position on button press, but only start the zoom mode when the long press timeout kicks in. Depending on circumstances, this can cause a noticable jump. Avoid this by resetting the recorded starting position after the long press timeout. Suggested by Sebastian Keller. gtk/gtkrange.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 1402e2286219d0a16bce327b3e0006ef7bb2ba61 Author: Chao-Hsiung Liao Date: Mon Feb 23 07:32:08 2015 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 341 +++++++++++++++++++++++++------------------------ 1 file changed, 173 insertions(+), 168 deletions(-) commit 5a0ad907b460c5e4a4f215cd142c6894394c490d Author: Chao-Hsiung Liao Date: Mon Feb 23 07:30:34 2015 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 217 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 111 insertions(+), 106 deletions(-) commit 25308477e772bbfeda9eaa167a737cfd87ff0b42 Author: Matthias Clasen Date: Sun Feb 22 17:01:27 2015 -0500 Silence a compiler warning gtk/gtkimcontextsimple.c | 1 + 1 file changed, 1 insertion(+) commit 44d3b71678a63ada7c320199450d6065a13989d5 Author: Balázs Úr Date: Sun Feb 22 21:19:26 2015 +0000 Updated Hungarian translation po-properties/hu.po | 64 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 36 insertions(+), 28 deletions(-) commit 1ffcdfcc327bc3a17efdc426dc04059484b788b4 Author: Matthias Clasen Date: Sun Feb 22 14:42:26 2015 -0500 icon browser: Set up dnd from the detail popup Allow dragging the various icon sizes as images. demos/icon-browser/iconbrowserwin.c | 62 +++++++++++++++++++++++++++++- demos/icon-browser/window.ui | 75 ++++++++++++++++++++++++------------- 2 files changed, 111 insertions(+), 26 deletions(-) commit ae63b21c61633186c4a5c2330c84877e6524765b Author: Matthias Clasen Date: Sun Feb 22 12:30:49 2015 -0500 icon browser: Add some dnd support Use a custom tree model and enable dragging from the icon view. Currently, we just support dropping the icon name as text. demos/icon-browser/Makefile.am | 1 + demos/icon-browser/iconbrowserwin.c | 52 +++++++++++++-------- demos/icon-browser/iconstore.c | 91 +++++++++++++++++++++++++++++++++++++ demos/icon-browser/iconstore.h | 26 +++++++++++ demos/icon-browser/window.ui | 8 +--- 5 files changed, 152 insertions(+), 26 deletions(-) commit 967ba60303a5cebf97f590c7367df74bde2afa1e Author: Matthias Clasen Date: Sun Feb 22 11:12:40 2015 -0500 icon browser: Activate on single-click We want to get away from double-clicks everywhere. demos/icon-browser/window.ui | 1 + 1 file changed, 1 insertion(+) commit ee857cd261ba8409f582e3b9c8aa073f79774e7f Author: Matthias Clasen Date: Sun Feb 22 11:11:09 2015 -0500 icon browser: stop selecting We don't need the selection here. demos/icon-browser/iconbrowserwin.c | 7 ------- demos/icon-browser/window.ui | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) commit fb581a1084ed8949c6b8c666f07a3239153c03f6 Author: Thibault Saunier Date: Sun Feb 22 13:01:17 2015 +0100 gdk/quartz: Fix mixup in attributes usage creating window implementation First, attributes can be NULL (which is always the case when calling gdk_window_ensure_native) so do not unconditionally dereference it. Then the window_type should be taken directly from the GdkWindow as in other backends (such as the X11 one for example). https://bugzilla.gnome.org/show_bug.cgi?id=744942 gdk/quartz/gdkwindow-quartz.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 77c982ed3f7fb2c8dc6956a71b79378cb2c09fbf Author: Dušan Kazik Date: Sat Feb 21 16:13:03 2015 +0000 Updated Slovak translation po/sk.po | 206 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 109 insertions(+), 97 deletions(-) commit 486b56e179bc427a4011024d68eddc327c95b1c0 Author: Ignacio Casal Quinteiro Date: Sat Feb 21 15:59:28 2015 +0100 statusicon: missed setting one uID gtk/deprecated/gtkstatusicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f07677c10598f4558b142cc76c524b838be4159e Author: Arnav Singh Date: Sat Feb 21 15:04:18 2015 +0100 statusicon: fix crash storing pointer in UINT https://bugzilla.gnome.org/show_bug.cgi?id=696505 gtk/deprecated/gtkstatusicon.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) commit 851d784f6d7e22fff726bcf84891d024dfaa7daf Author: Chao-Hsiung Liao Date: Sat Feb 21 11:06:35 2015 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 3108 ++++++++++++++++++++++++++---------------------- 1 file changed, 1668 insertions(+), 1440 deletions(-) commit 178d9bd84ca5f12fd2f3e14b6d2d31ab8f9eb28a Author: Chao-Hsiung Liao Date: Sat Feb 21 11:06:14 2015 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 2145 ++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1318 insertions(+), 827 deletions(-) commit 09daf9b916595113c17746e58d70157a6a3edabb Author: Efstathios Iosifidis Date: Fri Feb 20 21:18:20 2015 +0000 Updated Greek translation po/el.po | 267 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 140 insertions(+), 127 deletions(-)