commit 9e96461aa59cdb5454a48200b8b80caaf04c4147 Author: Matthias Clasen Date: Tue Feb 10 11:29:59 2015 -0500 Updates NEWS | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 4dee1646a12e7d57b838a2299a51861efc7b7181 Author: Matthias Clasen Date: Sun Feb 8 21:02:07 2015 +0100 Fix annotations The function gtk_label_set_attributes() is also used to unset attributes, by passing %NULL. Reflect that in the argument annotations. gtk/gtklabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5666522ab3d5073d5f1b6483d9354680d3ccb1ce Author: Emmanuele Bassi Date: Tue Feb 10 10:16:53 2015 +0000 gl: Fix the required version setter We don't allow a version tuple to be lower than (3, 2), but we should allow versions above that. https://bugzilla.gnome.org/show_bug.cgi?id=744212 gdk/gdkglcontext.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 60195ab021afce26b052213c3145d0dc6b447c0e Author: Chun-wei Fan Date: Tue Feb 10 16:20:37 2015 +0800 win32/gl: Ensure we use the 3.2 core profile Emit an error if the profile is different. This is a follow-up commit to commits cc45e82 (x11/gl: Ensure we use the 3.2 core profile) and 2d9081d (wayland/gl: Ensure we use the 3.2 core profile), so that we do the same on GDK-Win32. Update variable names and comments so that the code is clearer to people, as we still need a temporary legacy WGL context first before we can use wglCreateContextAttribsARB() to create a WGL core (3.2+) context. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/win32/gdkglcontext-win32.c | 51 +++++++++++++++++------------------------- 1 file changed, 20 insertions(+), 31 deletions(-) commit 03f5d5a5e41bc42835dc02774a27a5eb5d4d023b Author: Emmanuele Bassi Date: Tue Feb 10 03:33:02 2015 +0000 gl: Put shaders in static storage We are not changing the shader code. The compiler will hopefully put them in the .rodata section. gdk/gdkgl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 50187ae86dfdb4c5815731da25dc9e57296d28c5 Author: Niels Nesse Date: Tue Feb 10 01:11:24 2015 -0800 gdkgl should use shader version 1.50 Using version 1.20 with a forward compatible 3.2 core context is incorrect since OpenGL 3.2 deprecates shader version 1.20 (See section E.2). The latest fglrx drivers will not compile these shaders. https://bugzilla.gnome.org/show_bug.cgi?id=744203 gdk/gdkgl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ab919deeefc732f9c7a5285452431edd04a43879 Author: Aurimas Černius Date: Mon Feb 9 22:59:13 2015 +0200 Updated Lithuanian translation po-properties/lt.po | 3437 ++++++++++++++++++++++++++++----------------------- po/lt.po | 299 ++--- 2 files changed, 1947 insertions(+), 1789 deletions(-) commit 6bf55142ee5e6270180f2d0f23ad42ab7ca08a5d Author: Emmanuele Bassi Date: Mon Feb 9 19:32:38 2015 +0000 demo: Change the resource path for the shaders We need to use the same name as the "plugin" so that the main UI will display the resources inside a notebook tab. demos/gtk-demo/demo.gresource.xml | 2 +- demos/gtk-demo/glarea.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 843475bd2ef7130051c781f48fcb64f32b6872c2 Author: Emmanuele Bassi Date: Mon Feb 9 19:09:31 2015 +0000 gl: Drop GdkGLContextClass.upload_texture() It's unnecessary to allow per-backend overrides. gdk/gdkgl.c | 5 +++-- gdk/gdkglcontext.c | 6 +----- gdk/gdkglcontextprivate.h | 24 ++++++++++++------------ 3 files changed, 16 insertions(+), 19 deletions(-) commit 3b4bf963f60cbf40c9c69f8c50f1358a7ccc46b5 Author: Emmanuele Bassi Date: Mon Feb 9 16:27:44 2015 +0000 demo: Move the GLSL shaders to resources It's easier to use them or modify them as separate files, instead of inlined inside the C source. https://bugzilla.gnome.org/show_bug.cgi?id=741946 demos/gtk-demo/Makefile.am | 2 ++ demos/gtk-demo/demo.gresource.xml | 4 ++++ demos/gtk-demo/glarea-fragment.glsl | 9 +++++++++ demos/gtk-demo/glarea-vertex.glsl | 8 ++++++++ demos/gtk-demo/glarea.c | 31 +++++++++---------------------- 5 files changed, 32 insertions(+), 22 deletions(-) commit 2d35053d9721a4159a776889dd908e6e972dfdfb Author: Emmanuele Bassi Date: Mon Feb 9 16:10:22 2015 +0000 gl: Clean up the required version accessors We can simplify the code, since we only have core GL profiles in GDK. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 45 +++++++++++++++++---------------------------- 1 file changed, 17 insertions(+), 28 deletions(-) commit 4ad887f4bf2e9567e6f8656d49870c5ce668c260 Author: Emmanuele Bassi Date: Mon Feb 9 16:09:25 2015 +0000 docs: We do not support non-core GL profiles No need to mention that some API only works on core GL profiles in the GdkGLContext docs. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit 601c49ef39376a34358f87ef6ed3ae0c49130cb3 Author: Emmanuele Bassi Date: Mon Feb 9 16:08:43 2015 +0000 gl: Clean up pre-requisite checks for GdkGLContext setters We don't support non-core profiles. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2d9081d117de009f32d68bcf9beb7d4aac342ba4 Author: Emmanuele Bassi Date: Mon Feb 9 15:56:18 2015 +0000 wayland/gl: Ensure we use the 3.2 core profile Emit an error if the profile is different. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/wayland/gdkglcontext-wayland.c | 64 ++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 26 deletions(-) commit cc45e828dff80a45760cb96cbf203d9ece1848db Author: Emmanuele Bassi Date: Mon Feb 9 15:55:08 2015 +0000 x11/gl: Ensure we use the 3.2 core profile Drop the dead code for the legacy profile, and return an error when realizing if the profile is incorrect. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/x11/gdkglcontext-x11.c | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) commit 01d1cdc76c6454c74884bd56f06fa3b8accac7fd Author: Emmanuele Bassi Date: Thu Feb 5 16:39:53 2015 +0000 demos: Update the GtkGLArea demo code Same way we updated the testglarea test code. https://bugzilla.gnome.org/show_bug.cgi?id=741946 demos/gtk-demo/glarea.c | 280 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 263 insertions(+), 17 deletions(-) commit b87034a985523f71783c1f0b16a27da8a6738de5 Author: Emmanuele Bassi Date: Fri Jan 30 17:20:44 2015 +0000 tests: Update testglarea Since we dropped the legacy OpenGL compatibility profile, we need to use recent OpenGL APi and concepts. This also means that the example code gets a tad more complicated. https://bugzilla.gnome.org/show_bug.cgi?id=741946 tests/testglarea.c | 256 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 240 insertions(+), 16 deletions(-) commit 1d3cc65e894d8342b7bf72e51e036be7a5c4d339 Author: Emmanuele Bassi Date: Thu Feb 5 16:23:04 2015 +0000 gl: Add more debugging notes https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 5a3b28aaf1bb8d50a56866d885e49e51c3cafd55 Author: Emmanuele Bassi Date: Wed Jan 28 19:07:33 2015 +0000 glarea: Do not use extension API We are using GL contexts with Core GL profiles, so we need to use the proper API, not the one provided by extensions. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gtk/gtkglarea.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 395125bcfb4a44f5892e55aa5ca768adbe6cebc4 Author: Emmanuele Bassi Date: Wed Jan 28 19:06:37 2015 +0000 gl: Do not use the extension API for core GL Since we are using a Core GL profile, we need to drop the extension-based API. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4b8b3b431bfba9fa9bc68ebc95af13a32ea8a7ad Author: Emmanuele Bassi Date: Wed Jan 28 19:04:22 2015 +0000 gl: Drop OpenGL legacy profile We simply don't want to care about legacy OpenGL. All supported platforms also have support for OpenGL ≥ 3.2; it would complicate the internal code; and would force us to use legacy GL contexts internally if the first context created by the user is a legacy GL context, and disable creation of core-3.2 contexts after that. We will need to fix all our code examples to use the Core 3.2 profile. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 12 +----------- gdk/gdktypes.h | 20 +++++++++++++++----- gdk/gdkwindow.c | 14 +------------- gdk/x11/gdkglcontext-x11.c | 6 +----- 4 files changed, 18 insertions(+), 34 deletions(-) commit 6aaa6c337bc85913f0f898239cd678fef2a89b20 Author: Emmanuele Bassi Date: Wed Jan 28 14:37:26 2015 +0000 gl: Move getters for context options to the public API They can be useful for third party code as well. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 16 +++++++++++++--- gdk/gdkglcontext.h | 8 ++++++++ gdk/gdkglcontextprivate.h | 5 ----- 3 files changed, 21 insertions(+), 8 deletions(-) commit f7497daee933cbfa328225eb318449054bab81f3 Author: Emmanuele Bassi Date: Wed Jan 28 12:31:36 2015 +0000 Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE Instead of LEGACY. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/wayland/gdkglcontext-wayland.c | 2 +- gdk/win32/gdkglcontext-win32.c | 3 +-- gdk/x11/gdkglcontext-x11.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) commit 4c091db6c25e85ab45c192cf6ef305bce39a64da Author: Chun-wei Fan Date: Fri Jan 30 14:32:26 2015 +0800 win32/gl: Use the GdkGLContext options https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/win32/gdkglcontext-win32.c | 63 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 52 insertions(+), 11 deletions(-) commit ba56f11702ae59bea00c2edf9aefaf40f06bc3e7 Author: Chun-wei Fan Date: Fri Jan 30 13:53:31 2015 +0800 GDK-Win32: Split GL context creation in two phases Like what is being done in the X11 and Wayland backends, create the GdkWin32GLContext in 2 steps, where we only create the actual WGL context in _gdk_win32_gl_context_realize(). https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/win32/gdkglcontext-win32.c | 94 +++++++++++++++++++++++++++--------------- gdk/win32/gdkglcontext-win32.h | 5 +++ 2 files changed, 66 insertions(+), 33 deletions(-) commit 42a895e85e2d48a25e8d15c4ed096610891e5a25 Author: Emmanuele Bassi Date: Wed Jan 28 12:29:37 2015 +0000 wayland/gl: Use the GdkGLContext options https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/wayland/gdkglcontext-wayland.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 3425f7fe5a2e61e671452116b60a4aa5aa577f72 Author: Emmanuele Bassi Date: Wed Jan 28 09:40:34 2015 +0000 x11/gl: Use the GdkGLContext options When creating an OpenGL context using the glXCreateContextAttribs() function. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/x11/gdkglcontext-x11.c | 68 ++++++++++++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 27 deletions(-) commit fa9005229983e8bd0f582ba0b4e0e8f1d6a5e061 Author: Emmanuele Bassi Date: Wed Jan 28 09:34:16 2015 +0000 gl: Add context options Users of the GdkGLContext API should be allowed to set properties on the shim GdkGLContext instance prior to realization, so that the backend-specific implementation can use the value of those properties when creating the windowing system specific resources. The main three options are: • a major/minor version tuple, to request a specific GL version • a debug bit, to request a "debug context", which provides additional validation and run time checking • a forward compatibility bit, to request a context that does not have deprecated functionality See also: - https://www.opengl.org/registry/specs/ARB/glx_create_context.txt https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 185 ++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkglcontext.h | 11 +++ gdk/gdkglcontextprivate.h | 19 +++-- 3 files changed, 208 insertions(+), 7 deletions(-) commit 22e6f37c9c00ca3e97fbd454774a178473a0c93e Author: Emmanuele Bassi Date: Tue Jan 27 21:23:23 2015 +0000 GL: Split GL context creation in two phases One of the major requests by OpenGL users has been the ability to specify settings when creating a GL context, like the version to use or whether the debug support should be enabled. We have a couple of requirements in terms of API: • avoid, if at all possible, the "C arrays of integers with attribute, value pairs", which are hard to write and hard to bind in non-C languages. • allow failing in a recoverable way. • do not make the GL context creation API a mess of arguments. Looking at prior art, it seems that a common pattern is to split the construction phase in two: • a first phase that creates a GL context wrapper object and does preliminary checks on the environment. • a second phase that creates the backend-specific GL object. We adopted a similar pattern: • gdk_window_create_gl_context() creates a GdkGLContext • gdk_gl_context_realize() creates the underlying resources Calling gdk_gl_context_make_current() also realizes the context, so simple GL users do not need to care. Advanced users will want to call gdk_window_create_gl_context(), set up the optional requirements, and then call gdk_gl_context_realize(). If either of these two steps fails, it's possible to recover by changing the requirements, or simply creating a new GdkGLContext instance. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 59 +++++- gdk/gdkglcontext.h | 18 +- gdk/gdkglcontextprivate.h | 3 + gdk/gdkwindow.c | 31 ++- gdk/gdkwindow.h | 1 - gdk/gdkwindowimpl.h | 4 +- gdk/wayland/gdkglcontext-wayland.c | 80 ++++---- gdk/x11/gdkglcontext-x11.c | 375 ++++++++++++++++++++----------------- gtk/gtkglarea.c | 17 +- 9 files changed, 363 insertions(+), 225 deletions(-) commit 8f50148a34a4d44da8e0c3022e47aeaba4ee489d Author: Stas Solovey Date: Sun Feb 8 22:14:05 2015 +0000 Updated Russian translation po/ru.po | 240 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 130 insertions(+), 110 deletions(-) commit 614556180acbc1296283e6a0e1d91b7489c32a6d Author: Kjartan Maraas Date: Sun Feb 8 19:34:46 2015 +0100 Updated Norwegian bokmål translation po/nb.po | 937 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 480 insertions(+), 457 deletions(-) commit 87480d7d1c83c1b5ca5ce8923295564e35f093d9 Author: Piotr Drąg Date: Sat Feb 7 17:06:58 2015 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 1116914ea03685ffbff188e48e32685a4985c2d3 Author: Benjamin Otte Date: Sat Jan 31 11:56:15 2015 +0100 css: Move scale to GtkStyleProviderPrivate This way, we can remove it as a separate argument from gtk_css_value_compute() and allow computation to only depend on one thing: the style provider. gtk/gtkcssanimatedstyle.c | 6 ++---- gtk/gtkcssanimatedstyleprivate.h | 1 - gtk/gtkcssarrayvalue.c | 7 +++---- gtk/gtkcssbgsizevalue.c | 9 ++++----- gtk/gtkcssbordervalue.c | 9 ++++----- gtk/gtkcsscolorvalue.c | 23 ++++++++++------------- gtk/gtkcsscornervalue.c | 9 ++++----- gtk/gtkcsseasevalue.c | 5 ++--- gtk/gtkcssenginevalue.c | 5 ++--- gtk/gtkcssenumvalue.c | 18 ++++++++---------- gtk/gtkcssiconthemevalue.c | 1 - gtk/gtkcssimage.c | 16 +++++++--------- gtk/gtkcssimagebuiltin.c | 1 - gtk/gtkcssimagegradient.c | 7 +++---- gtk/gtkcssimageicontheme.c | 9 ++++----- gtk/gtkcssimagelinear.c | 11 +++++------ gtk/gtkcssimageprivate.h | 10 ++++------ gtk/gtkcssimagescaled.c | 15 ++++++++------- gtk/gtkcssimageurl.c | 5 ++--- gtk/gtkcssimagevalue.c | 7 +++---- gtk/gtkcssinheritvalue.c | 14 ++++++-------- gtk/gtkcssinitialvalue.c | 10 ++++------ gtk/gtkcsskeyframes.c | 2 -- gtk/gtkcsskeyframesprivate.h | 1 - gtk/gtkcsslookup.c | 2 -- gtk/gtkcsslookupprivate.h | 1 - gtk/gtkcssnumbervalue.c | 31 +++++++++++++++---------------- gtk/gtkcsspositionvalue.c | 9 ++++----- gtk/gtkcssrepeatvalue.c | 5 ++--- gtk/gtkcssrgbavalue.c | 5 ++--- gtk/gtkcssshadowsvalue.c | 7 +++---- gtk/gtkcssshadowvalue.c | 15 +++++++-------- gtk/gtkcssstaticstyle.c | 8 +------- gtk/gtkcssstaticstyleprivate.h | 3 --- gtk/gtkcssstringvalue.c | 5 ++--- gtk/gtkcsstransformvalue.c | 33 +++++++++++++++------------------ gtk/gtkcsstypedvalue.c | 7 +++---- gtk/gtkcssunsetvalue.c | 10 ++++------ gtk/gtkcssvalue.c | 11 +++++------ gtk/gtkcssvalueprivate.h | 10 ++++------ gtk/gtkstylecascade.c | 9 +++++++++ gtk/gtkstylecontext.c | 4 ---- gtk/gtkstyleproviderprivate.c | 14 ++++++++++++++ gtk/gtkstyleproviderprivate.h | 2 ++ 44 files changed, 177 insertions(+), 215 deletions(-) commit 808bfe0a98ac4cd2e11ea4eed82a66470121c19b Author: Benjamin Otte Date: Fri Feb 6 10:13:11 2015 +0100 settings: Provide a default style cascade per scale This guarantees we only create 1 extra style cascade in total for hidpi and not one per style context. Style cascades are now nested like this: GtkSettings root cascade (scale == 1) | +-- GtkSettings per scale cascade (for any scale, no custom providers) | +-- GtkStyleContext custom cascade (for any scale, custom providers) This requires a bunch of care when changing cascade-related properties inside GtkStyleContext, so that it ends up with a properly setup cascade, but I think I got those cases right. The only thing we don't do yet is reverting to a GtkSettings cascade when the last custom provider is removed from a custom cascade. gtk/gtksettings.c | 41 +++++++++++++++++++++++++++++--------- gtk/gtksettingsprivate.h | 3 ++- gtk/gtkstylecontext.c | 52 +++++++++++++++++++++++++++++------------------- 3 files changed, 65 insertions(+), 31 deletions(-) commit 9209c4ea411efc08a59eba12ff7898bd7be1aa05 Author: Benjamin Otte Date: Sat Jan 31 11:01:25 2015 +0100 stylecontext: Store the scale value in the cascade This is in preparation for the next commits. gtk/gtkstylecascade.c | 23 +++++++++++++++++++++++ gtk/gtkstylecascadeprivate.h | 4 ++++ gtk/gtkstylecontext.c | 29 ++++++++++++++++++++--------- 3 files changed, 47 insertions(+), 9 deletions(-) commit 0b06b1e3f7565620372382760897b5a9895fc339 Author: Chun-wei Fan Date: Fri Feb 6 13:00:21 2015 +0800 gdkglcontext-win32.h: Clean Up a Bit We don't have a Win32-specific ->upload_texture() anymore, so don't indicate so. Left out this part from my previous commit. gdk/win32/gdkglcontext-win32.h | 7 ------- 1 file changed, 7 deletions(-) commit 24e6bda26421053af5fc1c7c49e23437b560be1c Author: Chun-wei Fan Date: Fri Feb 6 12:41:38 2015 +0800 GDK-Win32: Drop Win32-specific ->upload_texture() The default ->upload_texture() works also for Windows since commit 27cf0fa, as some of the problems described in 742953 also applied for GL core contexts on Windows as well before 27cf0fa. Clean up the GDK-Win32 code a little bit as a result. gdk/win32/gdkglcontext-win32.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 93c3b90f6a88dd2eb80661bec002fa9ebb729d65 Author: Benjamin Otte Date: Fri Feb 6 03:13:59 2015 +0100 treeview: Fix copy/paste bug Introduced in 7eecb16404b9fdcd1377e1a159f5e94f079e24b7 gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 89f635fee1bd0af3bdbf96e2545e0140ea99afc9 Author: Benjamin Otte Date: Thu Feb 5 18:52:59 2015 +0100 css: Add -gtk-dpi CSS property hack This property is necessary to ensure widgets automatically update after the text scale factor is changed desktop-wide. And if I'm already doing a property like this, I can make it overridable. So now you can override the dpi per-widget with CSS like GtkSwitch { -gtk-dpi: 48; } if you want to debug things. Long-term, we want to get rid of this property and insist on dpi being 96 everywhere and people can change the font size to get larger fonts. gtk/gtkcssinitialvalue.c | 13 +++++++++++++ gtk/gtkcssstylepropertyimpl.c | 18 +++++++++++++++++- gtk/gtkcsstypesprivate.h | 1 + gtk/gtkwidget.c | 8 ++++++-- 4 files changed, 37 insertions(+), 3 deletions(-) commit 7eecb16404b9fdcd1377e1a159f5e94f079e24b7 Author: Benjamin Otte Date: Sat Jan 24 03:29:18 2015 +0100 treeview: Don't create an overly large pixel cache GPUs generally have problems when you create a 35000px wide surface. Luckily X catches this and sends a BadAlloc. Which GTK immediately abort()s on. Testcase included. https://bugzilla.redhat.com/show_bug.cgi?id=1163579 gtk/gtktreeview.c | 4 +- testsuite/reftests/Makefile.am | 2 + testsuite/reftests/treeview-crash-too-wide.ref.ui | 50 +++++++++++++++++++++++ testsuite/reftests/treeview-crash-too-wide.ui | 50 +++++++++++++++++++++++ 4 files changed, 104 insertions(+), 2 deletions(-) commit 98ee594f7347e363834bffbec7320c71ac18637e Author: Benjamin Otte Date: Tue Feb 3 08:06:39 2015 +0100 blur: Simplify return_if_fail() gtk/gtkcairoblur.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 0a64a4f3c0bb3af4920f0dbcf48345a3ae7fb866 Author: William Hua Date: Wed Feb 4 10:32:29 2015 +0100 mir: release surface before rendering parent We should remove the mir and cairo surface before rendering the transient_for, which will regenerate the cairo surface anyways. Otherwise, we end up releasing both, when we only really want to get rid of the mir surface. gdk/mir/gdkmirwindowimpl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 85c5f6058a01805d63a498b5f28d6a9daab3f7e1 Author: William Hua Date: Tue Feb 3 16:23:14 2015 +0100 mir: don't always request mir surfaces Some child window behaviour is faked by painting in the parent, so we don't bother creating the Mir surface in that case. gdk/mir/gdkmirwindowimpl.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit bee39d2251e58a693e19db701e791098eefd4f23 Author: William Hua Date: Mon Jan 26 18:29:07 2015 -0500 mir: reconstruct surface if window is moved gdk/mir/gdkmirwindowimpl.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 16b250f9bb8f6ee8c5c0c54e6658c44c883646eb Author: William Hua Date: Mon Jan 19 12:08:43 2015 -0500 mir: stop using deprecated surface api gdk/mir/gdkmirwindowimpl.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 5eacc92ba7871db936f4af08b82e4c9b05994f5f Author: William Hua Date: Thu Jan 8 00:24:42 2015 -0500 mir: fix issues with mouse over parent menu Mouse over a parent menu[bar] didn't work while the menu was open. The fix was to correct the behaviour of pointer crossing events so that the pointer appears to be only inside one window at a time. See: http://tronche.com/gui/x/xlib/events/window-entry-exit/normal.html gdk/mir/gdkmir-private.h | 12 ++++ gdk/mir/gdkmireventsource.c | 144 +++++++++++++++++++++++++++++++++++--------- gdk/mir/gdkmirwindowimpl.c | 2 +- 3 files changed, 130 insertions(+), 28 deletions(-) commit 6a3904cf0ce11f1987344b62c1cb8344825a3db6 Author: William Hua Date: Thu Jan 8 00:23:02 2015 -0500 mir: add back window hierarchy functions gdk/mir/gdkmirwindowimpl.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit c2afa674e23d4e16415f34323cba2268bf6c4f52 Author: William Hua Date: Wed Jan 7 12:18:03 2015 -0500 mir: stop forwarding motion events to subwindows gdk/mir/gdkmir-private.h | 12 ------- gdk/mir/gdkmireventsource.c | 80 --------------------------------------------- gdk/mir/gdkmirwindowimpl.c | 44 ------------------------- 3 files changed, 136 deletions(-) commit 901bc2957de45c06457746374e1e33883d28d1dc Author: William Hua Date: Wed Dec 17 12:37:28 2014 -0500 mir: generate leave events for transient children gdk/mir/gdkmir-private.h | 5 +++++ gdk/mir/gdkmireventsource.c | 50 +++++++++++++++++++++++++++++++++++++++++++++ gdk/mir/gdkmirwindowimpl.c | 10 +++++++++ 3 files changed, 65 insertions(+) commit 737e598a17307d63709742c1a040351314e7c4e8 Author: Marco Trevisan (Treviño) Date: Fri Dec 12 18:42:05 2014 +0100 mir: use monitor plug names more similar to the ones used in Xmir gdk/mir/gdkmirscreen.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit 9a84c3e0f5f8fe63de0ea9a05d4f2809329dcc20 Author: Marco Trevisan (Treviño) Date: Fri Dec 12 03:01:38 2014 +0100 mir: only paint background if window has one gdk/mir/gdkmirwindowimpl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 38d46aacae46caa60ebd72b0f1ff852ee3b71e79 Author: Marco Trevisan (Treviño) Date: Fri Dec 12 01:40:55 2014 +0100 mir: use old scrolling system if we get simple integer values gdk/mir/gdkmireventsource.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 584cfff90a558c7258630bfa5aaf68361cc1f80d Author: William Hua Date: Tue Dec 9 08:57:21 2014 -0500 mir: end the current grab on ungrab gdk/mir/gdkmirpointer.c | 6 ++++++ 1 file changed, 6 insertions(+) commit e843d9440539d8926888175d7fd4c250a4c273c7 Author: William Hua Date: Mon Dec 8 16:24:17 2014 -0500 mir: only render non-top-level transients. gdk/mir/gdkmirwindowimpl.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) commit 9abf990656b69a4704b8ba40733d920da879711f Author: Marco Trevisan (Treviño) Date: Fri Dec 5 15:53:03 2014 +0100 mir: handle new MirCloseSurfaceEvent gdk/mir/gdkmir-debug.c | 10 ++++++++++ gdk/mir/gdkmireventsource.c | 11 +++++++++++ 2 files changed, 21 insertions(+) commit 5ac5f6f81aeed997e6025f1baeb6fe6c6f1ef54b Author: William Hua Date: Thu Dec 4 10:03:40 2014 -0500 mir: reset cursor_inside on hide/withdraw Without this, we generate incorrect crossing events for transient windows. gdk/mir/gdkmirwindowimpl.c | 2 ++ 1 file changed, 2 insertions(+) commit 8e0abb4bac29d2d2e944c883e5144d4d6b20cdcf Author: William Hua Date: Wed Dec 3 16:48:58 2014 -0500 mir: disable some debug output gdk/mir/gdkmirwindowimpl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 4f19be1c822240cb70be85ec030585fa2450a7ad Author: William Hua Date: Wed Dec 3 11:30:34 2014 -0500 mir: skip windows that aren't visible gdk/mir/gdkmir-private.h | 10 +++++----- gdk/mir/gdkmireventsource.c | 2 +- gdk/mir/gdkmirwindowimpl.c | 15 +++++++++------ 3 files changed, 15 insertions(+), 12 deletions(-) commit 05de5b02cb47462d75f1f2fdbc415d94ee13ea54 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 20:04:54 2014 +0100 mir: fix IsModifierKey definition gdk/mir/gdkmirkeymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 345140008e6e50975c8fd752bd0a43556e12f6d6 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 18:43:32 2014 +0100 mir: check the log events env variable just once gdk/mir/gdkmireventsource.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 7e5b21651170e57b80a549bfb0cf0eb92ba7d30b Author: Marco Trevisan (Treviño) Date: Tue Dec 2 18:19:39 2014 +0100 mir: set event source device as well gdk/mir/gdkmireventsource.c | 1 + 1 file changed, 1 insertion(+) commit 7c2e3a812a02b9b578f895b4e4742b12b40f885b Author: William Hua Date: Tue Dec 2 11:12:11 2014 -0500 mir: fix time conversion macro gdk/mir/gdkmireventsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 54f9263f19fe076dbc373cb4aea3d59c83e12b9f Author: Marco Trevisan (Treviño) Date: Tue Dec 2 17:08:00 2014 +0100 mir: implement stub _gdk_mir_keymap_key_is_modifier Using IsModifierKey for now gdk/mir/gdkmir-private.h | 2 ++ gdk/mir/gdkmireventsource.c | 11 ++++++----- gdk/mir/gdkmirkeymap.c | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 5 deletions(-) commit a8b1e8181672d39d5f2955ebd256e6408730c303 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 16:52:03 2014 +0100 mir: check (using simple keycode checking) if we're handling a modifier key gdk/mir/gdkmireventsource.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) commit 9e2eb5d2f6c15ccca688194ed8c810c4f88ccdbe Author: Marco Trevisan (Treviño) Date: Tue Dec 2 16:27:28 2014 +0100 mir: compute the modifiers using the saved button_state on key events gdk/mir/gdkmireventsource.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7d4066de41209b26759dac6f6ac214a633bcd992 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 16:25:18 2014 +0100 mir: add a NANO_TO_MILLI conversion macro gdk/mir/gdkmireventsource.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 6b6af59b9b7734213b913e1b121ed3f0956879d5 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 16:06:59 2014 +0100 mir: properly converts mir nanoseconds timestamps to milliseconds gdk/mir/gdkmireventsource.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) commit cb19fd50cb55d120cd5e8ca21dcc025813b4f967 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 15:18:50 2014 +0100 mir: use actual events time gdk/mir/gdkmireventsource.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) commit 948afc68f6ee744993db146141a28315b1e14ee1 Author: William Hua Date: Mon Dec 1 16:27:29 2014 -0500 mir: add timestamps to generated GdkEvents We need this because it fixes menu activation. The menu activation code looks at the time between events to determine if mouse clicks happen too quickly. gdk/mir/gdkmireventsource.c | 5 +++++ 1 file changed, 5 insertions(+) commit f1cfd23cd2d5c12cc828720ff45c36eb0e11738f Author: William Hua Date: Mon Dec 1 08:54:13 2014 -0500 mir: pass motion events down to transient children gdk/mir/gdkmir-private.h | 7 +++++++ gdk/mir/gdkmireventsource.c | 26 +++++++++++++++++++++++++- gdk/mir/gdkmirwindowimpl.c | 31 +++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) commit e2320678ae2bca845a6b2e9c1d53231b6dfba922 Author: William Hua Date: Fri Nov 28 08:33:03 2014 -0500 mir: use parent_window's impl for GDK_INPUT_ONLY windows Fixes a crash that occurs when the user selects text. gdk/mir/gdkmirdisplay.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 6b82ad48f65add2ae10392c65c431975dc969a69 Author: Carlos Garnacho Date: Thu Feb 5 17:16:21 2015 +0100 scrolledwindow: Don't hover the scrollbars while a button is being pressed This avoids showing the scrollbars if we are positive the child widget is being manipulated, regardless of the pointer being close to any of these. On the next motion event after finishing the operation, the scrollbar will be shown if necessary. https://bugzilla.gnome.org/show_bug.cgi?id=743894 gtk/gtkscrolledwindow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 4ba2c9ad87aa9cdec1fc2e0c2f31a06049eca549 Author: Carlos Garnacho Date: Tue Feb 3 12:03:22 2015 +0100 popover: Unset the grab when the popover loses its parent This ensures the grab and signal handlers are removed if the parent goes NULL. gtk/gtkpopover.c | 3 +++ 1 file changed, 3 insertions(+) commit d053db289ee8c480d96fa4fc9b89dacb2b160f71 Author: Carlos Garnacho Date: Mon Feb 2 16:13:30 2015 +0100 window: Unparent popover before unmapping/unrealizing Otherwise spurious invariants warnings may happen before the popover is removed from the window. gtk/gtkwindow.c | 6 ++++++ 1 file changed, 6 insertions(+) commit cc511268a09c0221450d7e50dff1bccb70acbd10 Author: Carlos Garnacho Date: Mon Feb 2 15:34:17 2015 +0100 window: call gtk_widget_unmap() on popover widgets unconditionally is_visible() wasn't the right check to perform here before unmapping, and gtk_widget_unmap() already avoids being doubly called by checking gtk_widget_get_mapped() anyway. gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 5837c1c7101fa32d39ed7be81f1409275354002d Author: Carlos Garnacho Date: Thu Feb 5 14:17:51 2015 +0100 popover: Keep a ref on the parent scrollable This ensures the scrollable is still alive on dispose(), and properly unset after disconnecting all signal handlers. gtk/gtkpopover.c | 3 +++ 1 file changed, 3 insertions(+) commit b15193943a8afedba3aef37743607e7d71aab162 Author: Matthias Clasen Date: Thu Feb 5 10:42:57 2015 +0100 GtkStatusIcon: Expand deprecation docs https://bugzilla.gnome.org/show_bug.cgi?id=743975 gtk/deprecated/gtkstatusicon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit edec64cda3d4518b4e87d5ea5d287d4570ba9933 Author: Benjamin Otte Date: Wed Feb 4 21:08:54 2015 +0100 stylecontext: Don't crah when invalidate() is called on saved context We need to invalidate the root node, not the current one. Fixes crashes on startup of eclipse. Testcase included. https://bugzilla.redhat.com/show_bug.cgi?id=1185828 gtk/gtkstylecontext.c | 12 +++++++----- testsuite/gtk/stylecontext.c | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) commit 473ab791ff10c46426c2aab4cd8c3fe8d77a8925 Author: Benjamin Otte Date: Wed Feb 4 18:26:32 2015 +0100 stylecontext: Do not have a default style A bunch of applications expect the style to be as close to the actual style as possible even during creation of the widget. Try to accomodate these apps. This reverses the effects of 27285f1f0fb00bb4507a8bf3e426bef940ae41af https://bugzilla.gnome.org/show_bug.cgi?id=743395 https://bugzilla.redhat.com/show_bug.cgi?id=1185999 gtk/gtkstylecontext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 72814193419bca29d9883dbe93de0ec788c66541 Author: Benjamin Otte Date: Wed Feb 4 18:20:33 2015 +0100 css: Having a static style per screen isn't useful Just have one static style for everything. gtk/gtkcssstaticstyle.c | 9 +++------ gtk/gtkcssstaticstyleprivate.h | 2 +- gtk/gtkstylecontext.c | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) commit 3e81653bd320b9d5c760c2731a225f546f353c7a Author: Lars Uebernickel Date: Tue Feb 3 11:01:29 2015 +0100 Add support for loading gtk3-only modules Introduce GTK3_MODULES environment variable for modules that don't work in gtk3. The list of modules is now $GTK3_MODULES:$GTK_MODULES. https://bugzilla.gnome.org/show_bug.cgi?id=743917 docs/reference/gtk/running.sgml | 14 ++++++++++++-- gtk/gtkmain.c | 13 ++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) commit 2820c342f6fbe4dcac88b836404d748f27157e90 Author: Chun-wei Fan Date: Wed Feb 4 13:04:39 2015 +0800 MSVC Builds: Rename "install" Projects Rename the "install" projects as "gtk-install" as we are planning to have a grand solution file that incorporates all project files of the GTK+ stack with their dependencies, to make it easier for people to build GTK+ from scratch from a stock installation of Visual Studio 2008 and later. build/win32/vs10/Makefile.am | 2 +- build/win32/vs10/gtk+.sln | 34 +++--- build/win32/vs10/gtk-install.vcxproj | 222 +++++++++++++++++++++++++++++++++++ build/win32/vs10/install.vcxproj | 222 ----------------------------------- build/win32/vs11/Makefile.am | 2 +- build/win32/vs12/Makefile.am | 2 +- build/win32/vs9/Makefile.am | 2 +- build/win32/vs9/gtk+.sln | 34 +++--- build/win32/vs9/gtk-install.vcproj | 140 ++++++++++++++++++++++ build/win32/vs9/install.vcproj | 140 ---------------------- 10 files changed, 400 insertions(+), 400 deletions(-) commit 8f3bd8ef0c43ff10cad8f8e219b58b7c5eccf0f4 Author: Chun-wei Fan Date: Wed Feb 4 12:42:24 2015 +0800 MSVC Builds: "Install" autocleanup headers These are public headers that are needed in the package, although the macros are essentially no-ops for Visual Studio builds currently. build/win32/vs10/gtk-install.props | 4 ++++ build/win32/vs9/gtk-install.vsprops | 4 ++++ 2 files changed, 8 insertions(+) commit 9c49144cbe193a48414bf1b65045e614d68c4cb9 Author: Bastian Ilsø Date: Mon Feb 2 08:13:28 2015 +0100 Add reference to HowDoI and getting-started gtk/gtkapplication.c | 4 ++++ 1 file changed, 4 insertions(+) commit 4b173fcde91a85ff01d7efe644dc08c5ccf4224b Author: Emmanuele Bassi Date: Mon Feb 2 16:51:14 2015 +0000 Bump version to 3.15.5 We need the bump in order to allow projects to depend on newly added API. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f07d5e761f2c1d18825f73033ab7d095ea2c70d Author: Carlos Garnacho Date: Sun Feb 1 12:08:04 2015 +0100 x11: Detect libinput touchpads These aren't reported as XIDependentTouch devices, so make it poke a property that's specific to touchpads managed by the libinput driver. gdk/x11/gdkdevicemanager-xi2.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 64f26db038d8d959516183a9e4cfd9150bad9145 Author: Víctor Manuel Jáquez Leal Date: Mon Feb 2 12:54:37 2015 +0100 gtkx: add missing header The header file gdk/x11/gdkx-autocleanups.h is not installed, but it is required by gdkx.h https://bugzilla.gnome.org/show_bug.cgi?id=743640 gdk/x11/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 93ae728cc63db3fa724d7079d4f05d9a99e11912 Author: Carlos Garnacho Date: Mon Feb 2 12:58:56 2015 +0100 scrolledwindow: Don't hide indicators if leaving towards a child In that case the scrolledwindow still gets events through the captured handler, and can thus still control visibility, so hiding the indicators in this case can only lead to flashing. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e82d471c550d657973149075656ec3497a02315f Author: Daniel Mustieles Date: Mon Feb 2 11:58:00 2015 +0100 Updated Spanish translation po-properties/es.po | 356 ++++++++++++++++++++++++++-------------------------- 1 file changed, 180 insertions(+), 176 deletions(-) commit 6aec79cbaa9835e1ce6c29315d3f4e145eb1dac1 Author: Alexander Larsson Date: Mon Feb 2 09:34:43 2015 +0100 gtkx: Add support for g_autoptr() https://bugzilla.gnome.org/show_bug.cgi?id=743640 gtk/Makefile.am | 1 + gtk/gtkx-autocleanups.h | 27 +++++++++++++++++++++++++++ gtk/gtkx.h | 2 ++ 3 files changed, 30 insertions(+) commit 88d166d8cc39cca1376da8df790f77ef3abbc1db Author: Alexander Larsson Date: Mon Feb 2 09:32:45 2015 +0100 gtkunixprint: Add support for g_autoptr() https://bugzilla.gnome.org/show_bug.cgi?id=743640 gtk/Makefile.am | 1 + gtk/gtkunixprint-autocleanups.h | 28 ++++++++++++++++++++++++++++ gtk/gtkunixprint.h | 2 ++ 3 files changed, 31 insertions(+) commit 8c361fd7e271f5b4adae2d99e58d515cf10bb861 Author: Alexander Larsson Date: Mon Feb 2 09:29:54 2015 +0100 gtk: Add support for g_autoptr() https://bugzilla.gnome.org/show_bug.cgi?id=743640 gtk/Makefile.am | 1 + gtk/a11y/Makefile.inc | 1 + gtk/a11y/gtk-a11y-autocleanups.h | 75 +++++++++++++ gtk/gtk-a11y.h | 2 + gtk/gtk-autocleanups.h | 222 +++++++++++++++++++++++++++++++++++++++ gtk/gtk.h | 2 + gtk/gtkgesturezoom.h | 2 +- 7 files changed, 304 insertions(+), 1 deletion(-) commit a71ff332660a7d6c155eb04c92936c618ae80cf8 Author: Alexander Larsson Date: Mon Feb 2 09:28:22 2015 +0100 gdk: Add support for g_autoptr() https://bugzilla.gnome.org/show_bug.cgi?id=743640 gdk/Makefile.am | 1 + gdk/gdk-autocleanup.h | 42 ++++++++++++++++++++++++++++++++++++++++++ gdk/gdk.h | 2 ++ gdk/x11/gdkx-autocleanups.h | 39 +++++++++++++++++++++++++++++++++++++++ gdk/x11/gdkx.h | 2 ++ 5 files changed, 86 insertions(+) commit eacfad7ed693c180158a5eee82335082a87973ea Author: Chun-wei Fan Date: Mon Feb 2 15:00:45 2015 +0800 gtkstylecontext.c: Include fallback-c89.c round() is now being used in the function, so that compilers without round() in their math.h is supported. gtk/gtkstylecontext.c | 2 ++ 1 file changed, 2 insertions(+) commit 31d3be96e4168f886293bae52ad1cee56b043881 Author: Matthias Clasen Date: Sun Feb 1 17:30:10 2015 -0500 Be safe against stray booleans Since gboolean is a typedef for int, the compiler won't complain about gdk_window_set_event_compression (w, 2). So, make it work. https://bugzilla.gnome.org/show_bug.cgi?id=742566 gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a531ec6ab04d7a9ebd3e3e1ea1060f811555173 Author: Matthias Clasen Date: Sun Feb 1 11:07:12 2015 -0500 Plug another memory leak in plugman examples/plugman.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f7803704993d1b306cb46052fd58fd02a9e20a23 Author: Felix Riemann Date: Sat Jan 31 16:17:24 2015 +0100 plugman: Fix leaking attribute string https://bugzilla.gnome.org/show_bug.cgi?id=743770 examples/plugman.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 404e2753c4f63c5a71b65f5270317f21be77a5fe Author: Cosimo Cecchi Date: Sun Jan 25 11:53:49 2015 +0000 scrolledwindow: add a new edge-reached signal This will be used to just detect when an edge of the scrollable area is reached - as opposed to the edge-overshot signal that is emitted when the user scrolls past the edge. https://bugzilla.gnome.org/show_bug.cgi?id=742848 gtk/gtkscrolledwindow.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++--- tests/testscrolledge.c | 9 +++++++ 2 files changed, 74 insertions(+), 3 deletions(-) commit 48a41b01196febe124eb29c8d8ba8a996935adaa Author: Matthias Clasen Date: Sat Jan 31 13:33:42 2015 -0500 Reduce symbolic icon warnings to a debug message These icons are out there in the wild, and the warning causes distcheck to fail. So, reduce it to a debug message. gtk/gtkicontheme.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 5f977deb4fa0f5c437f8bcac49e19210c735af88 Author: Dušan Kazik Date: Sat Jan 31 11:07:59 2015 +0000 Updated Slovak translation po/sk.po | 1727 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 900 insertions(+), 827 deletions(-) commit 6276b9cda0b179e6a29b9002f82a338dc6f9649f Author: Matthias Clasen Date: Fri Jan 30 23:32:50 2015 -0500 image: Optimize non-resize changes Suggested by Owen in https://bugzilla.gnome.org/show_bug.cgi?id=613833 gtk/gtkimage.c | 132 +++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 109 insertions(+), 23 deletions(-) commit bece876f8eded4a5deee5db9b96ef52a5a61ef0a Author: Benjamin Otte Date: Sat Jan 31 02:25:18 2015 +0100 stylecontext: Use old rounding for get_padding/border/margin() 610f7e8f70ce165e04a4cdc3fd20b560f500b925 changed the way we query those values for performance reasons but didn't copy the rounding used. Fixes border-half-pixel reftest. gtk/gtkstylecontext.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 3575df8ee24a4e9e7c59260d66e0e087be852e69 Author: Benjamin Otte Date: Sat Jan 31 01:55:04 2015 +0100 glarea: Remove useless function The function should have been gone in 27cf0fa34c3a51ddb50391f21aaf2e3984d6dddb gtk/gtkglarea.c | 19 ------------------- 1 file changed, 19 deletions(-) commit f1ec76a9c1250b8d6f35dc199f0fc0452bcdaaf5 Author: Benjamin Otte Date: Thu Jan 22 15:47:36 2015 +0100 roundedbox: Treat path segments differently If a side of the box is 0px wide, make the corners owned by the adjacent sides. This avoids spilling over of unwanted colors from the 0-width side into the corner. This is the fix that should actually have been part of 7e5ac3a58d0362080c4eb7c9b68ead99674c7b87 but my amazing amending skills got rid of it when amending the test. gtk/gtkroundedbox.c | 116 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 88 insertions(+), 28 deletions(-) commit 65dadd37fc4b98fe1da4c9b44f89e2d3ecf92921 Author: Matthias Clasen Date: Fri Jan 30 18:58:41 2015 -0500 Updates for 3.15.5 NEWS | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 561ff51abb9629c11855d346432cb1792b117815 Author: Matthias Clasen Date: Fri Jan 30 18:42:06 2015 -0500 Fix an oversight Commit ff256956b2072cd422 introduced a frame_clock_events_paused flag, but only ever set it to TRUE, instead of unsetting it when events are resumed. This was leading to assertion failures in _gdk_display_unpause_events(). gdk/gdkwindow.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 7ff3ef3e68350773548beae93f4b29f33fa88600 Author: Matias De lellis Date: Tue Dec 2 21:09:38 2014 -0300 GtkSettings: Consider default settings for font hinting and antialias Arrange things so that gtk-xdg-hinting==-1 and gtk-xfg-antialias==-1 end up as CAIRO_HINT_STYLE_DEFAULT and CAIRO_ANTIALIAS_DEFAULT in the cairo font options. This will not change anything on Linux desktops where xsettings will always provide values different from -1. But on other platforms, we can benefit from getting the platform-specific defaults in cairo. Based on the first patch in: https://bugzilla.gnome.org/show_bug.cgi?id=735316 gtk/gtksettings.c | 53 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 21 deletions(-) commit a1f8ffce4eb5cc023f810b9fe0e1e6749283ca65 Author: Bastian Ilsø Date: Wed Jan 28 18:43:45 2015 +0000 Getting started: BIG update of basics section https://bugzilla.gnome.org/show_bug.cgi?id=743680 docs/reference/gtk/getting_started.xml | 86 ++++++++++++++++++---------------- 1 file changed, 46 insertions(+), 40 deletions(-) commit ff256956b2072cd422ccec5f33949854b0db0ef8 Author: Tom Hughes Date: Mon Jan 26 21:52:00 2015 +0000 Resume events when disconnecting from a frame clock If we are disconnecting from a frame clock that has paused event processing and hasn't issued a resume yet make sure we resume the events or they will stay blocked forever. https://bugzilla.gnome.org/show_bug.cgi?id=742636 gdk/gdkinternals.h | 1 + gdk/gdkwindow.c | 9 +++++++++ 2 files changed, 10 insertions(+) commit d86d406c99a94b5acf5e3a3fa328908508d5f882 Author: Balázs Úr Date: Fri Jan 30 21:29:35 2015 +0000 Updated Hungarian translation po-properties/hu.po | 507 ++++++++++++++++++++++++---------------------------- 1 file changed, 237 insertions(+), 270 deletions(-) commit 71f5eec2e040c604b30f7777ca178c9891d0cb3d Author: Balázs Úr Date: Fri Jan 30 21:26:29 2015 +0000 Updated Hungarian translation po/hu.po | 284 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 143 insertions(+), 141 deletions(-) commit 4f1780c7828737266b7aa1ae8372b7f1c7711b69 Author: Matthias Clasen Date: Fri Jan 30 06:07:34 2015 -0500 Robustness fixes for drag cancel animation gtk_widget_get_frame_clock() can return NULL. Deal with that by silently stopping the drag cancel animation in this case. gtk/gtkdnd.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 34c29d8d3cfd85132a7e8c333ffb4353771cfe64 Author: Matthias Clasen Date: Fri Jan 30 09:20:04 2015 -0500 testnotebookdnd: Defer deletion to an idle The code here was always a bit buggy: We removed the tab from the notebook in a ::drag-data-received handler. But with GTK_DEST_DEFAULT_DROP, that signal is emitted before we inform the source side that the drag is finished. With its improved drag handling, GtkNotebook now interprets this as a 'spontaneous' removal of the tab being dragged, and cancels the drag, leading to an unwanted cancel animation. The easiest fix is to just defer the tab removal to an idle. tests/testnotebookdnd.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit 3fc21b4f3f2d7764b00939961fb38af9b552b6ab Author: Matthias Clasen Date: Fri Jan 30 09:26:04 2015 -0500 notebook: Protect removal-from-within When a tab is dropped, we have to remove it from the notebook to insert it elsewhere. This is expected part of the tab dnd operation, and we need to differentiate it from 'spontaneous' removals which cause us to cancel the drag operation. gtk/gtknotebook.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 63104944a3d783197082cb57683301a67f1de063 Author: Matthias Clasen Date: Thu Jan 29 23:51:26 2015 -0500 notebook: Make dnd safe against tab disappearance when the dragged tab is being removed during the drag operation, we need to cancel the drag. To do so, we have to keep around a reference to the drag context. This should fix https://bugzilla.gnome.org/show_bug.cgi?id=732051 gtk/gtknotebook.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 3a05d9b5a0dde696fe6fb68fd2ae3bffbc36b20c Author: Matthias Clasen Date: Thu Jan 29 23:48:06 2015 -0500 notebook: Make reordering safe for tab disappearance If the dragged tab is removed during reordering, we need to call gtk_notebook_stop_reorder(), to clean up and bring the remaining tabs back in order. gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit c160ba0696dc5ffaece04941cf24344bf76bab65 Author: Matthias Clasen Date: Thu Jan 29 23:49:48 2015 -0500 dnd: Allow programmatic drag cancellation Add a gtk_drag_cancel() function that can be used on the source side to cancel an ongoing drag operation. This can be useful, e.g. if the data that is being dragged becomes unavailable. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkdnd.c | 52 +++++++++++++++++++++++++++++------- gtk/gtkdnd.h | 3 +++ 3 files changed, 46 insertions(+), 10 deletions(-) commit f2cfe9ed74ae222fd0f61f09e85972cbc3ad9917 Author: Matthias Clasen Date: Thu Jan 29 23:45:28 2015 -0500 dnd: Make dest side safe against destroy Use a weak pointer to clean up when the current drag destination gets destroyed. gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0367f785efe42954b3b889c8bd9decdb1b72a930 Author: Matthias Clasen Date: Wed Jan 28 22:36:47 2015 -0500 file chooser button: Make dnd work as expected Update the button contents when accepting a drop. https://bugzilla.gnome.org/show_bug.cgi?id=743451 gtk/gtkfilechooserbutton.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 1c8b77637abad21e30aaa8ac4963485b9e0e6e59 Author: Sveinn í Felli Date: Thu Jan 29 15:37:35 2015 +0000 Updated Icelandic translation po/is.po | 266 ++++++++++++++++----------------------------------------------- 1 file changed, 68 insertions(+), 198 deletions(-) commit 4188069db9d886e7e7478ce9a15d769af3adfb3d Author: Lapo Calamandrei Date: Thu Jan 29 11:34:01 2015 +0100 Adwaita: add comments gtk/theme/Adwaita/_common.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c6eb926e4ad9ee935885aa36c0e26290f6261e29 Author: Lapo Calamandrei Date: Thu Jan 29 10:49:59 2015 +0100 Adwaita: undershoot simplification and tweaks gtk/theme/Adwaita/_common.scss | 4 ---- gtk/theme/Adwaita/_drawing.scss | 20 +++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 30 ++++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 30 ++++++++++++------------------ 4 files changed, 31 insertions(+), 53 deletions(-) commit 99b17488dd4608d46e4b9fdc5e719d5b600ac837 Author: Matthias Clasen Date: Wed Jan 28 18:26:42 2015 -0500 file chooser: Unset sidebar during search It is a bit misleading to have one of the places in the sidebar selected while in search mode, since the search is not relative to any location. So, unset the sidebar selection when we enter search mode. gtk/gtkfilechooserwidget.c | 1 + 1 file changed, 1 insertion(+) commit f211031a9fb47b32feb3dc211f75d3a3c238689a Author: Matthias Clasen Date: Wed Jan 28 18:25:32 2015 -0500 places sidebar: Make a function NULL-safe gtk_places_sidebar_set_location's location argument is documented as allow-none, but if one actually passes NULL, a warning results. Fix that. gtk/gtkplacessidebar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e31e88582f280917fa79ca201f59dbabe994fdc6 Author: Matthias Clasen Date: Wed Jan 28 18:21:18 2015 -0500 file chooser: Unify search mode leaving Make all ways to get out of search mode go through the same code path, so we always populate the list. gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a385ca1bb75a5fad0937146b1f59386a0d0fb4c4 Author: Matthias Clasen Date: Wed Jan 28 18:17:51 2015 -0500 file chooser: Fix key bindings Key press handlers must chain up for key bindings to work. gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 59c04d51843cfc5d7a1eae447767c0fd99675f5e Author: Matthias Clasen Date: Wed Jan 28 18:15:19 2015 -0500 file chooser: Load a directory when leaving search Ensure that some folder contents are shown in the list when we leave search mode. https://bugzilla.gnome.org/show_bug.cgi?id=743659 gtk/gtkfilechooserwidget.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 696129d83ca2006cd3fb69ebfb7c8fafee3f839b Author: Matthias Clasen Date: Wed Jan 28 17:01:30 2015 -0500 file chooser: Don't switch too eagerly to search mode If the search entry doesn't consume the key event, don't change to search mode. Otherwise, we interfere e.g. with Ctrl and Shift keys for selection. https://bugzilla.gnome.org/show_bug.cgi?id=743660 gtk/gtkfilechooserwidget.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 9cbf764bcd2421824ff8ac8d4b23eae1b1e56949 Author: Garrett Regier Date: Tue Jan 27 09:22:26 2015 -0800 Fix VA marshaller for GtkWidget's "event-after" signal Just a copy and paste typo from the "event" signal. https://bugzilla.gnome.org/show_bug.cgi?id=743593 Signed-off-by: Garrett Regier gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e9ddff907f0c016e881a2254e82730ece2e36066 Author: Bastian Ilsø Date: Wed Jan 28 11:39:01 2015 +0000 Get started: port example-0.c to GtkApplication https://bugzilla.gnome.org/show_bug.cgi?id=743638 examples/window-default.c | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) commit 066646c96d4df25ff4d5ba1776d29e814334306c Author: Christian Persch Date: Tue Jan 27 13:37:15 2015 +0100 GtkAboutDialog: Fix crash on link click https://bugzilla.gnome.org/show_bug.cgi?id=743592 gtk/gtkaboutdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 86eefc7609cfb5428f40309b3deb22ef1cf4cde1 Author: Matthias Clasen Date: Wed Jan 28 16:06:02 2015 -0500 file chooser: Make Escape go out of search mode This works in most other places where we have search, and is the expected behavior. gtk/gtkfilechooserwidget.c | 8 ++++++++ gtk/ui/gtkfilechooserwidget.ui | 1 + 2 files changed, 9 insertions(+) commit 1d64175c4b0a83ca7e9535c5dbf4e6ba1e8dfda1 Author: Matthias Clasen Date: Wed Jan 28 16:02:03 2015 -0500 file chooser: Simplify search entry callback gtk/gtkfilechooserwidget.c | 9 +++------ gtk/ui/gtkfilechooserwidget.ui | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) commit d270c5524fbd129bc96b2b31e1d97efa02be4e81 Author: Matthias Clasen Date: Wed Jan 28 15:57:12 2015 -0500 file chooser: Drop unused callbacks gtk/gtkfilechooserwidget.c | 14 -------------- 1 file changed, 14 deletions(-) commit 4ac57d4d4c8fced128228addc7a11b785ccb859e Author: Matthias Clasen Date: Wed Jan 28 15:37:53 2015 -0500 file chooser: Remove the search/browse buttons Enabling search is now handled in the file chooser dialog, so we don't need these buttons anymore. gtk/ui/gtkfilechooserwidget.ui | 75 ---------------------------------------- gtk/ui/gtkfilechooserwidget.ui.h | 3 -- 2 files changed, 78 deletions(-) commit 7c51e60b8647f8dfcc3b1c30eb8ed8e5b21489ef Author: Matthias Clasen Date: Wed Jan 28 15:36:57 2015 -0500 file chooser dialog: Add a search button to the header This is where we put similar search buttons in applications and in other dialogs, such as the GtkAppChooserDialog. gtk/gtkfilechooserdialog.c | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) commit de4427304c680c4d111ba92477a30f70befa2d06 Author: Matthias Clasen Date: Wed Jan 28 15:00:08 2015 -0500 file chooser: Add a search-mode property This will be used to control search from the dialog. gtk/gtkfilechooserwidget.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 76b674f3b63bb77944e82170852ec64b3a4c2c39 Author: Matthias Clasen Date: Wed Jan 28 10:35:49 2015 -0500 file chooser: Clean up includes gtk/gtkfilechooserwidget.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit f029a2230dfb71f0d94afa3124eb2a944ca1bb21 Author: Lapo Calamandrei Date: Wed Jan 28 20:22:05 2015 +0100 Adwaita: undershoot tweaks gtk/theme/Adwaita/_drawing.scss | 14 ++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 22 insertions(+), 24 deletions(-) commit 5f1fb0e4fcd16111611f51c37ab225cfd9bb0925 Author: Lapo Calamandrei Date: Wed Jan 28 20:05:03 2015 +0100 Adwaita: undershoot teeth removal gtk/theme/Adwaita/_drawing.scss | 66 +++++++++++--------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 45 ++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 45 ++++++++++++---------- 3 files changed, 70 insertions(+), 86 deletions(-) commit 201134b9df0c71cb729da9f3dc7410a066f3aacc Author: Jakub Steiner Date: Wed Jan 28 18:22:59 2015 +0100 Adwaita: shade content-view https://bugzilla.gnome.org/show_bug.cgi?id=740336 gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 17 insertions(+) commit f07ac793fea9a76605f5c6a7b86015377a98ffc3 Author: Lapo Calamandrei Date: Wed Jan 28 18:19:20 2015 +0100 Adwaita: set the right background color for message dialogs gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 2 files changed, 8 insertions(+) commit 3f4df0644c76c88a57a0bbe57a4b469f5dddb71e Author: Carlos Garnacho Date: Sun Jan 25 17:55:01 2015 +0000 window: Only claim the sequence if keeping the grab If the grab belongs elsewhere, the window won't claim the sequence right away. The sequence may still be claimed afterwards when window dragging starts, but simple clicks won't be consumed this way. This makes it possible to close popovers when clicking on the title region, while still permitting touch/button 1 interaction for every other purpose. https://bugzilla.gnome.org/show_bug.cgi?id=743257 gtk/gtkwindow.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit ea983404ec02c1fcb01be13eb2ce271430d80346 Author: Carlos Garnacho Date: Tue Jan 27 11:24:18 2015 +0000 win32: Don't check the position of a NULL device This function is given a barely setup GdkEvent, so the GdkDevice field is still unset, causing warnings and misbehaviors when the position is queried for it. Given that the wintab GTK+ code seems to rely somewhat hard on the wintab device managing the pointer cursor, query the pointer position from the pointer itself. https://bugzilla.gnome.org/show_bug.cgi?id=743330 gdk/win32/gdkdevicemanager-win32.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 15438905693106e81b96100ce5843e87910768d5 Author: Carlos Garnacho Date: Mon Jan 26 14:26:34 2015 +0000 win32: Ensure we can create a window for wintab The window used NULL as a parent window, which defaults internally to using the root window of the default screen. But at the time wintab is initialized, there is no default display/screen yet. Fix this by retrieving this information from the given GdkDeviceManager, so we don't have to wait for the display to be in place before initialization. https://bugzilla.gnome.org/show_bug.cgi?id=743330 gdk/win32/gdkdevicemanager-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2dd07f346a0f724146c6ba7d6ce3a3372d901397 Author: Rui Matos Date: Tue Jan 27 18:50:33 2015 +0100 gdkscreen-wayland: Don't leak wl_output objects https://bugzilla.gnome.org/show_bug.cgi?id=743633 gdk/wayland/gdkscreen-wayland.c | 1 + 1 file changed, 1 insertion(+) commit f717d984582e75747c123e30ed5672a69c6936f8 Author: Lapo Calamandrei Date: Wed Jan 28 17:11:34 2015 +0100 Adwaita: another approach at the undershoot styling gtk/theme/Adwaita/_common.scss | 2 - gtk/theme/Adwaita/_drawing.scss | 70 ++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 234 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 234 ++++++++++++++++++++++--------- 4 files changed, 385 insertions(+), 155 deletions(-) commit 1aee4f038448b79ebbc6fb6925aec2dfbe71f3c9 Author: Matthias Clasen Date: Wed Jan 28 10:08:13 2015 -0500 Fix a typo commit aa1b7fab9c6a2b39 introduced a misuse of G_UNLIKELY in several places. Fix all those. gtk/gtktextview.c | 2 +- gtk/gtktreeview.c | 2 +- gtk/gtkwidget.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 8e8a94bc23b782777d3071d10c7847c5b49442d8 Author: Lars Uebernickel Date: Wed Jan 28 14:13:42 2015 +0000 Also bundle icons in status/ as resources https://bugzilla.gnome.org/show_bug.cgi?id=743647 gtk/Makefile.am | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit f3d95d05eb599c80327db0b7c318d60818b48609 Author: Bastian Ilsø Date: Tue Jan 27 11:43:40 2015 +0000 Introduction explaining widget toolkit docs/reference/gtk/getting_started.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 00834786be3b280dd048d234ee6bb188d01e1ff8 Author: Niels Nesse Date: Sat Jan 17 23:21:35 2015 -0800 GDK GL context's should associate with "window->impl_window" not "window" In some layouts this inconsistency results in crashes in gdk_gl_texture_from_surface() since it uses gdk_gl_context_get_window() but the returned window is not the same as the one that is being painted so "window->current_paint.surface" is NULL. I saw this problem when packing a GdkGLArea into a GtkPaned. https://bugzilla.gnome.org/show_bug.cgi?id=743146 gdk/gdkwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 27cf0fa34c3a51ddb50391f21aaf2e3984d6dddb Author: Niels Nesse Date: Wed Jan 14 17:30:28 2015 -0800 Fix core context creation in GdkGLContext - Specifically request GL version when creating context. Just specifying core profile bit results in the requested version defaulting to 1.0 which causes the core profile bit to be ignored and an arbitrary compatability context to be returned. - Fix GL painting by removing GL calls that have been depricated by the 3.2 core profile. - Additionally remove glInvalidateFramebuffer() call, it is not supported by 3.2 core. https://bugzilla.gnome.org/show_bug.cgi?id=742953 gdk/gdkgl.c | 16 +++++----------- gdk/gdkglcontext.c | 2 +- gdk/gdkwindow.c | 1 - gdk/x11/gdkglcontext-x11.c | 2 ++ gtk/gtkglarea.c | 2 -- 5 files changed, 8 insertions(+), 15 deletions(-) commit 9e85fcbe7cc3cf296b125f149d20645c821d4b62 Author: Bastian Ilsø Date: Tue Jan 27 19:25:40 2015 +0000 Paragraph explaining casting conventions via macro docs/reference/gtk/getting_started.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit a1e4ba0dd42684a707c2851b4d45c3637974f6d0 Author: Alexander Larsson Date: Tue Jan 27 17:14:26 2015 +0000 gtktreeview: Fix horizontal grid lines The clipping was wrong so it was not drawing grid lines outside the visible area, which broke due to the pixel cache. gtk/gtktreeview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1442299b4838d38de81285cf007b871cf867ed69 Author: Jonas Danielsson Date: Wed Nov 20 17:25:59 2013 +0100 clipboard: Add get_default() helper Add helper for getting the main clipboard. This makes the API usable for bindings (as GdkAtoms aren't usable through gobject-introspection), and easier to use in C. https://bugzilla.gnome.org/show_bug.cgi?id=712752 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkclipboard.c | 20 ++++++++++++++++++++ gtk/gtkclipboard.h | 3 +++ 3 files changed, 24 insertions(+) commit 46b10f1d929e89d02175796c6dc5250215f51105 Author: Sveinn í Felli Date: Tue Jan 27 14:32:27 2015 +0000 Updated Icelandic translation po/is.po | 87 ++++++++++++++++++++++++++++++---------------------------------- 1 file changed, 41 insertions(+), 46 deletions(-) commit aa1b7fab9c6a2b39ccdf90c8ee1e04e583815424 Author: Benjamin Otte Date: Tue Jan 27 05:03:52 2015 +0100 css: Remove _gtk_css_style_property_changes_affect_size() ... and _gtk_css_style_property_changes_affect_font(). Replace it with _gtk_css_style_property_get_mask_affecting(). gtk/gtkcssstyleproperty.c | 23 ----------------------- gtk/gtkcssstylepropertyprivate.h | 4 ---- gtk/gtktextview.c | 7 ++++++- gtk/gtktreeview.c | 7 ++++++- gtk/gtkwidget.c | 7 ++++++- 5 files changed, 18 insertions(+), 30 deletions(-) commit 488ea44a597063ecd9d1354bc01b1e165670a98d Author: Benjamin Otte Date: Tue Jan 27 04:48:35 2015 +0100 image: Use _gtk_css_style_property_get_mask_affecting() ... to avoid recomputing the cached surface all the time. gtk/gtkimage.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit c42e54e9494d7d56634bd9bbafe38ddf6ee8daa8 Author: Benjamin Otte Date: Tue Jan 27 04:47:55 2015 +0100 css: Add _gtk_css_style_property_get_mask_affecting() Computes a bitmask for all properties that affect the given flags. gtk/gtkcssstyleproperty.c | 29 +++++++++++++++++++++++++++++ gtk/gtkcssstylepropertyprivate.h | 2 ++ 2 files changed, 31 insertions(+) commit ffff7b055bb82f4412c6c0549b84e90f285b5480 Author: Benjamin Otte Date: Tue Jan 27 04:36:00 2015 +0100 css: Remove GtkCssStyleProperty::affects-size ... and GtkCssStyleProperty::affects-font properties. Code now uses GtkCssStyleProperty::affects instead. gtk/gtkcssstyleproperty.c | 68 ++-------------------------------------- gtk/gtkcssstylepropertyimpl.c | 2 -- gtk/gtkcssstylepropertyprivate.h | 2 -- 3 files changed, 2 insertions(+), 70 deletions(-) commit c0650057c11b87cf7c2c063b160c54080318f7f7 Author: Benjamin Otte Date: Tue Jan 27 04:32:09 2015 +0100 css: Add GtkCssStyleProperty::affects property gtk/gtkcssstyleproperty.c | 32 ++++++++++++++++++++++++++++++++ gtk/gtkcssstylepropertyimpl.c | 1 + gtk/gtkcssstylepropertyprivate.h | 2 ++ gtk/gtkcsstypesprivate.h | 2 +- 4 files changed, 36 insertions(+), 1 deletion(-) commit 11d70f1ac30dd491d9d8dac9b9e2c31cee073cc9 Author: Benjamin Otte Date: Tue Jan 27 00:25:05 2015 +0100 css: Add a -gtk-icon-theme CSS property The property is useless to set (it only allows 'initial', 'inherit' and 'unset' as values), but it is used to track changes to the icon theme. And as such, it can ensure that widgets can track when they need to reload icons. https://bugzilla.gnome.org/show_bug.cgi?id=743341 gtk/Makefile.am | 2 + gtk/gtkcssiconthemevalue.c | 135 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcssiconthemevalueprivate.h | 32 +++++++++ gtk/gtkcssstylepropertyimpl.c | 19 ++++++ gtk/gtkcsstypesprivate.h | 1 + 5 files changed, 189 insertions(+) commit 9cbf04c1d2db22001995b9851587b475ffcefe44 Author: Mike Gorse Date: Mon Jan 26 14:59:50 2015 -0600 A11y: fix typo when initializing a container cell accessible Gtk_container_cell_widget_set should chain up to its parent's set function, not its parent's unset function. This was resulting in accessibles being erroneously marked defunct after being created. gtk/a11y/gtkcontainercellaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8cb444147cdbc624c0ecda3209c389dbe824152f Author: Yosef Or Boczko Date: Mon Jan 26 22:13:52 2015 +0200 Updated Properties Hebrew translation po-properties/he.po | 904 ++++++++++++++++++++++++++-------------------------- 1 file changed, 458 insertions(+), 446 deletions(-) commit daad650a9c0759d96d65422b68972a8aa01bd291 Author: Yosef Or Boczko Date: Mon Jan 26 22:12:48 2015 +0200 Updated Hebrew translation po/he.po | 326 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 174 insertions(+), 152 deletions(-) commit 5fc8cf43317b1eef865fddefd69093b30a544976 Author: Matthias Clasen Date: Sat Jan 24 19:31:11 2015 -0500 x11: Handle obsolete selection requests without crashing The ICCCM says: If the specified property is None, the requestor is an obsolete client. Owners are encouraged to support these clients by using the specified target atom as the property name to be used for the reply. Lets do that, instead of crashing. https://bugzilla.gnome.org/show_bug.cgi?id=740613 The previous fix for this issue in 732af31424b8f382d was incomplete. gdk/x11/gdkdisplay-x11.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 542c824c717b3d3f04a982dd11faf85de1ba3828 Author: Matthias Clasen Date: Sat Jan 24 19:25:50 2015 -0500 Trivial doc fixes Remove two erroneous quotation marks. gtk/gtkdnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8fc920144bb1f9840e501ef4f470be2eb83b6c0a Author: Christoph Reiter Date: Tue Jan 20 17:54:03 2015 +0100 GtkFileChooserWidget: Fix a crash for when the widget was unrefed right after setting a current folder. Keep a reference to the widget while the async operation is ongoing. https://bugzilla.gnome.org/show_bug.cgi?id=725164 gtk/gtkfilechooserwidget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c235747847d59db7f2bf553cc53f7656397b7627 Author: Christoph Reiter Date: Tue Jan 20 17:48:54 2015 +0100 GtkFileChooserWidget: remove unused fields and cleanup code. These fields are never set, so we don't need the code to clean them up. https://bugzilla.gnome.org/show_bug.cgi?id=725164 gtk/gtkfilechooserwidget.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) commit 95fad690d2fee2970ff7f233ce82d28183d5d86b Author: Matthias Clasen Date: Sat Jan 24 17:25:43 2015 -0500 wayland: Don't claim to support selection notification We don't support selection notification, so don't claim we do, only to fail later. https://bugzilla.gnome.org/show_bug.cgi?id=743229 gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b6551c84c9fcd1c63f4fe8055e016f41cf7c4985 Author: Matthias Clasen Date: Sat Jan 24 16:45:04 2015 -0500 Initialize variables No need to risk valgrind complaints about initialized values. https://bugzilla.gnome.org/show_bug.cgi?id=743422 gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit aa0811d320c0da992a37da22edd3c7966e9cb152 Author: Debarshi Ray Date: Wed Jan 21 11:28:19 2015 +0100 GtkTreeModel: Documentation fix https://bugzilla.gnome.org/show_bug.cgi?id=743286 gtk/gtktreemodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4dee9b682b5ef0b00d882f0327f0cbdd317afaf Author: Christoph Reiter Date: Mon Jan 19 18:06:03 2015 +0100 Fix transfer annotation for tree_model parameter of gtk_tree_get_row_drag_data() and add nullable, optional The GtkSelectionData does not own the model set with gtk_tree_set_row_drag_data so change the out param to "transfer none". This fixes a crash after multiple DnD actions due to the bindings stealing a reference each time this function is called. This also adds nullable and optional annotations for tree_model and path while at it. https://bugzilla.gnome.org/show_bug.cgi?id=743193 gtk/gtktreednd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9668962da12df65810856178bbb5ec1866a953d0 Author: Timm Bäder Date: Fri Jan 23 11:21:02 2015 +0100 gtkdnd: Set the dnd window's screen before its visual This makes dnd icons work for widgets on a !default screen. https://bugzilla.gnome.org/show_bug.cgi?id=743393 gtk/gtkdnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b3c28e14fe184ee61f1904021ba42af5052bc9da Author: Matthias Clasen Date: Sat Jan 24 13:32:31 2015 -0500 file chooser: search improvements Make it so that typing switches to search unless we have a better use for the key events, and stop search if the entry is emptied. gtk/gtkfilechooserwidget.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit 8f9c8120b9d8a4cfa9ed1777da37f7a2d618a3a6 Author: Matthias Clasen Date: Sat Jan 24 08:04:36 2015 -0500 file chooser: Turn off typeahead search It is the third kind of navigation entry in the file chooser after the location entry and search, and it interacts badly with both of the others. gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit a0ecb44b41ed5625aa05e101959110f09a089b5c Author: Matthias Clasen Date: Sat Dec 27 18:53:21 2014 -0500 gtk-demo: Show search entry signals demos/gtk-demo/search_entry2.c | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 3bf12c44e28076fd23c21a5e512df19070d04a0a Author: Matthias Clasen Date: Sat Dec 27 18:29:07 2014 -0500 Use the new API in GtkSearchBar if we can Sadly, GtkSearchBar allows connecting plain entries, so we have to keep the old code around. gtk/Makefile.am | 1 + gtk/gtksearchbar.c | 152 ++++++++++++++++++++------------------------ gtk/gtksearchentry.c | 6 +- gtk/gtksearchentryprivate.h | 36 +++++++++++ 4 files changed, 110 insertions(+), 85 deletions(-) commit 354536d464bc39ef1f335cd89f71398bea74e506 Author: Matthias Clasen Date: Mon Nov 24 22:44:44 2014 -0500 inspector: Use some of the new GtkSearchEntry API Avoid repetitive, manual event handling in various places in GtkInspector. gtk/inspector/object-tree.c | 9 ++++ gtk/inspector/object-tree.ui | 3 ++ gtk/inspector/prop-list.c | 103 ++----------------------------------- gtk/inspector/prop-list.ui | 1 + gtk/inspector/style-prop-list.c | 106 ++------------------------------------- gtk/inspector/style-prop-list.ui | 2 + 6 files changed, 22 insertions(+), 202 deletions(-) commit 500c8d82fc4ba01b8424fb51fae4cd6af46d362a Author: Matthias Clasen Date: Mon Nov 24 22:40:45 2014 -0500 GtkSearchEntry: Add more API Add ::next-match, ::previous-match and ::stop-search keybinding signals that are bound to Ctrl-g, Ctrl-Shift-g and Escape. Also add a gtk_search_entry_handle_event() function to handle key events. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtksearchentry.c | 218 ++++++++++++++++++++++++++++++++++- gtk/gtksearchentry.h | 12 +- 3 files changed, 220 insertions(+), 11 deletions(-) commit 82a5edceca581b7eaedb7e3692bd8186049f8e08 Author: Sveinn í Felli Date: Fri Jan 23 13:37:21 2015 +0000 Updated Icelandic translation po/is.po | 3124 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 1295 insertions(+), 1829 deletions(-) commit ad180c43358d1e8f22d23763fc7935f7cdce1cee Author: Timm Bäder Date: Thu Jan 22 13:40:12 2015 +0100 inspector: Make gl extension rows unactivatable gtk/inspector/general.c | 1 + 1 file changed, 1 insertion(+) commit 2e71fbacbf150c15c01ea2e58484e26c245eff25 Author: Piotr Drąg Date: Thu Jan 22 20:20:43 2015 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 7e5ac3a58d0362080c4eb7c9b68ead99674c7b87 Author: Benjamin Otte Date: Thu Jan 22 15:47:36 2015 +0100 roundedbox: Treat path segments differently If a side of the box is 0px wide, make the corners owned by the adjacent sides. This avoids spilling over of unwanted colors from the 0-width side into the corner. New test for this case is included. testsuite/reftests/Makefile.am | 3 + .../border-corner-zero-width-rendering.css | 33 +++ .../border-corner-zero-width-rendering.ref.ui | 207 ++++++++++++++++ .../reftests/border-corner-zero-width-rendering.ui | 269 +++++++++++++++++++++ 4 files changed, 512 insertions(+) commit 3a9bf0fe1d9202862b6c8e45a2575f178eae8aee Author: Benjamin Otte Date: Thu Jan 22 14:36:33 2015 +0100 widget: Compute clip of children properly For widgets with a window, we need to adjust the allocation of their children. gtk/gtkwidget.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit d879a1360052df1ae504258c178b130f66cea47b Author: Benjamin Otte Date: Thu Jan 22 14:33:26 2015 +0100 widget: Correctly handle which widgets to include in the clip Previously, we would not include any child widget on the first allocation, which happens right after realize(), but before map(). No widget is drawable at that point. gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bd31310c40de64add4aa813315216685ef224a77 Author: Benjamin Otte Date: Thu Jan 22 14:33:03 2015 +0100 widget: Add debug spew for setting the clip gtk/gtkwidget.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 3fcb8928310aa24696dd6e0c5350d263fd034518 Author: Benjamin Otte Date: Thu Jan 22 14:32:38 2015 +0100 headerbar: Implement clipping gtk/gtkheaderbar.c | 2 ++ 1 file changed, 2 insertions(+) commit ba06066158cc2c4e68a8de5706349a2c221c5c58 Author: Benjamin Otte Date: Wed Jan 21 16:22:30 2015 +0100 border: Don't special case according to border styles This is now done (as it should) in the compute code. gtk/gtkrenderborder.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 728bce2cf8258e46f11c3452539b3bf064f60f5c Author: Sebastian Keller Date: Wed Jan 21 15:29:54 2015 +0100 css: Move "border-style: none" special case to CssValueNumber This fixes the background being shifted by the border-width even though the border-style was none. gtk/gtkcssnumbervalue.c | 34 ++++++++++++++++++++++++++ gtk/gtkcssstyleproperty.c | 61 ----------------------------------------------- 2 files changed, 34 insertions(+), 61 deletions(-) commit 610f7e8f70ce165e04a4cdc3fd20b560f500b925 Author: Benjamin Otte Date: Wed Jan 21 02:16:44 2015 +0100 stylecontext: Don't do unnecessary workarounds when calling get_padding/border/margin, there is no need to go through the fallback API. This is a huge speedup for certain benchmarks. gtk/gtkstylecontext.c | 54 ++++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 24 deletions(-) commit 8836a0d6ce554164e4f513bbf0c0743f629af8e0 Author: Sebastian Keller Date: Wed Jan 21 01:14:55 2015 +0100 render: fix arrow orientation The rotation code in the draw_arrow function was assuming that the arrow would be drawn pointing upwards but it was pointing to the right resulting in the rotated arrows pointing in the wrong direction. The recent refactoring caused a pi/2 rotation to be lost. Rather than adding that back somehwere (to lose it again in the future), we just draw the arrow pointing upwards as it is expected to do with a 0 angle. gtk/gtkcssimagebuiltin.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)