commit d0c4747bd3a82f16b574741041d0f4aa846e4764 Author: Matthias Clasen Date: Wed Apr 27 07:37:56 2016 -0400 3.21.1 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 46abbfebe2f69bb6fdfec06c94ef97764c284c20 Author: Matthias Clasen Date: Wed Apr 27 07:37:43 2016 -0400 Updates NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 210a747ff082796fb28ee3a626be9e6bff0ea722 Author: Daniel Stone Date: Wed Apr 27 14:06:38 2016 +0200 wayland: Ignore NoSymbol keys NoSymbol is not a valid GDK symbol (it only has the concept of VoidSymbol, for some reason, which is neither the same thing nor produced by any sane keymap). Passing NoSymbol events through to GTK+ apps is unlikely to produce anything useful. In particular, this meant VTE would scroll to the end of the buffer when pressing Fn (required for Page Up/Down on Macs), as it was receiving a keypress that wasn't a modifeir. This does not happen on X11, as the KEY_FN keycode is above 255, so does not get sent to clients. https://bugzilla.gnome.org/show_bug.cgi?id=764825 gdk/wayland/gdkdevice-wayland.c | 2 ++ gdk/wayland/gdkkeys-wayland.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 605e205584f9076003e4becb5afc9814f3767fd1 Author: Georges Basile Stavracas Neto Date: Wed Apr 27 09:06:46 2016 -0300 placesview: update a leftover function name This should've been part of the previous commit. gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb8b459407a834765efd27cffd4aa448b0c45c8a Author: Georges Basile Stavracas Neto Date: Tue Apr 26 09:57:36 2016 -0300 placesview: follow up fixes This patch unmarks the addresses' prefixes as translatable, and updates the callback name to reflect what it really does now. This is a follow up fix from commit 7449add82. https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/gtkplacesview.c | 8 ++++---- gtk/ui/gtkplacesview.ui | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) commit 14967d8d7dbc36d535911425fab1fee19fb9d361 Author: Carlos Garnacho Date: Wed Apr 27 12:12:18 2016 +0200 wayland: Perform seat grab focus checks on native windows We don't care about the specific (possibly client-side) window that requested the focus here, only the toplevel. Fixes mistakenly sent focus events when the grab happens inside the current focus window. https://bugzilla.gnome.org/show_bug.cgi?id=762756 gdk/wayland/gdkdevice-wayland.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 0763a027c7f90feb446505f76b2c8d9ded05d6d1 Author: Christian Hergert Date: Tue Apr 26 19:30:30 2016 -0700 pixelcache: reuse existing timeout source when possible This avoids the g_source_remove(), g_source_destroy(), g_timer_source_new(), and g_source_set_name_by_id() in the common case. Instead, we reuse our previous source and update the ready time to our new deadline. We lose the coalescing with g_timeout_add_seconds(), but that is not going to help in the common case anyway (unless you have three hands and can scroll multiple pixelcached backed widgets at once). https://bugzilla.gnome.org/show_bug.cgi?id=765640 gtk/gtkpixelcache.c | 55 +++++++++++++++++++++++------------------------------ 1 file changed, 24 insertions(+), 31 deletions(-) commit 060c7d5c184c44102d2b2b9249337400af19b56a Author: Daniel Mustieles Date: Wed Apr 27 07:47:56 2016 +0000 Updated Spanish translation po/es.po | 818 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 420 insertions(+), 398 deletions(-) commit 1d35f273d6ae7f145e7cf8102d423fd7451f57f5 Author: Matthias Clasen Date: Tue Apr 26 22:02:34 2016 -0400 dnd: Fix some issues with drag icons In non-composited environments, we were ending up with all-black drag icons, because nothing was drawing the background of our new toplevel. Fix this by drawing background when we are not composited. We don't do this when composited, since we want to allow transparent icons. gtk/gtkdnd.c | 85 ++++++++++++++++++++++++------------------------------------ 1 file changed, 34 insertions(+), 51 deletions(-) commit 012904097a91ed7649638c1efbb5d1767aedd471 Author: Matthias Clasen Date: Tue Apr 26 21:25:02 2016 -0400 Fix indentation gtk/gtktextutil.c | 93 +++++++++++++++++++++++++++---------------------------- 1 file changed, 46 insertions(+), 47 deletions(-) commit 23df86e9236defcc32e34593b0d15de172bebd4c Author: Matthias Clasen Date: Tue Apr 26 21:23:08 2016 -0400 dnd: Set attributes from all widgets for text drag icons There is nothing textview-specific here. gtk/gtktextutil.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 7449add82ba4ce15d47f1b1cdb4f7e389e2b8628 Author: Georges Basile Stavracas Neto Date: Tue Apr 26 09:57:36 2016 -0300 placesview: provide guidance on server addresses GtkPlacesView currently provides no example of server addresses, which may confuse users. To fix that, add a helper popover with some guidance on server addresses. https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/gtkplacesview.c | 24 +++-- gtk/ui/gtkplacesview.ui | 242 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 256 insertions(+), 10 deletions(-) commit dfdc7c3e0dce66d19d9b0df6dfeeb7505a3356da Author: Matthias Clasen Date: Tue Apr 26 20:44:07 2016 -0400 progressbar: Enforce invariants When measuring gadgets, minimum must come out <= natural. Make sure we don't fail this when measuring progressbar text. https://bugzilla.gnome.org/show_bug.cgi?id=765644 gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c27c4e2048acb630feb24c31288f802345e99f4c Author: Matthias Clasen Date: Tue Apr 26 20:35:25 2016 -0400 dnd: Fix lifecycle issues with widgets as drag icons The documentation clearly says that the widget is not destroyed, but we were in fact failing to keep it alive, since it was still a child or the icon_window when we destroy that. Fix this by reparenting the icon_widget out before. Also, deal with the possibility that the application might destroy the widget halfway through, for whatever reason. gtk/gtkdnd.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit e0e114fddb8a244ae9df2fe5732828504dd79b80 Author: Matthias Clasen Date: Tue Apr 26 20:34:24 2016 -0400 testdnd2: Actually test gtk_drag_set_icon_widget I added a new test function, but didn't actually use it. No wonder I couldn't reproduce the lifecycle issues with drag widgets that firefox is experiencing. tests/testdnd2.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit 5a04edc57bcba96d8308ca2526973f3a479c01c6 Author: Bernhard Reutner-Fischer Date: Tue Apr 26 19:29:33 2016 +0200 docs: typo in GTK_STYLE_CLASS_LIST_ROW docs Fix typo in documentation of GTK_STYLE_CLASS_LIST_ROW: s/rowss/rows/g Signed-off-by: Bernhard Reutner-Fischer https://bugzilla.gnome.org/show_bug.cgi?id=765632 gtk/gtkstylecontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a4f000f3b2a3289c6bcd30b7ce259c1686ef169 Author: Jonas Ådahl Date: Tue Apr 26 15:31:33 2016 +0800 gdk/dnd: Don't use default display when getting cursor Always associate a drag context with a GdkDisplay and use that when getting a cursor for a given action. If we don't do this, dragging on a window that doesn't use the default display will make us use cursors from the wrong display. https://bugzilla.gnome.org/show_bug.cgi?id=765565 gdk/broadway/gdkdnd-broadway.c | 1 + gdk/gdkdnd.c | 5 +++-- gdk/gdkdndprivate.h | 5 ++++- gdk/quartz/GdkQuartzNSWindow.c | 2 ++ gdk/quartz/gdkdnd-quartz.c | 1 + gdk/wayland/gdkdevice-wayland.c | 3 ++- gdk/wayland/gdkdnd-wayland.c | 7 +++++-- gdk/wayland/gdkprivate-wayland.h | 3 ++- gdk/win32/gdkdnd-win32.c | 1 + gdk/x11/gdkdnd-x11.c | 4 +++- 10 files changed, 24 insertions(+), 8 deletions(-) commit f27dd214267b5b907411cefb85350acfbb26ac77 Author: Christian Hergert Date: Tue Apr 26 03:08:11 2016 -0700 frametimings: reuse previous frame timing in common case Typically, there won't be any references on old frame timings except for the most recent timing. So instead of discarding these and re-entering gslice twice, just steal the old frame timing and reuse it. https://bugzilla.gnome.org/show_bug.cgi?id=765592 gdk/gdkframeclock.c | 12 +++++++++--- gdk/gdkframeclockprivate.h | 4 +++- gdk/gdkframetimings.c | 17 +++++++++++++++++ 3 files changed, 29 insertions(+), 4 deletions(-) commit 8f64e4a8e3443eb887614e981b4a0f7b6ae3ac96 Author: Jonas Ådahl Date: Tue Apr 26 15:50:17 2016 +0800 gdk/dnd: Add missing signal parameter documentation The cancel reason parameter was missing. https://bugzilla.gnome.org/show_bug.cgi?id=765577 gdk/gdkdnd.c | 1 + 1 file changed, 1 insertion(+) commit 145b626c2f87a04223cc1902e317214144f1dfd5 Author: Jonas Ådahl Date: Tue Apr 26 11:46:25 2016 +0800 wayland: Track orphaned dialogs per display Don't track all orphaned dialogs globally, as mixing them up with each other would in most cases trigger errors when we try to pass bogus values to Wayland requests. https://bugzilla.gnome.org/show_bug.cgi?id=765474 gdk/wayland/gdkdisplay-wayland.h | 3 +++ gdk/wayland/gdkwindow-wayland.c | 31 ++++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 9 deletions(-) commit cb73becfb4cdb637bc8b19106a95f91482c95228 Author: Jonas Ådahl Date: Tue Apr 26 11:16:56 2016 +0800 wayland: Clean up naming of GdkWaylandDisplay pointers The naming of pointers to GdkWaylandDisplay's were inconsistent. Running the following commands in gtk+/gdk/wayland illustrate the inconsistency: $ grep -r '\' *.[ch] | wc -l 195 $ grep -r '\' *.[ch] | wc -l 81 This patch renames all occurrences of "wayland_display" to "display_wayland". This is also consistent with naming in the X11 backend. A couple of whitespace changes were done as well in places where the rename was already done, that added line breaks to long lines that stood out. https://bugzilla.gnome.org/show_bug.cgi?id=765474 gdk/wayland/gdkcursor-wayland.c | 31 +++++++++------- gdk/wayland/gdkdevice-wayland.c | 42 ++++++++++----------- gdk/wayland/gdkdisplay-wayland.c | 76 +++++++++++++++++++------------------- gdk/wayland/gdkdnd-wayland.c | 4 +- gdk/wayland/gdkprivate-wayland.h | 7 ++-- gdk/wayland/gdkscreen-wayland.c | 5 ++- gdk/wayland/gdkselection-wayland.c | 4 +- gdk/wayland/gdkwindow-wayland.c | 25 +++++++------ 8 files changed, 101 insertions(+), 93 deletions(-) commit 7700243bd49278692c8218fdf8358169672d7a13 Author: Chun-wei Fan Date: Tue Apr 26 20:29:23 2016 +0800 gdk/gdkglcontext.c: Avoid a GCCism Pointer arithmetic on GLvoid* (a void*) is a GCCism, so cast it to an unsigned char*, which is the type cairo_image_surface_get_data() returns. gdk/gdkglcontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 71bb1bebc0174f95f2cafd632ec3c5a91e996d20 Author: Chun-wei Fan Date: Tue Apr 26 16:27:32 2016 +0800 Visual Studio builds: Generate .pc files Generate .pc files for the package, so that it would be easier for building introspection for packages that depend on GTK+. Also split PythonPath into PythonPath and PythonPathX64 to facilitate the build of introspection files, which need to have Python that is built with the same ac=rchitecture where GTK+ is built. Clean up the formatting and spacing a bit. build/win32/Makefile.am | 2 + build/win32/gtkpc.py | 97 ++++++++++++++++++++++ build/win32/pc_base.py | 108 +++++++++++++++++++++++++ build/win32/replace.py | 13 ++- build/win32/vs10/Makefile.am | 2 + build/win32/vs10/gtk-3.vcxprojin | 4 +- build/win32/vs10/gtk3-gen-srcs.props | 37 +++------ build/win32/vs10/gtk3-install.propsin | 21 ++++- build/win32/vs10/gtk3-install.vcxproj | 50 ++++++++++-- build/win32/vs10/gtk3-install.vcxproj.filters | 13 +++ build/win32/vs10/gtk3-prebuild.vcxproj.filters | 15 ++++ build/win32/vs10/gtk3-version-paths.props.in | 6 +- build/win32/vs11/Makefile.am | 2 + build/win32/vs12/Makefile.am | 2 + build/win32/vs14/Makefile.am | 2 + build/win32/vs9/gtk-3.vcprojin | 4 +- build/win32/vs9/gtk3-gen-srcs.vsprops | 14 ++-- build/win32/vs9/gtk3-install.vcproj | 80 ++++++++++++++++-- build/win32/vs9/gtk3-install.vspropsin | 50 +++++++----- build/win32/vs9/gtk3-version-paths.vsprops.in | 4 + 20 files changed, 447 insertions(+), 79 deletions(-) commit 75df7c163d096114b23f0c590ba5448fbf7eedaa Author: Gábor Kelemen Date: Tue Apr 26 09:43:45 2016 +0000 Updated Hungarian translation po-properties/hu.po | 2515 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 1551 insertions(+), 964 deletions(-) commit 0e14456f15412b1245cc8dab7df7021793d44441 Author: Emmanuele Bassi Date: Tue Apr 26 09:10:03 2016 +0100 gdk: Ensure resources registration happens once Like GTK does it. https://bugzilla.gnome.org/show_bug.cgi?id=765576 gdk/gdk.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 4fe336930e757d506741a730f5766567177c34e8 Author: Matthias Clasen Date: Tue Apr 26 00:19:02 2016 -0400 Expand the drag widget testcase This adds a testcase which reuses the drag widget for multiple drags. tests/testdnd2.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) commit 9a3e97d6f0bc64045b503d681be0bb633098b0a2 Author: Matthias Clasen Date: Mon Apr 25 21:39:09 2016 -0400 Updates NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit a91fc65291bf868b1312e557a3d19da9174f9b06 Author: Matthias Clasen Date: Tue Apr 26 00:06:12 2016 -0400 label css style test: fix font syntax testsuite/css/style/label.css | 2 +- testsuite/css/style/label.nodes | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) commit 2968098f745cf915dc613a3ae9f906fd9a9863ae Author: Matthias Clasen Date: Tue Apr 26 00:04:55 2016 -0400 Remove debug spew testsuite/css/style/font.nodes | 4 ---- 1 file changed, 4 deletions(-) commit 78552945947094762ed70e6c13118449ed995dc3 Author: Matthias Clasen Date: Tue Apr 26 00:02:37 2016 -0400 Fix css parser tests These tests were affected by the font and linear-gradient parsing changes. testsuite/css/parser/cross-fade-basic.css | 8 ++-- testsuite/css/parser/declarations-valid-02.css | 2 +- testsuite/css/parser/declarations-valid-02.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-03.css | 2 +- testsuite/css/parser/declarations-valid-03.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-04.css | 2 +- testsuite/css/parser/declarations-valid-04.ref.css | 10 ++-- testsuite/css/parser/declarations-valid-08.css | 2 +- testsuite/css/parser/declarations-valid-08.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-18.css | 2 +- testsuite/css/parser/declarations-valid-18.ref.css | 10 ++-- testsuite/css/parser/linear-gradient.css | 56 +++++++++++----------- testsuite/css/parser/linear-gradient.ref.css | 56 +++++++++++----------- 13 files changed, 87 insertions(+), 87 deletions(-) commit 3fd9bda06f5393cf87836bdd4f544a9e23f99594 Author: Matthias Clasen Date: Tue Apr 26 00:01:59 2016 -0400 css: Fix printing of images When there is only a call in a fallback image, we were errnoneously printing out a comma before it. gtk/gtkcssimagefallback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0eefe81f3736bfbd665fcfed2d57b788fcf3c126 Author: Matthias Clasen Date: Mon Apr 25 23:25:32 2016 -0400 Raleigh: Fix font syntax gtk/theme/Raleigh/gtk-default.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit db1a39a81750c992c6f73be8626d1876a40defa7 Author: Matthias Clasen Date: Mon Apr 25 23:08:39 2016 -0400 notify test: Skip GtkFontButton::font-name This is not freely settable. testsuite/gtk/notify.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 43312bb8c2f3eb579266e928363c9fba41b660a1 Author: Matthias Clasen Date: Mon Apr 25 23:08:03 2016 -0400 font button: Fix translation of font-name default The default value should come out of regular translations, not property translations. gtk/gtkfontbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 724d3be794bc6faa79b9a17681fe77c67d280a99 Author: Christian Hergert Date: Mon Apr 25 18:10:09 2016 -0700 wayland: avoid jitter in keyboard repeat When synthesizing keyboard repeat, we can potentially drift further from the mark depending on the timing of the frame callback and how long it took to deliver the event. This patch attempts to reduce this by tracking from a stable epoch the time of our next keyboard repeat. https://bugzilla.gnome.org/show_bug.cgi?id=765567 gdk/wayland/gdkdevice-wayland.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 1951642c0e4566515f704a850224beaa1792a5e0 Author: Timm Bäder Date: Sun Apr 24 10:46:03 2016 +0200 GtkLabel: Use g_clear_object https://bugzilla.gnome.org/show_bug.cgi?id=765496 gtk/gtklabel.c | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) commit be5a105f2e8529bb56e193daaceac2aa0a9b8a8f Author: Timm Bäder Date: Sun Apr 24 10:32:55 2016 +0200 GtkLabel: Don't manually iterate over link list There are various functions to access links based on their index for a11y. We can spare quite a few lines of code by just using g_list_nth_data instead of iterating over the list ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=765496 gtk/gtklabel.c | 51 ++++++++++++++++----------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) commit f165bbda573fabd21ffa6ab7324810beb34908ea Author: Christian Hergert Date: Mon Apr 25 00:22:54 2016 -0700 builtinicon: avoid calculating font-metrics in vast majority of cases We perform lots of gadget allocations that require allocating a GtkBuiltinIcon. One notable example is the scrollbar for a scrolled window. In the process of doing this, we often calculate baseline information that isn't necessary. With how much this code path gets exercised, its worth catching the result for the common case, which is that the font-description has not changed and we are using the default language the application was started with. This simply caches the previous result and verifies that we can reuse it with pango_font_description_hash() and a simple language check. Numbers below are scrolling through a textview with GDK_KEY_Down. Before: SELF CUMULATIVE FUNCTION [ 0.08%] [ 9.26%] gtk_builtin_icon_get_preferred_size [ 0.01%] [ 8.82%] pango_context_get_metrics [ 0.02%] [ 0.16%] gtk_widget_get_pango_context [ 0.06%] [ 0.06%] pango_context_get_language [ 0.01%] [ 0.02%] g_type_check_instance_cast [ 0.02%] [ 0.02%] strlen [ 0.02%] [ 0.02%] pango_context_get_font_description [ 0.02%] [ 0.02%] g_list_foreach [ 0.01%] [ 0.01%] gtk_css_style_get_value [ 0.01%] [ 0.01%] itemize_with_font [ 0.01%] [ 0.01%] pango_context_get_type [ 0.01%] [ 0.01%] get_base_metrics [ 0.00%] [ 0.01%] pango_font_metrics_unref [ 0.01%] [ 0.01%] g_list_free [ 0.01%] [ 0.01%] gtk_builtin_icon_get_type After: SELF CUMULATIVE FUNCTION [ 0.08%] [ 0.18%] gtk_builtin_icon_get_preferred_size [ 0.02%] [ 0.02%] pango_font_description_hash [ 0.00%] [ 0.02%] gtk_widget_get_pango_context [ 0.00%] [ 0.02%] g_object_get_qdata [ 0.00%] [ 0.02%] g_datalist_id_get_data [ 0.02%] [ 0.02%] gtk_builtin_icon_get_type [ 0.01%] [ 0.01%] pango_context_get_font_description [ 0.00%] [ 0.01%] - - kernel - - [ 0.01%] [ 0.01%] pango_context_get_language [ 0.00%] [ 0.01%] gtk_css_style_get_value [ 0.00%] [ 0.01%] gtk_css_gadget_get_style https://bugzilla.gnome.org/show_bug.cgi?id=765486 gtk/gtkbuiltinicon.c | 55 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 16 deletions(-) commit 414e86fb9579796da10416c9c02278585f60223a Author: Emmanuele Bassi Date: Sat Apr 23 10:34:53 2016 +0100 docs: Add new GtkGLArea symbols docs/reference/gtk/gtk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 044b5aa3d219e3225f5c9be99c13d9d6f27c880b Author: Emmanuele Bassi Date: Sat Apr 23 10:34:14 2016 +0100 docs: Add new GdkGLContext symbols docs/reference/gdk/gdk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 79a7e881b136fd6955d4c52a087a825adaa51562 Author: Emmanuele Bassi Date: Sat Apr 23 10:33:08 2016 +0100 docs: Clarify the platform-dependency of GdkGLContext:use-es Not all platforms allow creating an OpenGL ES context. gdk/gdkglcontext.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit b45c7b508bd7be1ec6c0d589a14a783133adb0a2 Author: Emmanuele Bassi Date: Mon Apr 25 12:28:41 2016 +0100 glarea: Use the appropriate texture format for GLES The core OpenGL ES spec does not have GL_BGRA, so we need to make do with GL_RGBA and live with the format conversion. gtk/gtkglarea.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 971998de34b570fcf3eb2149198e5679b747901d Author: Emanuele Aina Date: Mon Apr 18 16:15:27 2016 +0200 glarea: Relay the use-es flag to context creation https://bugzilla.gnome.org/show_bug.cgi?id=743746 gtk/gtkglarea.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkglarea.h | 5 ++++ 2 files changed, 87 insertions(+) commit 872b5115ea1ee2335ea5277de66c813a7cd4959b Author: Emmanuele Bassi Date: Sat Apr 23 13:46:05 2016 +0100 demo: Add GLES support to the GtkGLArea demo We need new shaders, and we need to select the correct shader when building the program we use to render the triangle. demos/gtk-demo/demo.gresource.xml | 6 ++++-- demos/gtk-demo/glarea-fragment.glsl | 9 --------- demos/gtk-demo/glarea-gl.fs.glsl | 9 +++++++++ demos/gtk-demo/glarea-gl.vs.glsl | 8 ++++++++ demos/gtk-demo/glarea-gles.fs.glsl | 7 +++++++ demos/gtk-demo/glarea-gles.vs.glsl | 7 +++++++ demos/gtk-demo/glarea-vertex.glsl | 8 -------- demos/gtk-demo/glarea.c | 26 ++++++++++++++++++++++---- 8 files changed, 57 insertions(+), 23 deletions(-) commit b993c7db6362b013b1c0f7a9c8821b652b834e08 Author: Emmanuele Bassi Date: Sat Apr 23 12:31:15 2016 +0100 tests: Add GLES support to GtkGears Use the appropriate GLSL shaders when running under an OpenGL ES context. tests/gtkgears.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 4 deletions(-) commit a92ba06383ad7fe8bb63279603ceeee2ce6217f3 Author: Emmanuele Bassi Date: Fri Apr 22 13:53:16 2016 +0100 tests: Add GLES shaders to testglarea Check if the GdkGLContext is using ES, and load the appropriate shaders in that case. tests/testglarea.c | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) commit f848450a70931133ab9368fd35b629c6c6e50fcb Author: Emmanuele Bassi Date: Mon Apr 25 13:38:22 2016 +0100 gl: Use a uniform to flip R and B colors on GLES This allows us to decide when the R and B color channels should be flipped with a much better granularity. For instance, when using GLX_EXT_texture_from_pixmap to create a GL texture from a surface we don't need to swap the R and B channels, as the internal representation of the texture data will already have the appropriate colors. We also don't need to flip color channels when blitting from a texture. gdk/gdkgl.c | 15 +++++++++++---- gdk/gdkglcontextprivate.h | 1 + gdk/gdkinternals.h | 3 ++- gdk/resources/glsl/gles2-texture.fs.glsl | 8 ++++++-- gdk/x11/gdkglcontext-x11.c | 8 ++++---- 5 files changed, 24 insertions(+), 11 deletions(-) commit 1379b4b175910a253bb4aa8df3194eec2e160213 Author: Emmanuele Bassi Date: Mon Apr 25 10:31:51 2016 +0100 gl: Add fallback for missing subimage unpacking For GLES 2.0 platforms with the subimage unpacking extension we need to upload one row of the image surface at a time. gdk/gdkglcontext.c | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) commit 88fed84d45e184490673f63bc20b556beeff7b98 Author: Emmanuele Bassi Date: Fri Apr 22 18:01:19 2016 +0100 x11: Allow creating GLES contexts We need to check for the GLX_EXT_create_context_es2_profile extension, which allows us to create a GLES context while using the GLX API. gdk/x11/gdkdisplay-x11.h | 1 + gdk/x11/gdkglcontext-x11.c | 32 ++++++++++++++++++++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) commit 74f4e6e046b890838519e689a48d3dcc252929f7 Author: Emmanuele Bassi Date: Sat Apr 23 10:13:39 2016 +0100 wayland: Bind the appropriate OpenGL API If we want to use OpenGL ES with EGL then we need to bind the API before creating the EGL context. gdk/wayland/gdkglcontext-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 7d1da94455a20ea2f2c7682e86e9cb0c905aaf51 Author: Emmanuele Bassi Date: Fri Apr 22 18:50:50 2016 +0100 wayland: Add debugging notes for EGL context creation gdk/wayland/gdkglcontext-wayland.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit d40778f728e10a0b9239c1da710d02a49d419d9a Author: Emmanuele Bassi Date: Fri Apr 22 12:45:32 2016 +0100 wayland: Honour GDK_GL=gles on context creation gdk/wayland/gdkglcontext-wayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2849f2fc9a677280124556a0d530e60de4db8545 Author: Emmanuele Bassi Date: Mon Apr 18 10:13:05 2016 +0100 wayland: Implement asking for a GLES context Wayland uses EGL, which allows us to ask for a GLES context. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/wayland/gdkglcontext-wayland.c | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) commit fe25ba3c5f735525324bad7740ae38e81736fd08 Author: Emmanuele Bassi Date: Sat Apr 23 13:52:03 2016 +0100 gl: Tweak the swizzle for GLES texture fragments Cairo surfaces are in BGRA format, but we upload them as RGBA buffers on GLES; this means that the R and B channels are flipped in the texture data. Instead of doing a costly channel flip before putting them on the GPU, we can flip the values inside the GLSL shader we use specifically for GLES. gdk/resources/glsl/gles2-texture.fs.glsl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a942e96c8fc0f6912ed2e44e81d0dd1d53645e11 Author: Emmanuele Bassi Date: Sat Apr 23 12:16:03 2016 +0100 gl: Use the appropriate formats when reading buffers on GLES We cannot use GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV when reading back from the frame buffer in the software fallback path, as they do not exist on OpenGL ES. This will make the slow path a bit slower, because of the implicit format conversion. gdk/gdkgl.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) commit 5b03cf175a40a52034612245b288352019d79843 Author: Emmanuele Bassi Date: Sat Apr 23 10:21:13 2016 +0100 gl: Use the appropriate format on GLES When uploading a Cairo image surface to a GL texture we cannot use GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV on OpenGL ES, as they do not exist in the core spec. gdk/gdkglcontext.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 1620b7bda7affde3f57764ee353cd59e6619ba46 Author: Emmanuele Bassi Date: Fri Apr 22 17:27:04 2016 +0100 gl: Add more OpenGL ES checks Check for the appropriate extensions depending on which type of API we're using. gdk/gdkgl.c | 34 ++++++++++++-- gdk/gdkglcontext.c | 113 +++++++++++++++++++++++++++++++++++++--------- gdk/gdkglcontextprivate.h | 1 + 3 files changed, 123 insertions(+), 25 deletions(-) commit 8bb4eb55448ec72338fa14d71c24a1cacc35756c Author: Emmanuele Bassi Date: Fri Apr 22 13:52:49 2016 +0100 gdk: Add GLES shaders We cannot use GL shaders with GLES. gdk/Makefile.am | 4 +++- gdk/gdkgl.c | 26 +++++++++++++++++++++++--- gdk/resources/glsl/gles2-texture.fs.glsl | 9 +++++++++ gdk/resources/glsl/gles2-texture.vs.glsl | 10 ++++++++++ 4 files changed, 45 insertions(+), 4 deletions(-) commit 3da73371b92b849758a5743212a88237696568c1 Author: Emmanuele Bassi Date: Fri Apr 22 12:40:57 2016 +0100 gdk: Add 'GDK_GL=gles' flag Allows forcing the selection of a GLES context. gdk/gdk.c | 3 ++- gdk/gdkinternals.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 55537cccbd8129ed9fd3d00e8af07c05719516ac Author: Emmanuele Bassi Date: Fri Apr 22 12:34:33 2016 +0100 gdk: Move GLSL shaders into GResource Having the shaders inlined as C strings makes them harder to edit and maintain. gdk/Makefile.am | 46 ++++++++++- gdk/gdk.c | 4 + gdk/gdkgl.c | 116 +++++++--------------------- gdk/resources/glsl/gl2-texture-2d.fs.glsl | 9 +++ gdk/resources/glsl/gl2-texture-2d.vs.glsl | 13 ++++ gdk/resources/glsl/gl2-texture-rect.fs.glsl | 9 +++ gdk/resources/glsl/gl2-texture-rect.vs.glsl | 13 ++++ gdk/resources/glsl/gl3-texture-2d.fs.glsl | 11 +++ gdk/resources/glsl/gl3-texture-2d.vs.glsl | 13 ++++ gdk/resources/glsl/gl3-texture-rect.fs.glsl | 9 +++ gdk/resources/glsl/gl3-texture-rect.vs.glsl | 13 ++++ 11 files changed, 164 insertions(+), 92 deletions(-) commit d7b5ea89eb7c103c67806b7d78a841a6c7048e90 Author: Emmanuele Bassi Date: Mon Apr 18 10:21:36 2016 +0100 gl: Relay use-es from context to paint data This way we can select the appropriate API or the appropriate shaders. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/gdkglcontext.c | 1 + 1 file changed, 1 insertion(+) commit e1cecd243a82729f10f2fbb4b745be8f6b3b8f67 Author: Emmanuele Bassi Date: Mon Apr 18 10:10:30 2016 +0100 gl: Add 'use-es' flag On some platforms we can ask the GL context machinery to create a GLES context, instead of a GL one. In order to ask for a GLES context at GdkGLContext realization time, we use a bit field like we do for forward compatible, or debug contexts. The 'use-es' bit also changes the way we select a default version, because OpenGL and OpenGLES versions differ. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/gdkglcontext.c | 46 +++++++++++++++++++++++++++++++++++++++++----- gdk/gdkglcontext.h | 5 +++++ gdk/gdkglcontextprivate.h | 1 + 3 files changed, 47 insertions(+), 5 deletions(-) commit 6225d435e6cace5ad6615e8b2b3ec20e5b9b6c45 Author: Paolo Borelli Date: Sun Apr 24 11:46:38 2016 +0200 inspector: do not leak seat capabilities descriprion Factor out an utility function for readability and free the string with the list of capabilities gtk/inspector/general.c | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) commit 0b88d7976ccd69e74f4023156edb284a33f6b21e Author: Christian Hergert Date: Sun Apr 24 00:46:15 2016 -0700 quartz: fix quartz build The quartz backend has its own implementation of these that collide since the gtkdragdest.c extraction. https://bugzilla.gnome.org/show_bug.cgi?id=764712 gtk/Makefile.am | 4 ++-- gtk/gtkdnd-quartz.c | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) commit 4f63d839550f7a9038b391e7d3e1e6fc8bdfafa6 Author: Christian Hergert Date: Sun Apr 24 02:41:26 2016 -0700 kineticscrolling: avoid stutter at tail of kinetic deceleration When decelerating the kinetic scroll, we can get into a position where it looks like we are stuttering. This happens because the amount we move is so little that it takes multiple frames to make forward progress by one pixel. This prevents that by detecting when we have reached the slow stutter of the deceleration and simply stops the deceleration phase immediately. https://bugzilla.gnome.org/show_bug.cgi?id=765493 gtk/gtkkineticscrolling.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit aa99c64fdd1cd6caccd708ea258d50f1db97b544 Author: Lapo Calamandrei Date: Fri Apr 22 14:42:47 2016 +0200 Adwaita: color tweaks use a slightly cold and slightly darker gray for the dark variant, use the same hue for the osd bg color, make it bit darker and transparent. gtk/theme/Adwaita/_colors.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 974 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 90 +-- 3 files changed, 535 insertions(+), 535 deletions(-) commit 61a454ffbe3546533d98559b94def2ec57ffc31f Author: GNOME Translation Robot Date: Fri Apr 22 12:09:51 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 2247 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1182 insertions(+), 1065 deletions(-) commit 554de0be2a9ef1e0b87c406de030c1d018184cf7 Author: Sébastien Wilmet Date: Wed Apr 20 17:24:46 2016 +0200 app: replace private accels functions by get_application_accels() It's like gtk_application_get_action_muxer(). https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplication.c | 25 +++---------------------- gtk/gtkapplicationprivate.h | 11 ++--------- gtk/gtkwindow.c | 15 +++++++++++---- 3 files changed, 16 insertions(+), 35 deletions(-) commit 3b988ce5239252b0a6c64e0a77eb8ed666f081b2 Author: Sébastien Wilmet Date: Wed Apr 20 17:13:26 2016 +0200 app: share function to normalise detailed action name Put the function in gtkactionmuxer.c, where gtk_print_action_and_target() is implemented. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkactionmuxer.c | 20 ++++++++++++++++++++ gtk/gtkactionmuxer.h | 4 +++- gtk/gtkapplication.c | 23 +---------------------- gtk/gtkapplicationaccels.c | 25 ++----------------------- 4 files changed, 26 insertions(+), 46 deletions(-) commit 3d182160bb366f441ef72b4d7365354d392661de Author: Sébastien Wilmet Date: Wed Apr 20 17:03:36 2016 +0200 app-accels: rename static functions Remove the "accels_" prefix from the remaining static functions. The prefix no longer makes sense since the whole file is devoted to accels. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplicationaccels.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit bce4a0abdefa01a10c43da09c10a3526d2d03941 Author: Sébastien Wilmet Date: Mon Apr 11 17:13:09 2016 +0200 app: extract GtkApplicationAccels private class This has several benefits: - Less code in GtkApplication. The accels handling is something self-contained, and GtkApplication now delegates the work. - For the accels functions, there is now a distinction between static functions and functions in the gtkapplicationaccelsprivate.h header, which makes the code easier to understand, because we have a good overview just by reading the header. - The struct _GtkApplicationPrivate is now easier to find instead of being in the middle of the file. https://bugzilla.gnome.org/show_bug.cgi?id=764879 docs/reference/gtk/Makefile.am | 1 + gtk/Makefile.am | 2 + gtk/gtkapplication.c | 436 +--------------------------------- gtk/gtkapplicationaccels.c | 478 ++++++++++++++++++++++++++++++++++++++ gtk/gtkapplicationaccelsprivate.h | 62 +++++ 5 files changed, 553 insertions(+), 426 deletions(-) commit e0c34fd028e249e5a52d2c8d90590c737f2aac4d Author: Sébastien Wilmet Date: Mon Apr 11 17:28:23 2016 +0200 app: write higher-level gtk_application_accels static functions These will become the functions present in the gtkapplicationaccelsprivate.h header. The gtk_application_accels functions deal with detailed_action_name's instead of action_and_target's. action_and_target is an implementation detail of Accels. The added function prototype is temporary, it'll be removed in a later commit. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplication.c | 215 ++++++++++++++++++++++++++++----------------------- 1 file changed, 119 insertions(+), 96 deletions(-) commit c574ef0954587282424c8ad3c62762c13fadce4b Author: Paolo Borelli Date: Thu Apr 21 22:54:55 2016 +0200 textiter: add unit test for forward_to_line_end Surprisingly we had no unit test for this method testsuite/gtk/textiter.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 73c91c285e11e47a15c60f420ad5e450f55ae3f7 Author: Matthias Clasen Date: Thu Apr 21 23:24:13 2016 -0400 Fix formatting The previous change was not quite using the right coding style. gtk/gtkmenusectionbox.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 0815b21ad4e0d05367fc709765593c00997f33a3 Author: Timm Bäder Date: Tue Apr 19 17:12:00 2016 +0200 listbox: Make sure page down/up move at least one row When the current cursor_row is taller than the page_size we get from the GtkAdjustment, the previous code would not actually cause any scrolling, so make sure we just take the row after or before the cursor_row in that case. https://bugzilla.gnome.org/show_bug.cgi?id=765261 gtk/gtklistbox.c | 53 +++++++++++++++++------------------------------------ 1 file changed, 17 insertions(+), 36 deletions(-) commit 7a7e3fc0e3460c5f58b1ec1a35ecd66bc9409910 Author: Matthias Clasen Date: Thu Apr 21 22:55:57 2016 -0400 Ad d new API to the docs docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit cf14fea5a87f7a6c4e1c97081ad6b5cd27cc83b1 Author: Frediano Ziglio Date: Thu Apr 21 14:30:58 2016 +0100 Save scancode inside GdkEventPrivate Windows save in hardware_keycode an information which is not so low level and some application require the hardware scancode. As Windows provides this information save it in GdkEventPrivate and provide a function to get this information. For no Windows system the function return the hardware_keycode instead. Signed-off-by: Frediano Ziglio https://bugzilla.gnome.org/show_bug.cgi?id=765259 gdk/broadway/gdkeventsource.c | 1 + gdk/gdkevents.c | 34 ++++++++++++++++++++++++++++++++++ gdk/gdkevents.h | 3 +++ gdk/gdkinternals.h | 4 ++++ gdk/mir/gdkmireventsource.c | 1 + gdk/quartz/gdkevents-quartz.c | 1 + gdk/wayland/gdkdevice-wayland.c | 1 + gdk/win32/gdkevents-win32.c | 2 ++ gdk/x11/gdkdevicemanager-core-x11.c | 1 + gdk/x11/gdkdevicemanager-xi2.c | 1 + 10 files changed, 49 insertions(+) commit c081ca2d4c589fb77e097ad5ee2a9978bd91d2ed Author: Benjamin Otte Date: Thu Apr 21 22:28:58 2016 +0200 cssshadowsvalue: Avoid allocating new value if not needed gtk/gtkcssshadowsvalue.c | 31 ++++++++++++++++++++++++++----- gtk/gtkcssshadowvalue.c | 15 +++++++++++++++ 2 files changed, 41 insertions(+), 5 deletions(-) commit f93eca560494ff9ad7657db611296ea961de2ace Author: Benjamin Otte Date: Thu Apr 21 22:28:40 2016 +0200 cssbordervalue: Avoid allocating new value if not needed gtk/gtkcssbordervalue.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 2fc0d6a91a0723d0b6b26b838cba521d479fa652 Author: Benjamin Otte Date: Thu Apr 21 22:28:14 2016 +0200 cssbgsizevalue: Avoid allocating new value if not needed gtk/gtkcssbgsizevalue.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 6d953cb08e0f5cdd2f11a71d6178410dc4976274 Author: Matthias Clasen Date: Thu Apr 21 14:21:14 2016 -0400 Add a dnd test using a window as icon This case is causing problems in firefox. Lets at least make sure that it doesn't crash in GTK+. tests/testdnd2.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) commit 3ed8ac034d0f8343e943f8418e7a5ac7f9ce9865 Author: Lapo Calamandrei Date: Thu Apr 21 17:01:45 2016 +0200 Adwaita: backdrop active button color tweaks gtk/theme/Adwaita/_drawing.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 3 files changed, 31 insertions(+), 31 deletions(-) commit d857ba3faf76960d40e2f095f8253adde8bb584a Author: Lapo Calamandrei Date: Thu Apr 21 16:51:24 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_drawing.scss | 86 ++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 48 deletions(-) commit 874d4ede6709b215998715590412770219fe9fba Author: Lapo Calamandrei Date: Thu Apr 21 16:43:35 2016 +0200 Adwaita: solid bg for disabled pushed button gtk/theme/Adwaita/_drawing.scss | 12 ++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 37 +++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++++++++-------------- 3 files changed, 50 insertions(+), 42 deletions(-) commit 517f33b1a6e302671ee7dd532bc8675a0e8a4bd5 Author: Lapo Calamandrei Date: Thu Apr 21 16:25:05 2016 +0200 Adwaita: spinbutton fixes reset background-color on backdrop disable buttons and entry node. gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit 22cd8e9d4fabd6006c29e8d3f921f1ca72c1c1f2 Author: Jonathan Matthew Date: Wed Mar 9 22:44:45 2016 +1000 gtkmenusectionbox: remove submenus when the parent item is removed https://bugzilla.gnome.org/show_bug.cgi?id=749405 gtk/gtkmenusectionbox.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit d6ac55102e3e3971d84d6d9d17b7efe8be3b6549 Author: Matthias Clasen Date: Tue Apr 19 23:32:26 2016 -0400 widget: Don't show widget resizes in the inspector Avoiding this sort of visual debugging in the inspector is the main reason we have per-display debug flags now. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d58885c9b94dccf4587a41ba486b8112f6413dda Author: Matthias Clasen Date: Tue Apr 19 23:24:54 2016 -0400 css gadget: Fix baseline debug We were not using the baseline that we're computing. gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37b70a97331a4b9896e557c938c5151b63894aff Author: Matthias Clasen Date: Tue Apr 19 23:23:59 2016 -0400 Use qdata for debug flags This avoids some overhead. gtk/gtkmain.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit c01befe5cc975e07b8d09fcf3dd814abfc5f940c Author: Matthias Clasen Date: Tue Apr 19 23:23:18 2016 -0400 css gadget: Don't get display flags twice This got more expensive now that we store them per-display, so don't get them twice in the same function. gtk/gtkcssgadget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3df2e0b26a6c3fe629ac4950ab2b55ebd07258da Author: Christian Hergert Date: Tue Apr 19 19:35:52 2016 -0700 debug: remove open-coded debug checks in gtktextsegment These runtime checks were being performed whether or not we were in a debug build. Using GTK_DEBUG_CHECK() will compile out of production builds, as it will result in something like: if (G_UNLIKELY(0)) which the optimizer can prune. https://bugzilla.gnome.org/show_bug.cgi?id=765284 gtk/gtktextsegment.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit f3e6d930a803b6d26b65e465c1cd7ea1407912a6 Author: Matthias Clasen Date: Tue Apr 19 21:09:51 2016 -0400 text tag: Add a va marshaller to ::event gtk/gtktexttag.c | 3 +++ 1 file changed, 3 insertions(+) commit c7bac914945e261c2b4e6d5936e6a667c284e674 Author: Matthias Clasen Date: Tue Apr 19 21:00:57 2016 -0400 text buffer: Add va marshallers for signals gtk/gtktextbuffer.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 3c3aa478f92d5d669adb9fc2e880821777738229 Author: Matthias Clasen Date: Tue Apr 19 21:00:20 2016 -0400 menushell: Add a va marshaller for ::insert gtk/gtkmenushell.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b2203964971b6bdff4b54fd51a58ad760f5caa5 Author: Lapo Calamandrei Date: Tue Apr 19 23:00:54 2016 +0200 Adwaita: use an image for backdrop button background which doesn't make the sliders flash during background transition. gtk/theme/Adwaita/_drawing.scss | 4 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 44 ++++++++++++++++---------------- 3 files changed, 46 insertions(+), 46 deletions(-) commit 5fc18c7167cacfe5d6344d7d0d3e1f496425621f Author: Lapo Calamandrei Date: Tue Apr 19 22:57:28 2016 +0200 Adwaita: link button style fix ensure the label color doesn't get overridden, fixes link button label being gray in backdrop. gtk/theme/Adwaita/_common.scss | 8 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 63 +++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 63 +++++++++++++++++++++++++------- 3 files changed, 107 insertions(+), 27 deletions(-) commit c16c9e7c3f1107aea1d2c7d59150db9cfcef46b7 Author: Lapo Calamandrei Date: Tue Apr 19 22:55:55 2016 +0200 Adwaita: scale with marks style fix reset background-color on the slider. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 24 ++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 24 ++++++++++++++++++++++++ 3 files changed, 52 insertions(+) commit 5199b66682359fcbfef2180343d15af6ea39d3ab Author: Lapo Calamandrei Date: Tue Apr 19 22:45:05 2016 +0200 Adwaita: fix switch styling ensure the last button has rounded corners and adapt to button mixin changes. gtk/theme/Adwaita/_common.scss | 11 +++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 9 +++++++-- gtk/theme/Adwaita/gtk-contained.css | 9 +++++++-- 3 files changed, 23 insertions(+), 6 deletions(-) commit 24c3906d5f3bd8ac3146847c27f0522a75bd7803 Author: Lapo Calamandrei Date: Tue Apr 19 22:08:31 2016 +0200 Adwaita: fix insensitive switch styling misplaced backdrop disabled selector was overriding the disabled one. gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) commit 51d58108f93261d6311f823736ce92369272d491 Author: Matthias Clasen Date: Tue Apr 19 16:11:10 2016 -0400 Add some va marshallers to frequent signals This makes us take the fast path in signal emission. gtk/gtkcssnode.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit b596fcada715be2ab53ff6f7425098f0b5fafb17 Author: Lapo Calamandrei Date: Tue Apr 19 21:58:24 2016 +0200 Adwaita: stop using images for solid backgrounds... ...unless it's needed. gtk/theme/Adwaita/_common.scss | 42 +++-- gtk/theme/Adwaita/_drawing.scss | 40 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 294 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 294 ++++++++++++++++++++----------- 4 files changed, 439 insertions(+), 231 deletions(-) commit 5efb574055f3b6845e4ff5e0c06151b48d544cb2 Author: Matthias Clasen Date: Tue Apr 19 15:27:08 2016 -0400 magnifier: Only connect to ::draw when needed This making us take the slow path in ::draw handling, so we want to avoid it if we can. https://bugzilla.gnome.org/show_bug.cgi?id=765238 gtk/gtkmagnifier.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit 7397fe0eab8d2e1f5a04a368e819b9ff4fb4c6a3 Author: Lapo Calamandrei Date: Tue Apr 19 21:24:37 2016 +0200 Adwaita: add shadows back... ...correctly inizializing a sass var. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 206 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 200 +++++++++++++++--------------- 3 files changed, 204 insertions(+), 204 deletions(-) commit deaf664ed23fc346bc8788e6724e179f4590da07 Author: Rui Matos Date: Tue Apr 19 21:03:45 2016 +0200 wayland: Leave existing mods on map_virtual_modifiers map_virtual_modifiers() is supposed to add the necessary virtual mods but otherwise leave the mods that are passed in. https://bugzilla.gnome.org/show_bug.cgi?id=765270 gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8a86e6ca4fd3cf64ae0c2d014b4355dc9315146 Author: Matthias Clasen Date: Tue Apr 19 12:43:03 2016 -0400 wayland: Some more debug spew Print the modifiers and their mapping out as well. This information is contained in the keymap, but this is a bit easier to digest. gdk/wayland/gdkkeys-wayland.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit e7d84898ee65100b8ffe905cbcc4b878b7e67e10 Author: Matthias Clasen Date: Tue Apr 19 12:23:51 2016 -0400 wayland: Add debug output for keymaps Use GDK_DEBUG=input to see your keymap sent over and over again. Efficiency! gdk/wayland/gdkkeys-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 36fead28e09ba889050a3d659c2320694072f3d7 Author: Timm Bäder Date: Tue Apr 19 15:20:14 2016 +0200 gtkcssimagebuiltin: Save/restore around cairo_clip This was previously causing trouble in checkbuttons where the check node didn't have an icon shadow set, e.g. in Raleigh. gtk/gtkcssimagebuiltin.c | 2 ++ 1 file changed, 2 insertions(+) commit d1b07bc386e17e5c982f25ae7d443356cee89c90 Author: Matthias Clasen Date: Tue Apr 19 07:34:44 2016 -0400 Add a comment to explain numbers here This explains the change in the previous commit. modules/printbackends/cups/gtkprintbackendcups.c | 1 + 1 file changed, 1 insertion(+) commit 3fe08b3b28e65613048d91e972682823bb3f254d Author: Piotr Drąg Date: Sat Apr 16 19:46:02 2016 +0200 cups: Fix duplicate string https://bugzilla.gnome.org/show_bug.cgi?id=765122 modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a87b6be2ba7bac1cba26afd1515cdde991978c7 Author: Chun-wei Fan Date: Tue Sep 8 14:14:46 2015 +0800 MSVC builds: Update how introspection builds are done This first adds a common autotools module that can be included by the Makefile.am's to generate the file lists and the g-ir-scanner/ g-ir-compiler command lines to build the introspection files. The autotools files for gdk/ and gtk/ are then updated to generate the full file lists needed to build the introspection files, with the full command lines for g-ir-scanner and g-ir-compiler as NMake Makefile modules that can be used to build the introspection files for Visual Studio builds. https://bugzilla.gnome.org/show_bug.cgi?id=765195 build/Makefile.am | 11 +- build/Makefile.msvc-introspection | 125 ++++++++++++++++ build/detectenv_msvc.mak | 65 -------- build/gen-file-list-gtk.py | 100 ------------- build/gtk-introspection-msvc.mak.in | 101 ------------- build/introspection-msvc.mak | 65 -------- build/msvcfiles.py | 261 --------------------------------- build/win32/Makefile.am | 33 ++++- build/win32/detectenv-msvc.mak | 76 ++++++++++ build/win32/gtk-introspection-msvc.mak | 43 ++++++ build/win32/introspection-msvc.mak | 94 ++++++++++++ configure.ac | 1 - gdk/Makefile.am | 50 ++++++- gtk/Makefile.am | 75 +++++++++- 14 files changed, 483 insertions(+), 617 deletions(-) commit f0c2d3a7a8b419b2b240b92cfcc2a1e47602cc12 Author: Lapo Calamandrei Date: Tue Apr 19 01:18:34 2016 +0200 Adwaita: better shadow stacking mixin gtk/theme/Adwaita/_drawing.scss | 20 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 206 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 200 +++++++++++++++--------------- 3 files changed, 213 insertions(+), 213 deletions(-) commit b584b3d12a570aef70a4d64b4a6593f58c62cfad Author: Christian Hergert Date: Mon Apr 18 14:16:20 2016 -0700 frame-clock: avoid g_signal_emit_by_name() These were showing up higher in Sysprof profiles. The simple fix is to avoid the emit_by_name() and let the interface emit the signals directly. No function preconditions are provided since these are internal API. gdk/gdkframeclock.c | 42 ++++++++++++++++++++++++++++++++++++++++++ gdk/gdkframeclockidle.c | 14 +++++++------- gdk/gdkframeclockprivate.h | 8 ++++++++ 3 files changed, 57 insertions(+), 7 deletions(-) commit bdb451ad863a0e6cdae40dfc302564cb09059274 Author: Lapo Calamandrei Date: Tue Apr 19 00:11:09 2016 +0200 Adwaita: fix infobar text color in backdrop windows see https://bugzilla.gnome.org/show_bug.cgi?id=765213 gtk/theme/Adwaita/_common.scss | 11 ++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 33 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 33 ++++++++++++++++++++++++++++---- 3 files changed, 66 insertions(+), 11 deletions(-) commit 99c2423043f0c95a60093c618e00823e42e0ddfa Author: Matthias Clasen Date: Mon Apr 18 15:04:37 2016 -0400 font button: Convert from pango to css properly This utility function should probably find a home somewhere else. For now, this makes the deprecation warning go away. gtk/gtkfontbutton.c | 129 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 123 insertions(+), 6 deletions(-) commit 519af3f91d65a9ec8a6f49b0d078ac12271042a1 Author: Benjamin Otte Date: Mon Apr 18 20:25:11 2016 +0200 cssimage: Warn if gradients only have 1 color stop GTK <= 3.20 allowed that but the CSS spec and borwsers do not. We might want to just remove that feature, but for now, we just warn. gtk/gtkcssimagelinear.c | 8 ++++++++ gtk/gtkcssimageradial.c | 8 ++++++++ 2 files changed, 16 insertions(+) commit fd373162b547b777d9c31cdc2fc84b2e337e0d52 Author: Benjamin Otte Date: Mon Mar 28 01:50:32 2016 +0200 theme: linear-gradient() needs 2 color-stops So make sure our _solid() function gives it two. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 192 +++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 192 +++++++++++------------ gtk/theme/HighContrast/_drawing.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 18 +-- gtk/theme/HighContrast/gtk-contained.css | 18 +-- 6 files changed, 212 insertions(+), 212 deletions(-) commit f51b15808a89b045c8ff9f233f37b8799accc99a Author: Benjamin Otte Date: Sun Mar 27 19:41:19 2016 +0200 theme: Split out _solid() function The function creates a solid color image. Currently this is done with linear-gradient(). gtk/theme/Adwaita/_common.scss | 20 +++++++-------- gtk/theme/Adwaita/_drawing.scss | 29 ++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++++++------------ gtk/theme/HighContrast/_common.scss | 12 ++++----- gtk/theme/HighContrast/_drawing.scss | 11 +++++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 8 files changed, 75 insertions(+), 65 deletions(-) commit de76139feadc146a9d42d5c5d9a681f3daaac003 Author: Benjamin Otte Date: Sun Apr 3 03:39:46 2016 +0200 win32 theme: Fix functions to not have spaces CSS doesn't allow that (although GTK's CSS parser did so far not complain). gtk/theme/win32/gtk-win32-base.css | 52 +++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) commit 5ab6ff6b5e832cb51ff5f260e938b654d4e95ae9 Author: Matthias Clasen Date: Mon Apr 18 14:38:53 2016 -0400 Expand css style font tests Test more of the syntax of the font: shorthand. testsuite/css/style/font.css | 18 +++++++++++++++++- testsuite/css/style/font.nodes | 34 +++++++++++++++++++++++++++++++++- testsuite/css/style/font.ui | 29 +++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 2 deletions(-) commit 2603011ea06b657dfafc3b1f81b3a929e84b1281 Author: Matthias Clasen Date: Mon Apr 18 14:38:12 2016 -0400 Fix a typo We don't want to parse a weight twice, but a weight and a stretch. gtk/gtkcssshorthandpropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 492a406bbd971f68b596324ddd2b61dacd6ac2dc Author: Matthias Clasen Date: Mon Apr 18 14:17:55 2016 -0400 HighContrast: Fix font: usage gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 68ce676498724aac94f22076ef13f19dd795f5e9 Author: Matthias Clasen Date: Mon Apr 18 14:09:41 2016 -0400 Add backwards compat back Apparently, there's lots of font: "pango font description" out there, so keep parsing this, with a deprecation warning. gtk/gtkcssshorthandpropertyimpl.c | 61 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit df22f3017bbe5c4ff24565862d3a2204f0869be8 Author: Matthias Clasen Date: Mon Apr 18 11:45:55 2016 -0400 Adwaita: Fix use of font: shorthand gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 34 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 34 +++++++++++++++++--------------- 3 files changed, 37 insertions(+), 33 deletions(-) commit dcd20e17e5d668de1b0075a076b9968caf52851c Author: Matthias Clasen Date: Mon Apr 18 11:43:29 2016 -0400 Fix parsing of the font: shorthand Our code here was just throwing it at PangoFontDescription. Fix this by parsing the various components ourselves. gtk/gtkcssshorthandpropertyimpl.c | 63 ++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 34 deletions(-) commit 7b9b661aead6c491397b57c63acdc45d93c08a58 Author: Matthias Clasen Date: Mon Apr 18 11:43:01 2016 -0400 Export some font parsing functions These will be used for parsing the font: shorthand too. gtk/gtkcssstylepropertyimpl.c | 20 ++++++++++++++++---- gtk/gtkcssstylepropertyprivate.h | 4 ++++ 2 files changed, 20 insertions(+), 4 deletions(-) commit 5993875d38ce318c6b391d6dab5182a7400a8bdc Author: Matthias Clasen Date: Mon Apr 18 11:40:10 2016 -0400 Fix the css style font test Setting the font: shorthand to something like smaller is not in line with the css spec. Just set the font-size: property for this. Also fix the other font: shorthand to specify size and family according to the css spec. testsuite/css/style/font.css | 4 ++-- testsuite/css/style/font.nodes | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) commit 31a12c6a230e6ddb1ba4e752b5a1aa1eb9967a30 Author: Matthias Clasen Date: Mon Apr 18 09:43:10 2016 -0400 css style: Rename some static functions Make the font property functions follow the general naming scheme, and remove pango from the names. gtk/gtkcssstylepropertyimpl.c | 78 +++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 39 deletions(-) commit bbb45a2b2dfd2976a7ff29ff4b71ba3f6e3f1db2 Author: Matthias Clasen Date: Mon Apr 18 09:42:40 2016 -0400 Add docs for new API gdk/gdkpango.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit f7108d4d43d233868f4d3dbf7c3b73e19ab1ba05 Author: Carlos Garnacho Date: Mon Apr 18 14:10:49 2016 +0100 wayland: Improve checks when flushing scroll events If we get gdk_wayland_seat_flush_frame_event() with no previous event to be flushed, we fallback into the scroll event checks. However, there's no check performed there as to whether it really scrolled, so it'd always send a smooth scroll event with 0/0 deltas in this case. This should be mostly harmless, but still, we should only end up emitting scroll events if those really happened. gdk/wayland/gdkdevice-wayland.c | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) commit bfcd9a2193215cd1b3bcf415c02922e524958bc6 Author: Carlos Garnacho Date: Mon Apr 18 13:10:24 2016 +0100 wayland: Do not check the pointer focus when receiving wl_pointer.frame The frame event is also meant to compress wl_pointer.leave events, at this point the focus surface will be definitely NULL. In the end, wl_pointer.frame should flush the last composed event despite the pointer focus. https://bugzilla.gnome.org/show_bug.cgi?id=765065 gdk/wayland/gdkdevice-wayland.c | 3 --- 1 file changed, 3 deletions(-) commit 358d15ae5eabfa52b2dc3458e8ac59bec4d4e473 Author: Carlos Garnacho Date: Sun Apr 17 21:19:58 2016 +0100 gdk: Make GDK_TOUCH_CANCEL be dealt with similarly to GDK_TOUCH_END We must emit the cancel event with the same semantics, and towards the GdkWindow that is currently under the touchpoint, so make proxy_button_event() deal with GDK_TOUCH_CANCEL. Fixes the GDK_TOUCH_CANCEL event being emitted only on the toplevel, which is usually non-sufficient. gdk/gdkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 921c154e386698eb83e06d87823ce1b25ab5d779 Author: Matthias Clasen Date: Thu Mar 31 21:35:43 2016 -0400 widget: Use gdk_pango_get_for_display gtk/gtkwidget.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit 117c0c0aea19b97aa93e8774fd72072fe8888343 Author: Matthias Clasen Date: Thu Mar 31 21:33:03 2016 -0400 Add gdk_pango_context_get_for_display This is the obvious 1 line equivalent of the for_screen function. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkpango.c | 10 +++++++++- gdk/gdkpango.h | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) commit 07f124e92dfbe384e0ca2163cc71db0386bf55f2 Author: Piotr Drąg Date: Mon Apr 18 02:36:20 2016 +0200 Updated Polish translation po/pl.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit fe74c81a7055c241bef28e351a3f10280d2d42b7 Author: Lapo Calamandrei Date: Sun Apr 17 23:40:29 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_common.scss | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) commit 86ba132ded7a762daed861bdb4169a82a14b6917 Author: Lapo Calamandrei Date: Sun Apr 17 23:08:26 2016 +0200 Adwaita: colorbutton colorswatch shadow fix reset colorswatch box-shadow on active and checked state as well following latest style changes. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) commit a763bd7df1f0b156b8aac5bfa37a0eb6ffd22fe8 Author: Lapo Calamandrei Date: Sun Apr 17 22:46:48 2016 +0200 Adwaita: increase opacity on scale label and marks using the same opacity as dim-label. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 5a2eacfd040a4fc2f6d5987519339874c1a7b6d1 Author: Piotr Drąg Date: Sun Apr 17 20:22:47 2016 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 1 + po/POTFILES.in | 1 + po/POTFILES.skip | 1 + 4 files changed, 4 insertions(+) commit 4aa257b66309b5c169fda5d8332e4446f3bffcb2 Author: Matthias Clasen Date: Sun Apr 17 13:41:29 2016 -0400 bloatpad: Make shortcuts window update This tests the just added functionality to make shortcuts track changes in their actions accelerators. examples/bp/gtk/help-overlay.ui | 55 +++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 7 deletions(-) commit 50f041bc5750e615aef8ba81ecc7614542989143 Author: Matthias Clasen Date: Sun Apr 17 13:38:51 2016 -0400 shortcuts: Follow changes of accels Add a way to associate a detailed action name with a shortcut. If the action name is set, update the accelerator whenever accels change on the window that the shortcuts window is associated with. https://bugzilla.gnome.org/show_bug.cgi?id=764975 gtk/Makefile.am | 2 ++ gtk/gtkapplicationwindow.c | 3 ++ gtk/gtkshortcutsshortcut.c | 64 +++++++++++++++++++++++++++++++++++++++ gtk/gtkshortcutsshortcutprivate.h | 37 ++++++++++++++++++++++ gtk/gtkshortcutswindow.c | 62 ++++++++++++++++++++++++++++++++++++- gtk/gtkshortcutswindowprivate.h | 38 +++++++++++++++++++++++ 6 files changed, 205 insertions(+), 1 deletion(-) commit 268243834a002ee406ecd846fa66ceac42d68699 Author: Matthias Clasen Date: Sun Apr 17 10:22:59 2016 -0400 Add a help overlay to bloatpad This will let us explore the (non-)interaction between help overlays and editing shortcuts. examples/bp/Makefile.am | 3 ++- examples/bp/bloatpad.gresources.xml | 1 + examples/bp/gtk/help-overlay.ui | 47 +++++++++++++++++++++++++++++++++++++ examples/bp/gtk/menus.ui | 6 +++++ 4 files changed, 56 insertions(+), 1 deletion(-) commit cf144ea26f84f0121a2f681f6d408f4a8e1851ed Author: Lapo Calamandrei Date: Sun Apr 17 18:39:07 2016 +0200 Adwaita: clean up pushed button mixin gtk/theme/Adwaita/_drawing.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++------------------------ gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++------------------------ 3 files changed, 18 insertions(+), 50 deletions(-) commit bad15d410e341e643d83a6a66790b7858d653201 Author: Lapo Calamandrei Date: Sun Apr 17 18:19:38 2016 +0200 Adwaita: fix scale slider border color using the darker border color. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit a89d03d6b8c06fdb06a7740ca1cdf94846da4df7 Author: Lapo Calamandrei Date: Sun Apr 17 18:17:07 2016 +0200 Adwaita: flatten colorswatches gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++--- gtk/theme/Adwaita/gtk-contained.css | 5 ++--- 3 files changed, 9 insertions(+), 11 deletions(-) commit d77dc25b8d52c6d2daedb1710a99772191c30479 Author: Lapo Calamandrei Date: Sun Apr 17 18:06:15 2016 +0200 Adwaita: more borders color tweaks gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 310 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 264 +++++++++++++------------- 3 files changed, 289 insertions(+), 289 deletions(-) commit b34c3dce2ac2924bed54424ec416cc1fd47f0d63 Author: Lapo Calamandrei Date: Sun Apr 17 15:26:22 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_colors.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 6ee670b697997208bdbcace4ee6c0077ba4ebb9a Author: Lapo Calamandrei Date: Sun Apr 17 15:24:57 2016 +0200 Adwaita: dark variant borders color tweaks gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 310 +++++++++++++++---------------- 2 files changed, 157 insertions(+), 157 deletions(-) commit 32674cb1d3bd486f77306ffe1662e65e3e0c9b07 Author: Lapo Calamandrei Date: Sun Apr 17 15:21:31 2016 +0200 Adwaita: pushed button style tweak use a solid background. gtk/theme/Adwaita/_drawing.scss | 6 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 44 ++++++++++++++++++++++---------- 3 files changed, 64 insertions(+), 30 deletions(-) commit f10971eefd3c01b49c6cb356d6d469a32ea7b5e8 Author: Lapo Calamandrei Date: Sun Apr 17 15:06:13 2016 +0200 Adwaita: button style tweak add a darker bottom border to buttons to add some depth. gtk/theme/Adwaita/_drawing.scss | 13 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 84 +++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 60 ++++++++++++++--------- 3 files changed, 96 insertions(+), 61 deletions(-) commit 4a9cf8527ed3c0826a195c65253612f23ba505a2 Author: Matthias Clasen Date: Sun Apr 17 01:54:43 2016 -0400 Add some more accelerator / modifier tests testsuite/gtk/accel.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit 666400881510fa985e246c3e36ad51f4845ec90a Author: Matthias Clasen Date: Sun Apr 17 01:50:23 2016 -0400 wayland: Make virtual modifier mapping more similar to X Ignore virtual modifiers that are mapped to Mod1 (as Meta often is), to avoid interfering with our fix interpretation of Mod1 as Alt. gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 96f0ed9ec5b5b071efabb15b03c37f40df7ae3b1 Author: Matthias Clasen Date: Sun Apr 17 01:09:32 2016 -0400 menuitem: Fix some possible problems with arrow_gadget https://bugzilla.gnome.org/show_bug.cgi?id=765134 shows a stacktrace where we end up with arrow_gadget being NULL despite the conditions for its presence being satisfied. This commit makes sure we call update_arrow_gadget() whenever any of the conditions changes. This should fix the reported crash. gtk/gtkmenuitem.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 5ba8a25d2966dc2cdc67a350d4ea6c4ecb293919 Author: Matthias Clasen Date: Sat Apr 16 23:16:12 2016 -0400 wayland: Fix the map_virtual_modifiers implementation We were not stripping real modifiers out, and thus always thought there's a conflict when the passed in modifiers included any real modifiers. gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97d27ca2f8a22ee3a1043fa1ad0e0813d8293f13 Author: Bastien Nocera Date: Fri Apr 15 12:13:34 2016 +0200 cups: Fix gettext usage The previous patches didn't mark some strings as to be translated, and tried to translate strings with a variable part already inside the string, which isn't going to work. Mark the strings as translatable with context, and also make sure to translate static strings when getting them out of their structure. https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit 5b7c06118c07dd0e8a8f1529b8991f780037aa80 Author: Lapo Calamandrei Date: Sat Apr 16 14:42:13 2016 +0200 Adwaita: ensure dialogs titlebar rounded corners broken from my previous commit about rounded corners, dialogs doesn't use the "window" node, but the "dialog" node, so use the .background styleclass in the selectors which is more generic. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit b64816ed8d887f27caaef0bacc20e0a7640912f4 Author: Lapo Calamandrei Date: Sat Apr 16 14:32:04 2016 +0200 Adwaita: more border color tweaking gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) commit d5b26eb03489b96c0c53f8dfe7db0ab63b45ef0a Author: Lapo Calamandrei Date: Sat Apr 16 14:28:29 2016 +0200 Adwaita: lighten border color a bit gtk/theme/Adwaita/_colors.scss | 7 +- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/_drawing.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 280 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 264 ++++++++++++++--------------- 5 files changed, 279 insertions(+), 278 deletions(-) commit 8394317cc23ee96c9d5f4bbb105d2074bd158187 Author: Lapo Calamandrei Date: Sat Apr 16 13:41:32 2016 +0200 Adwaita: flatten the switch base gtk/theme/Adwaita/_common.scss | 19 +++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++------------ gtk/theme/Adwaita/gtk-contained.css | 16 ++++------------ 3 files changed, 13 insertions(+), 38 deletions(-) commit b744c07b447f2c5d84bc86dd1d01fbbca7dc044f Author: Lapo Calamandrei Date: Sat Apr 16 13:35:48 2016 +0200 Adwaita: flatten entries and similar widgets gtk/theme/Adwaita/_common.scss | 10 +++------- gtk/theme/Adwaita/_drawing.scss | 25 ++++++++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 28 +++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 28 +++++++++++++--------------- 4 files changed, 37 insertions(+), 54 deletions(-) commit 2184c910ebc0f3ac1d176250b2fb857323116b09 Author: Lapo Calamandrei Date: Sat Apr 16 13:21:39 2016 +0200 Adwaita: delete unused mixin gtk/theme/Adwaita/_drawing.scss | 26 -------------------------- 1 file changed, 26 deletions(-) commit 940c77ad43820972dc7423b84db6183efdfb89e9 Author: Lapo Calamandrei Date: Sat Apr 16 13:19:41 2016 +0200 Adwaita: flatten scale and progressbar trough gtk/theme/Adwaita/_common.scss | 27 +++++++-------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 25 +++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 25 +++++++++---------------- 3 files changed, 25 insertions(+), 52 deletions(-) commit 8ee4e45f8a9ded46aa02f0f7bc8cd8267d7d4399 Author: Lapo Calamandrei Date: Sat Apr 16 11:58:14 2016 +0200 Adwaita: ensure titlebar corners are not rounded... ...when the window is maximized or tiled, by using more specific selectors, since there were cases of erroneusly rounded corners. See https://bugzilla.gnome.org/show_bug.cgi?id=765038 gtk/theme/Adwaita/_common.scss | 9 +++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 13 insertions(+), 12 deletions(-) commit 64c2a65cc07e8beb11ada231a9f8e13b2e9abbb1 Author: Matthias Clasen Date: Fri Apr 15 22:20:25 2016 -0400 wayland: Implement virtual modifiers Since Wayland is using libxkbcommon, it inherits X unfortunate real/virtual modifier distinction, so we have to do the same gymnastics we do for X to map between the two. This should fix matching of accelerators using virtual modifiers (modulo gnome-shell bugs regarding the handling of Super). https://bugzilla.gnome.org/show_bug.cgi?id=764424 gdk/wayland/gdkkeys-wayland.c | 52 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) commit 101cecf7248f7b1ff7d1f66c782a26832a392dbb Author: Matthias Clasen Date: Fri Apr 15 22:13:30 2016 -0400 Clarify docs a bit The wording here was just awkward: TRUE is returned if... Note that FALSE is also returned if... gdk/gdkkeys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ed9cb2488baf3733d6232c382a58ae96d6b26d5 Author: Руслан Ижбулатов Date: Fri Apr 15 17:37:49 2016 +0000 gtk-builder-tool: use g_printf() instead of g_print() 1) g_print() can be redirected 2) g_print() does some extra processing, such as character set conversion. Specifically, on W32 it will detect system codepage via GetACP(), and will convert UTF-8 output into that codepage, even though the output should stay unchanged (whether gtk-builder-tool interprets strings from ui files as UTF-8 is a separate matter). https://bugzilla.gnome.org/show_bug.cgi?id=765118 gtk/gtk-builder-tool.c | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) commit 159c65dcb8d3084dfbc003bb331840e5042c3985 Author: Lapo Calamandrei Date: Fri Apr 15 18:28:26 2016 +0200 Adwaita: really fix solid-csd add a specificity bump hack in the titlebar solid-csd styling to avoid being overridden by the split titlebar theme logic. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 17 insertions(+), 11 deletions(-) commit de7862749468ac32f7065a5fd16d3c60b20b10e7 Author: Lapo Calamandrei Date: Fri Apr 15 18:00:37 2016 +0200 Adwaita: fix backdrop solid-csd titlebar rounded corners were not overridden for backdrop state. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 11 insertions(+), 7 deletions(-) commit 266ae74afc671a4ec03a3379f9d17fdafca3780a Author: Lapo Calamandrei Date: Fri Apr 15 16:51:29 2016 +0200 Adwaita: better solid-csd styling gtk/theme/Adwaita/_common.scss | 23 +++++++++++++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 18 ++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 18 ++++++++++++++---- 3 files changed, 45 insertions(+), 14 deletions(-) commit 8ebb6969cbe49e75df37d8d7b55ae0814d7f3878 Author: Jeremy Tan Date: Fri Apr 15 19:22:20 2016 +0800 GDK W32: Fix positioning of reparented window MoveWindow should not be used over the pre-existing move/resize functions, which already correctly position a window with respect to its parent, while also taking into account the size of window decorations. https://bugzilla.gnome.org/show_bug.cgi?id=765100 gdk/win32/gdkwindow-win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8a2061f581d3dcb3928ccd5aeac77f6127c52cf4 Author: Matthias Clasen Date: Thu Apr 14 22:52:59 2016 -0400 inspector: Don't lie with statistics If we don't have statistics, despite GOBJECT_DEBUG being set, explain how to fix this. gtk/inspector/statistics.c | 11 +++++++++++ gtk/inspector/statistics.ui | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) commit 7552b7fca80a930a35bc6a0fe34aaaf7c5bd440e Author: Matthias Clasen Date: Thu Apr 14 15:30:59 2016 -0400 GtkBuilder: Mention how GVariant properties are parsed gtk/gtkbuilder.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 3bc58d01e37ecb75be7567bb28cc217d2aaaab9b Author: Benjamin Otte Date: Thu Apr 14 21:03:27 2016 +0200 iconhelper: Invalidate on clear() When clearing the icon helper, we need to invalidate it. Otherwise the previous icon keeps lingering along. This is not relevant inside gtkiconhelper.c where other code causes the invalidation, but happens when external code calls _gtk_icon_helper_clear(). https://bugzilla.gnome.org/show_bug.cgi?id=765066 gtk/gtkiconhelper.c | 2 ++ 1 file changed, 2 insertions(+) commit 7200ac8e566e1c7c2d7ffb8722eb2e3ee2fd1da2 Author: Matt Watson Date: Wed Apr 13 12:46:01 2016 -0700 Fix label css test The default font size of 10pt will now properly render as 13.33px, but we shouldn't use the default anyway as that can be controlled by user settings testsuite/css/style/label.css | 1 + testsuite/css/style/label.nodes | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit b0b1bf2f58fa036668e1669e2f465f0218a168a1 Author: Felipe Borges Date: Wed Apr 13 20:00:19 2016 +0200 cups: make string non-literals translatable again Notice that C_ just takes string literals as arguments. https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e92eaaa0493f50ff9b9e01049c026cc42b8653e2 Author: Sebastien Bacher Date: Thu Mar 17 13:57:41 2016 +0100 gtkplacessidebar: don't margins in the code those should rather be defined by the theme https://bugzilla.gnome.org/show_bug.cgi?id=763768 gtk/gtkplacessidebar.c | 2 -- 1 file changed, 2 deletions(-) commit 46cdb44fdd7466f0d524eeb4eec6c504fd64208b Author: Carlos Garnacho Date: Thu Apr 14 11:05:00 2016 +0200 GtkWindow: Ensure the toplevel is realized before realizing popovers Otherwise those get a NULL parent window, which is toplevel-y enough to disembody the popover. https://bugzilla.gnome.org/show_bug.cgi?id=764060 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 260d521dd7f2cdfb9a88c32280120fabfb3a27d0 Author: Jeremy Tan Date: Wed Apr 13 21:39:46 2016 +0800 GDK W32: Fix bounding rect calculation on window creation The bounding rect specifies the top left and bottom right corners - the bottom right corner must account for the current window position. https://bugzilla.gnome.org/show_bug.cgi?id=764996 gdk/win32/gdkwindow-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5cf4de8f27bbb7ea2d2f0a6d7d113525e4d50b1f Author: Piotr Drąg Date: Wed Apr 13 15:29:48 2016 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 4 ++++ po/POTFILES.skip | 4 ++++ 2 files changed, 8 insertions(+) commit 027702e453d51016abb8a9225a203510918ddded Author: Felipe Borges Date: Tue Apr 12 15:55:19 2016 +0200 cups: Fix more "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 61 +++++++++++++++++++----- 1 file changed, 48 insertions(+), 13 deletions(-) commit 31c5f0dc7f66c9a3b4310515809a79a85fa2b759 Author: YunQiang Su Date: Wed Apr 13 20:14:44 2016 +0800 update zh_CN translation po-properties/zh_CN.po | 5538 +++++++++++++++++++++++++++--------------------- 1 file changed, 3071 insertions(+), 2467 deletions(-) commit 4dcd33f2d5f1bcabc8b5195a85d4f92054506e1e Author: YunQiang Su Date: Wed Apr 13 16:41:00 2016 +0800 update zh_CN translation po/zh_CN.po | 416 ++++++++++++++++++++++++++---------------------------------- 1 file changed, 179 insertions(+), 237 deletions(-) commit 871b19f9ddfa0c89fafe1e77f835aa7496ad52fd Author: Matt Watson Date: Mon Apr 11 21:35:09 2016 -0700 reftests: test rem size testsuite/reftests/css-rem-label-size.css | 11 +++++++++++ testsuite/reftests/css-rem-label-size.ref.ui | 19 +++++++++++++++++++ testsuite/reftests/css-rem-label-size.ui | 19 +++++++++++++++++++ 3 files changed, 49 insertions(+) commit 92a496fdec61b18184b11aff5902b53665cc785f Author: Matt Watson Date: Mon Apr 11 16:17:08 2016 -0700 reftests: test em size testsuite/reftests/Makefile.am | 3 + testsuite/reftests/css-em-label-size.css | 37 +++ testsuite/reftests/css-em-label-size.ref.ui | 382 ++++++++++++++++++++++++++++ testsuite/reftests/css-em-label-size.ui | 357 ++++++++++++++++++++++++++ 4 files changed, 779 insertions(+) commit df08fc91bdc1d2e4c866122304fabe4dd298a7de Author: Matt Watson Date: Mon Apr 11 18:18:31 2016 -0700 css: always get default font size in pixels Fixes a couple bugs... - Pixel font sizes in css would render as point sizes. - For em font sizes, where the parent size was set and not default, we would incorrectly convert a pixel value from points to pixels. We'll always grab the default font size in pixels so we don't keep confusing things. Worth noting that gtk css font-size will still behave differently than the web. Pango interprets font-size differently. gtk/gtkcssdimensionvalue.c | 24 +++++++++++------------ gtk/gtkcssenumvalue.c | 41 +++++++++++++++++++++++++-------------- gtk/gtkcssenumvalueprivate.h | 3 ++- gtk/gtkcssshorthandpropertyimpl.c | 5 ++++- 4 files changed, 44 insertions(+), 29 deletions(-) commit f9ba55eaad6b2bb1d85a2d78202c3abe6a0b67d0 Author: Sébastien Wilmet Date: Sun Apr 10 16:58:49 2016 +0200 app: add missing g_returns And have the g_returns in the same order as the function parameters. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit c2aa7d074960e455a37912bf6083132d6afe08dd Author: Руслан Ижбулатов Date: Mon Apr 11 07:07:14 2016 +0000 GDK W32: Deduplicate reparenting gdk_window_reparent() already changes children list for old and new parent. Doing so twice results in a circular reference in the list, which can hang the application later, for example in gtk_window_show(). https://bugzilla.gnome.org/show_bug.cgi?id=764845 gdk/win32/gdkwindow-win32.c | 9 --------- 1 file changed, 9 deletions(-) commit c8d11085740b8c8d67bab01c99ff16efbcc26fe0 Author: Rico Tzschichholz Date: Tue Apr 12 13:30:04 2016 +0200 gtk: Annotate GtkFlowBoxCreateWidgetFunc as "transfer full" gtk/gtkflowbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 413d27508f92306bb6daf87426b6444525391f27 Author: Balló György Date: Sun Apr 10 21:42:04 2016 +0200 GtkTrayIcon: fix uninitialised variable https://bugzilla.gnome.org/show_bug.cgi?id=764863 gtk/deprecated/gtktrayicon-x11.c | 1 + 1 file changed, 1 insertion(+) commit 3f8313c735e4ff49cd993a185de2b09be4db684a Author: Mohammed Sadik Date: Tue Apr 12 06:54:35 2016 +0530 documentation: trivial typo fixes in GtkWidget https://bugzilla.gnome.org/show_bug.cgi?id=764925 gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a3bff7d41e8dd89bdec726a148207c58cf35db87 Author: Ignacio Casal Quinteiro Date: Mon Apr 11 22:22:37 2016 +0200 win32: rollback change and use _gdk_display This makes usage of _gdk_display again when creating a window. This is needed because there is a window created when the display is being initialized, so it becomes a chicken and egg problem. For now we roll back this to fix the wintab crash but we might want to fix this again in the future by improving the wintab initialization. https://bugzilla.gnome.org/show_bug.cgi?id=764664 gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9add3161f8fa3ea666189ac9e4de4c881ec676a Author: Ignacio Casal Quinteiro Date: Mon Apr 11 22:22:23 2016 +0200 win32: add missing empty lines gdk/win32/gdkdisplay-win32.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2f875129f1a30087b4a03119fb89eb13e64b6557 Author: Arash Mousavi Date: Mon Apr 11 22:56:23 2016 +0430 Update Persian translations po/fa.po | 2271 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1251 insertions(+), 1020 deletions(-) commit 6e47dad33d673e1360cdb55b50cb38b91e43b36d Author: Matthias Clasen Date: Mon Apr 11 11:57:46 2016 -0400 gdkdevice: Expose tool as property This may occasionally be useful. gdk/gdkdevice.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 28042ef3363f8ad069190c355503801b20742217 Author: Matthias Clasen Date: Mon Apr 11 07:52:39 2016 -0400 listbox: Fix css node ordering When inserting a child at the top, we were not inserting its css node properly. https://bugzilla.gnome.org/show_bug.cgi?id=764710 gtk/gtklistbox.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 646492ceead58e3950e83d266c80c71d34bf22b2 Author: Mohammed Sadik Date: Sun Apr 10 11:49:20 2016 +0530 broadway: fix documentation broadway backend has 0 as the default display port, which maps to tcp port 8080. https://bugzilla.gnome.org/show_bug.cgi?id=764835 docs/reference/gtk/broadway.xml | 8 ++++---- docs/reference/gtk/broadwayd.xml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) commit 9610675faf9766bd069b43da9b445271649e8b9b Author: Emmanuele Bassi Date: Sun Apr 10 18:41:23 2016 +0100 recent-manager: Always ensure that size is reset on creation Whenever we create a new GBookmarkFile, we need to set the size to 0. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/gtkrecentmanager.c | 1 + 1 file changed, 1 insertion(+) commit cc08a965be0a7663f2491ac100f89e56c8e31d0e Author: Emmanuele Bassi Date: Sun Apr 10 18:39:33 2016 +0100 recent-manager: Fix the error domain and message on move_item() Using NOT_FOUND when moving is wrong and unhelpful. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/gtkrecentmanager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bccef4e41aa45801b96dfd1c33a376d2fa1bb6e6 Author: Emmanuele Bassi Date: Sun Apr 10 18:28:01 2016 +0100 recent-manager: Emit ::changed on file deletion This will clear out the list of recently used files, and will allow GVFS to handle this case. https://bugzilla.gnome.org/show_bug.cgi?id=693077 gtk/gtkrecentmanager.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 90d28d6bbf1aae0184e39b8078c21bce45455cd9 Author: Emmanuele Bassi Date: Sun Apr 10 17:51:58 2016 +0100 Assign a recent manager if one is set The GtkRecentAction implementation ignored a GtkRecentManager passed to its :manager property. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/deprecated/gtkrecentaction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ee58a52a61a55f7723b938b05ceb0ad71bfbbafd Author: Sébastien Wilmet Date: Sun Apr 10 11:08:57 2016 +0200 app: minor code improvements - use GDK_EVENT_PROPAGATE - pass better zero-values to gtk_init(), since the parameters are pointers. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1f87c1cc0bec13db3641631f298e8f4a830ca455 Author: Sébastien Wilmet Date: Sun Apr 10 12:41:09 2016 +0200 app: improve code of extract_accels_from_menu() sub_model is clearer than "m". And we don't use the key, so we can pass NULL instead. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 687d3eb48f864bd7255b59a9eb9d77b851b341a2 Author: Sébastien Wilmet Date: Sun Apr 10 14:15:35 2016 +0200 app: use g_set_object() https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) commit 29971b0cc9b5035235ffcc48c34fb99cbf396534 Author: Sébastien Wilmet Date: Sun Apr 10 12:28:14 2016 +0200 app: don't use deprecated function gtk_application_add_accelerator() is deprecated, but was still used inside IGNORE_DEPRECATIONS's. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 399e8db3365cebf7b8bd02de7a940203a3b8ed15 Author: Sébastien Wilmet Date: Sun Apr 10 12:56:39 2016 +0200 app: improve doc of gtk_application_get_window_by_id() https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 40e40b7ffc01f445d1084a1788559068f2197d6b Author: Sébastien Wilmet Date: Sat Apr 9 17:42:12 2016 +0200 app: improve doc of gtk_application_set_accels_for_action() When reading the API for the first time I didn't know what was the "detailed" action name. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 48afd8a5f0fc6f293fde5d4e176cfa90eb45a37c Author: Sébastien Wilmet Date: Sat Apr 9 12:50:43 2016 +0200 app: avoid code duplication for setting accels The implementation of the deprecated functions is now based on the non-deprecated gtk_application_set_accels_for_action(). https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit 8fc1ca1ef28bc70a5581112185a776f6158b0d6d Author: Lukas K Date: Sun Apr 3 15:31:05 2016 +0200 Fix gtk_scrollable_get_border annotation https://bugzilla.gnome.org/show_bug.cgi?id=764540 gtk/gtkscrollable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99e92a60f29367bc95a9f6ee99d4b7dc4b6b0bb1 Author: Zahari Yurukov Date: Sun Apr 10 16:31:35 2016 +0300 Updated Bulgarian translation po/bg.po | 3329 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2119 insertions(+), 1210 deletions(-) commit fe80230985b9c73515ad867cb49e3c7b769fa7de Author: Friedrich Beckmann Date: Thu Apr 7 09:33:41 2016 +0200 quartz: zoom/rotate change compile/runtime check from 10.7 to 10.8 The zoom/rotate change for quartz does not build on 10.7. This change adds zoom/rotate support in quartz only for 10.8 and following. The problems is described here: https://bugzilla.gnome.org/show_bug.cgi?id=760276 and here https://trac.macports.org/ticket/51052 NSEventPhaseMayBegin was only introduced in 10.8 although documentation says it is introduced in 10.7. Tests on 10.7 indicate that the phase property for the Magnify event is not supported at all on 10.7 gdk/quartz/gdkevents-quartz.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 7dc588c4d377dbfe54061f35dc67f35cefac9c03 Author: Matthias Clasen Date: Sat Apr 9 17:35:58 2016 -0400 Add a note about GDK_AXIS_X/Y These axes mmay or may not be present, best to ignore them. gdk/gdktypes.h | 4 ++++ 1 file changed, 4 insertions(+) commit 0d64582688ac7592fefacca6aae9b11b171f1624 Author: Matthias Clasen Date: Sat Apr 9 17:31:39 2016 -0400 wayland: Keyboard don't have x/y These axes are not very useful in the first place, but on a keyboard they just don't make any sense at all. gdk/wayland/gdkdevice-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b0c6e4aa1f5d085d5d3b6e785d2dd35ebf6e031 Author: Matthias Clasen Date: Sat Apr 9 17:04:57 2016 -0400 Mention geometry handling changes in release notes README.in | 5 +++++ 1 file changed, 5 insertions(+) commit abff6e23c0a622f087c7a1bcd575cd32c30b17d4 Author: Matthias Clasen Date: Sat Apr 9 15:47:56 2016 -0400 inspector: simplify some code gtk/inspector/general.c | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) commit 9044f78751b1f795257bcd35ac37b8d39b0ae3be Author: Matthias Clasen Date: Sat Apr 9 15:20:07 2016 -0400 Move GdkDeviceTool into its own files gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkdevice.c | 149 +--------------------------------- gdk/gdkdevice.h | 103 ------------------------ gdk/gdkdeviceprivate.h | 19 +---- gdk/gdkdevicetool.c | 173 ++++++++++++++++++++++++++++++++++++++++ gdk/gdkdevicetool.h | 75 +++++++++++++++++ gdk/gdkdevicetoolprivate.h | 46 +++++++++++ gdk/gdkevents.h | 1 + gdk/gdkseatdefault.c | 2 +- gdk/gdktypes.h | 62 ++++++++++++++ gdk/wayland/gdkdevice-wayland.c | 1 + gdk/x11/gdkdevicemanager-xi2.c | 1 + 13 files changed, 366 insertions(+), 270 deletions(-) commit 6db7de3f7ba42d667c305d76aaef55f09e0c26d9 Author: Sébastien Wilmet Date: Sat Apr 9 15:21:27 2016 +0200 app: fix indentation And add missing curly braces. gtk/gtkapplication.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit af1c873bca212303a6fe3829d38298d9e0493eec Author: Matthias Clasen Date: Sat Apr 9 12:14:33 2016 -0400 inspector: Use GdkAxes instead of GdkAxisUse gtk/inspector/general.c | 57 +++++++++++++++++-------------------------------- 1 file changed, 19 insertions(+), 38 deletions(-) commit d83ad00f9ec245014f45d426abad8180945563db Author: Matthias Clasen Date: Sat Apr 9 11:54:07 2016 -0400 inspector: Add an origin mark to the slowdown scale Makes it easier to get back to the original speed. gtk/inspector/visual.ui | 3 +++ 1 file changed, 3 insertions(+) commit e6c408c08a21cccc5ea3104da257fccddc8d55f4 Author: Matthias Clasen Date: Sat Apr 9 11:46:12 2016 -0400 inspector: Give the font scale an entry This matches what Matt did for the slowdown. gtk/inspector/visual.c | 52 ++++++++++++++++++++++++++++++++++++++++--------- gtk/inspector/visual.ui | 18 +++++++++++++---- 2 files changed, 57 insertions(+), 13 deletions(-) commit b3dc473057143173eb59378680219635265787d0 Author: Sébastien Wilmet Date: Fri Apr 8 20:13:07 2016 +0200 docs: trivial fixes in GtkApplication-related documentation gtk/gtkactionable.c | 2 +- gtk/gtkapplication.c | 6 +++--- gtk/gtkapplicationwindow.c | 6 +++--- gtk/gtkwindow.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit a970ba5ef673c448775480fe76f363ae50ffaaec Author: Matt Watson Date: Tue Mar 22 01:10:21 2016 -0700 animatedstyle: don't share styleanimations Because of our port of css animation and css transition to progress tracker, we should not think of animated styles as immutable objects that can map any timestamp to css values. Rather, timestamps can correspond to different values depending on the value of GTK_SLOWDOWN over the course of the animation. To keep animated styles and style animations totally immutable, we will not share styleanimations between animatedstyles, and make a new copy of a styleanimation for each timestamp. gtk/gtkcssanimatedstyle.c | 29 +++++++++++++----------- gtk/gtkcssanimation.c | 45 ++++++++++++++++++++----------------- gtk/gtkcssanimationprivate.h | 5 +++-- gtk/gtkcsstransition.c | 37 +++++++++++++++++++++--------- gtk/gtkstyleanimation.c | 51 +++++++++++++++++++++++++++--------------- gtk/gtkstyleanimationprivate.h | 22 +++++++++--------- 6 files changed, 114 insertions(+), 75 deletions(-) commit 7b68bdb8316fc1bb96c4a5ad16c1885506131d22 Author: Matt Watson Date: Tue Mar 22 01:04:38 2016 -0700 animatedstyle: just ref current style if timestamp the same gtk/gtkcssanimatedstyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a88ac3b4cfa8a56f0bbcec66ecb05079d1a4ccd Author: Matt Watson Date: Tue Mar 22 00:54:11 2016 -0700 animatedstyle: fail to create new style if timestamp goes backwards With slowdown factor, we will only we be able to handle timestamps that monotonically increase. gtk/gtkcssanimatedstyle.c | 2 ++ 1 file changed, 2 insertions(+) commit 2800b00e1d5d46f374d50c279eb16aebd521ca4e Author: Matt Watson Date: Thu Mar 24 23:43:15 2016 -0700 cssanimation: port to progress tracker gtk/gtkcssanimatedstyle.c | 1 - gtk/gtkcssanimation.c | 121 ++++++++++++++++++------------------------- gtk/gtkcssanimationprivate.h | 6 +-- 3 files changed, 52 insertions(+), 76 deletions(-) commit 50e057e02541151a9de828dc7567042c00f499d1 Author: Matt Watson Date: Sun Mar 6 22:45:27 2016 -0800 csstransition: port to progress tracker gtk/gtkcssanimatedstyle.c | 5 +++-- gtk/gtkcsstransition.c | 39 +++++++++++++++++++++------------------ gtk/gtkcsstransitionprivate.h | 15 ++++++++------- 3 files changed, 32 insertions(+), 27 deletions(-) commit 511f1383281c3bdf45472fc53f806aebad83ea5d Author: Matt Watson Date: Mon Apr 4 23:44:04 2016 -0700 entry: port to progress tracker gtk/gtkentry.c | 50 +++++++++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 21 deletions(-) commit d57ebe2de7d1866e19910a790dbdb2e2d8ec1cb4 Author: Matt Watson Date: Mon Mar 28 01:08:48 2016 -0700 progressbar: port to progress tracker gtk/gtkprogressbar.c | 51 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 21 deletions(-) commit 5237b7a6b08d646f00561dfa2462427e99b1dd25 Author: Matt Watson Date: Mon Mar 28 14:54:34 2016 -0700 scrolledwindow: port indicator fade to progress tracker gtk/gtkscrolledwindow.c | 51 ++++++++++++++++--------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) commit dc8b80cd32ffec354eb9925e10c0ce5f6be4ddf6 Author: Matt Watson Date: Mon Mar 28 14:45:21 2016 -0700 popover: port to progress tracker gtk/gtkpopover.c | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) commit 7ad64a20aa48b94b89919020643d6ab061e5260d Author: Matt Watson Date: Mon Mar 28 14:38:22 2016 -0700 switch: port to progress tracker gtk/gtkswitch.c | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) commit 2ff62595eda55548287cb2257b0864268e228405 Author: Matt Watson Date: Fri Mar 25 02:01:25 2016 -0700 revealer: port to progress tracker gtk/gtkrevealer.c | 50 ++++++++++++++------------------------------------ 1 file changed, 14 insertions(+), 36 deletions(-) commit 62b224a8dff39703bec39e13ea954b22029ba3df Author: Matt Watson Date: Tue Mar 1 17:19:50 2016 -0800 stack: skip first frame for animations Not the ideal solution for this problem, but in practice leads to much better performance on lower end hardware. Stack does a double draw on the first frame of its animation, of both the old contents (into a cairo surface) and the new contents. Homogeneous stacks only need to reallocate contents on the first frame. On lower powered hardware where our frames will be a good deal slower than the refresh rate anyway, we can assure a smother experience by waiting a frame to start tweening where frame duration will be more consistent. gtk/gtkstack.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 3909f818c4d78afccd3243e06452c03556c67b42 Author: Matt Watson Date: Mon Feb 29 22:24:39 2016 -0800 stack: port to progress tracker gtk/gtkstack.c | 86 +++++++++++++++++++++++----------------------------------- 1 file changed, 34 insertions(+), 52 deletions(-) commit 46b120b35e7eacea103cd95dff821232a5c9caa2 Author: Matt Watson Date: Mon Mar 14 03:38:55 2016 -0700 inspector: add slider to control slowdown factor gtk/inspector/visual.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/visual.ui | 50 +++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) commit f2979323bfea80f57fa66264fcfd757e828f083b Author: Matt Watson Date: Mon Mar 14 03:38:23 2016 -0700 progresstracker: add GTK_SLOWDOWN environment variable As we consolidate widgets to use progress tracker, this will allow us to control the speed of all animations in a centralized place gtk/gtkmain.c | 8 ++++++++ gtk/gtkprivate.h | 4 ++++ gtk/gtkprogresstracker.c | 20 +++++++++++++++++++- 3 files changed, 31 insertions(+), 1 deletion(-) commit e71d09e9cb37a60a026bc39048d0e6ea14394f90 Author: Matt Watson Date: Mon Feb 29 21:39:33 2016 -0800 progresstracker: simple struct to track animation progress gtk/Makefile.am | 2 + gtk/gtkprogresstracker.c | 250 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkprogresstrackerprivate.h | 75 ++++++++++++ 3 files changed, 327 insertions(+) commit f1cbd9ca13fd8b57f4f48aafdf915876f7bac85c Author: Carlos Garnacho Date: Fri Apr 8 17:25:53 2016 +0200 demos: Show slider/rotation axes in "Event axes" demo demos/gtk-demo/event_axes.c | 56 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) commit 057ae4ace00dd0213e9e6e9808ebbc2bc2ed655f Author: Carlos Garnacho Date: Fri Apr 8 17:25:04 2016 +0200 wayland: Propagate slider/rotation axes from tools to devices gdk/wayland/gdkdevice-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b3ca11a6cb01b7830c46c067399577d9c3593d32 Author: Olivier Fourdan Date: Wed Apr 6 19:44:16 2016 +0200 test: do not remove files on distclean bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764686 testsuite/a11y/state/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 83e775147f35145ff4e7122089fb48ddf8617fa5 Author: Olivier Fourdan Date: Thu Apr 7 15:56:46 2016 +0200 wayland: do not update shadows for child windows glade-previewer places a gtkwindow inside another toplevel gtkwindow, updating the shadow width for the client induces a busy loop where the parent will grow continuously until it crashes gnome-shell/mutter. To avoid the loop, do not update the shadow width if not dealing with a toplevel window. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761651 gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d3a3d0673f8a6c52dac5fbbbdebeee2f456e5742 Author: Carlos Garnacho Date: Fri Apr 8 15:08:15 2016 +0200 gdkevents: Fix GDK_AVAILABLE_IN annotation These functions have just been added. An oversight prior to merging wayland tablet. gdk/gdkevents.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6628ffd686859f7170ea6b8e908a6a805e570e92 Author: Carlos Garnacho Date: Wed Apr 6 17:29:11 2016 +0200 wayland: Check the tablet manager before creating a wp_tablet_seat This makes things non-crashy if the compositor doesn't provide wp_tablet_manager gdk/wayland/gdkdevice-wayland.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 48239ad72092a8115999872ed77b917f75e08bb8 Author: Carlos Garnacho Date: Tue Apr 5 14:33:29 2016 +0200 gtk3-demo: Add tool information to "Event axes" demo Print tool type and serial, if found. demos/gtk-demo/event_axes.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit cd1604ae1c6a2c4fd8250cc10b460ef5aa8a6a8e Author: Carlos Garnacho Date: Tue Jan 26 19:25:19 2016 +0100 wayland: Hook tablets to GdkSeat Those are now also grabbed togetther with other master pointers, so everything is able to interoperate on eg. popups triggered by other devices. gdk/wayland/gdkdevice-wayland.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit fb32f11e3d058807e8cfb392446a59fb04f37bc0 Author: Carlos Garnacho Date: Mon Jun 22 18:28:46 2015 +0200 wayland: Translate pen buttons into button events up/down already take GDK_BUTTON_PRIMARY, we translate BTN_STYLUS(2) into GDK_BUTTON_MIDDLE/SECONDARY. gdk/wayland/gdkdevice-wayland.c | 42 +++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) commit 4f6bc820520d35bf9e1986f048915681b2aaeb91 Author: Stephen Chandler Paul Date: Mon Jun 22 18:16:27 2015 +0200 Wayland: Translate wl_tablet.down/up into button events These are sent with button=GDK_BUTTON_PRIMARY, axes must be also included in these events, in addition to motion ones. gdk/wayland/gdkdevice-wayland.c | 64 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) commit 0f6be24e28894920a0e169d747753b1145d26103 Author: Stephen Chandler Paul Date: Mon Jun 22 18:02:50 2015 +0200 Wayland: Translate tool axes in motion events On wayland, such axes are per-tool, we must update device capabilities on the fly as new tools enter proximity, first the slave device so it matches the current tool, and then the master device so it looks the same than the current slave device. gdk/wayland/gdkdevice-wayland.c | 210 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 204 insertions(+), 6 deletions(-) commit 72884a274cf99aed7a1faa4d47042be3c0d6a279 Author: Stephen Chandler Paul Date: Mon Jun 22 17:51:48 2015 +0200 Wayland: Implement proximity/crossing/motion event emission on tablets Each tablet will update its own GdkWaylandPointerData separately. This commit only adds plain motion event emission so far, no axes are managed yet. gdk/wayland/gdkdevice-wayland.c | 209 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 205 insertions(+), 4 deletions(-) commit 7cc0850a5ae5b399afb33658afa7d2a8d8414837 Author: Stephen Chandler Paul Date: Sun Jan 18 19:32:24 2015 -0500 Wayland: Add initial support for drawing tablets Only the management of tablets and tools is added so far. No tablet events are yet interpreted. As it's been the tradition in GTK+, erasers are split into their own device, whereas the rest of the tools are meant to be routed through the GDK_SOURCE_PEN device. Both pen/eraser devices are slaves to a master pointer device, separate to wl_pointer's. This is so each tablet can maintain its own cursor/positioning accounting. Signed-off-by: Stephen Chandler Paul gdk/wayland/Makefile.am | 2 + gdk/wayland/gdkdevice-wayland.c | 439 ++++++++++++++++++++++++++++++++++++++- gdk/wayland/gdkdisplay-wayland.c | 7 + gdk/wayland/gdkdisplay-wayland.h | 2 + 4 files changed, 445 insertions(+), 5 deletions(-) commit d4d032795dba4e6daf8e037ecce13430608a3fb5 Author: Carlos Garnacho Date: Wed Apr 6 15:49:22 2016 +0200 build: Bump wayland-protocols dependency to 1.3 Needed for tablet support configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 45b4d765c0752471efc9883080a5f66361cd7aa2 Author: Carlos Garnacho Date: Fri Jun 19 17:25:54 2015 +0200 wayland: Refactor master pointer data into a separate struct This will enable multiple "pointers" to have separate data here. Will come out useful when adding support for tablets, as they will have a separate cursor for all purposes. gdk/wayland/gdkdevice-wayland.c | 530 ++++++++++++++++++++++------------------ 1 file changed, 288 insertions(+), 242 deletions(-) commit af894af38602e419b6ac9331db957047974b2728 Author: Stephen Chandler Paul Date: Sun Jan 18 14:30:58 2015 -0500 gdkcursor-wayland.c: Minor indentation fix Changed the tabs to spaces Signed-off-by: Stephen Chandler Paul gdk/wayland/gdkcursor-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6febc2291878b102c3f3d083977b3068f36fe49e Author: Carlos Garnacho Date: Tue Jun 30 16:28:59 2015 +0200 x11: Use XInternAtom directly on poking device hardware IDs This way we don't cache the property if it wasn't previously there, added by the driver itself. Bailing out is due there. gdk/x11/gdkdevicemanager-xi2.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 8e917093df600abe822c73c43f39c0ab861350ef Author: Carlos Garnacho Date: Thu Jun 18 15:09:46 2015 +0200 demos: Enable multidevice behavior on event-axes demo On wayland we get separate master/slaves for each tablet, we will need to receive crossing events for each master pointer if there's more than one around. demos/gtk-demo/event_axes.c | 1 + 1 file changed, 1 insertion(+) commit b465ede53bbc3f3806117f22d53bfd634bf8d98a Author: Carlos Garnacho Date: Thu Jun 18 15:08:39 2015 +0200 demos: Set crossing events mask explicitly on event-axes demo. demos/gtk-demo/event_axes.c | 2 ++ 1 file changed, 2 insertions(+) commit 89b7f859a49913dd5fe4d714e7e8f7ee0b143533 Author: Carlos Garnacho Date: Tue Feb 10 15:59:18 2015 +0100 gtk3-demo: Show multiple master devices on the "Event axes" demo demos/gtk-demo/event_axes.c | 66 ++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 31 deletions(-) commit 505dac94be3de6623e8e1dc9adf00050f40046e6 Author: Stephen Chandler Paul Date: Mon Feb 9 22:02:08 2015 -0500 gtk-demo: Add support for distance in event_axes Signed-off-by: Stephen Chandler Paul demos/gtk-demo/event_axes.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) commit 6c2a078bf2110d41c8f4d96d74c5dbf6d17eaf92 Author: Stephen Chandler Paul Date: Mon Feb 9 19:44:50 2015 -0500 gtk-demo: Use GdkAxisUse instead of axis labels Axis labels are very X specific, and are not really possible to port to other backends such as Wayland. As such, it makes more sense to use GdkAxisUse and GdkAxisUseFlag in order to determine the axis capabilities of a device and draw their axes. Signed-off-by: Stephen Chandler Paul demos/gtk-demo/event_axes.c | 106 +++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 61 deletions(-) commit 9e72d24b23fe0808e75c678f1339152a1d32d55a Author: Stephen Chandler Paul Date: Mon Jun 22 17:19:16 2015 +0200 GdkDeviceTool: Add GdkAxisFlags info to tablet tools Different tools may have different sets of axes, we should store that info somewhere. gdk/gdkdevice.c | 17 ++++++++++++++++- gdk/gdkdeviceprivate.h | 4 +++- gdk/x11/gdkdevicemanager-xi2.c | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) commit 8b2fd3ed1bb58a3c414f37ad25f560a7d3f74786 Author: Stephen Chandler Paul Date: Tue Jan 13 00:03:49 2015 -0500 GdkDeviceTool: Add GdkDeviceToolType to identify the physical tool type Because there are multiple different types of styluses that can be used with tablets, we have to have some sort of identifier for them attached to the GdkDeviceTool, especially since knowing the actual tool type for a GdkDeviceTool is necessary for matching up a GdkDeviceTool with it's appropriate GdkInputSource in Wayland (eg. matching up a GdkDeviceTool eraser with the GDK_SOURCE_ERASER GdkInputSource of a wayland tablet). Signed-off-by: Stephen Chandler Paul docs/reference/gdk/gdk3-sections.txt | 2 ++ gdk/gdkdevice.c | 37 +++++++++++++++++++++++++++++++++++- gdk/gdkdevice.h | 30 +++++++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 4 +++- gdk/x11/gdkdevicemanager-xi2.c | 3 ++- 5 files changed, 73 insertions(+), 3 deletions(-) commit 9a81b6595942e6a0d34e489450da7dcdf0054e7e Author: Carlos Garnacho Date: Tue Jan 6 14:57:21 2015 +0100 x11: Set GdkDeviceTool on motion/button events The last known tool from the device is used here. If no tool is known, the event will just have a NULL pointer there. gdk/x11/gdkdevicemanager-xi2.c | 2 ++ 1 file changed, 2 insertions(+) commit 0287ec7e89a831ce014386eff4abe9497eaa8a5c Author: Carlos Garnacho Date: Tue Jan 6 14:56:02 2015 +0100 x11: Update GdkDevices on "Wacom Serial IDs" property changes This takes care of the emission of GdkDevice::tool-changed, plus the updating of the internal device accounting. gdk/x11/gdkdevicemanager-xi2.c | 70 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 6286883e8d53bd1d71141668e745e228d8e27a99 Author: Carlos Garnacho Date: Tue Apr 5 14:33:24 2016 +0200 gdk: Forward tools in client-side windows event translation gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 6d73e75153e3de80fa5bf0ca8fcc07d2a3a6fde7 Author: Carlos Garnacho Date: Tue Jan 6 14:52:42 2015 +0100 events: Add gdk_event_[gs]et_device_tool() This getter/setter will manage the tool pointer in GdkEventPrivate. The setter should be most notably used by backends. docs/reference/gdk/gdk3-sections.txt | 2 ++ gdk/gdkevents.c | 52 ++++++++++++++++++++++++++++++++++++ gdk/gdkevents.h | 7 +++++ gdk/gdkinternals.h | 1 + 4 files changed, 62 insertions(+) commit 5a25c5a9f2af96d2c7c086fa994d2de61cfe6e6d Author: Carlos Garnacho Date: Fri Jan 29 13:07:13 2016 +0100 GdkSeatDefault: Add functions to add/remove tools This may be used by any backend using GdkSeatDefault as its seat implementation. gdk/gdkseatdefault.c | 71 +++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkseatdefaultprivate.h | 4 +++ 2 files changed, 75 insertions(+) commit 6824dd7b8afffc4affcc21f8a7c1700c7de66c91 Author: Carlos Garnacho Date: Fri Jan 29 13:06:02 2016 +0100 gdk: Add GdkSeat::tool-added/removed signals And a helper function to lookup a tool from the seat. Those are tracker per-seat, and may be shared across devices. gdk/gdkseat.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkseatprivate.h | 12 +++++++++ 2 files changed, 82 insertions(+) commit d5f141a9b7e85272b6042d2be6a6bcd09a825bd3 Author: Carlos Garnacho Date: Tue Jan 6 14:44:15 2015 +0100 gdkdevice: Add GdkDevice::tool-changed signal On the devices and backends that support it, this signal will be emitted on slave/floating devices whenever the tool they are interacting with changes. These notifications may also work as a sort of proximity events, as the tool will be unset when the pen moves too far. For backends, gdk_device_update_tool() has been included, all that should be done on their side is just calling this whenever any tool might have changed. gdk/gdkdevice.c | 32 ++++++++++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 3 +++ 2 files changed, 35 insertions(+) commit 4ba95b09ba1b42aba68335d4a2df021cd58a5a32 Author: Carlos Garnacho Date: Tue Jan 6 14:38:14 2015 +0100 gdkdevice: Add GdkDeviceTool to identify device tools GdkDeviceTool is an opaque object that can be used to identify a given tool (eg. pens on tablets) during the app/device lifetime. Tools are only set on non-master devices, and are owned by these. The accounting functions are made private, the only public call on GdkDeviceTool so far is gdk_device_tool_get_serial(), useful to identify the tool across runs. docs/reference/gdk/gdk3-sections.txt | 3 ++ gdk/gdkdevice.c | 98 ++++++++++++++++++++++++++++++++++++ gdk/gdkdevice.h | 11 ++++ gdk/gdkdeviceprivate.h | 15 ++++++ 4 files changed, 127 insertions(+) commit 0f962f107576ceb8adf697c0598fdeed51882e0a Author: Carlos Garnacho Date: Tue Jan 27 21:35:40 2015 +0000 device: Add gdk_device_get_axes(), and ::axes property This returns a GdkAxisFlags, holding the axes currently available through this device. docs/reference/gdk/gdk3-sections.txt | 2 ++ gdk/gdkdevice.c | 39 ++++++++++++++++++++++++++++++++++++ gdk/gdkdevice.h | 32 +++++++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 1 + 4 files changed, 74 insertions(+) commit 32d7ba76b3642aefe83d183464a762a1ed152f19 Author: Carlos Garnacho Date: Tue Jan 27 21:34:21 2015 +0000 device: Add distance/rotation/slider GdkAxisUse values These are possible to handle in tablets, so add a value for these in the axis enum. gdk/gdkdevice.h | 6 ++++++ 1 file changed, 6 insertions(+) commit adff59843b3cd511557ba5a578d2e75e685b3bed Author: Руслан Ижбулатов Date: Wed Apr 6 10:22:15 2016 +0000 GDK W32: Don't move windows into top-left corner on style change This fixes a bug that was introduced by db1b24233e758200ab9bc23fdb9b64dba4876a00. The reason why 0:0 coordinates were passed was that SWP_NOREPOSITION was misinterpreted as SWP_NOMOVE. That is not the case - SWP_NOREPOSITION prevents owner Z-order change, not the window position change. gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be6784c7ea59bd18bf2ce954e83870494686967a Author: Olivier Fourdan Date: Mon Apr 4 14:55:38 2016 +0200 wayland: Do not resize with the same size gnome-control-center is calling gtk_window_resize() on configure-event signals which leads to a busy loop. Avoids such a busy loop by not re-configuring a window with the same size, unless this is coming from and xdg-shell configure. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764374 gdk/wayland/gdkwindow-wayland.c | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) commit 28fc4de6aaed944d223c7a84ecb6ef3c6d340e3b Author: Wouter Verhelst Date: Thu Mar 31 11:09:41 2016 +0200 Clarify that one cannot use the same variable A naive way to perform an action on all parent nodes of a given node could be to do: while(gtk_tree_model_iter_parent(model, &iter, &iter)) { /* perform some action on iter here */ } However, since gtk_tree_model_iter_parent() will initialize the iterator pointed to by the second parameter before performing the lookup, this will not work. Explicitly document this behaviour. Signed-off-by: Wouter Verhelst https://bugzilla.gnome.org/show_bug.cgi?id=573380 gtk/gtktreemodel.c | 3 +++ 1 file changed, 3 insertions(+) commit 93363551d74c50734f1f3149d95f1e79f4fe0191 Author: Bastien Nocera Date: Mon Apr 4 16:38:04 2016 +0200 cups: Fix "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 90 ++++++++++++++++++------ 1 file changed, 68 insertions(+), 22 deletions(-) commit becc0d45b62021080baaceca315b33b17ed5d10a Author: Bastien Nocera Date: Mon Apr 4 15:03:12 2016 +0200 recent-manager: Fix "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 gtk/gtkrecentmanager.c | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 6a5224ffcb91f92d712c3254c737b2eabc21ba48 Author: Bastien Nocera Date: Mon Apr 4 14:32:56 2016 +0200 file-chooser-widget: Fix "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 gtk/gtkfilechooserwidget.c | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) commit a8c59543cf950aac096e1078f4f5d4c5d75dd78b Author: Bastien Nocera Date: Mon Apr 4 14:16:17 2016 +0200 about-dialog: Fix "format not a string literal" errors A non-intrusive fix. https://bugzilla.gnome.org/show_bug.cgi?id=764585 gtk/gtkaboutdialog.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit bf8653c2e11e4d110fa4b3092f8f1634118ccbef Author: Bastien Nocera Date: Mon Apr 4 14:14:13 2016 +0200 ui-manager: Fix "format not a string literal" errors Quite a bit of code movement, but necessary to build with the default format errors produced by newer versions of GCC. https://bugzilla.gnome.org/show_bug.cgi?id=764585 gtk/deprecated/gtkuimanager.c | 129 +++++++++++++++++++++++++++--------------- 1 file changed, 82 insertions(+), 47 deletions(-) commit 85e37925f019f0232ad4b0813fc504fb7e2cf64f Author: Lapo Calamandrei Date: Mon Apr 4 12:03:11 2016 +0200 Adwaita: transparent textview border border So it will play nicely with gedit color combinations. See https://bugzilla.gnome.org/show_bug.cgi?id=764203 gtk/theme/Adwaita/_common.scss | 9 +++------ gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++--- gtk/theme/Adwaita/gtk-contained.css | 5 ++--- 3 files changed, 7 insertions(+), 12 deletions(-) commit d5b78d474a88f2b4f664e4637c57d5490d689a06 Author: Tom Tryfonidis Date: Mon Apr 4 09:28:23 2016 +0000 Updated Greek translation (cherry picked from commit 40afffb9fde9f2fc46d1fafd9dcdca7692e065ef) po/el.po | 197 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 99 insertions(+), 98 deletions(-) commit 2f0354fcf9b5a304e637735ad12cab0125849ca5 Author: Matthias Clasen Date: Sun Apr 3 23:39:18 2016 -0400 Move GdkDeviceManager to deprecated section It has been superseded by GdkSeat. docs/reference/gdk/gdk-docs.sgml | 2 +- gdk/gdkdevicemanager.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit 8ef12fda83a53a4459840363d0e44306ca91b5a8 Author: Matthias Clasen Date: Sun Apr 3 23:33:57 2016 -0400 Add an index for 3.22 api additions docs/reference/gdk/gdk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 9bfc8371fe3a5a08f841a6c008dafe3ff39d3841 Author: Matthias Clasen Date: Sun Apr 3 18:17:16 2016 -0400 wayland: Remove an unused vfunc gdk/wayland/gdkscreen-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit 59e40f3d6f6387bf327c228ffb86abe3c8d2931a Author: Matthias Clasen Date: Sat Apr 2 14:56:55 2016 -0400 wayland: Remove unused field gdk/wayland/gdkscreen-wayland.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 62a7447c5f465a07f43181551832d4708cfa2e56 Author: Kristjan SCHMIDT Date: Sun Apr 3 02:20:00 2016 +0200 Updated Esperanto translation po/eo.po | 8979 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 5754 insertions(+), 3225 deletions(-) commit f052f1554b7aa022e8423773f6c2e6e3a0771ce3 Author: Kristjan SCHMIDT Date: Sun Apr 3 00:46:18 2016 +0200 Updated Esperanto translation po-properties/eo.po | 6847 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 4163 insertions(+), 2684 deletions(-) commit 58891c1fe5f10f9823a8b61f4df1a1db9c0fd479 Author: Timm Bäder Date: Sat Apr 2 16:20:09 2016 +0200 headerbar: Don't underallocate the label box We use a label_sizing_box to make sure the headerbar can always contain both a title and a subtitle without resizing when showing/hiding either of them, but we should only do that for the height; the min width of the label_box can be larger than that of the label_sizing_box. gtk/gtkheaderbar.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit d23c6c624628d31fa7c9dd543c96af18954018c2 Author: Lapo Calamandrei Date: Sat Apr 2 16:24:52 2016 +0200 Adwaita: style textview border see https://bugzilla.gnome.org/show_bug.cgi?id=764203 gtk/theme/Adwaita/_common.scss | 37 ++++++++++++++++++++++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 25 ++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 25 ++++++++++++++++----- 3 files changed, 71 insertions(+), 16 deletions(-) commit f2f1725b408e873adcec82d273111d79352d4bd0 Author: Lapo Calamandrei Date: Sat Apr 2 16:03:02 2016 +0200 Adwaita: cosmetic fixes gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 10 +++++----- gtk/theme/Adwaita/gtk-contained.css | 10 +++++----- 3 files changed, 17 insertions(+), 17 deletions(-) commit 2784eacf008b13d4f6d1461adc046917ef0a18a5 Author: Carlos Garnacho Date: Fri Apr 1 19:09:03 2016 +0200 wayland: Avoid NULL slave devices in GdkSeat::get_slaves Just because we're asked for a capability, it doesn't mean we have it. gdk/wayland/gdkdevice-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b1205a9c9622e9b01b078e571309ab8d29c2685c Author: Lapo Calamandrei Date: Fri Apr 1 16:42:40 2016 +0200 Adwaita: set secondary caret color to selection blue see https://bugzilla.gnome.org/show_bug.cgi?id=764204 gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) commit 4bfa6c30bf6fdebad0c67feed2097aa327e6aa3e Author: Rui Matos Date: Thu Mar 31 20:56:01 2016 +0200 gtkwindow: Don't allow unresizable windows to be smaller than required Commit cdc580463e409a9b7e5f1480afa68d875ff3ff65 made it so that unresizable windows can't be smaller than a set default size but it lost the logic to ensure these windows remain at least big enough to comply with their requisition. https://bugzilla.gnome.org/show_bug.cgi?id=764174 gtk/gtkwindow.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 84dfda1a2b6bd57fe1a0bbaae108e88e4219d791 Author: Timm Bäder Date: Tue Feb 23 10:34:16 2016 +0100 widget: Always warn when underallocating widgets gtk/gtkwidget.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit 4c698bc82418f43076320819cdbb5af9ffd00e50 Author: Matthias Clasen Date: Thu Mar 31 20:31:00 2016 -0400 wayland: Print out more debug info Print out the subpixel layout and frame rates that the compositor sends us. gdk/wayland/gdkscreen-wayland.c | 54 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-) commit 4c10800bcc11d81a503255d6c6fa90405badd3ce Author: Alexander Larsson Date: Thu Mar 31 18:56:18 2016 +0200 gdkwindow: Remove O(n-children) code in gdk_window_invalidate When we invalidate a window we need to also invalidate all child windows that are native (non-native are automatically invalidated as we track invalidation once per native window only). This was done in a pretty inefficient way, recursing over the entire tree. This makes the invalidation much faster by only looking at the native children of the native window we're in, filtering out those that are not a descendant of the client side window we're interested in. Given that there are very few native subwindows this is much faster. gdk/gdkwindow.c | 92 +++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 63 insertions(+), 29 deletions(-) commit d1acb786a7436743697f7aede31d7e72dec1ffe7 Author: Matthias Clasen Date: Thu Mar 31 07:11:24 2016 -0400 icon theme: Make the builtin hicolor index match reality We were missing all of the status directories, and a few sizes. This was causing us to not find image-missing on systems without hicolor icon theme (this basically only happens on Windows). https://bugzilla.gnome.org/show_bug.cgi?id=764378 gtk/gtkicontheme.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit a93e477a4dd47b8729d240cc7f39767fc4cadb33 Author: Theppitak Karoonboonyanan Date: Thu Mar 31 09:12:58 2016 +0700 Updated Thai translation. po/th.po | 489 +++++++++++++++++---------------------------------------------- 1 file changed, 132 insertions(+), 357 deletions(-) commit 6faafbff6eab8992ef226ba40ca895876698b47d Author: Matthias Clasen Date: Wed Mar 30 21:54:04 2016 -0400 Use AM_DISTCHECK_CONFIGURE_FLAGS This is preferred over DISTCHECK_CONFIGURE_FLAGS in modern automake. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d8da5879aa194f75aed6cd47e29600cd8ad630fc Author: Matthias Clasen Date: Wed Mar 30 17:08:39 2016 -0400 Adwaita: theme acceleditor > label We need to have an opaque background here, otherwise the underlying cell shines through. https://bugzilla.gnome.org/show_bug.cgi?id=764376 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit 72178fd0c9083464970f79bf1baf54696c9c6bdc Author: Matthias Clasen Date: Wed Mar 30 17:08:02 2016 -0400 Accel cell renderer: Set a css name Give the event box we use here the distinctive name "acceleditor". gtk/gtkcellrendereraccel.c | 2 ++ 1 file changed, 2 insertions(+) commit 71a5f07620449be45067084b78183bb5661d5eb1 Author: Benjamin Otte Date: Wed Mar 30 21:41:08 2016 +0200 widget: queue a redraw only if resize highlighting is enabled e8aa9b0440e03e7002323922f862342db51c5f32 introduced a new debug mode that highlights resizes. Unfortunately it has the side effect of always queueing redraws even when the debug mode is not enabled. Make the redraw conditional. gtk/gtkwidget.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit fd143a2b38b0f24ef7315021a447d593f57b0a99 Author: Debarshi Ray Date: Tue Mar 29 19:58:21 2016 +0200 window: Make the sample code obey the party line on geometry widgets The geometry_widget parameter is deprecated [1]. If one is passed, we remove GDK_HINT_BASE_SIZE and GDK_HINT_RESIZE_INC from the mask [2]. [1] commit 08974a1e9a6099a5a94b9d56970dbf96e473ba87 [2] commit f7cc4abbad76f354cdc740e7fb9192719f72a89a https://bugzilla.gnome.org/show_bug.cgi?id=764321 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bde5281ae811179b11e8344c8312e58698e658cb Author: Руслан Ижбулатов Date: Tue Mar 15 16:10:34 2016 +0000 GDK W32: Use a dumb window class for decorative windows Currently only one kind of decorative window is in use - the shape indicator that is shown when snapping windows to the edge of the screen. When normal toplevel class is used, its window procedure expects certain motions from GDK (passing user data to CreateWindowEx(), registering handle in a hash map etc), and might crash if that is not done. Dumb window doesn't require anything, it can just be. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) commit cfbb8c525236f5f7b0af1e71c475be8faf450b26 Author: Руслан Ижбулатов Date: Tue Mar 15 10:17:45 2016 +0000 GDK W32: Add/subtract shadow when (un)snapping Now halfleft/halfright/fullup snaps do hug screen edges as intended. Documents AeroSnap behaviour when snapped windows are drag-resized (currently this implementation handles this in a very simplistic way). Don't believe GTK when it tells us that window shadow is 0, preserve previous values (but do remember that GTK wants no shadow, in case we need that). Fixes a couple of bugs in unsnapping (check offset against the half of the window; don't put pointer in the middle of the window vertically if it still fits in the top half). https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 145 +++++++++++++++++++++++++++++++++++++------- gdk/win32/gdkwindow-win32.h | 4 ++ 2 files changed, 128 insertions(+), 21 deletions(-) commit f853283d7b9f173d429aa49e2e976f0d23ef5c40 Author: Руслан Ижбулатов Date: Tue Mar 15 10:15:14 2016 +0000 GDK W32: Add/subtract shadow when drag-resizing Implements gdk_win32_window_set_shadow_width(). Uses shadow width/height to adjust max tracking size, allowing windows to be drag-resized to cover the whole desktop. Also uses SM_C*VIRTUALSCREEN instead of SM_C*MAXTRACK. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkevents-win32.c | 4 ++-- gdk/win32/gdkwindow-win32.c | 21 +++++++++++++++++++++ gdk/win32/gdkwindow-win32.h | 7 +++++++ 3 files changed, 30 insertions(+), 2 deletions(-) commit b0131616b259449d7478b1552f9370443aa28eab Author: Руслан Ижбулатов Date: Sat Mar 12 16:26:19 2016 +0000 GDK W32: Draw snap indicators for AeroSnap Indicator is a bare layered click-through native window, painted completely by GDK, including animation. This commit also isolates some of the more spam-ish debug logging under ifdef. This commit also changes the system metric used for maximal window height for the snapping purposes. Turns out, SM_CYMAXTRACK is way too large, use SM_CYVIRTUALSCREEN instead. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 527 ++++++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkwindow-win32.h | 33 +++ 2 files changed, 545 insertions(+), 15 deletions(-) commit b420c53773ca5119afb43f0f351cb8f33c2bcaf9 Author: Руслан Ижбулатов Date: Tue Mar 8 05:03:29 2016 +0000 GDK W32: Add drag-to-snap feature to AeroSnap This implements the part of AeroSnap that snaps windows when you drag them (while moving or resizing) to the edge of the screen. It also fixes drag behaviour for snapped and maximized windows (if such windows are dragged, first they must be unmaximized/unsnapped). Note that this code does not take into account the shadow width, and because of that the under-pointer-position-preserving window moves might not look as such for maximized windows, which lack the shadow when maximized, but do have the shadow when unmaximized. This commit also doesn't cover some corner-cases the same way AeroSnap does. Also, the snapping indicator (which is supposed to be a window shape that shows where the window will be if the drag op is stopped at its current point) is not being drawn, all routines responsible for its creation, moving and drawing are stubs. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 681 ++++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkwindow-win32.h | 43 +++ 2 files changed, 724 insertions(+) commit 2ea96cf9461474d9ffbe8efc64c5946d48441cf4 Author: Руслан Ижбулатов Date: Tue Mar 8 03:17:09 2016 +0000 GDK W32: Improve AeroSnap - don't resize windows that fit This is what AeroSnap does. If a window is being unsnapped on a new monitor, check if the work area is large enough for the window to fit in its normal size. If the window fits, just reposition it so that the ratio of left-window-edge-to-screen-edge / right-window-edge-to-screen-edge remains the same, without scaling the window. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 68 ++++++++++++++++++++++++++++++++++++++++----- gdk/win32/gdkwindow-win32.h | 3 ++ 2 files changed, 64 insertions(+), 7 deletions(-) commit 0ce217cf94c2a0c1c9936daded9dd5b6183cea32 Author: Руслан Ижбулатов Date: Tue Mar 8 02:33:47 2016 +0000 GDK W32: Re-implement AeroSnap for CSD windows It works exactly like AeroSnap. Except for shift+win+left/right, which is left for AeroSnap to handle (AeroSnap takes action before we get the message, so there's no way for us to override it). The only thing that doesn't work is shift+win+left/right on a maximized window, for reasons unknown at the moment. This only implements winkey+stuff behaviour of AeroSnap, not the drag-to-the-edge-and-something-funny-happens one. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkevents-win32.c | 42 +++++++ gdk/win32/gdkprivate-win32.h | 3 + gdk/win32/gdkwindow-win32.c | 273 +++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkwindow-win32.h | 51 ++++++++ 4 files changed, 369 insertions(+) commit 27a1b50bc63553909abf3958837114b65313a445 Author: Debarshi Ray Date: Tue Mar 29 19:29:31 2016 +0200 window: Fix gtk_window_set_geometry_hints documentation The geometry_widget parameter is ignored from 3.20 onwards [1], not 3.18 as mentioned in the documentation. [1] commit 08974a1e9a6099a5a94b9d56970dbf96e473ba87 https://bugzilla.gnome.org/show_bug.cgi?id=764321 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6267b6b6ebda8efa05b5638f66c471303d8f72d7 Author: Emmanuele Bassi Date: Tue Mar 29 16:24:14 2016 +0100 Bump to 3.21.0 Otherwise newly added API will start warning. configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 77eebbda5c69bdc890ef869d82d04b723265bf8b Author: Руслан Ижбулатов Date: Wed Mar 16 18:16:33 2016 +0000 GDK W32: Erase hidden layered windows before showing them If a layered window was hidden and is made visible, erase its contents before showing it. GDK will schedule a redraw, but until then we generally don't want to show old contents. https://bugzilla.gnome.org/show_bug.cgi?id=763783 gdk/win32/gdkevents-win32.c | 6 +-- gdk/win32/gdkprivate-win32.h | 3 ++ gdk/win32/gdkwindow-win32.c | 107 ++++++++++++++++++++++++++++++++++++------- 3 files changed, 97 insertions(+), 19 deletions(-) commit cea8c29a267808c7252eed4f36547153509db308 Author: Руслан Ижбулатов Date: Fri Mar 18 04:51:52 2016 +0000 GDK W32: Implement show_window_menu() This is achieved by sending undocumented message WM_SYSMENU to the window. Before doing that, the window is given WS_SYSMENU style (to enable window menu) and some combination of WS_MAXIMIZEBOX (for "Mazimize" item) WS_MINIMIZEBOX (for "Minimize" item) WS_SIZEBOX (for "Size" item) depending on which operations are currently permissible. WM_SYSMENU is processed by DefWindowProc(), which results in showing the window menu. We remove extra styles at the first opportunity (WM_INITMENU message), as they alter the way our window is rendered. https://bugzilla.gnome.org/show_bug.cgi?id=763851 gdk/win32/gdkevents-win32.c | 95 ++++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkprivate-win32.h | 12 ++++++ gdk/win32/gdkwindow-win32.c | 29 ++++++++++++++ gdk/win32/gdkwindow-win32.h | 11 +++++ 4 files changed, 147 insertions(+) commit 38f94194a62bc23eb7725e3692dc7a262e5b2e11 Author: Lapo Calamandrei Date: Tue Mar 29 15:06:11 2016 +0200 Adwaita: set caret-color for drop targets gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit e7cd3dddd8804f06303f4d0a83fff287818e6f7a Author: Lapo Calamandrei Date: Tue Mar 29 15:01:57 2016 +0200 Adwaita: cosmetic fix gtk/theme/Adwaita/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43a568395baf035b237edf6f2ddbb45977d21491 Author: Matthias Clasen Date: Mon Mar 28 19:54:55 2016 -0400 Add some tests for GdkRectangle In particular, we're testing corner cases with empty rectangles here. testsuite/gdk/Makefile.am | 1 + testsuite/gdk/rectangle.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) commit 669336cf95771ccb5852b57d15c76ff43a8788a4 Author: Matthias Clasen Date: Mon Mar 28 19:28:57 2016 -0400 Expand visual tests a bit testsuite/gdk/visual.c | 3 +++ 1 file changed, 3 insertions(+) commit 785a425516a54d3a2ed6c50b89a0993688a76709 Author: Matthias Clasen Date: Mon Mar 28 19:22:36 2016 -0400 Add tests for seat apis These are just some basic sanity tests. testsuite/gdk/Makefile.am | 1 + testsuite/gdk/seat.c | 120 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) commit 6f2d5a62909191052462ea4abe69f194ff140a2a Author: Matthias Clasen Date: Mon Mar 28 17:56:13 2016 -0400 Move autotestkeywords to testsuite All the 'make check' and installed tests are now in testsuite/, and tests/ is just a collection manual test programs. tests/Makefile.am | 21 --------------------- tests/autotestkeywords.cc | 39 --------------------------------------- testsuite/gtk/Makefile.am | 15 +++++++++++++++ testsuite/gtk/autotestkeywords.cc | 39 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 60 deletions(-) commit a91237d65e91cf7dc1581fabf9245ca89e988088 Author: Benjamin Otte Date: Tue Dec 1 17:25:54 2015 +0100 window: Remove suspicious branch While this commit was found to make emacs windows shrink (and it was reverted in the gtk-3-20 branch for that reason), that was the only observed breakage, while the reversal broke several of our unit tests. Closer study of the emacs sources revealed that it does some really unsupportable things like doing its own X event handling behind GTK+'s back and freely mixing sizes of GtkWindows and GdkWindows obtained in various ways. I've filed a bug against emacs with suggestions for how to avoid the shrinking window, regardless of this commit. Original commit message: It seems this branch is not needed anymore. It was originally added in 1999 to support gtk_widget_realize(), but all those reasons seem obsolete today. Instead just call gtk_widget_realize(). If you end up at this commit when bisecting: There is no bug that made me remove this code, it was purely meant to be cleanup / dead code removal. I seem to have introduced a new bug or bisecting wouldn't have let you here. So it seems we should just revert this commit. gtk/gtkwindow.c | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) commit aeed695e26619c009f72cb72fcae8bcd50713da6 Author: Timm Bäder Date: Mon Mar 28 18:18:20 2016 +0200 gtkapplication: _get_app_menu can return NULL gtk/gtkapplication.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a9f94ba67f6d02c2f0deab70c9386b9dab7a8b75 Author: Aurimas Černius Date: Mon Mar 28 17:48:10 2016 +0300 Updated Lithuanian translation po/lt.po | 184 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 98 insertions(+), 86 deletions(-) commit 568feffa699b75ba16023069297ca887d18000ff Author: Matthias Clasen Date: Sun Mar 27 19:00:31 2016 -0400 Use dngettext instead of ngettext Since we are a library, we have to pass the domain explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=764261 gtk/gtkplacesviewrow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5dabfa7b39afdf923b301856161fa482c4dbefe6 Author: Matthias Clasen Date: Sun Mar 27 10:59:59 2016 -0400 places sidebar: Plug a small memory leak _gtk_trash_moniotr_get_icon is transfer full, so we have to unref the icon. gtk/gtkplacessidebar.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit b6b53fc19c1027c8fe4c9bd730056ba8fdff77a8 Author: Cosimo Cecchi Date: Sun Mar 27 08:39:44 2016 -0700 GtkClipboard: fix a typo gtk/gtkclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit efea673c3148020b6a0bdc814cda00b82199ee78 Author: Cosimo Cecchi Date: Sun Mar 27 08:35:13 2016 -0700 GtkCssSection: remove duplicated documentation Fixes a build time warning. gtk/gtkcsssection.c | 10 ---------- gtk/gtkcsssection.h | 7 +++++-- 2 files changed, 5 insertions(+), 12 deletions(-) commit 26f9dc65087d430b26dc6476c596a81eb8572b2f Author: Cosimo Cecchi Date: Sat Mar 26 22:36:12 2016 -0700 scale: fix marks node position for scales with value We should only count the value node as the first/last one if its position matches. gtk/gtkscale.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9f48b6b07aacf4d3791f8a24ffd281ed6489c154 Author: Cosimo Cecchi Date: Sat Mar 26 20:50:59 2016 -0700 range: use gadget pointers for grab/mouse locations Simplify code and remove the mouse location indirection. gtk/gtkrange.c | 253 +++++++++++++++++++++++---------------------------------- 1 file changed, 103 insertions(+), 150 deletions(-) commit 6efc06ef5c946c4fead4e411207a41ba154d3b31 Author: Cosimo Cecchi Date: Sat Mar 26 19:11:41 2016 -0700 scale: remove impossible case We only create the gadget when the markup is not empty, so we don't need to check again here. gtk/gtkscale.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit b9899102935c801892d131031f2f92e752239dfa Author: Cosimo Cecchi Date: Sat Mar 26 19:07:36 2016 -0700 scale: cache pango layouts for mark labels Constantly creating pango layouts while drawing means that animations will be slow. Instead, cache the pango layout in the mark structure. gtk/gtkscale.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 7e15ac8927ec5b5b89dd1f36e3996dc2af9a62b2 Author: Matthias Clasen Date: Sat Mar 26 23:32:45 2016 -0400 Add an index for 3.22 api additions docs/reference/gtk/gtk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 100cf2442e40d29e4b83a5eae663e30ad58eaf09 Author: Matthias Clasen Date: Sat Mar 26 23:30:21 2016 -0400 Add a function to get the selection of a clipboard This was requested in http://bugzilla.gnome.org/show_bug.cgi?id=730821 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkclipboard.c | 18 ++++++++++++++++++ gtk/gtkclipboard.h | 2 ++ 3 files changed, 21 insertions(+) commit cb738bc201a5b75d0ca54dfb51807f554e28087e Author: Matthias Clasen Date: Sat Mar 26 23:17:53 2016 -0400 Remove private clipboard api from public headers gtk/gtkapplication.c | 2 +- gtk/gtkclipboard.h | 4 ---- gtk/gtkclipboardprivate.h | 4 ++++ gtk/gtkmain.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 0d0980f30e6fc6c5b95486600126bc65f929c0ba Author: Matthias Clasen Date: Sat Mar 26 18:59:02 2016 -0400 filter model: Mark property nicks and blurbs for translation Better descriptions are not going to happen... might as well admit it. gtk/gtktreemodelfilter.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit b1b271ab091f21497aa2419f22df1c80680aa40c Author: Matthias Clasen Date: Sat Mar 26 18:53:55 2016 -0400 Drop some more code This ifdefed out function was only used in the code I just nuked, so it can go as well. gtk/gtkfilechooserdialog.c | 19 ------------------- 1 file changed, 19 deletions(-) commit 543ad3aabb852f407196fa75a6cf038524e11b75 Author: Matthias Clasen Date: Sat Mar 26 18:52:04 2016 -0400 file chooser: Drop unused code We've never restored filechooser positions, and we aren't going to. gtk/gtkfilechooserdialog.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 59d8cba48229f03ab7657ae3258174f1cd6d41fd Author: Matthias Clasen Date: Sat Mar 26 18:48:27 2016 -0400 wayland: Get min/max keycode from xkb keymap Instead of hardcoding 8/255 here. gdk/wayland/gdkkeys-wayland.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7249897dc80f5dbe8c03885b1b103f1fe93c75f2 Author: Matthias Clasen Date: Sat Mar 26 18:39:39 2016 -0400 Drop irritating FIXMEs in docs There is nothing to fix here, so don't make gnome-builder pick these lines up for its todo list. docs/reference/gtk/getting_started.xml | 42 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit 8d874cf0f8e404d22e936afd8713f1ec7b3dab15 Author: Matthias Clasen Date: Sat Mar 26 18:18:50 2016 -0400 Stop using pango_split_file_list Add a copy of this deprecated utility in gtkutils.c and use it instead of the pango API. gtk/Makefile.am | 2 +- gtk/gtkmodules.c | 11 +++----- gtk/gtkutils.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkutilsprivate.h | 2 ++ gtk/queryimmodules.c | 5 ++-- 5 files changed, 82 insertions(+), 11 deletions(-) commit 6994fe03ee3f533583b6717ad979937143157c9f Author: Matthias Clasen Date: Sat Mar 26 18:12:16 2016 -0400 Split off copied pango utils in their own source This will make it easier to use them in more than one place. gtk/Makefile.am | 2 + gtk/gtkimmodule.c | 160 +++-------------------------------------- gtk/gtkutils.c | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkutilsprivate.h | 16 +++++ 4 files changed, 221 insertions(+), 150 deletions(-) commit e2d89b9931f45df01308be236d7deecf515faf49 Author: Matthias Clasen Date: Sat Mar 26 17:32:37 2016 -0400 Revert "window: Remove suspicious branch" This reverts commit 67ab00e01ec06d7b05a82c3d80b235ac6c4abfd2. Bisection showed that this commit caused emacs windows to shrink to a small size when first shown. gtk/gtkwindow.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) commit 1057f249bdc54c2f57e94bb9e74ffb9b1cab7ec5 Author: Matthias Clasen Date: Sat Mar 26 16:08:01 2016 -0400 wayland: Add debug output for pixel formats Use GDK_DEBUG=misc to see information about wl_shm pixel formats supported by the compositor. gdk/wayland/gdkdisplay-wayland.c | 92 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit f06fc8d378521866c19d4e52b3b97addb750805d Author: Matthias Clasen Date: Sat Mar 26 15:15:28 2016 -0400 Deprecate gdk_visual_get_colormap_size Since we don't have API for colormaps anymore, this is not a useful function. gdk/gdkvisual.c | 7 +++++++ gdk/gdkvisual.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit ce0074b034b2b89afd47a344824fa24e1857329f Author: Matthias Clasen Date: Sat Mar 26 15:06:10 2016 -0400 Deprecate gdk_visual_get_byte_order This function is only useful when working with XImages, and is not meaningfully implemented in other backends. gdk/gdkvisual.c | 8 +++++++- gdk/gdkvisual.h | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) commit c6cdddd68d248c1ba3ea0d09c844e8bec5e187a1 Author: Matthias Clasen Date: Sat Mar 26 14:58:48 2016 -0400 wayland: Fix up visual implementation Don't return visuals that don't match the requested depth and/or visual type. gdk/wayland/gdkscreen-wayland.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 89973118f3a3624e36cdbe6ca8235f75e8281f8e Author: Matthias Clasen Date: Sat Mar 26 14:56:36 2016 -0400 Add some more visual tests These are just basic tests to ensure that the visual implementation of a backend is sound. testsuite/gdk/visual.c | 130 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 125 insertions(+), 5 deletions(-) commit aa4c5459b77b7afd6885290f5159d9828edbfcb1 Author: Matthias Clasen Date: Sat Mar 26 14:20:23 2016 -0400 Deprecate gdk_visual_get_bits_per_rgb This function is pretty useless, since the Wayland backend returns 0 for this, and the Windows backend 42 (!). gdk/gdkvisual.c | 3 +++ gdk/gdkvisual.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit c448061d49f1e4ee1879aaca6e4b8d9554c2cb7c Author: Matthias Clasen Date: Sat Mar 26 14:08:10 2016 -0400 Add version macros for 3.22 gdk/gdkversionmacros.h.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 7fe1037e84ffa867d83e73801ed59beea05bce2a Author: Matthias Clasen Date: Sat Mar 26 13:50:42 2016 -0400 range: Simplify highlight allocation Since we are really only interested in the center point of the slider allocation, the pre-computed slider geometry is perfectly fine, just use it always. This avoids the complication with gadget visibility. gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit e33188ad41095112a4342d570ab441f18d2e1416 Author: Matthias Clasen Date: Sat Mar 26 10:50:00 2016 -0400 range: Avoid miscalculating highlight allocation The slider gadget may be turned invisible as side-effect of gtk_range_calc_slider(). If that happens, gtk_css_gadget_get_content_allocation() returns { 0, 0, 0, 0}, which leads us to calculate a negative allocation for the highlight node. Avoid this, by just reusing our already calculated slider allocation in this case (it is not technically the same as the content, allocation, but the difference hardly matter here. https://bugzilla.gnome.org/show_bug.cgi?id=764022 gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2374e2aa3b723c7352135b5a5964c96fff86a8f6 Author: Matthias Clasen Date: Sat Mar 26 10:09:19 2016 -0400 Add a test for the system rgba visual The main point of this test is to ensure that the pixel_details getters work as expected. testsuite/gdk/Makefile.am | 1 + testsuite/gdk/visual.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) commit e48e29db3b26cd702812d8e105be597e242ec81f Author: Matthias Clasen Date: Sat Mar 26 10:10:16 2016 -0400 wayland: Fully initialize the visual The pixel details (mask, shift and precision) are supposed to be filled in for TrueColor visuals. gdk/wayland/gdkscreen-wayland.c | 5 +++++ 1 file changed, 5 insertions(+) commit 8206b824fa3cba5cbc7ddec0a1ccec7828f37dc5 Author: Matthias Clasen Date: Sat Mar 26 09:32:51 2016 -0400 Make gdk_visual_get_*_pixel_details work again These functions are supposed to return the numbers of consecutive 1 bits in each components mask as precision. However, due to a copy-paste mistake when this code was moved around in commit 70d689cddda0dc616af97e8ed047d0c0acf7c7a6, the precision was always reported as zero. This affects only a few applications that directly set window background on X11 windows, such as emacs. https://bugzilla.gnome.org/show_bug.cgi?id=764210 gdk/gdkvisual.c | 1 - 1 file changed, 1 deletion(-) commit 120c296ff6e349032f8753a5d1321def7070bd11 Author: Jordi Mas Date: Sat Mar 26 08:10:28 2016 +0100 Update Catalan translation po/ca.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 82bde5b84d20b27616a03d3075f192f5521502bf Author: Matthias Clasen Date: Fri Mar 25 22:43:57 2016 -0400 HighContrastInverse: Fix suggested-action colors Choose a suitable foreground color instead of hardcoding white. https://bugzilla.gnome.org/show_bug.cgi?id=764170 gtk/theme/HighContrast/_common.scss | 18 +++++++++--------- gtk/theme/HighContrast/gtk-contained-inverse.css | 8 ++++---- gtk/theme/HighContrast/gtk-contained.css | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) commit fab9c17b89341c294f69f3d320e87481dbd15301 Author: Matthias Clasen Date: Fri Mar 25 22:36:50 2016 -0400 gtk3-demo: Show more button styles Add examples for suggested-action and destructive-action buttons in the style classes example. demos/gtk-demo/theming.ui | 37 +++++++++++++++++++++++++++++++++- demos/gtk-demo/theming_style_classes.c | 1 + 2 files changed, 37 insertions(+), 1 deletion(-) commit 258ba6c8a4fc9ae71d6b8137f1b30b3475526502 Author: Matthias Clasen Date: Fri Mar 25 22:39:53 2016 -0400 gtk3-demo: Rename "CSS Theming" group Call it just "Themeing" to avoid the repetition of CSS. demos/gtk-demo/css_accordion.c | 2 +- demos/gtk-demo/css_basics.c | 2 +- demos/gtk-demo/css_multiplebgs.c | 2 +- demos/gtk-demo/css_pixbufs.c | 2 +- demos/gtk-demo/css_shadows.c | 2 +- demos/gtk-demo/theming_style_classes.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 12bc02db94494b5d5f50b80be7492695141063d7 Author: Balázs Úr Date: Sat Mar 26 00:47:32 2016 +0000 Updated Hungarian translation po/hu.po | 429 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 219 insertions(+), 210 deletions(-) commit b9b67e05e1f1f036322addafcd1479aebbc0fde5 Author: Руслан Ижбулатов Date: Sat Mar 19 09:49:56 2016 +0000 GDK W32: Optimize clipboard handling a bit Delay as long as possible before calling OpenClipboard(), call CloseClipboard() as quickly as possible after that. Don't call OpenClipboard() when we don't need to (for example, we don't need to open clipboard to call GetClipboardOwner()). Also, print out actual W32 error code in some cases where it was not printed before. https://bugzilla.gnome.org/show_bug.cgi?id=763907 gdk/win32/gdkdisplay-win32.c | 46 ++++++++++++++++++++++++------------------ gdk/win32/gdkproperty-win32.c | 13 ++++++------ gdk/win32/gdkselection-win32.c | 4 ++-- 3 files changed, 35 insertions(+), 28 deletions(-) commit 692c3b11ff3877de90b653536d13dafc4e879ab8 Author: Руслан Ижбулатов Date: Mon Mar 21 16:25:19 2016 +0000 GDK W32: Print error code along with the error message Error codes can be easily looked up in an error code list and/or googled up. Error messages, while descriptive, often describe the wrong thing, and the messages themselves are not part of the documentation of a function, unlike error codes. It would be preferable to have the code, or both. https://bugzilla.gnome.org/show_bug.cgi?id=763913 gdk/win32/gdkmain-win32.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit c4c00299b2a136d3440801a27fae2a156ca75093 Author: Руслан Ижбулатов Date: Sat Mar 19 11:59:13 2016 +0000 GDK W32: Print more debug info about events 1) Print timestamps for events 2) Print wParam and lParam (in hex form) for messages https://bugzilla.gnome.org/show_bug.cgi?id=763913 gdk/win32/gdkevents-win32.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 24d2f85b2313b51cc3bde2b747c5fff9841baa26 Author: Piotr Drąg Date: Fri Mar 25 21:27:21 2016 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 72346cb2092f08bcbd8fb5fc0f4ad4fc61f7dd74 Author: Christoph Reiter Date: Fri Mar 25 13:42:31 2016 +0100 inspector: add slider for adjusting the font scale https://bugzilla.gnome.org/show_bug.cgi?id=761435 gtk/inspector/visual.c | 26 ++++++++++++++++++++++++++ gtk/inspector/visual.ui | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) commit 826f729b6fae10ed34890c04ebc5b169f74f1521 Author: Matthias Clasen Date: Fri Mar 25 15:52:22 2016 -0400 stack switcher: Add a missing include gtk/gtkstackswitcher.c | 1 + 1 file changed, 1 insertion(+) commit 6ac7b54378ad1a8468df889744321bd61ab9e565 Author: Matthias Clasen Date: Sun Dec 13 18:43:10 2015 -0500 dnd: Move GtkDragDest to a separate file This follows what was done for GtkDragSource in 415030d25f2552d3937ee3c394c50d22c5382982 and shaves another 500 lines off gtkdnd.c. gtk/Makefile.am | 2 + gtk/deprecated/gtkcolorsel.c | 1 + gtk/gtk.h | 1 + gtk/gtkcalendar.c | 1 + gtk/gtkcolorbutton.c | 1 + gtk/gtkdnd.c | 495 +----------------------------------------- gtk/gtkdnd.h | 88 -------- gtk/gtkdndprivate.h | 15 ++ gtk/gtkdragdest.c | 500 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkdragdest.h | 110 ++++++++++ gtk/gtkfilechooserbutton.c | 1 + gtk/gtkfilechooserwidget.c | 1 + gtk/gtkplacessidebar.c | 1 + gtk/gtkselection.h | 21 ++ gtk/gtksocket.c | 1 + 15 files changed, 659 insertions(+), 580 deletions(-) commit db93386f23807b4153a88775d50c7504f623a016 Author: Wolfgang Stöggl Date: Fri Mar 25 18:20:27 2016 +0000 Updated German translation (cherry picked from commit 5e5372ce74cfd06498dee1938f0249d1039ede16) po-properties/de.po | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) commit ea21ee30392df2201a08594cf56d2857e105d628 Author: Wolfgang Stöggl Date: Fri Mar 25 18:17:41 2016 +0000 Updated German translation (cherry picked from commit c08f4bd2a93e779158ed221c7ea75a9df8ffd35f) po/de.po | 238 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 129 insertions(+), 109 deletions(-) commit d47c7f7ba01d12a529bf25ccee099046754f5538 Author: Mohammed Sadik Date: Fri Mar 25 18:08:07 2016 +0530 gtkaboutdialog: don't break ABI in GtkLicense enum As the elements in the enum are not explicitly numbered, inserting an element between some other elements shall change the values of elements after the insertion. So append the new element at the end. Anyway, no code should rely on the position of an element in an enum. https://bugzilla.gnome.org/show_bug.cgi?id=763850 gtk/gtkaboutdialog.c | 4 ++-- gtk/gtkaboutdialog.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) commit 4c8557fa35e6e0705a21e084479606e749e823cc Author: Matthias Clasen Date: Fri Mar 25 13:12:00 2016 -0400 Add a css node test for scales testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/scale.nodes | 63 +++++++++++++++++++++++++++ testsuite/css/nodes/scale.ui | 94 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 158 insertions(+) commit 5d34cf64a2f5a3c7f58732a500b2c5b2b0ceba47 Author: Olivier Fourdan Date: Thu Mar 24 11:32:24 2016 +0100 popover: raise when showing Some other widget might have mapped and raised another child window of the toplevel in the meantime, causing the popover window to be covered. Raise the popover window to avoid the issue. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=763627 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 19034a235265b927325ffcebe3cff6f37503784d Author: Jordi Mas Date: Fri Mar 25 14:27:16 2016 +0100 Fix Catalan translation po/ca.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit fae1effec9da605f058223724503ce8a417f1f2c Author: Milo Casagrande Date: Fri Mar 25 10:58:30 2016 +0000 Updated Italian translation (cherry picked from commit be624e71f43ffe8ec5351fbce575388561c5a240) po-properties/it.po | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 65687ba3921f0d5db8b17a85a526a906b614fa0f Author: Razvan Chitu Date: Mon Mar 14 11:55:00 2016 +0200 trashmonitor: change trash monitoring process The trash is monitored for state changes - going from empty to non-empty and the other way round. Monitoring is done by handling change signals from a regular file monitor. On each signal, an enumeration of the trash contents is started in order to see if it is empty or not. This causes issues when many files are trashed, because the gvfs trash backend is flooded with enumeration requests, resulting in CPU usage spikes. In order to fix this, the "item-count" attribute of the trash should be queried instead. Replace asynchronous enumeration with asynchronous information query and update the trash state based on the "item-count" attribute. Emit state change signal only when the state actually changes. https://bugzilla.gnome.org/show_bug.cgi?id=763600 gtk/gtktrashmonitor.c | 78 ++++++++++++++++++--------------------------------- 1 file changed, 28 insertions(+), 50 deletions(-) commit 40e777ae30d0dcd14dd615958f3ebfa53e5f069b Author: Mohammed Sadik Date: Fri Mar 18 19:48:29 2016 +0530 gtkaboutdialog: Add support for GNU Affero GPLv3+ Add support for GNU Affero GPLv3 (or later) to GtkLicense enum https://bugzilla.gnome.org/show_bug.cgi?id=763850 gtk/gtkaboutdialog.c | 1 + gtk/gtkaboutdialog.h | 3 +++ 2 files changed, 4 insertions(+) commit caa804613d9c5253cec75e4bb7920b3110c0bd57 Author: Matthias Clasen Date: Thu Mar 24 08:24:45 2016 -0400 add a css style test for font: smaller testsuite/css/style/Makefile.am | 1 + testsuite/css/style/font.css | 7 +++++++ testsuite/css/style/font.nodes | 12 ++++++++++++ testsuite/css/style/font.ui | 19 +++++++++++++++++++ 4 files changed, 39 insertions(+) commit 447325b1e475c2f9fb21e62daf3d6f91b74581d5 Author: Matthias Clasen Date: Thu Mar 24 21:34:35 2016 -0400 3.20.1 NEWS | 34 ++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) commit 24f54d50c4c9ce14d1b0d28315a7fa349a57b5c2 Author: Matthias Clasen Date: Thu Mar 24 22:27:12 2016 -0400 Update css node test for GtkSwitch changes testsuite/css/nodes/buttons.nodes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1716e0b038f901b8b94a4614a6f7f59d0c654c79 Author: Matthias Clasen Date: Thu Mar 24 21:18:27 2016 -0400 Revert "add a css style test for font: smaller" This reverts commit a4ed154b037aaf03f8c166a711c326a030225eed. The misparsing that is tested here will not be fixed in 3.20, so keep this test out of the stable branch. testsuite/css/style/Makefile.am | 1 - testsuite/css/style/font.css | 7 ------- testsuite/css/style/font.nodes | 12 ------------ testsuite/css/style/font.ui | 19 ------------------- 4 files changed, 39 deletions(-) commit b3ad4af96961ceda2d70e72cb7fb9afe17f0f912 Author: Mario Blättermann Date: Fri Mar 25 00:41:41 2016 +0000 Updated German translation po-properties/de.po | 1755 ++++++++++++++++++++++++++------------------------- 1 file changed, 889 insertions(+), 866 deletions(-) commit cd78fa15eda0638180ba5ffd4d6eccb2cbfefb86 Author: Benjamin Otte Date: Thu Mar 24 19:50:45 2016 +0100 menu: Clip children to view window Don't overdraw the arrow allocations. https://bugzilla.gnome.org/show_bug.cgi?id=764118 gtk/gtkmenu.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 31a032e04285418b4db306c83feb99c12add5f91 Author: Inaki Larranaga Murgoitio Date: Thu Mar 24 20:17:19 2016 +0100 Updated Basque language po/eu.po | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b08ba9def0ff63783d1d5217c970f58c306a472e Author: Inaki Larranaga Murgoitio Date: Thu Mar 24 20:15:34 2016 +0100 Updated Basque language po/eu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5875101a347572ccbab3ac952c48cb2ef4ff61b3 Author: Inaki Larranaga Murgoitio Date: Thu Mar 24 20:14:02 2016 +0100 Updated Basque language po-properties/eu.po | 3315 +++++++++++++++++++++++++++------------------------ 1 file changed, 1747 insertions(+), 1568 deletions(-) commit 1f16eb4344817f701e06cc5cec1de96c3a29937a Author: Inaki Larranaga Murgoitio Date: Thu Mar 24 19:59:24 2016 +0100 Updated Basque language po/eu.po | 1408 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 780 insertions(+), 628 deletions(-) commit ac62bc0df9a363de37da70d7cd3da80ea32f7f22 Author: Jakub Steiner Date: Thu Mar 24 16:43:20 2016 +0100 High Contrast Inverse: switches - make sure both non active and active states are contrasty https://bugzilla.gnome.org/show_bug.cgi?id=763802 gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 6 +++--- gtk/theme/HighContrast/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 7ac7b523d8eddb4ecd2f17b883e648e4c27e61d8 Author: Jakub Steiner Date: Thu Mar 24 16:35:19 2016 +0100 High Contrast Inverse: set contrasty selected items - selected bg was set lighter without appropriate fg color https://bugzilla.gnome.org/show_bug.cgi?id=763804 gtk/theme/HighContrast/_colors.scss | 4 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 246 +++++++++++------------ 2 files changed, 125 insertions(+), 125 deletions(-) commit adb2b5c758450ce504f12fa83935d54a71e0adf0 Author: Jakub Steiner Date: Thu Mar 24 16:32:01 2016 +0100 High Contrast Inverse: scale trough fix - make the trough more visible for HCI https://bugzilla.gnome.org/show_bug.cgi?id=763805 gtk/theme/HighContrast/_colors.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7e72f42483e930155ace2faa33750f7ca94912df Author: Piotr Drąg Date: Thu Mar 24 15:35:11 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit a4ed154b037aaf03f8c166a711c326a030225eed Author: Matthias Clasen Date: Thu Mar 24 08:24:45 2016 -0400 add a css style test for font: smaller testsuite/css/style/Makefile.am | 1 + testsuite/css/style/font.css | 7 +++++++ testsuite/css/style/font.nodes | 12 ++++++++++++ testsuite/css/style/font.ui | 19 +++++++++++++++++++ 4 files changed, 39 insertions(+) commit 16dc164292dcc53a189e71679a8834be46f02068 Author: Lapo Calamandrei Date: Thu Mar 24 13:15:23 2016 +0100 Adwaita: avoid sizing transition on the scale... ... since it ends up jumpy. gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit f5b6ab4557c92a65591c46ffb48ef475714fab30 Author: Lapo Calamandrei Date: Thu Mar 24 11:33:33 2016 +0100 Adwaita: placesview connect to server label padding adds some padding to the "connect to server" label gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 12 insertions(+) commit aa821429b179da70f4722e36803ec28b38515f89 Author: Lapo Calamandrei Date: Thu Mar 24 11:25:52 2016 +0100 Adwaita: fix menu scroll arrows positioning adresses the style part of https://bugzilla.gnome.org/show_bug.cgi?id=764118 gtk/theme/Adwaita/_common.scss | 20 ++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 49 +++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 49 +++++++++++++++++++------------- 3 files changed, 73 insertions(+), 45 deletions(-) commit dc2e5fdf9ce4d457b684e410a6ce25e268897bf8 Author: Dušan Kazik Date: Thu Mar 24 06:51:38 2016 +0000 Updated Slovak translation po/sk.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 41195f63005a9134662b7d2f09697bb1172062cf Author: Benjamin Otte Date: Wed Mar 23 18:14:57 2016 +0100 switch: An active switch is :checked Fix an oversight that should have happened in the gadget refactoring: An active switch should be :checked, just like togglebuttons, checkbuttons, etc. gtk/gtkswitch.c | 4 ++-- gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 10 +++++----- gtk/theme/HighContrast/_common.scss | 10 +++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 10 +++++----- gtk/theme/HighContrast/gtk-contained.css | 10 +++++----- gtk/theme/win32/gtk-win32-base.css | 2 +- 8 files changed, 32 insertions(+), 32 deletions(-) commit 3f077ec36f4a59e803c9f4509996269c862e04af Author: Christoph Reiter Date: Wed Mar 16 19:25:30 2016 +0100 quartz: fix pixelated image surfaces in retina/hidpi mode gtk+ currently depends on the scaling factor and the cairo device scale of both the backend surfaces and image surfaces to be equal. Until now we didn't apply a cairo device scale at all and depended on the automatic scaling of CGContexts. This works when drawing with cairo but fails in case of image surfaces, which get requested at a too small size. To make the quartz backend behave more like the X11 one, set the cairo device scale on the surface in gdk_quartz_ref_cairo_surface(). As this conflicts with the default scaling done by CGContext (we would get double scaling) undo the CGContext scaling using CGContextScaleCTM(). This patch is based on the following patches by Brion Vibber: https://bugzilla.gnome.org/show_bug.cgi?id=740199#c4 https://bugs.freedesktop.org/show_bug.cgi?id=69796#c4 https://bugzilla.gnome.org/show_bug.cgi?id=763779 gdk/quartz/gdkwindow-quartz.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 3a5848820c0f7d67b6054d872e2e7a1ee6e42de6 Author: Stas Solovey Date: Wed Mar 23 15:23:08 2016 +0000 Updated Russian translation po/ru.po | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit 1355f0082562be7277a87e405cf0314e53c172c1 Author: Fran Dieguez Date: Wed Mar 23 11:20:59 2016 +0000 Updated Galician translation po/gl.po | 109 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 53 deletions(-) commit 0ab7be8d570481984d730753e74c62d87dc5e896 Author: Matej Urbančič Date: Tue Mar 22 22:28:03 2016 +0100 Updated Slovenian translation po/sl.po | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) commit aac8b0120fd28cfa444327b0fc5ae716fa55e90a Author: Stas Solovey Date: Tue Mar 22 20:19:44 2016 +0000 Updated Russian translation po/ru.po | 96 ++++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 54 insertions(+), 42 deletions(-) commit d6ca66b712bcd2810498aec560cd01e42880f647 Author: Matthias Clasen Date: Tue Mar 22 14:55:55 2016 -0400 Run a11y tests with csd for make check I've made this change for installed tests a while ago. It doesn't make sense for distcheck to do it differently. testsuite/a11y/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 65927caf84aae82f1938604e291367335a98116e Author: Matthias Clasen Date: Tue Mar 22 08:20:20 2016 -0400 inspector: Look for themes in system data dirs This matches what GTK+ does now. gtk/inspector/visual.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 052e82db04294102fe0f9766d941b7963ec5335b Author: Matthias Clasen Date: Tue Mar 22 08:19:19 2016 -0400 Fix an accidentally deleted line Not sure when this went missing, just fix the formatting. NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f46aad3a32933d03f8bd2d7567d7e6ced87dfd7d Author: Daniel Mustieles Date: Tue Mar 22 11:28:57 2016 +0000 Updated Spanish translation po/es.po | 131 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 73 insertions(+), 58 deletions(-) commit 4173360bb3c781bc19ce7dab0d69f78b6992e8df Author: Dušan Kazik Date: Tue Mar 22 06:35:00 2016 +0000 Updated Slovak translation po/sk.po | 132 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 72 insertions(+), 60 deletions(-) commit 3e375a6c8198ca88833fb6ec56c3a8c141791808 Author: Zahari Yurukov Date: Tue Mar 22 07:19:04 2016 +0200 Added Bulgarian translation po/bg.po | 3706 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 1670 insertions(+), 2036 deletions(-) commit 7cb36aba404c699f83579e039d6e97525b261231 Author: Matthias Clasen Date: Thu Mar 17 00:57:45 2016 -0400 Load theme settings from the right location When loading a per-theme settings.ini file, look for it in the same directory where we found the gtk.css file for the theme. Previously, we were always looking in $prefix/share/themes/THEME/gtk-3.0/, even if the css was loaded from somewhere else. https://bugzilla.gnome.org/show_bug.cgi?id=641354 gtk/gtkcssprovider.c | 42 +++++++++++++++++++++++++++--------------- gtk/gtkcssproviderprivate.h | 4 +++- gtk/gtksettings.c | 17 +++++++++-------- gtk/inspector/visual.c | 2 +- 4 files changed, 40 insertions(+), 25 deletions(-) commit 475d916eb92c0106d09525bcca938f05fd6a81b5 Author: Matthias Clasen Date: Thu Mar 17 00:32:53 2016 -0400 Also look in system data dirs for themes With this change, we now look in $XDG_DATA_HOME/themes/THEME/gtk-3.x $HOME/.themes/THEME/gtk-3.x $XDG_DATA_DIRS/themes/THEME/gtk-3.x GTK_DATA_PREFIX/themes/THEME/gtk-3.x https://bugzilla.gnome.org/show_bug.cgi?id=641354 gtk/gtkcssprovider.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit c48bc48dda852519e1951b03eb222a89a62efd29 Author: Christian Hergert Date: Wed Mar 16 23:35:20 2016 -0700 wayland: avoid dropping surfaces when possible If the configure-event gives us the same size as we had before, which is common for animation resizes, then try to keep the existing buffer around. This saves us a memfd_create() syscall on every frame. https://bugzilla.gnome.org/show_bug.cgi?id=763350 gdk/wayland/gdkwindow-wayland.c | 5 +++++ 1 file changed, 5 insertions(+) commit 7c2f81bcd9b0d0c105351a5d7c643e0eaf430e7c Author: Ask Hjorth Larsen Date: Mon Mar 21 22:20:26 2016 +0100 Updated Danish translation po-properties/da.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit ee94f9ff890d784301b8ede8f11beb50ef855c5d Author: Lapo Calamandrei Date: Mon Mar 21 19:42:54 2016 +0100 Adwaita: simplify treeview:drop(active) code gtk/theme/Adwaita/_common.scss | 17 +++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++--------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++--------- 3 files changed, 15 insertions(+), 30 deletions(-) commit 73fe852be00604324d6e7aeb98a9a1e557b9c8ea Author: Matthias Clasen Date: Wed Mar 16 14:03:44 2016 -0400 gtk-demo: Improve markup demo Add squiggly underlines and background, and make the markup editable. https://bugzilla.gnome.org/show_bug.cgi?id=763741 demos/gtk-demo/markup.c | 71 ++++++++++++++++++++++++++++++++++++++++++++--- demos/gtk-demo/markup.txt | 4 +-- 2 files changed, 69 insertions(+), 6 deletions(-) commit 45dfdbce3f51bf00b16703717522778cb0a35bf8 Author: Benjamin Otte Date: Wed Mar 16 00:35:45 2016 +0100 textview: Track differences between ink and logical rects This way, we can ensure that we queue redraws on the full ink rect. This is particularly visible for squiggly underlines in spell checking. https://bugzilla.gnome.org/show_bug.cgi?id=763741 gtk/gtktextbtree.c | 10 ++++++++-- gtk/gtktextbtree.h | 2 ++ gtk/gtktextlayout.c | 28 ++++++++++++++++++++++++---- 3 files changed, 34 insertions(+), 6 deletions(-) commit 031978cb6ba0119cfb5945b5a1aeb81aec39a8dc Author: Tom Tryfonidis Date: Mon Mar 21 17:21:09 2016 +0000 Updated Greek translation po-properties/el.po | 977 +++++++++++++++++++++++++++------------------------- 1 file changed, 503 insertions(+), 474 deletions(-) commit ce822c5bd467e190051839385f4c0ac0897be0a1 Author: Anders Jonsson Date: Mon Mar 21 16:25:41 2016 +0000 Updated Swedish translation po/sv.po | 72 +++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 30 deletions(-) commit 219eedd7c86d0adec542cfe634c1e9797069a919 Author: Carlos Garnacho Date: Thu Mar 17 18:38:40 2016 +0100 wayland: Rename internal functions with misleading naming Now that GdkWaylandDeviceData is gone, the functions prefixed "gdk_wayland_device_" and taking a GdkWaylandSeat as first parameter feel out of place. Renaming those makes it more obvious that it's seat functions. https://bugzilla.gnome.org/show_bug.cgi?id=763859 gdk/wayland/gdkdevice-wayland.c | 62 ++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 31 deletions(-) commit 1597f31eba0f88efefaa85eea5ca81b39f17ef55 Author: Carlos Garnacho Date: Fri Mar 18 14:11:50 2016 +0100 wayland: Remove GdkWaylandDataDevice typedef It's no longer used. https://bugzilla.gnome.org/show_bug.cgi?id=763859 gdk/wayland/gdkseat-wayland.h | 1 - 1 file changed, 1 deletion(-) commit 81f0d23744150f5030e205cfd3c1e193ea539a1b Author: Carlos Garnacho Date: Thu Mar 17 18:32:03 2016 +0100 wayland: Replace all remaining uses of GdkWaylandDeviceData And use GdkWaylandSeat in all of those. The variable names have also been updated. https://bugzilla.gnome.org/show_bug.cgi?id=763859 gdk/wayland/gdkdevice-wayland.c | 695 ++++++++++++++++++++-------------------- 1 file changed, 348 insertions(+), 347 deletions(-) commit c9f9163544a8c18a2e92b408730ad3b89a83d4e6 Author: Carlos Garnacho Date: Thu Mar 17 18:03:26 2016 +0100 wayland: Remove GdkWaylandDeviceData pointer in GdkWaylandDevice It's the same than gdk_device_get_seat() nowadays. Also, rename the usages of GdkWaylandDeviceData to GdkWaylandSeat in the functions affected by the removal. https://bugzilla.gnome.org/show_bug.cgi?id=763859 gdk/wayland/gdkdevice-wayland.c | 447 ++++++++++++++++++++-------------------- 1 file changed, 227 insertions(+), 220 deletions(-) commit 08a0257893493f888b503db8b18d0c31c2e35f60 Author: Matthias Clasen Date: Mon Mar 21 12:10:44 2016 -0400 Fix the build gtk/gtkshortcutswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26617bb9b40c77474af6034ee54b4563deea6db6 Author: Matthias Clasen Date: Tue Mar 15 07:51:48 2016 -0400 shortcutswindow: Make the search button square Add the image-button style class to this button (this doesn't work automatically here, since this is a toggle button). https://bugzilla.gnome.org/show_bug.cgi?id=763604 gtk/gtkshortcutswindow.c | 1 + 1 file changed, 1 insertion(+) commit 4ae057f07b18a9e078623931f66233d6402c5a2f Author: Matthias Clasen Date: Sun Mar 20 19:41:31 2016 -0400 Adwaita: Update treeview drop target styling This reinstates the between-the-rows highlight that was lost at some point. https://bugzilla.gnome.org/show_bug.cgi?id=763808 gtk/theme/Adwaita/_common.scss | 12 +++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 10 +++++++++- gtk/theme/Adwaita/gtk-contained.css | 10 +++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) commit 12c5ca5c013e035374ad1590b0e64cb7a452aa30 Author: Matthias Clasen Date: Sun Mar 20 19:31:23 2016 -0400 treeview: Update drop target highlighting Stop using the .dnd style class, and instead use the :drop(active) pseudo state, together with .before and .after classes. https://bugzilla.gnome.org/show_bug.cgi?id=763808 gtk/gtktreeview.c | 45 ++++++++++----------------------------------- 1 file changed, 10 insertions(+), 35 deletions(-) commit a5a51e325d1fef163d9da4611432d0cefd112395 Author: Matthias Clasen Date: Sun Mar 20 18:09:45 2016 -0400 quartz: Fix up dnd code Copy changes to drag highlight drawing from gtkdnd.c to gtkdnd-quartz.c. https://bugzilla.gnome.org/show_bug.cgi?id=763808 gtk/gtkdnd-quartz.c | 48 ++---------------------------------------------- 1 file changed, 2 insertions(+), 46 deletions(-) commit ca63330b19c920a02d02f1bc96463ba156312483 Author: Christian Hergert Date: Fri Mar 18 19:27:31 2016 -0700 stack: query preferred size for last_visible_child When animating, we might be changing the size allocation of the previous stack child. However, we were not querying the size in the process meaning you would often see warnings about allocating the size without knowing what it should be. This simply adds an innocuous size request, since responding to last_child sizing requests is not all that critical in the transition. https://bugzilla.gnome.org/show_bug.cgi?id=763900 gtk/gtkstack.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 5107c4a75f64e710960f5f65e41e30f0dd4d2187 Author: Carlos Garcia Campos Date: Sat Mar 12 10:25:43 2016 +0100 gtk-demo: Rework foreigndrawing to use sizes from the theme Instead of hardcoding the size of the widgets. This makes the output closer to real widgets and fixes the blurry icons. I've also added a scale. https://bugzilla.gnome.org/show_bug.cgi?id=763758 demos/gtk-demo/foreigndrawing.c | 752 +++++++++++++++++++++++++++++----------- 1 file changed, 551 insertions(+), 201 deletions(-) commit 068d3826896590dd7ff6e41bee88f07e1416afc9 Author: Matthias Clasen Date: Wed Mar 16 16:49:21 2016 -0400 dnd: Hide the drag window when we're done We were just relying on the drag context finalize() to destroy the window. But with garbage-collected bindings, that might not happen as soon as we like, so explicitly hide the window when the drag ends successfully. https://bugzilla.gnome.org/show_bug.cgi?id=763659 gdk/wayland/gdkdnd-wayland.c | 14 ++++++++++++++ gdk/x11/gdkdnd-x11.c | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) commit 2407f157c76c6835cd0fdc23fdd09875a63c202e Author: Debarshi Ray Date: Wed Mar 16 02:18:24 2016 +0100 print-operation: Be more robust in the error path This isn't an issue at the moment. Only exporting to a file can fail by setting by setting an error and it happens to correctly return GTK_PRINT_OPERATION_RESULT_ERROR regardless of this code. Still, let's make this block of code more correct to prevent future changes from introducing broken behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=763731 gtk/gtkprintoperation.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f988f1131b638144c7cd3d8a044d4a101b3e4c13 Author: Ask Hjorth Larsen Date: Mon Mar 21 13:10:54 2016 +0000 Updated Danish translation po/da.po | 3974 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2111 insertions(+), 1863 deletions(-) commit 06062028e22cec34e2461f0201d64f46c23c5dc2 Author: Matthias Clasen Date: Mon Mar 21 07:04:12 2016 -0400 3.20.0 NEWS | 3 +++ configure.ac | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit a449cc80de0549b83e5e9da2cfa56c5d1252cfe3 Author: Jiri Grönroos Date: Mon Mar 21 11:28:44 2016 +0000 Updated Finnish translation po/fi.po | 110 +++++++++++++++++++++++++-------------------------------------- 1 file changed, 44 insertions(+), 66 deletions(-) commit 9025ceabdec49b2aa91242123c902fd20d27a051 Author: Marek Černocký Date: Mon Mar 21 11:49:01 2016 +0100 Updated Czech translation po/cs.po | 132 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 76 insertions(+), 56 deletions(-) commit 7a1b82828e83a561d82c877e9eb2cf84b158d144 Author: Artur Morais Date: Mon Mar 21 10:28:50 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 330 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 169 insertions(+), 161 deletions(-) commit 8f5471f1df3486e89dc23c6ac92859519a7643c9 Author: Milo Casagrande Date: Mon Mar 21 08:55:26 2016 +0000 Updated Italian translation po/it.po | 68 ++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 40 insertions(+), 28 deletions(-) commit 5c6979e520fba1fab86d0a01d10b1978e9766790 Author: Balázs Úr Date: Mon Mar 21 06:30:55 2016 +0000 Updated Hungarian translation po/hu.po | 81 +++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 44 insertions(+), 37 deletions(-) commit 69cb072cd62501e7454e71e53ab4011483128487 Author: Ask Hjorth Larsen Date: Mon Mar 21 04:42:41 2016 +0100 Updated Danish translation po/da.po | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) commit 615f55d6d18e78a7eb77c2288287713af7f2c169 Author: Piotr Drąg Date: Mon Mar 21 04:04:03 2016 +0100 Updated Polish translation po/pl.po | 122 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 55 deletions(-) commit de4cb363c2f368a69e9026f6273ccf59d867d571 Author: Matthias Clasen Date: Sun Mar 20 22:49:33 2016 -0400 Document gdk_wayland_seat_get_wl_seat gdk/wayland/gdkdevice-wayland.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 09ea0c9110139045e6667df921e482cac13555a4 Author: Matthias Clasen Date: Sun Mar 20 22:47:22 2016 -0400 Add gk_gl_context_is_legacy to the docs docs/reference/gdk/gdk3-sections.txt | 1 + 1 file changed, 1 insertion(+) commit e4d3987b1766a48465254b39168f5668c9f8395e Author: Matthias Clasen Date: Sun Mar 20 22:45:06 2016 -0400 gdk: Add a missing Since tag gdk_drag_context_manage_dnd was introduced this cycle. gdk/gdkdnd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 105f9acfdf28db552c9b7b2088ae87b345d7b70c Author: Matthias Clasen Date: Sun Mar 20 22:44:29 2016 -0400 Add gdk_drag_context_manage_dnd to the docs docs/reference/gdk/gdk3-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 3409ec56ca4eddbe25c81b49b8382d98ed801e73 Author: Matthias Clasen Date: Sun Mar 20 22:44:03 2016 -0400 Clean up gdk docs build a bit Ignore more headers. docs/reference/gdk/Makefile.am | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit 1c692c64fec96a0afa35ea5093ddfdc151c05876 Author: Matthias Clasen Date: Sun Mar 20 22:29:37 2016 -0400 gdk: Reword some docs gdk/gdkseat.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) commit 404a7185bef9258ea6b3e52d36e35dd4352e4e1f Author: Руслан Ижбулатов Date: Thu Mar 17 11:12:35 2016 +0000 Improve window title context popup menu fallback Add "Minimize", "Maximize", "Restore", "Move", "Resize" and "Always on Top" items to the menu. This pertially reverts commit 0ea1a526f93411f8a2aef60dcb5a429a7694ca99. https://bugzilla.gnome.org/show_bug.cgi?id=763806 gtk/gtkwindow.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) commit f732fa6883600a05595589f3281fa891ced85516 Author: Matthias Clasen Date: Sun Mar 20 21:48:05 2016 -0400 Reword release notes README.in | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) commit bee669ee6686bd8f2025105ea5224fc2c9b18854 Author: Matthias Clasen Date: Sun Mar 20 21:40:05 2016 -0400 Updates for 3.20.0 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit 5c63ab26da9297306290eb1aa540ac34caf80b9a Author: Matthias Clasen Date: Thu Mar 17 21:48:53 2016 -0400 style context: Don't use g_warning for API misuse We've changed our API here; what these applications are doing used to be fine. Don't make users suffer for this by spamming their logs in a stable release. We'll keep the warning in master. https://bugzilla.gnome.org/show_bug.cgi?id=763796 gtk/gtkstylecontext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1dcd88961ec7584ed42995a8d6dbba59a8d875df Author: Lapo Calamandrei Date: Mon Mar 21 01:19:12 2016 +0100 Adwaita: more evident colorswatch drag hilight gtk/theme/Adwaita/_common.scss | 16 ++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 32 insertions(+) commit 4973b55ad96b58e8acc18ea4369fa2654912efb7 Author: Lapo Calamandrei Date: Mon Mar 21 01:02:30 2016 +0100 Adwaita: titlebutton fix use a better selector and fix the styling on selection-mode. gtk/theme/Adwaita/_common.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 472 +++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 475 ++++++++++++++++++++----------- 3 files changed, 630 insertions(+), 327 deletions(-) commit 44e225e50b6b59bbf9d9e47f4f2aa2b745bf5ea9 Author: Lapo Calamandrei Date: Mon Mar 21 00:46:44 2016 +0100 Adwaita: add a transition to the scale slider gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) commit eacd632e5e759e13dc9770356fa4e9d29fa50939 Author: Lapo Calamandrei Date: Mon Mar 21 00:44:47 2016 +0100 Adwaita: add a transition to the switch slider gtk/theme/Adwaita/_common.scss | 16 +++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 15 insertions(+), 5 deletions(-) commit 6598dca783ee99e03419cc5e8ba94ff9999a01df Author: Lapo Calamandrei Date: Mon Mar 21 00:25:44 2016 +0100 Adwaita: sligthly dim backdrop selected fg color gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) commit 2e2c423c781a8f42bdd321522a0decc7fca84972 Author: Lapo Calamandrei Date: Mon Mar 21 00:22:01 2016 +0100 Adwaita: clean up gtk/theme/Adwaita/_common.scss | 14 +++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++++--------- 3 files changed, 31 insertions(+), 27 deletions(-) commit 33247293ee7e29072ccfdb627e5016d5a80d182a Author: Ask Hjorth Larsen Date: Sun Mar 20 23:57:41 2016 +0100 Updated Danish translation po-properties/da.po | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) commit de466e7b286613ba0e7a4d864cfa6a0156ebb2e5 Author: Lapo Calamandrei Date: Sun Mar 20 23:37:40 2016 +0100 Adwaita: rework places sidebar styling set colors on rows istead of images. gtk/theme/Adwaita/_common.scss | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 20 insertions(+), 20 deletions(-) commit 524ca3c2d5218d47af9b9f6da2b7bb37c53c9920 Author: Lapo Calamandrei Date: Sun Mar 20 23:33:25 2016 +0100 Adwaita: fix treeview spinbutton style gtk/theme/Adwaita/_common.scss | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 22 insertions(+), 22 deletions(-) commit 7da594e7b75816d6679a3001f9c49742997ab6ca Author: Ask Hjorth Larsen Date: Sun Mar 20 23:26:10 2016 +0100 Updated Danish translation po/da.po | 55 ++++++++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 29 deletions(-) commit f64612ca56e476b5101974e6ec57b2ebdf5b6eb7 Author: Ask Hjorth Larsen Date: Sun Mar 20 23:24:33 2016 +0100 Updated Danish translation po-properties/da.po | 4795 +++++++++++++++++++++++++++------------------------ 1 file changed, 2517 insertions(+), 2278 deletions(-) commit c867b17cc8c133fa60fc822925dc5fba2ac604ed Author: Lapo Calamandrei Date: Sun Mar 20 23:18:49 2016 +0100 Adwaita: fix treeview entry style Fixes https://bugzilla.gnome.org/show_bug.cgi?id=763955 gtk/theme/Adwaita/_common.scss | 10 ++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++++++ gtk/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 24 insertions(+) commit 7224dd76dbdc1aebc806ac91f8466c570c6d2718 Author: Jakub Steiner Date: Sun Mar 20 22:05:56 2016 +0100 High Contrast: sidebar round buttons https://bugzilla.gnome.org/show_bug.cgi?id=763774 gtk/theme/HighContrast/_common.scss | 109 ++++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 219 ++++++++++------------- gtk/theme/HighContrast/gtk-contained.css | 219 ++++++++++------------- 3 files changed, 249 insertions(+), 298 deletions(-) commit 4e6f9660c0cdb19ec4d1e927bbfbe1b66dd178d4 Author: Rūdolfs Mazurs Date: Sun Mar 20 21:16:28 2016 +0200 Update Latvian translation po-properties/lv.po | 847 ++++++++++++++++++++++++++-------------------------- po/lv.po | 634 +++++++++++++++++---------------------- 2 files changed, 701 insertions(+), 780 deletions(-) commit d457b4f4a5375668d7dff73b043fb93ca92586cc Author: Paolo Borelli Date: Sun Mar 20 17:45:19 2016 +0100 css: use "disabled" instead of the "insensitivie" Not only there is a typo, but it is also deprecated. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 710285104b35b0be5423ab5328a1e2dba04b5502 Author: Benjamin Otte Date: Sun Mar 20 13:42:18 2016 +0100 styleproperties: Really don't use 'i' in inner loop I apparently was too tired when doing 8cebc125da7e3f9c49a6d4e0ea5320c11b7c21af and forgot to replace one instance of 'i' with 'j'. Thanks Timm for finding that one. gtk/deprecated/gtkstyleproperties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e39746896478a98444ecabd715cc8a670b4ca8c5 Author: Милош Поповић Date: Sun Mar 20 09:00:50 2016 +0000 Updated Serbian Latin translation po/sr@latin.po | 165 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 85 insertions(+), 80 deletions(-) commit 5091bc9d1669549f847c5431c5a9b4996748263c Author: Марко Костић Date: Sun Mar 20 08:59:39 2016 +0000 Updated Serbian translation po/sr.po | 65 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 30 deletions(-) commit 9782a2b7293b99face96186b6fc2032dfbcbb0cb Author: Benjamin Otte Date: Sun Mar 20 05:50:53 2016 +0100 broadway: Use explicit sizes for payload length The previous greater than comparisons would never trigger the 2nd case. http://www.viva64.com/en/b/0383/ gdk/broadway/broadway-server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 318a9c4634c7ac2eb8f46d29a1b1f32ae5f1ab5a Author: Benjamin Otte Date: Sun Mar 20 05:43:02 2016 +0100 x11: Use g_error_matches() Fixes accidentally assigning values. http://www.viva64.com/en/b/0383/ gdk/x11/gdkselection-x11.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8cebc125da7e3f9c49a6d4e0ea5320c11b7c21af Author: Benjamin Otte Date: Sun Mar 20 05:37:23 2016 +0100 styleproperties: Don't use the same loop variable in nested loops http://www.viva64.com/en/b/0383/ gtk/deprecated/gtkstyleproperties.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d42ba8a82a3e94086239b8039b93678bdebc88db Author: Benjamin Otte Date: Sun Mar 20 05:36:17 2016 +0100 tests: Add missing break statements http://www.viva64.com/en/b/0383/ tests/testselection.c | 2 ++ 1 file changed, 2 insertions(+) commit 07a69b724748ed8f1166ece34e15aa387bb2f674 Author: Benjamin Otte Date: Sun Mar 20 05:32:35 2016 +0100 gtk-demo: Fix copy/paste error http://www.viva64.com/en/b/0383/ demos/gtk-demo/offscreen_window2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 471cdee97fc9e9c0c51c7c97dd2e2466d4e00e42 Author: Benjamin Otte Date: Sun Mar 20 05:31:20 2016 +0100 broadway: Remove duplicate initialization http://www.viva64.com/en/b/0383/ gdk/broadway/gdkwindow-broadway.c | 1 - 1 file changed, 1 deletion(-) commit 5db1c987eeef673fc8720ab9f817ef87cd79f538 Author: Benjamin Otte Date: Sun Mar 20 05:30:03 2016 +0100 x11: Remove duplicate variable setting http://www.viva64.com/en/b/0383/ gdk/x11/gdkwindow-x11.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ca3607c21904d8d007d2a4a3282f20a1991b6641 Author: Benjamin Otte Date: Sun Mar 20 05:28:10 2016 +0100 menubar: Remove duplicate flags value http://www.viva64.com/en/b/0383/ gtk/gtkmenubar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c76424a8424d54038bf858db719b7e5eae715463 Author: Benjamin Otte Date: Sun Mar 20 05:27:19 2016 +0100 calendar: Remove duplicate flags value http://www.viva64.com/en/b/0383/ gtk/gtkcalendar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 58b7512b53f6649fefb76d773b4c1f8d68f3e141 Author: Benjamin Otte Date: Sun Mar 20 05:26:10 2016 +0100 cssshadowvalue: Fix copy/paste issue http://www.viva64.com/en/b/0383/ gtk/gtkcssshadowvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3308122c321a20e5420ede855f678b9204a4f3f4 Author: Benjamin Otte Date: Sun Mar 20 05:18:38 2016 +0100 placesview: Simplify http://www.viva64.com/en/b/0383/ gtk/gtkplacesview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c6834a002ffbc39216c39bd3592571d73ad8f1bd Author: Benjamin Otte Date: Thu Mar 17 13:50:05 2016 +0100 pathbar: Order button CSS nodes right The previous code ordered them the wrong way, so the first button (from a CSS pov) was the last visible one. gtk/gtkpathbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 397bacee6ecb0223c5492551bb3a39020fd6c389 Author: Lapo Calamandrei Date: Sat Mar 19 20:13:06 2016 +0100 Adwaita: fix places sidebar icons style the color wasn't changing in backdrop. gtk/theme/Adwaita/_common.scss | 31 +++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 85 ++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 89 +++++++++++++++++++------------- 3 files changed, 128 insertions(+), 77 deletions(-) commit 01748031496f57d031ffcc279c4017fe45e37600 Author: Lapo Calamandrei Date: Sat Mar 19 19:56:15 2016 +0100 Adwaita: added a transition to the backdrop state to most widgets gtk/theme/Adwaita/_common.scss | 37 +++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 47 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 47 ++++++++++++++++++++++---------- 3 files changed, 98 insertions(+), 33 deletions(-) commit 38211ff800398376895eabede0012d596f2ce070 Author: Lapo Calamandrei Date: Sat Mar 19 18:59:29 2016 +0100 Adwaita: clean up checkbutton and radiobutton styling some superfluous selectors there since generic label styling was broken. gtk/theme/Adwaita/_common.scss | 9 --------- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- 3 files changed, 17 deletions(-) commit ec500422285810149fca934c300dc25dd279ef6f Author: Lapo Calamandrei Date: Sat Mar 19 18:57:33 2016 +0100 Revert "Adwaita: checkbutton and radiobutton backdrop color fix" This reverts commit 43937c6aa0bc0966f4bb0518c443a3f212c9d300. Which was needed since the label styling was broken. gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit e079b92a55d0deb483ecdfef0b43c48bbd6b0b7f Author: Lapo Calamandrei Date: Sat Mar 19 18:55:13 2016 +0100 Adwaita: fix label styling backdrop wasn't in the mix, added and adjusted other widgets styling not to be overridden by it when not needed. Spotted a typo making the backdrop base color white in the process. gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_common.scss | 19 +- gtk/theme/Adwaita/_drawing.scss | 22 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 267 ++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 317 ++++++++++++++++++++----------- 5 files changed, 424 insertions(+), 203 deletions(-) commit 20a8ac5542736e7f96c916982ac969b160a59e2d Author: Lapo Calamandrei Date: Sat Mar 19 18:09:22 2016 +0100 Adwaita: reset entry props on horizontal spinbuttons the spinbutton node is where the styling is applied, the leftover properties on the entry node make a backdrop transition bad. gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+) commit 8f2213836cb6b85ac70d9fa340f481a2d9d2a636 Author: Lapo Calamandrei Date: Sat Mar 19 17:53:36 2016 +0100 Adwaita: remove commented out code gtk/theme/Adwaita/_common.scss | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 43937c6aa0bc0966f4bb0518c443a3f212c9d300 Author: Lapo Calamandrei Date: Sat Mar 19 17:46:49 2016 +0100 Adwaita: checkbutton and radiobutton backdrop color fix this sets the right backdrop color to the label insider the aformentined widgets. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 99e2f91dfe575ced859b782053c3d7863f88a924 Author: Lapo Calamandrei Date: Sat Mar 19 17:23:39 2016 +0100 Adwaita: simplify headerbar style gtk/theme/Adwaita/_common.scss | 12 ++++-------- gtk/theme/Adwaita/_drawing.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++---- gtk/theme/Adwaita/gtk-contained.css | 10 ++++++---- 4 files changed, 18 insertions(+), 17 deletions(-) commit 5a0aeec3f475b790e3de19dd2c68e1ded9c9d8c5 Author: Lapo Calamandrei Date: Sat Mar 19 17:08:17 2016 +0100 Adwaita: correctly order backdrop decoration node shadows ... otherwise setting a transition to the backdrop state will make the window resize, since the shadows size gets interpolated. gtk/theme/Adwaita/_common.scss | 13 +++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 6 +----- gtk/theme/Adwaita/gtk-contained.css | 6 +----- 3 files changed, 9 insertions(+), 16 deletions(-) commit 80732a951c6ab93025c0cc16f275bcd72519cfdc Author: Ask Hjorth Larsen Date: Sat Mar 19 03:43:32 2016 +0100 Updated Danish translation by scootergrisen po/da.po | 1761 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 976 insertions(+), 785 deletions(-) commit 50b58206697f08ce0e4bff7e80d79b49b2c2444e Author: Lapo Calamandrei Date: Fri Mar 18 19:25:09 2016 +0100 High Contrast: switch style fix gtk/theme/HighContrast/_common.scss | 46 ++++++++-------- gtk/theme/HighContrast/gtk-contained-inverse.css | 68 ++++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 68 ++++++++++++------------ 3 files changed, 88 insertions(+), 94 deletions(-) commit 48fb37f3413275778049c338a9e555eb86b3d5b7 Author: Lapo Calamandrei Date: Fri Mar 18 19:10:36 2016 +0100 High Contrast: don't hardcode a font-size on the switch gtk/theme/HighContrast/_common.scss | 4 +++- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 +++- gtk/theme/HighContrast/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit a46058451ec1349e0c446201cb825651eed40005 Author: Lapo Calamandrei Date: Fri Mar 18 19:05:20 2016 +0100 High Contrast: stronger entry focus indication gtk/theme/HighContrast/_drawing.scss | 4 ++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 6 +++--- gtk/theme/HighContrast/gtk-contained.css | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) commit 7d27fd087e4bed4c3930c1a094ebc2bc326567bb Author: Lapo Calamandrei Date: Fri Mar 18 19:03:19 2016 +0100 High Contrast: fix a typo gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 3b1484f57c14193a745b3959a2b9b18f4327a688 Author: Lapo Calamandrei Date: Fri Mar 18 18:38:48 2016 +0100 Adwaita: fix colorscale shrinking when disabled gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 30 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 30 +++++++++++++++--------------- 3 files changed, 33 insertions(+), 33 deletions(-) commit ad9865126a886fa847a311e3ea2903e3e0b7f20d Author: Jakub Steiner Date: Fri Mar 18 15:47:30 2016 +0100 High Contrast: fix drop states https://bugzilla.gnome.org/show_bug.cgi?id=763823 gtk/theme/HighContrast/_common.scss | 13 +++++++++++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 13 ++++++++++--- gtk/theme/HighContrast/gtk-contained.css | 13 ++++++++++--- 3 files changed, 31 insertions(+), 8 deletions(-) commit fe31c5f4fda1b940bfe4acccf938d3b4fb065685 Author: Daniel Korostil Date: Fri Mar 18 16:46:01 2016 +0200 Updated Ukrainian translation po/uk.po | 2678 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1691 insertions(+), 987 deletions(-) commit 3a529614e5f08ddd6809a1d60b080186e0a5f409 Author: Jakub Steiner Date: Fri Mar 18 15:44:27 2016 +0100 High Contrast: spinbutton active state - more contrast for the active state - osd active state gtk/theme/HighContrast/_common.scss | 8 ++++++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 6 +++++- gtk/theme/HighContrast/gtk-contained.css | 6 +++++- 3 files changed, 16 insertions(+), 4 deletions(-) commit 4fc5832cfdbc2783d582283d3568a0dacac68108 Author: Jakub Steiner Date: Fri Mar 18 15:30:46 2016 +0100 High Contrast: osd spinbutton fixes - don't jump around for :backdrop - only shade focused widgets gtk/theme/HighContrast/_common.scss | 10 ++++++++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 13 +++++++++---- gtk/theme/HighContrast/gtk-contained.css | 13 +++++++++---- 3 files changed, 26 insertions(+), 10 deletions(-) commit c94afa01c4bdc175d715c3e8573b02d8cb33325a Author: Jakub Steiner Date: Fri Mar 18 15:22:16 2016 +0100 High Contrast: osd spinbuttons https://bugzilla.gnome.org/show_bug.cgi?id=763846 gtk/theme/HighContrast/_common.scss | 45 ++++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 99 ++++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 99 ++++++++++++------------ 3 files changed, 123 insertions(+), 120 deletions(-) commit a076df852b51981d099bd2a6e81470b653ead150 Author: Jakub Steiner Date: Fri Mar 18 13:53:30 2016 +0100 Hight Contrast: scrollbars https://bugzilla.gnome.org/show_bug.cgi?id=763797 gtk/theme/HighContrast/_colors.scss | 7 + gtk/theme/HighContrast/_common.scss | 194 +++++++++++++++++------ gtk/theme/HighContrast/gtk-contained-inverse.css | 175 +++++++++++++++----- gtk/theme/HighContrast/gtk-contained.css | 173 +++++++++++++++----- 4 files changed, 421 insertions(+), 128 deletions(-) commit b88020ec92738778e62d441832187920d0880684 Author: Anders Jonsson Date: Fri Mar 18 10:14:33 2016 +0000 Updated Swedish translation po/sv.po | 837 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 421 insertions(+), 416 deletions(-) commit 71eac292bb95bccd1eae460142a22cc2012245c4 Author: Anders Jonsson Date: Fri Mar 18 10:13:42 2016 +0000 Updated Swedish translation po-properties/sv.po | 169 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 99 insertions(+), 70 deletions(-) commit 0e171dd45c57127c2283af1b053a73b271715213 Author: Milo Casagrande Date: Fri Mar 18 08:28:19 2016 +0000 Updated Italian translation po/it.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 7d2a7a56267b8444ba1756a9a6a52157fd931758 Author: Руслан Ижбулатов Date: Thu Mar 17 20:07:33 2016 +0000 GDK W32: Don't move iconic windows Using UpdateLayeredWindow() on iconic windows brings them *back* from their iconic (minimized) state. That is bad. As a precaution, also don't use SetWindowPos() on iconic windows. This means that iconic windows can't be moved. That is fixable by using SetWindowPlacement(), but there is no pressing need to do so, as there are very few cases when windows need to be moved while minimized. https://bugzilla.gnome.org/show_bug.cgi?id=763835 gdk/win32/gdkwindow-win32.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) commit 54d36efa6138a1f30fd7e2d76d3a28b4fab6ad19 Author: Rafael Fontenelle Date: Fri Mar 18 05:05:10 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 274 ++++++++++++++++++++++++------------------------- 1 file changed, 137 insertions(+), 137 deletions(-) commit 1bd5be6b7c54e28ba6c3e920f11ee2f369a3529c Author: Christian Hergert Date: Thu Mar 17 21:18:58 2016 -0700 quartz: fix quartz build More fallout from recent refactoring. See also b3860e407d3edb6f94d53269960c052756516aa2. gdk/quartz/gdkevents-quartz.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3e3d29f7b73381dd328e5213e0dca04d3e4f8048 Author: Olivier Fourdan Date: Wed Mar 16 14:19:14 2016 +0100 gtkwindow: ignore default size if there is a size request Some applications set both a default size on their gtk window and a size request on the corresponding gtk widget. Until now, the default size was ignored for fixed size windows, so this had no effect and remained unnoticed, but with the recent change for client-side decorations, the default size is now used even for fixed size windows, which can cause the resulting fixed size window to be much smaller than expected with the size request. For fixed size windows, if we have both a size request and a default size set, prefer the size request as before. https://bugzilla.gnome.org/show_bug.cgi?id=763749 gtk/gtkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4ddd29d8c06ff6ac7fe52d1b04591a9ccc1ac8dd Author: Milo Casagrande Date: Thu Mar 17 20:08:07 2016 +0000 Updated Italian translation po/it.po | 2070 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1117 insertions(+), 953 deletions(-) commit 450704b28acc325120044ac4905fb6d8a050433d Author: Milo Casagrande Date: Thu Mar 17 20:03:44 2016 +0000 Updated Italian translation po-properties/it.po | 3299 +++++++++++++++++++++++++++------------------------ 1 file changed, 1735 insertions(+), 1564 deletions(-) commit 1bf3f40cc5645c6e04a052fa57a64d09f82cca91 Author: Jakub Steiner Date: Thu Mar 17 14:57:09 2016 +0100 High Contrast: disabled flat buttons - disabled flat buttons and backdrop state gtk/theme/HighContrast/_common.scss | 26 +++++++++++++----------- gtk/theme/HighContrast/_drawing.scss | 7 +++++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 22 ++++++++++---------- gtk/theme/HighContrast/gtk-contained.css | 22 ++++++++++---------- 4 files changed, 43 insertions(+), 34 deletions(-) commit 09168806a2f2688ea1314bfbf2235e9e07eadbb2 Author: Jakub Steiner Date: Thu Mar 17 13:07:04 2016 +0100 High Contrast: fix app-notifications - get rid of the internal frame https://bugzilla.gnome.org/show_bug.cgi?id=763781 gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk-contained-inverse.css | 3 +++ gtk/theme/HighContrast/gtk-contained.css | 3 +++ 3 files changed, 7 insertions(+) commit e942aee13d8eec6c9f5bda06281b1e6e529b22cf Author: Jakub Steiner Date: Thu Mar 17 13:00:32 2016 +0100 High Contrast: menubar separator - set menubar apart form the window content https://bugzilla.gnome.org/show_bug.cgi?id=763777 gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk-contained-inverse.css | 3 ++- gtk/theme/HighContrast/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit 52c362721c2f55615a973411e6fc720e7ba500dc Author: Lapo Calamandrei Date: Thu Mar 17 12:16:48 2016 +0100 High Contrast: fix titlebuttons sizing ... simplifying the scss in the process. gtk/theme/HighContrast/_common.scss | 16 ++---- gtk/theme/HighContrast/gtk-contained-inverse.css | 66 +++++++----------------- gtk/theme/HighContrast/gtk-contained.css | 66 +++++++----------------- 3 files changed, 39 insertions(+), 109 deletions(-) commit b0a25b3aa9605895abe2e68f200722b288bcf807 Author: Lapo Calamandrei Date: Thu Mar 17 12:14:23 2016 +0100 High Contrast: add undecorated button mixin ... which is used in _common.scss, this fixes flat button not being, well, flat. gtk/theme/HighContrast/_drawing.scss | 16 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 203 ++++++++++------------- gtk/theme/HighContrast/gtk-contained.css | 203 ++++++++++------------- 3 files changed, 187 insertions(+), 235 deletions(-) commit 981985ee5060574af7edaba3ce83daae028599e4 Author: Lapo Calamandrei Date: Thu Mar 17 11:36:37 2016 +0100 High Contrast: remove an adwaita leftover ... a missing mixin which makes no sense in HC actually. gtk/theme/HighContrast/_common.scss | 23 ++++------------------- gtk/theme/HighContrast/gtk-contained-inverse.css | 10 +++++----- gtk/theme/HighContrast/gtk-contained.css | 20 +++++++++----------- 3 files changed, 18 insertions(+), 35 deletions(-) commit 4a58e751fba1bdca47389b2e0c42e24bd5f02965 Author: Lapo Calamandrei Date: Thu Mar 17 10:32:35 2016 +0100 Adwaita: fix wide separators gtk/theme/Adwaita/_common.scss | 22 +++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++---- gtk/theme/Adwaita/gtk-contained.css | 12 ++++++++---- 3 files changed, 29 insertions(+), 17 deletions(-) commit 4455ef1c90386fc3c41314e17cd2d608a0ebac99 Author: Baurzhan Muftakhidinov Date: Thu Mar 17 03:33:59 2016 +0000 Updated Kazakh translation po/kk.po | 566 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 286 insertions(+), 280 deletions(-) commit 9b4eff6ed93fd612a8097e26292869de62017432 Author: Baurzhan Muftakhidinov Date: Thu Mar 17 03:33:32 2016 +0000 Updated Kazakh translation po-properties/kk.po | 806 +++++++++++++++++++++++++++------------------------- 1 file changed, 414 insertions(+), 392 deletions(-) commit e9de5f108306a7c2a77caebca22117abeb866629 Author: Matthias Clasen Date: Wed Mar 16 21:56:33 2016 -0400 HighContrast: Fix actionbar borders Make the selector more specific so that it doesn't affect contained boxes. Copied from Adwaita. https://bugzilla.gnome.org/show_bug.cgi?id=763775 gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ++-- gtk/theme/HighContrast/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 51f34f4b907dd3ab16f171be618cf9c4fa9b5a44 Author: Changwoo Ryu Date: Wed Mar 16 19:49:50 2016 +0000 Updated Korean translation po-properties/ko.po | 793 +++++++++++++++++++++++++++------------------------- 1 file changed, 414 insertions(+), 379 deletions(-) commit b0b06ffbf2b6f3bc54d492dd39e5d1920e6db6f5 Author: Changwoo Ryu Date: Wed Mar 16 19:49:22 2016 +0000 Updated Korean translation po/ko.po | 566 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 286 insertions(+), 280 deletions(-) commit 1ae5643f597bf445e4456ce80b164985bf6b6311 Author: Lapo Calamandrei Date: Wed Mar 16 18:06:56 2016 +0100 Adwaita: shrink back big standalone osd buttons gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++-- gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 10 insertions(+), 8 deletions(-) commit 3e6eca537b876d52cd5a3fca50d082f5cc6d1c87 Author: Jakub Steiner Date: Wed Mar 16 15:25:28 2016 +0100 High Contrast: button metrics - sync with Adwaita for button definitions https://bugzilla.gnome.org/show_bug.cgi?id=763706 gtk/theme/HighContrast/_common.scss | 552 +++++++++++++------- gtk/theme/HighContrast/gtk-contained-inverse.css | 634 +++++++++++++++-------- gtk/theme/HighContrast/gtk-contained.css | 634 +++++++++++++++-------- 3 files changed, 1163 insertions(+), 657 deletions(-) commit 5e629bc26be7d447e3976159dbb4b1d17e9ff1b0 Author: Jakub Steiner Date: Wed Mar 16 15:15:20 2016 +0100 High Contrast: spinbuttons - sync with Adwaita https://bugzilla.gnome.org/show_bug.cgi?id=763696 gtk/theme/HighContrast/_common.scss | 256 ++++++++++------ gtk/theme/HighContrast/gtk-contained-inverse.css | 353 ++++++++++++---------- gtk/theme/HighContrast/gtk-contained.css | 357 +++++++++++++---------- 3 files changed, 555 insertions(+), 411 deletions(-) commit b73f428a8642937d7b68f422add2c0f6a59c9af2 Author: Jakub Steiner Date: Wed Mar 16 14:53:47 2016 +0100 High Contrast: circular buttons - make sure they are visible on selected rows https://bugzilla.gnome.org/show_bug.cgi?id=763612 gtk/theme/HighContrast/_common.scss | 11 +++++++---- gtk/theme/HighContrast/gtk-contained-inverse.css | 11 ++++++++--- gtk/theme/HighContrast/gtk-contained.css | 11 ++++++++--- 3 files changed, 23 insertions(+), 10 deletions(-) commit e4f6c76cf85ee3e7e5281f756db38614220121ec Author: Jakub Steiner Date: Wed Mar 16 14:32:14 2016 +0100 High Contrast: fix entry and button metrics - sync with Adwaita https://bugzilla.gnome.org/show_bug.cgi?id=763610 gtk/theme/HighContrast/_common.scss | 306 +++++++++--------- gtk/theme/HighContrast/_drawing.scss | 5 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 390 +++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 386 ++++++++++------------ 4 files changed, 521 insertions(+), 566 deletions(-) commit 6228233a9eb87f65e7386455b399d34c8e446e85 Author: Lapo Calamandrei Date: Wed Mar 16 13:42:38 2016 +0100 Adwaita: remove a nonsensical comment gtk/theme/Adwaita/_common.scss | 1 - 1 file changed, 1 deletion(-) commit 6ccaa8e3ca49e63ce373e53952989527bba43ac8 Author: Lapo Calamandrei Date: Wed Mar 16 13:34:00 2016 +0100 High Contrast: keycap styling sync with Adwaita with some styling tweaks. gtk/theme/HighContrast/_common.scss | 24 +++++++++++++++++------- gtk/theme/HighContrast/gtk-contained-inverse.css | 19 +++++++++++++------ gtk/theme/HighContrast/gtk-contained.css | 19 +++++++++++++------ 3 files changed, 43 insertions(+), 19 deletions(-) commit ef8ef299c41120134fb5ad6670a2554323963a94 Author: Lapo Calamandrei Date: Wed Mar 16 13:11:15 2016 +0100 Adwaita: simplify treeview check and radio scss gtk/theme/Adwaita/_common.scss | 40 +++++++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 49 +++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 56 ++++++++------------------------ 3 files changed, 36 insertions(+), 109 deletions(-) commit 286437000b67284c5260689c37d43b21fec0396b Author: Jakub Steiner Date: Wed Mar 16 12:57:14 2016 +0100 High Contrast: fix metrics for popover menus - ripped the appropriate bits from Adwaita. https://bugzilla.gnome.org/show_bug.cgi?id=763609 gtk/theme/HighContrast/_colors.scss | 2 + gtk/theme/HighContrast/_common.scss | 172 +++++++++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 240 ++++++++++++++-------- gtk/theme/HighContrast/gtk-contained.css | 244 +++++++++++++++-------- 4 files changed, 454 insertions(+), 204 deletions(-) commit e5e8ffa3f704007a67668c4de26c5c5b65cd678b Author: Jakub Steiner Date: Tue Mar 15 19:22:07 2016 +0100 High Contrast: reimplement check and radio Use a similar structure as Adwaita - using buttons for radios and checkboxes. https://bugzilla.gnome.org/show_bug.cgi?id=763707 gtk/Makefile.am | 8 + gtk/theme/HighContrast/_common.scss | 185 +++++++++++++--- gtk/theme/HighContrast/assets/bullet-symbolic.svg | 155 +++++++++++++ .../assets/bullet-symbolic.symbolic.png | Bin 0 -> 147 bytes gtk/theme/HighContrast/assets/check-symbolic.svg | 154 +++++++++++++ .../assets/check-symbolic.symbolic.png | Bin 0 -> 231 bytes gtk/theme/HighContrast/assets/dash-symbolic.svg | 153 +++++++++++++ .../HighContrast/assets/dash-symbolic.symbolic.png | Bin 0 -> 130 bytes gtk/theme/HighContrast/gtk-contained-inverse.css | 235 +++++++++++++++----- gtk/theme/HighContrast/gtk-contained.css | 240 ++++++++++++++++----- 10 files changed, 983 insertions(+), 147 deletions(-) commit 985121813e2af706837e2e4d14019dec07762975 Author: Timm Bäder Date: Wed Mar 16 10:20:17 2016 +0100 scale: Fix value height calculation if (orientation) doesn't make a lot of sense but C doesn't complain and instead evaluates orientation to TRUE for GTK_ORIENTATION_VERTICAL (since that's 1), thus inverting the value sizes. gtk/gtkscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f3a3ea7f3445b0e9402d4e294778d86a4b94c8e Author: Lapo Calamandrei Date: Tue Mar 15 19:02:11 2016 +0100 Adwaita: notebook better header spacing added some padding to the header and margins to the tabs node when it's not the only child. gtk/theme/Adwaita/_common.scss | 39 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 29 +++++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 29 +++++++++++++++++++----- 3 files changed, 75 insertions(+), 22 deletions(-) commit 3e567b49002845415f280a1bcacaf9162154aeb0 Author: Jakub Steiner Date: Tue Mar 15 18:27:41 2016 +0100 High Contrast: disabled scales more subtle Make even the tough border subtle to make it distinct from normal state. https://bugzilla.gnome.org/show_bug.cgi?id=763613 gtk/theme/HighContrast/_common.scss | 3 ++- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 +++- gtk/theme/HighContrast/gtk-contained.css | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) commit abfdad3c3de1e1b74a6c40e19df25b20c866c80e Author: Lapo Calamandrei Date: Tue Mar 15 17:02:01 2016 +0100 Adwaita: fix progressbar in treeviews styling gtk/theme/Adwaita/_common.scss | 58 ++++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++--- gtk/theme/Adwaita/gtk-contained.css | 9 +++-- 3 files changed, 46 insertions(+), 32 deletions(-) commit c6dcc6ee62fbe6eb7af2efba81cdd44772cd43b7 Author: Lapo Calamandrei Date: Tue Mar 15 16:12:40 2016 +0100 Adwaita: add some comments in the GtkScale related scss gtk/theme/Adwaita/_common.scss | 7 +++++++ 1 file changed, 7 insertions(+) commit 87c410d420538e6ecc83f6925930c23e71001775 Author: Jakub Steiner Date: Tue Mar 15 15:49:25 2016 +0100 High Contrast: checkboxes and radios inside treeviews - fixes hover state of checkboxes and radios inside treeviews gtk/theme/HighContrast/_common.scss | 6 ++++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 7 +++++++ gtk/theme/HighContrast/gtk-contained.css | 7 +++++++ 3 files changed, 20 insertions(+) commit e44617b3510ed394604a1624de7d6c5dffd28dfa Author: Jakub Steiner Date: Tue Mar 15 14:22:11 2016 +0100 High Contrast: reimplement gtk scale - sync with Adwaita to the new box model https://bugzilla.gnome.org/show_bug.cgi?id=763613 gtk/theme/HighContrast/_colors.scss | 2 + gtk/theme/HighContrast/_common.scss | 270 +++++++++++++++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 271 +++++++++++++++-------- gtk/theme/HighContrast/gtk-contained.css | 271 +++++++++++++++-------- 4 files changed, 575 insertions(+), 239 deletions(-) commit 7018a41ce9aebcb31ae082c06a1e9d4d7004a6da Author: Matthias Clasen Date: Tue Mar 15 09:03:21 2016 -0400 Correct a deprecation note The CSS equivalent for focus-padding is outline-offset. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 186ecdf0fa79aa676a735c47d3c7550562a72161 Author: Jakub Steiner Date: Tue Mar 15 13:21:15 2016 +0100 High Contrast: distinct insensitive button Tone down insensitive buttons. https://bugzilla.gnome.org/show_bug.cgi?id=746490 gtk/theme/HighContrast/_colors.scss | 2 +- gtk/theme/HighContrast/_drawing.scss | 4 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 642 +++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 592 ++++++++++----------- 4 files changed, 620 insertions(+), 620 deletions(-) commit 873f6ae36dfdf68962f66b27fe33f7ea0ed5dcd1 Author: Matthias Clasen Date: Mon Mar 14 19:14:31 2016 -0400 3.19.12 NEWS | 1 + 1 file changed, 1 insertion(+) commit d61c2b4cce38eb480aa53f8fdb08c4b181e2aa99 Author: Cosimo Cecchi Date: Mon Mar 14 15:41:16 2016 -0700 window: stop stomping on resize-mode set by external API commit c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f fixed the behavior of GtkContainer widgets requesting an IMMEDIATE resize-mode. However, GtkWindow has been stomping on resize-mode during realize() since commit addcc64b9cbb2fb1225080075ad3112a3d93d839. The combination of factors that led to this not being a visible problem during all this while is uncertain, but this now causes the Shell to continuously try to relayout its ShellEmbeddedWindow (a GtkWindow subclass). This commit separates the resize-mode as set internally by GtkWindow from the one set with the external API, so that GtkWindow only changes it when it had not been set before by the subclass. https://bugzilla.gnome.org/show_bug.cgi?id=763650 gtk/gtkcontainer.c | 47 +++++++++++++++++++++++++++++++++++------------ gtk/gtkcontainerprivate.h | 2 ++ gtk/gtkwindow.c | 12 +++--------- 3 files changed, 40 insertions(+), 21 deletions(-) commit 4f2cbd1856ae8884741313bb971632ad0e6b9997 Author: Tom Tryfonidis Date: Mon Mar 14 21:03:53 2016 +0000 Updated Greek translation po/el.po | 2165 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1253 insertions(+), 912 deletions(-) commit aec0ffebcc6c82141b6c8182267ac3df764791c6 Author: Matthias Clasen Date: Mon Mar 14 15:54:52 2016 -0400 Updates NEWS | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) commit 183276aa65f26ed02b98f8fb02330415c0eac8b5 Author: Lapo Calamandrei Date: Mon Mar 14 19:36:12 2016 +0100 Adwaita: fix vertical linked spinbuttons which I broke in a previous commit... gtk/theme/Adwaita/_common.scss | 12 ++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++++++++++++++-------- 3 files changed, 73 insertions(+), 25 deletions(-) commit 32b410c77b3789c7146d63bb77e8d336d293cc53 Author: Lapo Calamandrei Date: Mon Mar 14 19:19:43 2016 +0100 Adwaita: more drag hilight fixes gtk/theme/Adwaita/_common.scss | 13 +++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++------ gtk/theme/Adwaita/gtk-contained.css | 8 ++------ 3 files changed, 11 insertions(+), 18 deletions(-) commit 0b840a04a2b86122a036754e1c6c131fc2b4d7c6 Author: Carlos Garnacho Date: Mon Mar 14 18:47:37 2016 +0100 GtkScrolledWindow: Do not hover one scrollbar if grabbing on the other Makes no sense since we're not going to interact with it. It'll be hovered eventually if the button is released. gtk/gtkscrolledwindow.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 2173b6d483bb8f44e6003e393bba7080981e84a7 Author: Carlos Garnacho Date: Mon Mar 14 19:13:05 2016 +0100 GtkScrolledWindow: Check proximity on both indicators on grab-end leave events The implicit grab may be finished so the pointer lies on top of the other scrollbar, in this case one scrollbar should lose the hovering state, and the other should gain it. So we must check for proximity in both indicators. gtk/gtkscrolledwindow.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit baab1ebcc14a6c717da3f09cb87eeee697e25ab1 Author: Lapo Calamandrei Date: Mon Mar 14 18:46:56 2016 +0100 Adwaita: use a green (Tango Chameleon 3) for drag hilight gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 26 +++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 26 +++++++++++++++----------- 4 files changed, 37 insertions(+), 23 deletions(-) commit 8b505d570ef37ddf8028442ea0ba519910647ca5 Author: Lapo Calamandrei Date: Mon Mar 14 18:33:40 2016 +0100 Adwaita: placessidebar dnd fixes gtk/theme/Adwaita/_common.scss | 23 +++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 ++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 22 ++++++++++++++-------- 3 files changed, 43 insertions(+), 24 deletions(-) commit 5ac848d2297d5afc20315cb6c461aeedf0fd6b8a Author: Руслан Ижбулатов Date: Mon Mar 14 16:14:22 2016 +0000 GDK W32: Fix shown window position calculation for dialogs and splashes Two errors here: 1) A typo in splashscreen rectangle calculation - sets right twice instead of setting top 2) Centering for dialogs is off because it doesn't convert GDK virtual desktop coordinates to Windows WM virtual desktop coordinates by adding _gdk_offset_* https://bugzilla.gnome.org/show_bug.cgi?id=763628 gdk/win32/gdkwindow-win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bbced9a0cf3b7e8690cfb6ff4debf46d7c47e54d Author: Lapo Calamandrei Date: Mon Mar 14 17:22:31 2016 +0100 Adwaita: places sidebar selected button fix and refactor gtk/theme/Adwaita/_common.scss | 62 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 54 ++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 58 +++++++++++------------------- 3 files changed, 73 insertions(+), 101 deletions(-) commit 2923f69d3cc3a3518b847c8d91e5003584cb50f9 Author: Carlos Garnacho Date: Wed Mar 9 17:00:31 2016 +0100 gdkdnd: Add private means to commit the drag status The way gdk_drag_status() may be called multiple times during the processing of drag and drop events throughout the widget hierarchy brings some superfluous messaging going in, esp. when it's the last request the one we want to honor, yet we emit messaging requests on all. This is barely appreciable in the X11 backend, but due to the design of the wayland protocol, quick series of changes like this it have some self-amplificating consequences which may end up flooding the connection. We can delegate this to a late "commit" call, performed within GDK event management. This way gdk_drag_status() calls may be cached and only result in windowing messaging once per ::drag-motion or ::drag-data-received event. Emitting the final status will also avoid spurious action changes on the compositor and the other peer. https://bugzilla.gnome.org/show_bug.cgi?id=763298 gdk/gdkdnd.c | 50 ++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkdndprivate.h | 3 +++ gdk/gdkevents.c | 3 +++ gdk/wayland/gdkdnd-wayland.c | 3 +-- 4 files changed, 57 insertions(+), 2 deletions(-) commit 160a4fe5ac3ff8d857c4dcc90f81a51cd133ab61 Author: Carlos Garnacho Date: Wed Mar 9 17:43:18 2016 +0100 GtkNotebook: Make tab DnD use application/x-rootwindow-drop again Besides the ::drag-failed handling in order to trigger the window creation hook, add some handling of the application/x-rootwindow-drop mimetype, so the same effect is achieved if the tab could be dropped in a destination accepting this mimetype. https://bugzilla.gnome.org/show_bug.cgi?id=763387 gtk/gtknotebook.c | 50 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 10 deletions(-) commit 83cc7f76d76b45a766b4a26f29240920d647c306 Author: Carlos Garnacho Date: Wed Mar 9 17:37:27 2016 +0100 GtkWindow: Make it an application/x-rootwindow-drop destination This makes toplevels pseudo-transparent wrt this mimetype, so if the drag source offers this mimetype and not another that was managed by the destination-side widget hierarchy, the window will be an acceptable target for this mimetype, allowing it to trigger whatever is meant to in the source side. https://bugzilla.gnome.org/show_bug.cgi?id=763387 gtk/gtkwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit ab16b19a0a9c026b1e0997f8dee01120585369c9 Author: Руслан Ижбулатов Date: Sat Mar 12 12:55:24 2016 +0000 GDK W32: Fix pointer-under-window code for custom resize This code: > gdk_window_get_root_origin (window, &x, &y); > x -= root_x; > y -= root_y; > pointer_window = gdk_device_get_window_at_position (device, &x, &y); was meant to find the child gdk window at coordinates root_x and root_y. These 4 lines had 2 bugs: 1) x = x - root_x (same for y) is wrong, it should be x = root_x - x 2) gdk_device_get_window_at_position() does not give you the window at position x and y. It gives you the window under the device (mouse pointer) and the returns the device coordinates in x and y. https://bugzilla.gnome.org/show_bug.cgi?id=763533 gdk/win32/gdkwindow-win32.c | 46 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 6 deletions(-) commit ade1ac16a8c617efb4ee31774f920daa63055d6c Author: Jiro Matsuzawa Date: Mon Mar 14 14:42:48 2016 +0000 Updated Japanese translation po/ja.po | 1403 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 766 insertions(+), 637 deletions(-) commit 6fd05dfe53ae68a3730a0dc3461bb044de4a1ca3 Author: Carlos Garnacho Date: Mon Mar 14 15:28:20 2016 +0100 gtk-demo: Handle GDK_TOUCH_CANCEL in event-axes demo It is a thing in wayland, which means we leave traces from older touches when the compositor takes over touch sequences in order to handle a gesture. demos/gtk-demo/event_axes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c5a8be8fc66d92b6b8489ea68024f4f9138ca677 Author: Stas Solovey Date: Mon Mar 14 12:24:40 2016 +0000 Updated Russian translation po-properties/ru.po | 186 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 110 insertions(+), 76 deletions(-) commit 2e39df771383686271834cba10fbb2554b4044fe Author: Lapo Calamandrei Date: Mon Mar 14 10:53:59 2016 +0100 Adwaita: more scss refactoring gtk/theme/Adwaita/_common.scss | 96 ++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 325 +++++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 325 +++++++++++++------------------ 3 files changed, 318 insertions(+), 428 deletions(-) commit 0696c848ba2f96e6223786fa296d96f88d490dd0 Author: Lapo Calamandrei Date: Mon Mar 14 10:19:05 2016 +0100 Adwaita: refactor entry scss gtk/theme/Adwaita/_common.scss | 195 +++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 255 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 255 ++++++++++++++++++++++--------- 3 files changed, 470 insertions(+), 235 deletions(-) commit 4525f8628f3de84c1843bb4d991630d81dc412cb Author: Balázs Meskó Date: Mon Mar 14 07:57:26 2016 +0000 Updated Hungarian translation po/hu.po | 254 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 128 insertions(+), 126 deletions(-) commit 4f45353a1952d50b3a00b6358144ec7753ca490d Author: Matthias Clasen Date: Sun Mar 13 23:08:47 2016 -0400 pathbar: Style slider buttons Set a style class on the pathbar slider buttons, and have the theme handle the separately from other image buttons. gtk/theme/Adwaita/_common.scss | 5 +++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ gtk/ui/gtkpathbar.ui | 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) commit 8a3c25ca66e7c2a4e1575fdf10ef0bb1cf66f846 Author: Matthias Clasen Date: Sun Mar 13 23:05:54 2016 -0400 path bar: Stop mishandling slider buttons We must call get_preferred_width/height on the slider buttons before allocating them, otherwise the layout machinery spews warnings. gtk/gtkpathbar.c | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit 302b830649f6b52a65680e7f355fba6e92c44731 Author: Stas Solovey Date: Sun Mar 13 21:04:56 2016 +0000 Updated Russian translation po/ru.po | 248 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 126 insertions(+), 122 deletions(-) commit 140f51c5909c984fbb829050d55fea5902050ae1 Author: Aurimas Černius Date: Sun Mar 13 21:15:07 2016 +0200 Updated Lithuanian translation po-properties/lt.po | 182 +++++++++------- po/lt.po | 606 ++++++++++++++++++++++++---------------------------- 2 files changed, 393 insertions(+), 395 deletions(-) commit d9a6d2ca80ab5868135779e758bf488da4078a75 Author: Piotr Drąg Date: Sun Mar 13 19:51:57 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit b7ae717465a18edf8bec96465ecdeec348dfc2c1 Author: Jiri Grönroos Date: Sun Mar 13 14:47:41 2016 +0000 Updated Finnish translation po/fi.po | 1425 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 776 insertions(+), 649 deletions(-) commit 9a21ff3cd23d7a4e0feccf3aaa001fa40505e1b3 Author: Matthias Clasen Date: Sun Mar 13 00:11:52 2016 -0500 stack switcher: Support switching during DND GtkNotebook will switch pages if you hover over a tab during DND. The same makes sense in GtkStackSwitcher, so implement it here. gtk/gtkstackswitcher.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) commit fff323df0908eefbed90926526cd036b22f4cc46 Author: Matej Urbančič Date: Sat Mar 12 22:06:02 2016 +0100 Updated Slovenian translation po/sl.po | 171 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 70 insertions(+), 101 deletions(-) commit d00e19a3cd96cbbd0172c88b0e6b4e8bf4b31cdc Author: Lapo Calamandrei Date: Sat Mar 12 19:35:56 2016 +0100 Adwaita: some more selector housekeeping gtk/theme/Adwaita/_common.scss | 5 +- gtk/theme/Adwaita/gtk-contained-dark.css | 136 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 136 ++++++++++++++----------------- 3 files changed, 125 insertions(+), 152 deletions(-) commit ff05ccf18ed4d8eda49a0c20e6b2333f037384fc Author: Lapo Calamandrei Date: Sat Mar 12 19:32:42 2016 +0100 Adwaita: smarter scss extentions for titlebuttons gtk/theme/Adwaita/_common.scss | 5 +- gtk/theme/Adwaita/gtk-contained-dark.css | 230 +++++++------------------------ gtk/theme/Adwaita/gtk-contained.css | 230 +++++++------------------------ 3 files changed, 100 insertions(+), 365 deletions(-) commit dfc41b34f78aba39732446f9f8f050faec2ddef5 Author: Lapo Calamandrei Date: Sat Mar 12 19:25:46 2016 +0100 Adwaita: smarter scss extentions on the notebook avoiding spawning unneeded selectors. gtk/theme/Adwaita/_common.scss | 8 +- gtk/theme/Adwaita/gtk-contained-dark.css | 204 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 204 ++++++++++++++----------------- 3 files changed, 186 insertions(+), 230 deletions(-) commit 2885f1b3a21f1b96cfaa63c674534393a389dee2 Author: Lapo Calamandrei Date: Sat Mar 12 19:02:48 2016 +0100 Adwaita: fix notebook overflow arrows styling which correctly go :active now, istead of :checked as in the past. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit e44ea315d5a391756f8a3ad544e1ad4bf0a4aa9e Author: Lapo Calamandrei Date: Sat Mar 12 15:27:53 2016 +0100 Adwaita: set back drag hilight color to black ...I erroneusly pushed a test green there, this will probably change again, but that green wasn't right. gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) commit 8003937a68e00be0e9af4003755910a1a8fed98b Author: Lapo Calamandrei Date: Sat Mar 12 15:22:35 2016 +0100 Adwaita: textview drag hilight gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 14 insertions(+) commit b46f7223acfb5476f21089965a20e6f644742213 Author: Lapo Calamandrei Date: Sat Mar 12 15:03:07 2016 +0100 Adwaita: scss cosmetic fixed gtk/theme/Adwaita/_common.scss | 396 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 338 +++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 340 +++++++++++++------------- 3 files changed, 583 insertions(+), 491 deletions(-) commit 39c8ad53b5cd92e031d4f5e5ac5678cc7c44ddbd Author: Lapo Calamandrei Date: Sat Mar 12 14:21:01 2016 +0100 Adwaita: reset filechooserbutton:drop(active) gtk/theme/Adwaita/_common.scss | 5 +++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 13 insertions(+) commit 634abd1476cac75ecaafe6c7443b23dfe28cb06c Author: Fran Dieguez Date: Sat Mar 12 12:57:00 2016 +0000 Updated Galician translation po/gl.po | 679 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 339 insertions(+), 340 deletions(-) commit 2ee7d103a308c5e4860fdeb8677ca6503ef59d0e Author: Fran Dieguez Date: Sat Mar 12 12:55:28 2016 +0000 Updated Galician translation po-properties/gl.po | 840 +++++++++++++++++++++++++++------------------------- 1 file changed, 440 insertions(+), 400 deletions(-) commit 0e124c19aff9b2ee4856f41ac168cb8cbb0eb67b Author: Marek Černocký Date: Sat Mar 12 13:33:35 2016 +0100 Updated Czech translation po/cs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a97e8fd078174d341d394a750e5eb43fc97b6d4d Author: Руслан Ижбулатов Date: Sat Mar 12 12:14:04 2016 +0000 GDK W32: Fix a typo gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d345a7a60ef944f3f06769f9a9fc8822400e1307 Author: Matthias Clasen Date: Fri Mar 11 22:44:17 2016 -0500 color editor: Improve popup positioning Don't make the popup follow the slider while it is open; that makes interaction with it unnecessarily hard. Also move all the popups inwards a little bit, so they are not flush with the scales, which looks untidy. https://bugzilla.gnome.org/show_bug.cgi?id=763380 gtk/gtkcoloreditor.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 5f00a9b4ec52abfa60281df1903430caaff5ac42 Author: Matthias Clasen Date: Fri Mar 11 21:40:02 2016 -0500 scrolled window: Fix scrollbar size allocation We were not taking the scrollable borders into account when requesting size for the scrolled window, which could lead to underallocating the scrollbars at size allocation time when we *did* take the borders into account. This is most notable with treeviews, where we have the headers as borders, and was causing the treeview-crash-too-wide reftest to fail. gtk/gtkscrolledwindow.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) commit 07e6eae3e59c9c0eba9fde23492b566b9c474840 Author: Matthias Clasen Date: Fri Mar 11 18:30:36 2016 -0500 file chooser button: Set a CSS name This lets us differentiate the main node from regular boxes. gtk/gtkfilechooserbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 4d84e7a8f774f1c82d5ee3e6dd460a6d61024525 Author: Matthias Clasen Date: Fri Mar 11 18:30:14 2016 -0500 Trivial formatting fix gdk/gdk.c | 42 +++++++++++++++++++++--------------------- gdk/gdkwindow.c | 7 ++++--- 2 files changed, 25 insertions(+), 24 deletions(-) commit 4f3af94e577cb4172a4b99b572816eb997b04fee Author: Marek Černocký Date: Fri Mar 11 23:08:07 2016 +0100 Updated Czech translation po/cs.po | 213 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 108 insertions(+), 105 deletions(-) commit e44a87fe94ea8e23b75d1d76c94a717a81327565 Author: Matthias Clasen Date: Fri Mar 11 16:46:52 2016 -0500 Fix the textview-margins reftest This test has a word that wouldn't fit in the room we have with a window width of 100, and then we get clipped in the one case but not the other. Make the window a little wider, so it fits. testsuite/reftests/textview-margins.ref.ui | 3 ++- testsuite/reftests/textview-margins.ui | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 2f4f1640780da5be48447d93664237c7725995c1 Author: Matthias Clasen Date: Fri Mar 11 16:38:41 2016 -0500 Fix a typo We don't want to get the padding twice. gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e68c4e62dedbdbf620ae4d016ac38cb1732a5e3 Author: Matthias Clasen Date: Fri Mar 11 13:52:36 2016 -0500 inspector: Reset the treewalk when required The tree walk holds a tree iter, which will become invalid when we either remove the row that it points to or remove all rows. Reset the tree walk in those cases to avoid a crash that was pointed out by Bastien Nocera. gtk/inspector/object-tree.c | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) commit 2e34ce8f7ccf69c0c177a225b8a0b034b6c19fcb Author: Matthias Clasen Date: Fri Mar 11 13:52:09 2016 -0500 inspector: Add api to get the current tree walk position This will be used in the next commit. gtk/inspector/treewalk.c | 16 ++++++++++++---- gtk/inspector/treewalk.h | 3 +++ 2 files changed, 15 insertions(+), 4 deletions(-) commit a6d575ed61e707637cbbb3fd4b5b089020438cc3 Author: Matthias Clasen Date: Fri Mar 11 12:29:51 2016 -0500 typo fix gtk/gtktreemodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 30217908d81bc78835776a1cb2c63f962cfa5ee5 Author: Jordi Mas Date: Fri Mar 11 19:43:33 2016 +0100 Update Catalan translation po-properties/ca.po | 1055 ++++++++++++++++++++++++++------------------------- 1 file changed, 546 insertions(+), 509 deletions(-) commit 4b0abc13e3bbacb5f8c9c7483f1be412e4bb4ff2 Author: Timm Bäder Date: Fri Mar 11 19:14:19 2016 +0100 range: Fix a few typos Depreacated -> Deprecated through -> trough gtk/gtkrange.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 09b837183ea7e46fedee519cbe1868d9ea50198d Author: Sebastien Lafargue Date: Fri Mar 11 19:09:06 2016 +0100 textview: Fix drag highlight problems gtk/gtktextview.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit a84926f03a40075b76c85a5d8eef57c3269de644 Author: Piotr Drąg Date: Fri Mar 11 18:30:18 2016 +0100 Updated Polish translation po/pl.po | 58 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 27 deletions(-) commit 63b03ce83602d94c3b842308f59644f4a68a40ee Author: Matthias Clasen Date: Fri Mar 11 12:19:47 2016 -0500 Better debug messages for actions Unify the debug messages between actionhelper and menutracker, and add some more context to some of them. gtk/gtkactionhelper.c | 32 +++++++++++++++++--------------- gtk/gtkmenutrackeritem.c | 29 +++++++++++++++-------------- 2 files changed, 32 insertions(+), 29 deletions(-) commit baaa0637bfc99af84e56498b20dfc8e0dbf93c8d Author: Dušan Kazik Date: Fri Mar 11 17:09:01 2016 +0000 Updated Slovak translation po/sk.po | 218 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 111 insertions(+), 107 deletions(-) commit 3c89c11328e4ec030d4de83ea22e4deefea87fda Author: Lapo Calamandrei Date: Fri Mar 11 18:02:37 2016 +0100 Adwaita: set a min-width on horizontal spinbutton entry to accomodate at least 3 chars, before overflowing. gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 5085e1c70d4949798f761d2b1c5a7952293e69ab Author: Lapo Calamandrei Date: Fri Mar 11 18:01:36 2016 +0100 Adwaita: rounded corners for colorscale popup gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 8 insertions(+) commit eeb945e4c16b6ff26d20e2452b4c33a133e12395 Author: Benjamin Otte Date: Tue Mar 8 01:47:33 2016 +0100 inspector: Widgets update automatically when CSS changes There's no need to force-invalidate their CSS. gtk/inspector/css-editor.c | 2 -- 1 file changed, 2 deletions(-) commit b7285592f968dfff78a683ad6a82955448c77bd6 Author: Benjamin Otte Date: Tue Mar 8 05:01:33 2016 +0100 cssanimation: Compute progress correctly We were computing the wrong progress, in particular when the iteration count was non-integer. Test included. gtk/gtkcssanimation.c | 40 +- testsuite/reftests/Makefile.am | 3 + .../animation-fill-mode-iteration-count.css | 83 ++ .../animation-fill-mode-iteration-count.ref.ui | 1117 ++++++++++++++++++ .../animation-fill-mode-iteration-count.ui | 1213 ++++++++++++++++++++ 5 files changed, 2435 insertions(+), 21 deletions(-) commit fc7335bdb4c1bed38b7287354d348af949c20ace Author: Benjamin Otte Date: Wed Mar 9 17:27:01 2016 +0100 colorscale: Draw a trough Make sure the color info is actually drawn inside the trough. gtk/gtkcolorscale.c | 157 ++++++--------------------------------------- gtk/gtkcolorscaleprivate.h | 7 ++ gtk/gtkrange.c | 12 ++-- gtk/ui/gtkcoloreditor.ui | 2 + 4 files changed, 35 insertions(+), 143 deletions(-) commit 8351a6e4d61a48921582668dd54b3094cbcd75ac Author: Lapo Calamandrei Date: Fri Mar 11 16:34:30 2016 +0100 Adwaita: .osd check|radio style gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_common.scss | 10 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 62 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 62 ++++++++++++++++++++++++++++---- 4 files changed, 121 insertions(+), 15 deletions(-) commit f81635ed818f95ed670abce447e1fa2d1ba833dc Author: Daniel Mustieles Date: Fri Mar 11 15:31:32 2016 +0000 Updated Spanish translation po/es.po | 221 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 112 insertions(+), 109 deletions(-) commit 887905288763da0378162dc1e67560320dd7709d Author: Friedrich Beckmann Date: Thu Jan 7 15:51:31 2016 +0100 added NSEventTypeMagnify and NSEventTypeRotate for ZOOM and ROTATE gestures MacOS provides the NSEventTypeMagnify which is very similar to the Gtk ZOOM gesture and NSEventTypeRotate which is very similar to the Gtk Rotate gesture. Those two event sequences are translated to a sequence of GDK_TOUCHPAD_PINCH events. This sequence is then detected in the upper gtk layers as Gtk Zoom/Rotate Gestures. https://bugzilla.gnome.org/show_bug.cgi?id=760276 gdk/quartz/gdkevents-quartz.c | 124 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 123 insertions(+), 1 deletion(-) commit b37e4ff8059e31fd482560327a20580cb5969303 Author: Lapo Calamandrei Date: Fri Mar 11 14:56:21 2016 +0100 Adwaita: simplify vertically linked entries scss code gtk/theme/Adwaita/_common.scss | 22 +++------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++-------------- gtk/theme/Adwaita/gtk-contained.css | 16 ++-------------- 3 files changed, 7 insertions(+), 47 deletions(-) commit 4c3e4d3ea1134b92b70cbb632f07f3a049ced589 Author: Matthias Clasen Date: Fri Mar 11 08:50:38 2016 -0500 filechooserbutton: Fix drag highlight problems This widget is a bit unusual in that it is a box that acts as the drop target, while the visible content is a child of the box. Propagate :drop(active) to the child to make the highlight visible. gtk/gtkfilechooserbutton.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit e8c5db0425bb58a965a7d46f1d40d16fec2de40b Author: Lapo Calamandrei Date: Fri Mar 11 14:42:49 2016 +0100 Adwaita: drop active style fixes taking care of: * entries * buttons (misses some linking logic still) * comboboxes (untested) * spinbuttons gtk/theme/Adwaita/_colors.scss | 2 ++ gtk/theme/Adwaita/_common.scss | 48 +++++++++++++++++++++++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 29 +++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 29 +++++++++++++++++++ 4 files changed, 104 insertions(+), 4 deletions(-) commit ab5ebf61998eb40d5bb5b037e4a8b333242a21f5 Author: Matthias Clasen Date: Fri Mar 11 08:34:01 2016 -0500 calendar: Fix drag highlight problems Don't propagate :drop(active) to components. gtk/gtkcalendar.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 3064e4e40660381842bff65a6e75a5109c710b89 Author: Matthias Clasen Date: Fri Mar 11 08:07:30 2016 -0500 spinbutton: Fix drag highlight problems Don't propagate :drop(active) to the buttons. gtk/gtkspinbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2fee5fbda702a232054e95a1eade89bd7fa0f39b Author: Matthias Clasen Date: Fri Mar 11 08:01:06 2016 -0500 entry: Fix drag highlight problems We don't want drag highlights around icons or progress, so don't propagate the :drop(active) state to them. gtk/gtkentry.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit b7577b2f3be85ecc5c28c918fdc2d84af3bf1c78 Author: Yosef Or Boczko Date: Fri Mar 11 14:47:34 2016 +0200 Updated Hebrew translation po-properties/he.po | 813 +++++++++++++++++++++++++++------------------------- 1 file changed, 423 insertions(+), 390 deletions(-) commit f8bbbbf684906d30ccd0b25e043a9dea84fa496e Author: Jonas Ådahl Date: Fri Mar 11 13:13:31 2016 +0800 gdk: Don't leak discarded window state event When compressing window state events, we didn't free the discarded event after removing it from the queue, causing us to leak it. This commit makes sure to free the discarded event after unqueuing it. https://bugzilla.gnome.org/show_bug.cgi?id=762468 gdk/gdkevents.c | 1 + 1 file changed, 1 insertion(+) commit 1d1906597908b2bcd61a1aec10119c13817092af Author: Matthias Clasen Date: Fri Mar 11 01:27:21 2016 -0500 range: Fix trough clickability We previously considered any click inside the trough if it hit an area that the slider might cover. Bring this behavior back; the trough of scales is otherwise just too narrow to hit easily with a click. gtk/gtkrange.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 1a5cb41bd93434d0263bb1bd4b16ec14b284dbab Author: Matthias Clasen Date: Fri Mar 11 00:18:54 2016 -0500 Use per-display debug flags for visual debugging gtk/gtkcssgadget.c | 92 ++++++++++++++++++++++++++++------------------------- gtk/gtkpixelcache.c | 8 +++-- gtk/gtkwidget.c | 5 ++- 3 files changed, 55 insertions(+), 50 deletions(-) commit 02742d53323bb17870317ca53d93627c7d7cbcc4 Author: Matthias Clasen Date: Fri Mar 11 00:16:35 2016 -0500 Make debug flags per-display Tihs lets us toggle debug flags in the inspector without affecting the inspector itself. gtk/gtkmain.c | 27 +++++++++++++++++++++++---- gtk/gtkprivate.h | 12 ++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) commit f82e4ff3625eca3661622ef0efba99dfdda4227d Author: Matthias Clasen Date: Thu Mar 10 23:17:02 2016 -0500 Trivial formatting fix gtk/gtkmain.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 97250ea5e69c75fb4bc3b799858d3d1556b9e478 Author: Matthias Clasen Date: Fri Mar 11 00:17:37 2016 -0500 inspector: Add a switch for the layout debug flag gtk/inspector/visual.c | 19 +++++++++++++++++++ gtk/inspector/visual.ui | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) commit ad5469759493734b0cd4e6a8b710c3d3da6119bb Author: Matthias Clasen Date: Thu Mar 10 23:13:54 2016 -0500 gadget: Show layout When the layout debug key is set, overlay boxes for the content and border area of each gadget. gtk/gtkcssgadget.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 33d7196dc8274e8dd66b845c0444674d3f11f6fc Author: Matthias Clasen Date: Thu Mar 10 23:14:57 2016 -0500 Add a layout debug option This will be used to show box model borders. docs/reference/gtk/running.sgml | 5 ++++- gtk/gtkdebug.h | 3 ++- gtk/gtkmain.c | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) commit 04e59719b563575315f385f156f6bab331640f44 Author: Matthias Clasen Date: Thu Mar 10 23:18:38 2016 -0500 Docs: Trivial consistency fix docs/reference/gtk/running.sgml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 804d330195f4e3a777b64a49d70059af2742f1c0 Author: Matthias Clasen Date: Thu Mar 10 22:46:02 2016 -0500 Typo fixes Fix s/occurence/occurrence in many places. README.in | 2 +- gtk/compose-parse.py | 4 ++-- gtk/gtkcssprovider.c | 8 ++++---- gtk/gtkplacessidebar.c | 8 ++++---- gtk/gtkprintoperation.h | 2 +- gtk/gtktextbuffer.c | 2 +- gtk/gtktexttag.c | 2 +- m4macros/gtk-3.0.m4 | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) commit f87da278ad5aa20af58b67fcc79a3ffb55b55d28 Author: Мирослав Николић Date: Fri Mar 11 03:42:36 2016 +0100 Updated Serbian translation po/sr.po | 177 +++++++++++++++++++++++++++++---------------------------- po/sr@latin.po | 177 +++++++++++++++++++++++++++++---------------------------- 2 files changed, 178 insertions(+), 176 deletions(-) commit 41ee906764d37a6741552e1d4662eafed45f3314 Author: Piotr Drąg Date: Fri Mar 11 02:17:05 2016 +0100 Updated Polish translation po/pl.po | 152 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 70 insertions(+), 82 deletions(-) commit edacd5d6ee89eac30891030edbb70c746bfe2fe4 Author: Federico Mena Quintero Date: Thu Mar 10 16:02:56 2016 -0600 GtkFileChooserEntry: move the cursor after the user chooses a completion from the list https://bugzilla.gnome.org/show_bug.cgi?id=756450 gtk/gtkfilechooserentry.c | 2 ++ 1 file changed, 2 insertions(+) commit 81059c35d56f277797183883f8ed2347fb0f53a8 Author: Federico Mena Quintero Date: Thu Mar 10 15:05:16 2016 -0600 GtkFileChooserEntry: regenerate the completions if the dir_part changes Consider this bug: 1. Open a file chooser; switch it to $HOME 2. Start typing "~/Dow" with some file that *does* exist in your $HOME 3. Delete the inline-completion selection (e.g. the "nloads" after "~/Down"). 4. While you are at "~/Dow_" hit Tab. No completion will occur. This happens because of the following. Say the GtkFileChooserEntry is in the process of loading $HOME, because _set_base_folder() was called. If the entry contains no text, then the FULL_PATH_COLUMN of the file system model will be set to unprefixed filenames from $HOME, like .ssh/ Documents/ Downloads/ somefile.txt Later we avoid reloading the folder if g_file_equal(old_folder, new_folder). However, the FULL_PATH_COLUMN gets populated in completion_store_set() out of the actual filenames that GIO returned, plus the chooser_entry->dir_part. If the user starts typing "~/Dow" then dir_part changes to "~/", *but* the folder won't be reloaded since it is also $HOME. However, the completion machinery assumes that FULL_PATH_COLUMN will contain prefixed entries like ~/.ssh/ ~/Documents/ ~/Downloads/ ~/somefile.txt So, we add an invariant that chooser_entry->dir_part and chooser_entry->current_folder_file must change at the same time, and must not get out of sync: If any of them changes, then the completions are regenerated. gtk/gtkfilechooserentry.c | 48 +++++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 18 deletions(-) commit 2b773e07e3253075312e4b84da16a1b08f54b261 Author: Matthias Clasen Date: Thu Mar 10 16:21:35 2016 -0500 inspector: Show the frame clock in misc There is no convenient way to get a handle on the frame clock, otherwise, and the frame clock object is where we show the frame rate... gtk/inspector/misc-info.c | 42 +++++++++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.ui | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) commit ec0111ce058473c6e8edce9d2144777745325e72 Author: Mario Blättermann Date: Thu Mar 10 19:58:33 2016 +0100 Updated German translation po/de.po | 764 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 380 insertions(+), 384 deletions(-) commit c87eb5854a29cb92c68024354cbf6056bd806324 Author: Daniel Mustieles Date: Thu Mar 10 17:23:24 2016 +0000 Updated Spanish translation po-properties/es.po | 74 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 54 insertions(+), 20 deletions(-) commit 556940c3c68043f5d4ffb8a528762ab492fb5f6e Author: Piotr Drąg Date: Thu Mar 10 17:30:11 2016 +0100 Updated Polish translation po-properties/pl.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 25b036ae93ad18a9714d624349a0d76f9b879680 Author: Carlos Soriano Date: Thu Mar 10 16:28:59 2016 +0100 configure.ac: bump version So nautilus and other consumers of the sidebar can use the non API-broken API of the sidebar. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8038139067ea9b3230906000c3e3680764c99bc2 Author: Artur Morais Date: Thu Mar 10 14:33:41 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 163 +++++++++++++++++++++++++++++-------------------- 1 file changed, 96 insertions(+), 67 deletions(-) commit 3c26fecef95d342b464cc2c3e25d3febd01df18c Author: Balázs Meskó Date: Thu Mar 10 13:59:55 2016 +0000 Updated Hungarian translation po-properties/hu.po | 1540 +++++++++++++++++---------------------------------- 1 file changed, 512 insertions(+), 1028 deletions(-) commit 65ea6f87365b66e9a5de4a38aec9abed33fe938e Author: Руслан Ижбулатов Date: Wed Mar 9 09:50:09 2016 +0000 GDK W32: Partially rollback the custom resize for GL windows If a window is being drawn by OpenGL, we need to apply any pending resizes to it *before* we paint. https://bugzilla.gnome.org/show_bug.cgi?id=763287 gdk/win32/gdkwindow-win32.c | 117 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 90 insertions(+), 27 deletions(-) commit 85d022080042d86eeef0e680b53660dd229fade9 Author: Lapo Calamandrei Date: Thu Mar 10 13:35:08 2016 +0100 Adwaita: gtkcolorscale styling. gtk/theme/Adwaita/_common.scss | 124 ++++++++++++++++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 150 +++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 150 +++++++++++++++++++++++-------- 3 files changed, 348 insertions(+), 76 deletions(-) commit 40a2d7f14a96f09c9a3fb4961bc36d2c9bdbe31e Author: Мирослав Николић Date: Thu Mar 10 11:54:39 2016 +0100 Updated Serbian translation po-properties/sr.po | 18 ++++++++---------- po-properties/sr@latin.po | 18 ++++++++---------- 2 files changed, 16 insertions(+), 20 deletions(-) commit b9e3d2033ca09606c16a7a3b09ae5709df9fc2db Author: Мирослав Николић Date: Thu Mar 10 11:39:44 2016 +0100 Updated Serbian translation po-properties/sr.po | 76 +++++++++++++++++++++++++++++++++-------------- po-properties/sr@latin.po | 76 +++++++++++++++++++++++++++++++++-------------- 2 files changed, 106 insertions(+), 46 deletions(-) commit a09d552f3372f6352c2d8e0d0d306f64e2013cf9 Author: Marek Černocký Date: Thu Mar 10 10:47:04 2016 +0100 Updated Czech translation po-properties/cs.po | 70 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 52 insertions(+), 18 deletions(-) commit b3860e407d3edb6f94d53269960c052756516aa2 Author: Philip Chimento Date: Wed Mar 9 22:10:04 2016 -0800 quartz: Get core pointer from device manager Some spots missed in the earlier refactor removing core_pointer from the GdkDisplay struct. https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/quartz/gdkevents-quartz.c | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) commit 8fb7f50028eb3729161448b7228f69b673a93b45 Author: Jonas Ådahl Date: Tue Mar 8 17:03:06 2016 +0800 wayland: Add request focus support via gtk_shell A gtk_surface.present request was added to gtk_surface which takes timestamp from some input event, and uses that timestamp to figure out whether the window can be presented or not. If we don't have a timestamp, we should just give up instead of making up our own, otherwise we might steal someones focus. https://bugzilla.gnome.org/show_bug.cgi?id=763037 gdk/wayland/gdkwindow-wayland.c | 13 +++++++++++++ gdk/wayland/protocol/gtk-shell.xml | 4 ++++ 2 files changed, 17 insertions(+) commit ed430dc00adf437a4002ad7552912e5094565f2c Author: Jonas Ådahl Date: Mon Mar 7 12:41:31 2016 +0800 wayland: Add system bell support via gtk_shell Invoke the system bell by calling the request added to the gtk_shell protocol. https://bugzilla.gnome.org/show_bug.cgi?id=763001 gdk/wayland/gdkdisplay-wayland.c | 9 +++++++++ gdk/wayland/gdkwindow-wayland.c | 18 +++++++++++++++++- gdk/wayland/protocol/gtk-shell.xml | 4 ++++ 3 files changed, 30 insertions(+), 1 deletion(-) commit f68cf698fc1476c7d8e8c6a394cf1eb495a0e297 Author: Jonas Ådahl Date: Mon Mar 7 11:49:35 2016 +0800 wayland: Don't invent our own unstable protocol semantics The gtk_shell protocol used some half baked unstable protocol semantics that worked by only allowing binding the exact version of the interface. This hack is a bit too confusing and it makes it impossible to do any compatible changes without breaking things. So, instead rename it to include a number in the interface names. This way we can add requests and events without causing compatibility issues, and we can later remove requests and events by bumping the number in the interface names. https://bugzilla.gnome.org/show_bug.cgi?id=763001 gdk/wayland/gdkdisplay-wayland.c | 21 +++++++++------------ gdk/wayland/gdkdisplay-wayland.h | 2 +- gdk/wayland/gdkprivate-wayland.h | 4 ---- gdk/wayland/gdkscreen-wayland.c | 23 ++++++++++++++--------- gdk/wayland/gdkwindow-wayland.c | 27 ++++++++++++++------------- gdk/wayland/protocol/gtk-shell.xml | 13 +++++-------- 6 files changed, 43 insertions(+), 47 deletions(-) commit 30faa9a2a9214178084fe87616ba1982a6700b16 Author: Matthias Clasen Date: Wed Mar 9 21:58:38 2016 -0500 inspector: Refine strv editor Put some spacing between the rows, and link the buttons to the entries they belong to. gtk/inspector/strv-editor.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 6e9fd6832a69e36313a4385f37d0b72a3f032ee9 Author: Matthias Clasen Date: Wed Mar 9 21:42:08 2016 -0500 inspector: Do a better job with readonly properties Say if they are non-writable or construct-only, and also gray out construct-only properties in the list. gtk/inspector/prop-editor.c | 14 ++++++++++++++ gtk/inspector/prop-list.c | 6 +++++- 2 files changed, 19 insertions(+), 1 deletion(-) commit a28e76f09c5a2344563b987774092b894d4658a9 Author: Matthias Clasen Date: Wed Mar 9 21:13:44 2016 -0500 GtkActionable: Improve property names These names show up as title in the property editor in the inspector, so we want them to look consistent with the rest. gtk/gtkactionable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c24cc63523b47a8262ecbe5449f034703d6734fa Author: Matthias Clasen Date: Wed Mar 9 21:01:38 2016 -0500 inspector: Minor refactoring Break out some functions in prop-editor.c gtk/inspector/prop-editor.c | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) commit c1c8a861aaec48d6376b161deae4c2044af41e60 Author: Matthias Clasen Date: Wed Mar 9 20:55:46 2016 -0500 inspector: Redo property lists a bit Break out value types as a separate column, to make the value column more readable. gtk/inspector/prop-list.c | 120 ++++++++++++++++++++++++++++++++++++++++----- gtk/inspector/prop-list.ui | 33 ++++++++++--- 2 files changed, 134 insertions(+), 19 deletions(-) commit 0c929b7124ce19a838a3acdc735533fa61d02750 Author: Matthias Clasen Date: Wed Mar 9 19:40:06 2016 -0500 inspector: Avoid overflow when editing doubles The adjustment double properties allow values from -G_MAXDOUBLE to G_MAXDOUBLE, which leads to overflow when calculating max - min / 10. To avoid that, simply use a fixed page_size of 1.0. gtk/inspector/prop-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 747962ece2eea2580deedc9e087ba0427197031c Author: Piotr Drąg Date: Thu Mar 10 03:43:27 2016 +0100 Updated Polish translation po-properties/pl.po | 170 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 100 insertions(+), 70 deletions(-) commit 6af8e9f3cc69a3538284e288bc2cb26731144edc Author: Matthias Clasen Date: Wed Mar 9 19:08:46 2016 -0500 inspector: Wording changes Align the property nicks of GtkCssNode with the column names in the inspector node tree. gtk/gtkcssnode.c | 18 ++++++------------ gtk/inspector/css-node-tree.ui | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) commit f23c77b14b29c5767eb335c5b1c65e133b60a98a Author: Matthias Clasen Date: Wed Mar 9 19:07:32 2016 -0500 inspector: Some more cleanup The last commit left some unused functions behind. gtk/inspector/css-node-tree.c | 81 ------------------------------------------ gtk/inspector/css-node-tree.ui | 1 - 2 files changed, 82 deletions(-) commit e5a5f0a59ac74fb20dd1d920398e9e13e971fcaf Author: Matthias Clasen Date: Wed Mar 9 18:58:48 2016 -0500 inspector: Remove an unncessary context menu Now that we have the style properties on the same page again, we don't need the context menu anymore. gtk/inspector/css-node-tree.c | 23 ----------------------- 1 file changed, 23 deletions(-) commit 0479969f3f71a8355e2455b11e0272debec0af00 Author: Claude Paroz Date: Wed Mar 9 23:09:12 2016 +0100 Updated French translation po/fr.po | 1936 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1043 insertions(+), 893 deletions(-) commit fa48dbf1a58c01f06218accd3ec0c1b5ffceca02 Author: Matthias Clasen Date: Wed Mar 9 14:15:40 2016 -0500 range: Fix gadget state propagation The contents node was not getting state updates at all, and the trough node was missing some state updates as well, because we were not calling update_trough_state() in all the places where it is needed. gtk/gtkrange.c | 4 ++++ 1 file changed, 4 insertions(+) commit aaa467679d8ea592856a6a472584ba4988f68dcc Author: Carlos Garnacho Date: Wed Mar 9 17:30:29 2016 +0100 wayland: Make data_source_target() an empty stub This request actually means nothing to the upper GDK layers, we used to preempt a GDK_SELECTION_REQUEST event, but this is too eager, and not like things work in X11. Originally in wayland, this event may be used for feedback purposes. We however don't perform any mimetype-based feedback, so we can safely ignored. This makes data_source_send() the only place where we actually trigger GDK_SELECTION_REQUEST, this one is conceptually the same than the X11 selection request event. gdk/wayland/gdkselection-wayland.c | 26 -------------------------- 1 file changed, 26 deletions(-) commit f61965233bdd4eb725e8508849517f7865a92d5c Author: Carlos Garnacho Date: Wed Mar 9 17:28:29 2016 +0100 wayland: Allow 0-size writes in selection/dnd It's not something we should be forbidding explicitly, definitely no-op is not the best option. gdk/wayland/gdkselection-wayland.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3da4b81427e399bc194d4d24ae3de257eb258e14 Author: Carlos Garnacho Date: Wed Mar 9 17:27:07 2016 +0100 wayland: Clear more thoroughly the source-side data on dnd_finished The targets should also be unset. gdk/wayland/gdkselection-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ec2257e53c618c2e33b1e77aa62b6dd24a107c21 Author: Carlos Garnacho Date: Wed Mar 9 17:25:33 2016 +0100 wayland: Unset the source-side DnD fd after passing it to the stream The ownership is given to the stream, so unset it here. gdk/wayland/gdkselection-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 1879de1f172121fd5fbe5b66546f259c30669a0d Author: Lapo Calamandrei Date: Wed Mar 9 17:28:16 2016 +0100 Adwaita: radiobutton and checkbutton style fixes padding and margins tweaks and treat the hover when placed in popovers. gtk/theme/Adwaita/_common.scss | 10 +++++- gtk/theme/Adwaita/gtk-contained-dark.css | 53 +++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 53 +++++++++++++++++++++++--------- 3 files changed, 85 insertions(+), 31 deletions(-) commit 25b67af3409287483ced9f7b585ed1cdefb667af Author: Timm Bäder Date: Wed Mar 9 11:15:34 2016 +0100 textview: Ensure the borders fit into the allocation https://bugzilla.gnome.org/show_bug.cgi?id=763216 gtk/gtktextview.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 473e3462035f5e4f818bae6f0b56b41e40dd970b Author: Lapo Calamandrei Date: Wed Mar 9 15:35:25 2016 +0100 Adwaita: added a border to sidebars... ...hopefully when needed. By default I assume a left hand side placement on ltr languages and the opposite in rtl, for other placements left/right style classes can be used. gtk/theme/Adwaita/_common.scss | 34 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 25 ++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 25 ++++++++++++++--------- 3 files changed, 62 insertions(+), 22 deletions(-) commit ed5468e81ce3fe2d75703cfd51481986902f5165 Author: Matthias Clasen Date: Wed Mar 9 08:58:23 2016 -0500 window: Avoid excessive resizing with popovers Under Wayland, popovers use subsurfaces, and we end up getting configure events for these delivered to the toplevel they're in. To avoid triggering resize loops, ignore configure events that are not for the toplevel window itself. https://bugzilla.gnome.org/show_bug.cgi?id=763351 gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 9ab920164ab50393a68f4b024c89f65c2c516884 Author: Lapo Calamandrei Date: Tue Mar 8 20:39:24 2016 +0100 Adwaita: regenerate css since a bit was missing from the previous commit gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 2 files changed, 4 deletions(-) commit 8508ea1554d6a2767319170a8e72f60398106630 Author: Lapo Calamandrei Date: Tue Mar 8 20:09:18 2016 +0100 Adwaita: add a top border to actionbars gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-) commit 5923b73fc1c48a29f4589b541651efc9d6fd1f1d Author: Lapo Calamandrei Date: Tue Mar 8 19:55:35 2016 +0100 Adwaita: make links on infobars visible gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 12 +++++++++++- gtk/theme/Adwaita/gtk-contained.css | 12 +++++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) commit c62862f552236992de6547280ff5ac00c52e8500 Author: Marek Černocký Date: Tue Mar 8 18:58:13 2016 +0100 Updated Czech translation po-properties/cs.po | 2407 +++++++++++++++++++++++++-------------------------- 1 file changed, 1199 insertions(+), 1208 deletions(-) commit c0ac2b849d8e6355f2ebc48febe9fd479d02fe51 Author: Marek Černocký Date: Tue Mar 8 18:45:50 2016 +0100 Updated Czech translation po/cs.po | 1255 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 663 insertions(+), 592 deletions(-) commit bd581bebede3212e32670e4a551ca23255f1baf6 Author: Stas Solovey Date: Tue Mar 8 17:39:22 2016 +0000 Updated Russian translation po/ru.po | 421 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 212 insertions(+), 209 deletions(-) commit 7822f59a861abe6a29c15823964c7ea1892c265c Author: Takao Fujiwara Date: Tue Mar 8 22:18:06 2016 +0900 Set VirtualBox USB Tablet to GDK_SOURCE_MOUSE The virtual host assigns the name of the mouse device to "VirtualBox USB Tablet" in VirtualBox and we'd use that device as mouse. If not, GtkTooltip is not enabled. https://bugzilla.gnome.org/show_bug.cgi?id=763017 gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 6fdf1e4462e1a69995bdcd71aa9de1071216b3f6 Author: Lapo Calamandrei Date: Tue Mar 8 16:06:55 2016 +0100 Adwaita: path-bar style fixes what we used to do here doesn't really work anymore, so this adapt to gtk+ and theme changes. gtk/theme/Adwaita/_common.scss | 22 ++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 23 +++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 23 +++++++++++++---------- 3 files changed, 40 insertions(+), 28 deletions(-) commit b7fd0147f795351c5dd31558ce43e99b1ddb1875 Author: Matthias Clasen Date: Tue Mar 8 08:53:18 2016 -0500 gtk-demo: Fix a typo demos/gtk-demo/application_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4357c22a89b5f08b481d1e8fd24ca23bcbc7a303 Author: Matthias Clasen Date: Tue Mar 8 08:52:13 2016 -0500 gtk-demo: Update foreigndrawing example some more The scrollbar changes need to take the theme's negative margins into account. demos/gtk-demo/foreigndrawing.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 01ad22df1fe7d9eb3b9e56bedf67ba12999e9d14 Author: Lapo Calamandrei Date: Tue Mar 8 14:26:28 2016 +0100 Adwaita: vertical paddings on menu mostly to fix combobox menu positioning, looks nice anyway. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit fdd3c912a0b08573bd8efefe6d40fa00d805196b Author: Matthias Clasen Date: Tue Mar 8 08:13:56 2016 -0500 gtk-demo: Try to fix foreigndrawing scrollbars The node hierarchy and sizing has changed with the gadgetization of range widgets. demos/gtk-demo/foreigndrawing.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 1f3c93583a4fc3db1f8d9d085c7f2214365843c5 Author: Lapo Calamandrei Date: Tue Mar 8 14:00:01 2016 +0100 Adwaita: fix a typo gtk/theme/Adwaita/_common.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit db485305e4abe80083064ea545492f45488f3c65 Author: Мирослав Николић Date: Tue Mar 8 09:50:33 2016 +0100 Updated Serbian translation po/sr.po | 3 +-- po/sr@latin.po | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 6e17ed2dca1a2cac86bab15d6391ddc403896103 Author: Мирослав Николић Date: Tue Mar 8 09:48:24 2016 +0100 Updated Serbian translation po/sr.po | 4 ++-- po/sr@latin.po | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 450287fc9f9195015f9fa87c957d596c8d462689 Author: Мирослав Николић Date: Tue Mar 8 09:46:13 2016 +0100 Updated Serbian translation po/sr.po | 648 ++++++++++++++++++++++++++------------------------------- po/sr@latin.po | 648 ++++++++++++++++++++++++++------------------------------- 2 files changed, 586 insertions(+), 710 deletions(-) commit 24535e24842d9e6c02bfa5804ddc3b9ad9f589b7 Author: Balázs Úr Date: Tue Mar 8 07:42:18 2016 +0000 Updated Hungarian translation po/hu.po | 540 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 250 insertions(+), 290 deletions(-) commit 15c9b3e69271364016832eabb1bb0137bb3d7f53 Author: Chun-wei Fan Date: Tue Mar 8 13:00:49 2016 +0800 GDK-Win32: Make update_stye_bits() available within the backend Other portions of the GDK-Win32 backend make use of this function as layered windows need to be disabled for GL windows and possibly other parts, so make this function a private function that is available within the backend. https://bugzilla.gnome.org/show_bug.cgi?id=763285 gdk/win32/gdkglcontext-win32.c | 4 ++-- gdk/win32/gdkwindow-win32.c | 21 ++++++++++----------- gdk/win32/gdkwindow-win32.h | 2 ++ 3 files changed, 14 insertions(+), 13 deletions(-) commit 3f190e0fa6c2c6e00cc9e0de2627b711539dc1e8 Author: Chun-wei Fan Date: Sat Mar 5 11:34:16 2016 +0800 Win32: Disable layered windows for GL Layered windows and GL do not work well together, so disable layered windows when initiating a GdkGLContext, so that GtkGLArea programs can run properly. Also based on patch by LRN to address the issue. https://bugzilla.gnome.org/show_bug.cgi?id=763080 gdk/win32/gdkglcontext-win32.c | 29 +++++++++++++++++++++++++++++ gdk/win32/gdkwindow-win32.c | 14 +++++++++++--- gdk/win32/gdkwindow-win32.h | 3 +++ 3 files changed, 43 insertions(+), 3 deletions(-) commit 18f81d5da80fde84c0f65ac0d525c7aa4e77a199 Author: Dušan Kazik Date: Mon Mar 7 20:32:48 2016 +0000 Updated Slovak translation po/sk.po | 701 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 351 insertions(+), 350 deletions(-) commit d173b69740bda40eb49ff513230337accbc288e5 Author: Piotr Drąg Date: Mon Mar 7 19:54:44 2016 +0100 Updated Polish translation po/pl.po | 679 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 331 insertions(+), 348 deletions(-) commit 717e88282bad968d29c10e16027fcaf309edfbff Author: Piotr Drąg Date: Mon Mar 7 19:35:35 2016 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 3015f46170a9573c871163ecc65500f3ac9937ac Author: Matthias Clasen Date: Mon Mar 7 10:50:43 2016 -0500 Fix another installed test typo This one was causing us to install invalid .test files and thereby breaking all continuous tests :-( testsuite/tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 13a94b66b6d4381554658657b1937b8f44be8b21 Author: Matthias Clasen Date: Mon Mar 7 07:48:29 2016 -0500 Sync default double-click time with GNOME The default value for the double-click key in the org.gnome.settings-daemon.peripherals.mouse schema is 400. Use the same value as the declared default for the gtk-double-click-time GTK+ setting, to avoid pointless differences in corner cases. https://bugzilla.gnome.org/show_bug.cgi?id=720950 gdk/wayland/gdkscreen-wayland.c | 2 +- gtk/gtksettings.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1388b111a8177b463ab89d1a5dc8f3f29e37288a Author: Matthias Clasen Date: Mon Mar 7 07:35:36 2016 -0500 wayland: Implement gtk-keynav-use-caret setting This is anticipating the gsetting that will be introduced in https://bugzilla.gnome.org/show_bug.cgi?id=763123 gdk/wayland/gdkscreen-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 8a1da5639312afffb4492b0e87a64c2005c010c6 Author: Matthias Clasen Date: Mon Mar 7 07:28:56 2016 -0500 Fix a typo This was causing the tools tests to not be installed and, consequently, never run on continuous. testsuite/tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4551bddf52d6b5ae00607f6f70b8a536a17eff1 Author: Daniel Mustieles Date: Mon Mar 7 10:55:19 2016 +0000 Updated Spanish translation po/es.po | 744 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 352 insertions(+), 392 deletions(-) commit 0f5a95e712940fdaefe0f756b95a30f125f2d5f0 Author: Daniel Mustieles Date: Mon Mar 7 10:54:56 2016 +0000 Updated Spanish translation po-properties/es.po | 806 ++++++++++++++++++++++++++-------------------------- 1 file changed, 405 insertions(+), 401 deletions(-) commit 2589e508980d3bc4c754d74a75e7e583be7ad38f Author: Марко М. Костић Date: Mon Mar 7 11:43:07 2016 +0100 Updated Serbian translation po-properties/sr.po | 1020 ++++++++++++++++++++++----------------------- po-properties/sr@latin.po | 1020 ++++++++++++++++++++++----------------------- 2 files changed, 1002 insertions(+), 1038 deletions(-) commit 02dd97fcd00ee1702ce12a38df3f7faf85bfebef Author: Rafael Fontenelle Date: Mon Mar 7 05:43:39 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 529 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 265 insertions(+), 264 deletions(-) commit aa193ce4a4485ab37f703ea44e6342580a3d3eb6 Author: Matthias Clasen Date: Sun Mar 6 20:41:28 2016 -0500 inspector: UI refresh The sidebar in the object page was using up more space than it deserves. Replace it with a combo box in the subheader. Now that we have more space, put the CSS node tree and the style properties in the same page again. gtk/inspector/Makefile.inc | 2 + gtk/inspector/actions.c | 9 - gtk/inspector/actions.ui | 9 - gtk/inspector/css-node-tree.c | 71 -------- gtk/inspector/css-node-tree.ui | 86 +-------- gtk/inspector/gestures.c | 19 +- gtk/inspector/gtkstackcombo.c | 239 +++++++++++++++++++++++++ gtk/inspector/gtkstackcombo.h | 46 +++++ gtk/inspector/init.c | 2 + gtk/inspector/magnifier.c | 73 +++++++- gtk/inspector/magnifier.ui | 41 ----- gtk/inspector/menu.c | 9 - gtk/inspector/menu.ui | 9 - gtk/inspector/misc-info.c | 7 - gtk/inspector/misc-info.ui | 10 +- gtk/inspector/object-hierarchy.c | 6 - gtk/inspector/object-hierarchy.ui | 13 +- gtk/inspector/prop-list.c | 44 +++-- gtk/inspector/prop-list.ui | 57 ------ gtk/inspector/selector.c | 6 - gtk/inspector/selector.ui | 12 +- gtk/inspector/signals-list.c | 94 ++++++++-- gtk/inspector/signals-list.ui | 57 +----- gtk/inspector/size-groups.c | 13 +- gtk/inspector/window.c | 44 ++++- gtk/inspector/window.h | 3 + gtk/inspector/window.ui | 362 +++++++++++++++++++++++++------------- 27 files changed, 766 insertions(+), 577 deletions(-) commit 4b5bcdeaa5470581eaeefbf35f251fb17e904809 Author: Matthias Clasen Date: Sun Mar 6 21:41:46 2016 -0500 inspector: Drop the per-object CSS editor The global editor is good enough for all uses. gtk/inspector/css-editor.c | 233 ++++----------------------------------------- gtk/inspector/window.c | 2 - gtk/inspector/window.h | 1 - gtk/inspector/window.ui | 10 -- 4 files changed, 19 insertions(+), 227 deletions(-) commit 9509bbb4a10bcd9747487cac4f2529bbd9c8f5e0 Author: Cosimo Cecchi Date: Sun Mar 6 11:08:49 2016 -0800 range: remove unneeded gtk_widget_queue_draw() gtk/gtkrange.c | 1 - 1 file changed, 1 deletion(-) commit c4615eff7b3f30a588d746a4f99db0ec21f2fdcc Author: Cosimo Cecchi Date: Sun Mar 6 10:51:29 2016 -0800 range: rename function The function queues an allocation now, not a draw. gtk/gtkrange.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit de1c4bad6fedd6c18c88676cffe0998e1133b8c7 Author: Cosimo Cecchi Date: Sun Mar 6 10:41:34 2016 -0800 range: remove duplicated code This is already called by range_grab_add(). gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit d9db3294968e1c748d162c82fcbe908f3ce3a99b Author: Cosimo Cecchi Date: Sun Mar 6 10:36:43 2016 -0800 scale: trivial code cleanup gtk/gtkscale.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit f294bdc80336e481d59c9b44efe85066a6b3b5e4 Author: Cosimo Cecchi Date: Sun Mar 6 00:27:58 2016 -0800 scale: deprecate value-spacing style property Nothing uses it now. gtk/gtkscale.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit a9b50b6f69493ad15806673420d3ce738e5c361a Author: Cosimo Cecchi Date: Sat Mar 5 21:08:47 2016 -0800 scale: port scale values to gadgets And add a default color like it was before. This also fixes other issues with scale values interacting with scale mark labels, which were buggy at least since 3.18. gtk/gtkrange.c | 6 + gtk/gtkrangeprivate.h | 1 + gtk/gtkscale.c | 451 +++++++++++++++++++------------ gtk/theme/Adwaita/_common.scss | 2 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 + gtk/theme/Adwaita/gtk-contained.css | 2 + 6 files changed, 285 insertions(+), 179 deletions(-) commit 27b53b58c308e36332dc407c48d565eaa2cc79ae Author: Balázs Úr Date: Sun Mar 6 18:27:26 2016 +0000 Updated Hungarian translation po-properties/hu.po | 576 ++++++++++++++++++++++++++-------------------------- 1 file changed, 290 insertions(+), 286 deletions(-) commit 94f0cef6fc58afe49d789809574c8f5cc5759f50 Author: Matthias Clasen Date: Sun Mar 6 10:23:49 2016 -0500 Minor documentation improvement https://bugzilla.gnome.org/show_bug.cgi?id=583780 gtk/gtktogglebutton.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4ab91f09cf0b225d399bcc0d19df9fc91aabbe5c Author: Matthias Clasen Date: Sat Mar 5 23:41:10 2016 -0500 spin button: Limit the entry width to reasonable values When opening the value editor for any GtkAdjustment properties in the inspector, the popover stretches out for miles, since it reserves enough space to draw MAXDOUBLE. This is not useful. Limit the space we reserve to 8 digits. gtk/gtkspinbutton.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 6d1cdaff7e2dce4175aea33eed24d677d96c4de9 Author: Matthias Clasen Date: Sat Mar 5 23:36:54 2016 -0500 gtk-demo: Use Add an example of use in the builder example. demos/gtk-demo/demo.ui | 1 + 1 file changed, 1 insertion(+) commit 9c0e4c174aaae4968bc1970082fdef3183136729 Author: Matthias Clasen Date: Sat Mar 5 23:34:50 2016 -0500 builder: Allow 'primary' as a modifier value Support aliases for flags values in GtkBuilder, and use this to support the special value 'primary' for GdkModifierType values. https://bugzilla.gnome.org/show_bug.cgi?id=699891 gtk/deprecated/gtkactiongroup.c | 1 + gtk/gtkbuilder.c | 23 ++++++++++++++++++++--- gtk/gtkbuilderparser.c | 2 +- gtk/gtkbuilderprivate.h | 9 +++++---- gtk/gtkwidget.c | 9 ++++++++- 5 files changed, 35 insertions(+), 9 deletions(-) commit 27a6183b98e3769a15add5dc0ef0ed7cbb6b65bc Author: Cosimo Cecchi Date: Sat Mar 5 19:08:14 2016 -0800 range: simplify calculation gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82421824042131b52f417211412acaccc7e85717 Author: Cosimo Cecchi Date: Sat Mar 5 19:07:55 2016 -0800 range: move declarations to inner block Where they're needed. gtk/gtkrange.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit 990bd03c35bba68424865f2a76a97eeb3e27d31d Author: Cosimo Cecchi Date: Sat Mar 5 19:04:41 2016 -0800 range: use a fixed offset for mark "snap" size Instead of making it dependent on the slider size. gtk/gtkrange.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 6efe1f411a809b04836d13995b1fccbf32f6d092 Author: Cosimo Cecchi Date: Sat Mar 5 18:56:14 2016 -0800 Revert "range: use border box for slider area" Since it causes problems with event coordinates. This reverts commit 0883ff5eedf73b1197f2a49fb7e55ce227917335. gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d866f364d12c4440559085abe39d8ed38f732480 Author: Anders Jonsson Date: Sat Mar 5 23:03:05 2016 +0000 Updated Swedish translation po-properties/sv.po | 816 ++++++++++++++++++++++++++-------------------------- 1 file changed, 410 insertions(+), 406 deletions(-) commit 6338c5ee7c4b06be9b6b286a3c98cf232e500824 Author: Matej Urbančič Date: Sat Mar 5 22:37:17 2016 +0100 Updated Slovenian translation po-properties/sl.po | 3105 +++++++++++++++++++++++++++------------------------ 1 file changed, 1641 insertions(+), 1464 deletions(-) commit 4f76a89de0315ff9367ef71d0217142cae2d62a5 Author: Matej Urbančič Date: Sat Mar 5 22:33:50 2016 +0100 Updated Slovenian translation po/sl.po | 1831 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1082 insertions(+), 749 deletions(-) commit 5c248bbd79d2c339d776adf9c899fe2afff30394 Author: Matthias Clasen Date: Sat Mar 5 15:48:40 2016 -0500 Make the settings test fail Small thinko: We only get to see the test artifacts in continuous if the test fails. So make it fail, temporarily. testsuite/tools/test-settings.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31fd41e547d96f361e325fe4b06bd1f9d735a7ab Author: Cosimo Cecchi Date: Sat Mar 5 12:04:52 2016 -0800 Adwaita: fix glitch in fine-tune scrollbar theming The fine-tune mode should not change the overall dimensions of the scrollbar. gtk/theme/Adwaita/_common.scss | 12 ++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++++-- gtk/theme/Adwaita/gtk-contained.css | 7 +++++-- 3 files changed, 18 insertions(+), 8 deletions(-) commit 3608d042e091bf965ec27fe5be109ffde9a3b9ed Author: Stas Solovey Date: Sat Mar 5 19:56:37 2016 +0000 Updated Russian translation po-properties/ru.po | 611 +++++++++++++++++++++++++--------------------------- 1 file changed, 292 insertions(+), 319 deletions(-) commit bdeff73bec2d860e4dfb49bb62f57c6b38406303 Author: Matej Urbančič Date: Sat Mar 5 20:56:06 2016 +0100 Updated Slovenian translation po-properties/sl.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit f77407e19a6cea89cce6ef2e7418432100d2a9e8 Author: Matej Urbančič Date: Sat Mar 5 20:49:05 2016 +0100 Updated Slovenian translation po-properties/sl.po | 1348 +++++++++++++++++++++++++-------------------------- 1 file changed, 653 insertions(+), 695 deletions(-) commit c1b8aee5c2eeb8e299b8ff580d387de2edd465d6 Author: Aurimas Černius Date: Sat Mar 5 21:37:17 2016 +0200 Updated Lithuanian translation po-properties/lt.po | 728 ++++++++++++++++++++++++++-------------------------- 1 file changed, 366 insertions(+), 362 deletions(-) commit 8f254814064cd23ae1467c75538cd78c38cba11c Author: Paolo Borelli Date: Sat Mar 5 19:02:15 2016 +0100 win32: use a struct for the event source This removes the event_poll_fd global variable and the (ab)use of get_default_display. It is also more consistent with other backends. Also store display gdk/win32/gdkdisplay-win32.c | 2 +- gdk/win32/gdkevents-win32.c | 71 +++++++++++++++++++++++--------------------- gdk/win32/gdkprivate-win32.h | 2 +- 3 files changed, 39 insertions(+), 36 deletions(-) commit 58a49c1a4bfaf36dc52dc8ff4ad1c91c85277967 Author: Paolo Borelli Date: Sat Mar 5 19:43:32 2016 +0100 win32: fix "unused variable" warning gdk/win32/gdkdevice-virtual.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 6066519e73085ea587870e30c83cc3e962ea5a45 Author: Rafael Fontenelle Date: Sat Mar 5 19:05:56 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 941 +++++++++++++++++++++++++------------------------ 1 file changed, 471 insertions(+), 470 deletions(-) commit d69100547c472ef27991db4e2f85941467d5d5c7 Author: Matthias Clasen Date: Sat Mar 5 13:47:41 2016 -0500 testsuite: Remove a test that isn't valid with csd With csd, the allocation of the window will be larger than the default size, since it includes borders and decorations. Just remove this check. testsuite/gtk/window.c | 3 --- 1 file changed, 3 deletions(-) commit b2e6ad640dc00acbe790cf48d110af08eb9b61e1 Author: Matthias Clasen Date: Sat Mar 5 13:41:47 2016 -0500 Add a test that dumps settings This is not much of a test, tbh. But it will give us a convenient dump of all GTK+ settings in continuous, which helps with tracking down test failures that might depend on settings. testsuite/tools/Makefile.am | 13 ++++++++++--- testsuite/tools/test-settings.in | 17 +++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) commit 434b08fe2498017822ea22be5c5e1b8d9b434cd6 Author: Matthias Clasen Date: Sat Mar 5 12:15:42 2016 -0500 status icon: Prevent size dithering We're seeing loops where the size of some status icons constantly dithers between 24 and 25. Since I couldn't track down exactly where the one extra pixel comes from, just stop reacting to single-pixel size changes. https://bugzilla.gnome.org/show_bug.cgi?id=758893 gtk/deprecated/gtkstatusicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 213108b64f10764dd65a68f43372c6b2e693dc28 Author: Matthias Clasen Date: Sat Mar 5 12:11:05 2016 -0500 Minor cleanup The GtkStatusIcon::size-changed signal expects a boolean return. tests/teststatusicon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8a62a36d2e875016c2ddf12199020c42f3f1b179 Author: Matthias Clasen Date: Sat Mar 5 10:39:07 2016 -0500 Update a11y test output These tests can now assume that the csd header bar will be there. testsuite/a11y/menu.txt | 8 ++++++++ testsuite/a11y/menubutton.txt | 8 ++++++++ testsuite/a11y/menubutton2.txt | 34 +++++++++++++++++++++------------- testsuite/a11y/menubutton3.txt | 34 +++++++++++++++++++++------------- testsuite/a11y/menus.txt | 8 ++++++++ testsuite/a11y/scale-drawvalue.txt | 8 ++++++++ testsuite/a11y/tooltips.txt | 8 ++++++++ 7 files changed, 82 insertions(+), 26 deletions(-) commit 6ce3c78b7a59aa2fb95ae05326b7bea3f4dfa9c2 Author: Matthias Clasen Date: Sat Mar 5 10:38:23 2016 -0500 Run accessibility tests always with CSD This avoids differences in the output that are caused by the presence or absence of the header bar. testsuite/a11y/a11ytests.test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 499c20d85f01111d913af0b90643150bdc2dfed7 Author: Piotr Drąg Date: Sat Mar 5 14:47:17 2016 +0100 Updated Polish translation po-properties/pl.po | 920 ++++++++++++++++++++++++++-------------------------- 1 file changed, 462 insertions(+), 458 deletions(-) commit 154d48ef1a0544bd64fbaa70cfbdcf61a6199f43 Author: Rūdolfs Mazurs Date: Sat Mar 5 12:36:09 2016 +0200 Update Latvian translation po-properties/lv.po | 3127 ++++++++++++++++++++++++++------------------------- po/lv.po | 2137 ++++++++++++++++++----------------- 2 files changed, 2674 insertions(+), 2590 deletions(-) commit 251810ff404bb8c96dfcbcd7f51bbf305e49475c Author: Matthias Clasen Date: Sat Mar 5 00:35:08 2016 -0500 inspector: Avoid pointless selections The CSS selector and the class hierarchy are purely informative, no need to select anything here. gtk/inspector/object-hierarchy.ui | 5 +++++ gtk/inspector/selector.ui | 5 +++++ 2 files changed, 10 insertions(+) commit e69c1c5a9b0afd658680bbfdef30620ce94dcba5 Author: Matthias Clasen Date: Sat Mar 5 00:34:39 2016 -0500 inspector: More grid lines I had forgotten the css property list. gtk/inspector/css-node-tree.ui | 1 + 1 file changed, 1 insertion(+) commit 360bad68651816b1af0ea8a018384ad4877eeab9 Author: Matthias Clasen Date: Sat Mar 5 00:29:06 2016 -0500 inspector: Some ui refinements Remove pointless expanders from lists, add grid lines and, in some places, tree lines. gtk/inspector/css-node-tree.ui | 1 + gtk/inspector/object-hierarchy.ui | 3 +++ gtk/inspector/object-tree.ui | 1 + gtk/inspector/prop-list.ui | 1 + gtk/inspector/resource-list.ui | 1 + gtk/inspector/selector.ui | 2 ++ gtk/inspector/signals-list.ui | 1 + 7 files changed, 10 insertions(+) commit fa36f34fcf23dbcf9923031b774483d234a97a3f Author: Matthias Clasen Date: Fri Mar 4 23:51:39 2016 -0500 Update expected output of a11y tests The window type attribute shows up here now. The caret mode changes also affect some tests. testsuite/a11y/about.txt | 1 + testsuite/a11y/accessible-name.txt | 1 + testsuite/a11y/actionbar.txt | 1 + testsuite/a11y/assistant.txt | 1 + testsuite/a11y/buttons.txt | 1 + testsuite/a11y/calendar.txt | 1 + testsuite/a11y/colorchooser.txt | 1 + testsuite/a11y/combos.txt | 1 + testsuite/a11y/entries.txt | 1 + testsuite/a11y/expander.txt | 1 + testsuite/a11y/headerbar.txt | 1 + testsuite/a11y/hello-world.txt | 1 + testsuite/a11y/iconview.txt | 1 + testsuite/a11y/infobar.txt | 1 + testsuite/a11y/label.txt | 1 + testsuite/a11y/link.txt | 1 + testsuite/a11y/listbox.txt | 1 + testsuite/a11y/lockbutton.txt | 1 + testsuite/a11y/menu.txt | 1 + testsuite/a11y/menubutton.txt | 1 + testsuite/a11y/menubutton2.txt | 1 + testsuite/a11y/menubutton3.txt | 1 + testsuite/a11y/menus.txt | 1 + testsuite/a11y/messagedialog.txt | 8 ++++---- testsuite/a11y/mnemonic.txt | 1 + testsuite/a11y/notebook.txt | 1 + testsuite/a11y/paned.txt | 1 + testsuite/a11y/pickers.txt | 1 + testsuite/a11y/placeholder-text.txt | 1 + testsuite/a11y/progress.txt | 1 + testsuite/a11y/range.txt | 1 + testsuite/a11y/scale-drawvalue.txt | 1 + testsuite/a11y/spinner.txt | 1 + testsuite/a11y/stack.txt | 1 + testsuite/a11y/statusbar.txt | 1 + testsuite/a11y/text.txt | 1 + testsuite/a11y/tooltips.txt | 1 + testsuite/a11y/tree.txt | 1 + 38 files changed, 41 insertions(+), 4 deletions(-) commit 2b1fc6166c626601c07e2e2e19235c74b0174672 Author: Matthias Clasen Date: Fri Mar 4 23:50:50 2016 -0500 a11y: Expose window type hint as attribute This was an old request, maybe still useful. https://bugzilla.gnome.org/show_bug.cgi?id=468122 gtk/a11y/gtkwindowaccessible.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 92662828ba43c2d3507bb8f4dc253f2f429e91ae Author: Matthias Clasen Date: Fri Mar 4 22:39:31 2016 -0500 messagedialog: Respect the gtk-keynav-use-caret setting We used to always make the labels in message dialogs selectable, which is a bit problematic wrt. to keynav - the label can unexpectedly 'turn blue', which irritates some people. With the new gtk-keynav-use-caret setting, we can now only make the labels selectable when it is required for accessibilty reasons. gtk/gtkmessagedialog.c | 7 +++++++ gtk/ui/gtkmessagedialog.ui | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) commit d8dee2952a388a90b07be148ba0ac754ba8567d1 Author: Matthias Clasen Date: Fri Mar 4 22:30:51 2016 -0500 gdk: Add an X setting for gtk-keynav-use-caret This will let us toggle the use-caret setting session-wide. gdk/x11/gdksettings.c | 1 + 1 file changed, 1 insertion(+) commit 5c0b589acda33a9eec07a84847ab8a7efb4fb803 Author: Matthias Clasen Date: Fri Mar 4 22:27:02 2016 -0500 text view: Respect gtk-keynav-use-caret When the gtk-keynav-use-caret setting is TRUE, make the cursor visible regardless of the cursor-visible property. gtk/gtktextview.c | 55 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 20 deletions(-) commit c9371f6a185fe1fef1669ffb52a4c4964478042a Author: Matthias Clasen Date: Fri Mar 4 22:25:37 2016 -0500 Add a gtk-keynav-use-caret mode setting For accessibility reasons, it is useful to have a global setting that makes carets visible in all text. https://bugzilla.gnome.org/show_bug.cgi?id=602526 https://bugzilla.gnome.org/show_bug.cgi?id=762799 gtk/gtksettings.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit f3e068bb31fffa6e647d021d334ee578049e9a4d Author: Cosimo Cecchi Date: Fri Mar 4 18:11:30 2016 -0800 range: avoid setting slider coordinates to negative numbers This can happen if the theme sets a negative margin, but the coordinate should never be negative. gtk/gtkrange.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit fce344d31f57797f874ef107fb41c1ab342ec484 Author: Cosimo Cecchi Date: Fri Mar 4 17:59:39 2016 -0800 range: factor out a function We're going to modify this in the next commit. gtk/gtkrange.c | 58 ++++++++++++++++++++++++---------------------------------- 1 file changed, 24 insertions(+), 34 deletions(-) commit 7f9223b0c8a73fc6f1aa9cd8a9f60958d9880686 Author: Matthias Clasen Date: Fri Mar 4 20:49:10 2016 -0500 gtk-demo: Fix up the inline-toolbar example The inline toolbar in the style classes demo should use the icons toolbar-style to ensure that the buttons are square. demos/gtk-demo/theming.ui | 1 + 1 file changed, 1 insertion(+) commit b84cf5f3491b84d243ec633c878202175f45a0a5 Author: Matthias Clasen Date: Fri Mar 4 20:48:13 2016 -0500 tool button: Update style classes When changing tool button contents according to the toolbar-style property, we need to update the style classes to ensure that the visual style matches. https://bugzilla.gnome.org/show_bug.cgi?id=760560 gtk/gtktoolbutton.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5a42c2e478ba21ca2d35cdc6c9c8b7afc7c6897f Author: Cosimo Cecchi Date: Fri Mar 4 17:28:04 2016 -0800 range: fix warning for gadget slider The slider is not HFW/WFH - just pass -1 to get rid of the warnings. gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cdc580463e409a9b7e5f1480afa68d875ff3ff65 Author: Olivier Fourdan Date: Fri Mar 4 21:29:25 2016 +0100 gtkwindow: default size with fixed size windows Allow fixed size windows with a default size to grow or shrink as the content requires, but not smaller than the given default size. https://bugzilla.gnome.org/show_bug.cgi?id=762974 gtk/gtkwindow.c | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) commit 046a4a6e0fbb57096f05b537248095c9c32c6744 Author: Ray Strode Date: Fri Mar 4 11:10:18 2016 -0500 gtkapplication-dbus: use application id instead of prgname for SM gnome-session takes an "app id" for client and inhibitor registration, This app id is supposed to be a desktop file id (complete with the .desktop extension), but gtk+ currently uses g_get_prgname (). This commit changes gtkapplication to use the application id instead, which is a much more natural fit. gnome-session is going to be updated to stop using the .desktop extension, too, so everything is consistent. https://bugzilla.gnome.org/show_bug.cgi?id=763106 gtk/gtkapplication-dbus.c | 10 +++------- gtk/gtkapplicationprivate.h | 1 - 2 files changed, 3 insertions(+), 8 deletions(-) commit fdde27ea9ced5b8489127ed69e00f9ca363c799f Author: Carlos Soriano Date: Mon Feb 29 23:13:51 2016 +0100 gtkplacessidebar: add new other locations with flags signal We weren't using the open flags on the other locations signal, which makes impossible for applications like nautilus to act in the same way that for any other location where the user can choose between opening in the current view, in a new window or in a new tab. Add a new signal with an open flags parameter and deprecate the other-location signal. https://bugzilla.gnome.org/show_bug.cgi?id=754743 gtk/gtkfilechooserwidget.c | 7 +++-- gtk/gtkplacessidebar.c | 66 +++++++++++++++++++++++++++++++++++++----- gtk/ui/gtkfilechooserwidget.ui | 2 +- 3 files changed, 64 insertions(+), 11 deletions(-) commit fec0c4c201cc26f6b43c64e5e8e844f8a553527b Author: Carlos Soriano Date: Mon Feb 29 22:12:03 2016 +0100 Revert "gtkplacessidebar: add open flags to other locations" This reverts commit 63a204e1c5b6c since it broke the API. We will add a new signal instead in an upcomming patch. https://bugzilla.gnome.org/show_bug.cgi?id=754743 README.in | 5 ----- gtk/gtkfilechooserwidget.c | 1 - gtk/gtkplacessidebar.c | 15 ++++----------- 3 files changed, 4 insertions(+), 17 deletions(-) commit 303fdfbe8b2eed8c3af76d351c0f85fbb60e3170 Author: Lapo Calamandrei Date: Sat Mar 5 02:09:22 2016 +0100 Adwaita: treeview column header scrollbar top border add a top border in vertical scrollbars in treeviews. gtk/theme/Adwaita/_common.scss | 7 ++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 22 insertions(+), 17 deletions(-) commit aadbabf9987705be959074f97f923cc4923b8d6a Author: Matthias Clasen Date: Fri Mar 4 20:01:57 2016 -0500 wayland: Don't crash with offscreen windows Use gdk_window_get_effective_toplevel when looking for a suitable transient parent, to skip over offscreen windows that we might encounter in the window tree. This fixes a crash in glade. https://bugzilla.gnome.org/show_bug.cgi?id=763110 gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eef31532650e64f542d53508cb5137312bc4af39 Author: Lapo Calamandrei Date: Sat Mar 5 02:01:16 2016 +0100 Adwaita: shrink scroolbars erroneusly pushed 15px scrollbars with the previous commit, back to 13px now. gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 18 +++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 18 +++++++++++------- 3 files changed, 26 insertions(+), 18 deletions(-) commit 035ce8f18d7b472a20cf1ced7c1348c4390aac18 Author: Lapo Calamandrei Date: Sat Mar 5 01:50:18 2016 +0100 Adwaita: fix a typo gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 0c987f94c8a870a154288b52322066bf2cae9a1c Author: Lapo Calamandrei Date: Sat Mar 5 01:39:13 2016 +0100 Adwaita: scrollbar style rewrite works correctly with the new gadgettified GtkRange Cosimo nicelly delivered, as a bonus steppers are styled for overlay indicator usage as well. gtk/theme/Adwaita/_colors.scss | 6 +- gtk/theme/Adwaita/_common.scss | 203 +++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 212 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 212 +++++++++++++++++++------------ 4 files changed, 382 insertions(+), 251 deletions(-) commit 756ca384426920b674c777e51309f7a542172d5e Author: Stas Solovey Date: Fri Mar 4 21:41:52 2016 +0000 Updated Russian translation po-properties/ru.po | 3049 +++++++++++++++++++++++++++------------------------ 1 file changed, 1590 insertions(+), 1459 deletions(-) commit 7ff2f451cee5dfbedbcf4646f3a43cd34a31f0ca Author: Cosimo Cecchi Date: Fri Mar 4 11:56:08 2016 -0800 range: add positional style classes to fill/highlight Requested by Lapo. gtk/gtkrange.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 78 insertions(+), 14 deletions(-) commit 832742e1f3b426329c843302c871903cd1f68a38 Author: Matthias Clasen Date: Fri Mar 4 14:34:03 2016 -0500 x11: Trap errors around an XRandr call Apparently, we can get X errors here. Ignore them. https://bugzilla.gnome.org/show_bug.cgi?id=762907 gdk/x11/gdkscreen-x11.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit adcd1ce2d325c7b3bc0edc8c319bf4ab480d215b Author: Olivier Fourdan Date: Fri Mar 4 10:34:12 2016 +0100 gtkwindow: windows with a fixed size can shrink One important aspect of non-resizable windows that we need to preserve is that they shrink when their content requires less size. Previous changes to allow the default size to be applied to fixed size windows would have prevented all fixed size windows from shrinking when their content requires less size. Allow shrinking for fixed-size windows unless a default size was specified. https://bugzilla.gnome.org/show_bug.cgi?id=762974 gtk/gtkwindow.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 50 insertions(+), 11 deletions(-) commit f24ac2f5abe38f6d573c97795ad6f0aab20d7177 Author: Balázs Úr Date: Fri Mar 4 19:15:05 2016 +0000 Updated Hungarian translation po-properties/hu.po | 1353 ++++++++++++++++++++++++++------------------------- 1 file changed, 678 insertions(+), 675 deletions(-) commit 59badc320e54ba496eb992d79742a9b5234014d6 Author: Lapo Calamandrei Date: Fri Mar 4 20:08:19 2016 +0100 Adwaita: shrink back scale trough like it was before the GtkRange gadgettification. gtk/theme/Adwaita/_common.scss | 30 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 122 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 122 +++++++++++++++---------------- 3 files changed, 137 insertions(+), 137 deletions(-) commit 69479ceaef67908d09b4b489a093bc4d6fa5b9a0 Author: Matthias Clasen Date: Fri Mar 4 13:54:39 2016 -0500 wayland: Clean up key repeat timeout When returning G_SOURCE_REMOVE from a callback, we need to reset the source id as well. gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 4d2e7a0314d9c2fce85004c2f82526edc3832c3e Author: Matthias Clasen Date: Fri Mar 4 13:55:33 2016 -0500 gadget: Add more details to warning All the other warnings in this file include the css node name and the gadget owners type. Be consistent about this. gtk/gtkcssgadget.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 51b83c43898d8ca534b0ee213a8a0f396d976a0a Author: Matthias Clasen Date: Fri Mar 4 13:43:19 2016 -0500 gadget: Warn if for_size is too small It does not make sense to pass a for_size into the size allocation machinery that is smaller than the min-size in that direction. Warn if it happens, so we can track it down when it occurs. gtk/gtkcssgadget.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 54858574a3f925b817c7fe4b409326774852ad9c Author: Lapo Calamandrei Date: Fri Mar 4 19:16:48 2016 +0100 Adwaita: really fix scale with marks added a min-height/width compensation too when in fine-tune mode, so scale with marks and no labels doesn't make the scale node grow when in fine-tune. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++-- gtk/theme/Adwaita/gtk-contained.css | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) commit 50598ee08f0c3a6a448c266a3451392c48226635 Author: Ray Strode Date: Fri Mar 4 10:02:34 2016 -0500 gtk-launch: add hack to close up dbus-daemon race If gtk-launch exits before the program it starts fully activates, then the dbus-daemon may avoid doing the activating method call. This commit works around the problem by pinging the activated application, and waiting for a reply. This is similar to the gvfs-open bug here: https://bugzilla.gnome.org/show_bug.cgi?id=746534 https://bugzilla.gnome.org/show_bug.cgi?id=763103 gtk/gtk-launch.c | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) commit 88d51a8604e55b98b5671da739ab3a31f4befb6b Author: Lapo Calamandrei Date: Fri Mar 4 18:36:36 2016 +0100 Adwaita: fix a thinko wrt fine-tune scales added a scale node padding compensation for the trough growth in fine-tune mode, so now the scale node doesn't grow anymore when mark labels are present. gtk/theme/Adwaita/_common.scss | 12 ++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++++ gtk/theme/Adwaita/gtk-contained.css | 6 ++++++ 3 files changed, 22 insertions(+), 2 deletions(-) commit 7382f3c347ffa224b8f1530f532bea01dee6cb4a Author: Matthias Clasen Date: Fri Mar 4 08:50:52 2016 -0500 icon helper: Properly update on style change A GtkCssChange of NULL means 'everything changed!'. gtk/gtkiconhelper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6b2cde94b4191ab7cf3f84b3ad13978f79431c6d Author: Matthias Clasen Date: Fri Mar 4 08:01:02 2016 -0500 entry: Make progress node invisible when appropriate We were failing to do that, leading to progress not disappearing anymore after it was initially shown, in the gtk3-widget-factory entry progress example. gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7ccd91c9ebb20ff593e0a79a65ab57597eb53f74 Author: Cosimo Cecchi Date: Thu Mar 3 21:12:21 2016 -0800 testscale: change example to use upwards labels There's no example of that in testscale. tests/testscale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 757b74bed929816b0bc255de4239936d5d5a3c8e Author: Cosimo Cecchi Date: Thu Mar 3 21:04:07 2016 -0800 Adwaita: fix thinko in fine-tune scale selector Marks always get class top/bottom, regardless of the scale orientation. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit bc49954b3e319c46f043200203db809c6b2b98be Author: Baurzhan Muftakhidinov Date: Fri Mar 4 04:48:34 2016 +0000 Updated Kazakh translation po/kk.po | 718 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 395 insertions(+), 323 deletions(-) commit f03efbe2c914bb87e77d32a756ef6a541bdbdc9c Author: Baurzhan Muftakhidinov Date: Fri Mar 4 04:09:51 2016 +0000 Updated Kazakh translation po-properties/kk.po | 3652 ++++++++++++++++++++++++++------------------------- 1 file changed, 1891 insertions(+), 1761 deletions(-) commit f3f998efd7538a338ca2959c21a93ec633e17737 Author: fiddlerwoaroof Date: Thu Mar 3 10:30:00 2016 -0500 Check if XRRGetOutputInfo returned a null pointer. Fixes bug 763023: in certain circumstances, XRRGetOutputInfo will return a null pointer. This commit adds a check to detect and handle this return value. gdk/x11/gdkscreen-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit 763daf44208762b80d118182bc5b5f2d6cfafc9c Author: Matthias Clasen Date: Thu Mar 3 21:28:08 2016 -0500 expander: Reinstate rtl allocation behavior In rtl mode, we must not just reverse the children, but also allocate from the right. Use the newly introduced box gadget api to achieve this. https://bugzilla.gnome.org/show_bug.cgi?id=762945 gtk/gtkexpander.c | 3 +++ 1 file changed, 3 insertions(+) commit c48f0d6f8be64955566be5760bcf227211448217 Author: Matthias Clasen Date: Thu Mar 3 21:26:39 2016 -0500 check button: Reinstate rtl allocation behavior In rtl mode, we must not just reverse the children, but also allocate from the right. Use the newly introduced box gadget api to achieve this. https://bugzilla.gnome.org/show_bug.cgi?id=762945 gtk/gtkcheckbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit c581259e06df735057fa3d606ae0b80bdb9f6feb Author: Matthias Clasen Date: Thu Mar 3 21:24:20 2016 -0500 box gadget: Add a way to allocate in reverse This is needed to preserve expected allocation behavior in rtl mode. gtk/gtkboxgadget.c | 36 ++++++++++++++++++++++++++++++------ gtk/gtkboxgadgetprivate.h | 2 ++ 2 files changed, 32 insertions(+), 6 deletions(-) commit d34161145fd314f3356813ce2726335a3067d668 Author: Piotr Drąg Date: Fri Mar 4 01:52:47 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit d46d50b7616b352e0b2e1af4acbdf13ec6a161d4 Author: Matt Watson Date: Tue Mar 1 18:26:47 2016 -0800 reftests: add a test for animated box shadow updating clip This was just fixed by 3e0694284785153944255a0501e84a76c491e4b4 testsuite/reftests/Makefile.am | 3 ++ .../reftests/box-shadow-changes-modify-clip.css | 19 ++++++++++++ .../reftests/box-shadow-changes-modify-clip.ref.ui | 23 +++++++++++++++ .../reftests/box-shadow-changes-modify-clip.ui | 34 ++++++++++++++++++++++ 4 files changed, 79 insertions(+) commit 35d970217354cb4bb092ce23d67d815fa8189962 Author: Matt Watson Date: Tue Mar 1 23:28:23 2016 -0800 reftests: rename util file frame-inhibitor We'll use the label-text-shadow-changes-modify-clip utils more generically, lets name the file after its function. testsuite/reftests/Makefile.am | 2 +- testsuite/reftests/frame-inhibitor.c | 108 +++++++++++++++++++++ .../label-text-shadow-changes-modify-clip.c | 108 --------------------- 3 files changed, 109 insertions(+), 109 deletions(-) commit 8b70115d5eeece372f6976c407ed2dbcf12818d7 Author: Timm Bäder Date: Thu Mar 3 21:04:39 2016 +0100 revealer-size: Fix animation setting Turn animations off before testing, for all test functions containing "no_animations". testsuite/gtk/revealer-size.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 00069e29975556ab6891e779e8aa3e9c6ce60421 Author: Evangelos Skarmoutsos Date: Thu Mar 3 19:02:18 2016 +0000 Updated Greek translation po-properties/el.po | 3579 +++++++++++++++++++++++++++------------------------ 1 file changed, 1863 insertions(+), 1716 deletions(-) commit a55f1113f5599d80f128cfd6d7154b4575c91ba0 Author: Руслан Ижбулатов Date: Thu Mar 3 17:22:02 2016 +0000 Remove unused variable gdk/win32/gdkwindow-win32.c | 1 - 1 file changed, 1 deletion(-) commit 95fe3ec0c9c26a7a667541b81f2a190bce9d7abc Author: Руслан Ижбулатов Date: Thu Mar 3 17:17:25 2016 +0000 GDK W32: Fix redrawing during drag-move with no composition gdk/win32/gdkwindow-win32.c | 48 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 8 deletions(-) commit e2e330db1adf4423c0f88cc92826029abd711b01 Author: Timm Bäder Date: Thu Mar 3 13:05:14 2016 +0100 revealer: Don't use TRANSITION_NONE for disabled animations If animations are disabled, the only difference we need to make is that we don't have to start the transition. Size requests should remain the same. https://bugzilla.gnome.org/show_bug.cgi?id=762996 gtk/gtkrevealer.c | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) commit 1c544e4237eaf67657260f49aec0bf2118e69767 Author: Timm Bäder Date: Thu Mar 3 13:04:58 2016 +0100 Add GtkRevealer sizing tests https://bugzilla.gnome.org/show_bug.cgi?id=762996 testsuite/gtk/Makefile.am | 1 + testsuite/gtk/revealer-size.c | 153 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 154 insertions(+) commit 8b6603bbd65fd8939c9d9337a90b1e8ed746ba65 Author: Lapo Calamandrei Date: Thu Mar 3 18:01:58 2016 +0100 Adwaita: fix a thinko about toolbar items spacing with margins gtk/theme/Adwaita/_common.scss | 19 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 133 +++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 133 +++++++++---------------------- 3 files changed, 84 insertions(+), 201 deletions(-) commit 4a729dc233cad771d577470c5130f46e44d97aa6 Author: Olivier Fourdan Date: Thu Mar 3 17:47:35 2016 +0100 gtkwindow: Fix regression with fixed size windows Previous commit to address the default size introduced a regression with fixed size windows if no default size was given, the resulting window would end up much smaller than its actual content. gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a37ea5dafdbadf35353fb79a300bf9230f1cb0b0 Author: Changwoo Ryu Date: Thu Mar 3 16:32:06 2016 +0000 Updated Korean translation po-properties/ko.po | 3587 ++++++++++++++++++++++++++------------------------- 1 file changed, 1865 insertions(+), 1722 deletions(-) commit ae2bf880a941fc9275fc8ef3fd91852e583a0cba Author: Changwoo Ryu Date: Thu Mar 3 16:12:06 2016 +0000 Updated Korean translation po/ko.po | 1949 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1030 insertions(+), 919 deletions(-) commit 08613dce92d1b0badd118c837da5013f6995e69a Author: Lapo Calamandrei Date: Thu Mar 3 16:12:20 2016 +0100 Adwaita: uniform paddings on image-buttons fixes https://bugzilla.gnome.org/show_bug.cgi?id=762811 gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 3549490aa8f9744c9165325ef6edf05222022dcb Author: Lapo Calamandrei Date: Thu Mar 3 15:58:13 2016 +0100 Adwaita: use margin for spacing widgets on toolbars kind of a workaround, this approach is pretty unmaintainable, I hope we'll get a CSS property for spacing directly on the parent container (a toolbar in this particular case). See https://bugzilla.gnome.org/show_bug.cgi?id=762397 gtk/theme/Adwaita/_common.scss | 18 ++++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 28 ++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 28 ++++++++++++++++++++++++---- 3 files changed, 62 insertions(+), 12 deletions(-) commit 0f9547258106c33b9ebf6e13b6b43df013f537ac Author: Olivier Fourdan Date: Wed Mar 2 11:10:29 2016 +0100 gtkwindow: Use default size even if not resizable If a window is not resizable (with gtk_window_set_resizable ()), the size given with gtk_window_set_default_size() is ignored. The solution to this would be to use gtk_widget_set_size_request() but that's a GtkWidget API and therefore does not take into account the client side decorations when in use with GtkWindow. Refactor the code so that gtk_window_set_default_size() (which is a GtkWindow API) gives the expected result on non-resizable windows as well. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762974 gtk/gtkwindow.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 7eb9f5f8ef13f7fa8322fa5a6be461aa7f158c69 Author: Руслан Ижбулатов Date: Sun Dec 27 03:37:21 2015 +0000 W32: Prefer CSD by default Will make GTK+ more willing to use CSD for all normal windows without being asked to. Lack of desktop composition will, of course, prevent it from using CSD (in theory). GTK_CSD=0 will force CSD to NOT to be used whenever possible (i.e. in cases where CSD is not specifically requested by a window, by design). https://bugzilla.gnome.org/show_bug.cgi?id=759899 gtk/gtkwindow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit ba89fbd72d4557ab99182081ec2bd56ed8255e0a Author: Руслан Ижбулатов Date: Tue Mar 1 03:40:36 2016 +0000 GDK W32: Set default cursor from our own theme right away Otherwise WM-dependent default cursor is used, which does not match our theme. Worse, later GDK will realize that we have our own left_ptr cursor and will apply it after all, making the discrepancy even more noticeable. https://bugzilla.gnome.org/show_bug.cgi?id=762902 gdk/win32/gdkwindow-win32.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 84ddc6aab1e0b498666c65a5283e1a0bdfa04599 Author: Руслан Ижбулатов Date: Sat Feb 27 00:10:12 2016 +0000 GDK W32: Force correct mouse cursor for custom resize/move * Explicitly grab the device, setting appropriate cursor on it. * Fix gdk_device_virtual_set_window_cursor() to just set the cursor, without trying to check that mouse is over the given window. Also prevent it from immediately resetting cursor. * Alse take into account things that happen in other parts of GDK - don't look for replacement cursor, GDK already did that, and don't create a default arrow cursor instead of NULL, GDK-W32 already did that up the stack as well. Warn about inappropriate cursor == NULL argument instead. https://bugzilla.gnome.org/show_bug.cgi?id=762711 gdk/win32/gdkdevice-virtual.c | 67 +++++++++----------------------- gdk/win32/gdkevents-win32.c | 12 +++++- gdk/win32/gdkwindow-win32.c | 89 +++++++++++++++++++++++++++++++++++++++---- gdk/win32/gdkwindow-win32.h | 12 +++++- 4 files changed, 122 insertions(+), 58 deletions(-) commit 8ebc03a1d1be20c6c4c52192d3584a976e3530c4 Author: Cosimo Cecchi Date: Wed Mar 2 22:23:11 2016 -0800 range: use border allocation for gadget hit test The border is typically part of the reactive part of the widget. This matches the pre-gadget behavior. gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f9ed3fdd7b2e24ada9fba609ecc573ab015457f0 Author: Руслан Ижбулатов Date: Wed Mar 2 22:07:54 2016 +0000 GDK W32: Implement gdk_win32_screen_get_monitor_workarea() https://bugzilla.gnome.org/show_bug.cgi?id=763012 gdk/win32/gdkscreen-win32.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 0b156ea0962066943b21d16818409eb3afe3c71c Author: Matthias Clasen Date: Wed Mar 2 19:10:59 2016 -0500 Document the .circular style class gtk/gtkbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1395f3a8383f2d46734bc65a54756e2b83013b40 Author: Cosimo Cecchi Date: Wed Mar 2 16:08:19 2016 -0800 scrolledwindow: fix left/right thinko for scrollbar style classes "left" and "right" were inverted, preumably because the position type parameter refers to the scrolled window position, and not the scrollbar itself. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3e0694284785153944255a0501e84a76c491e4b4 Author: Benjamin Otte Date: Thu Mar 3 00:35:15 2016 +0100 widget: Add brute force method to propagate clip When a gtk_widget_queue_allocate() on some widget increases the clip, widget->parent's clip was not updated. This appraoch naively just unions widget's new clip with widget->parent's clip. This of course only works if widget and parent share the same GDK window. In the cases where they don't we can't do anything and need a better fix. Fixes label-text-shadow-changes-modify-clip.ui reftest. gtk/gtkwidget.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 05d1437e62c4e19dcc915c9cdbc6ec14f60afcbe Author: Stas Solovey Date: Wed Mar 2 23:21:51 2016 +0000 Updated Russian translation po/ru.po | 1779 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 991 insertions(+), 788 deletions(-) commit 76ea3a15cb5094fae67dc2fd43ca392eb4a39da5 Author: Lapo Calamandrei Date: Wed Mar 2 23:07:37 2016 +0100 Adwaita: more scale style fixes gtk/theme/Adwaita/_common.scss | 73 ++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 150 +++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 150 +++++++++++++++++++++++-------- 3 files changed, 283 insertions(+), 90 deletions(-) commit c05f254a6e3a715105f10c495caebed9a3a682c9 Author: Руслан Ижбулатов Date: Tue Feb 23 09:20:55 2016 +0000 GDK W32: Use layered windows Toplevels are now true layered windows that are moved, resized and repainted via UpdateLayeredWindow() API call. This achieves transparency without any extra effort, and prevents window size and window contents desychronization (bug 761629). This also changes the way CSD windows are detected. We now use window decorations to detect CSDiness of a window, and to decide whether a window should be layered (CSD windows should be) or not. Decorations are now stored in the window implementation, not as a quark-based property of the window-as-gobject. https://bugzilla.gnome.org/show_bug.cgi?id=748872 gdk/win32/gdkevents-win32.c | 9 +- gdk/win32/gdkprivate-win32.h | 2 + gdk/win32/gdkwindow-win32.c | 315 ++++++++++++++++++++++++++++++++++++++----- gdk/win32/gdkwindow-win32.h | 30 +++++ 4 files changed, 314 insertions(+), 42 deletions(-) commit e03946bd285d860fc9011a2fbb5363c2a176aaab Author: Руслан Ижбулатов Date: Sat Feb 6 12:06:41 2016 +0000 GDK W32: custom (non-WM) drag-move and drag-resize code Normally works only on CSD windows, non-CSD windows continue to use WM modal loop for drag-resizing and drag-moving. However, if it is activated on non-CSD windows, it does work. Has the advantage of being completely immune to AeroSnap. AeroSnap only worked partially on CSD windows, with the only part that worked being "don't let users drag window titlebar outside of the desktop". Now AeroSnap doesn't work on windows moved by this code at all, which is good, since they currently don't work well with it due to the way shadows are drawn. It's possible to also re-implement AeroSnap (or something similar), but that is a story for another commit. This code was originally intended to fix the problem of window size and window contents desynchronization, but failed to achieve that result in the end. Nevertheless, it serves as a foundation for other changes to the way window resizing works. https://bugzilla.gnome.org/show_bug.cgi?id=761629 gdk/win32/gdkevents-win32.c | 223 +++++++++++++++---------- gdk/win32/gdkprivate-win32.h | 12 ++ gdk/win32/gdkwindow-win32.c | 388 ++++++++++++++++++++++++++++++++++++------- gdk/win32/gdkwindow-win32.h | 49 ++++++ 4 files changed, 523 insertions(+), 149 deletions(-) commit 597151c736b7c0979be48d7aef2c3bfab4998bb9 Author: Lapo Calamandrei Date: Wed Mar 2 21:47:24 2016 +0100 Adwaita: fix scale with marks size gtk/theme/Adwaita/_common.scss | 13 +++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 27 ++++++++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 27 ++++++++++++++++++++++----- 3 files changed, 53 insertions(+), 14 deletions(-) commit d4cda108301fe5d948284b125f7d4ea30f47542d Author: Daniel Mustieles Date: Wed Mar 2 21:36:59 2016 +0100 Updated Spanish translation po-properties/es.po | 1159 ++++++++++++++++++++++++++------------------------- 1 file changed, 581 insertions(+), 578 deletions(-) commit fde1aac57a0a2cd431bebfd74ef110ba9e9812eb Author: Lapo Calamandrei Date: Wed Mar 2 21:34:03 2016 +0100 Adwaita: scale with marks style fixes after GtkRange gadgettification the theme needs some adjustments for the new widget structure. gtk/theme/Adwaita/_common.scss | 22 +++++++++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++++++---- 3 files changed, 41 insertions(+), 13 deletions(-) commit 4a5801b9020458cfaed4cd478c79d55839387d37 Author: Matthias Clasen Date: Wed Mar 2 15:20:47 2016 -0500 combobox: Correct the CSS node docs The box was somehow overlooked in the diagrams. gtk/gtkcombobox.c | 8 +++++--- gtk/gtkcomboboxtext.c | 11 ++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) commit 8205a304e85fb8bb95d2722df0416c6f4de17ddf Author: Matthias Clasen Date: Wed Mar 2 15:20:31 2016 -0500 Add a css node test for comboboxes testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/combobox.nodes | 39 ++++++++++++++++++++++++++++++++++++++ testsuite/css/nodes/combobox.ui | 33 ++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) commit d3ca8aaf83db00ea24c04d37a12ff4c25c2315c1 Author: Lapo Calamandrei Date: Wed Mar 2 20:55:19 2016 +0100 Adwaita: fix combos styling since now the combobox childrens are in a box. gtk/theme/Adwaita/_common.scss | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 3 files changed, 32 insertions(+), 32 deletions(-) commit b1144a73de8924bb83147526f86c69ed14240bfc Author: Cosimo Cecchi Date: Wed Mar 2 11:16:39 2016 -0800 scale: don't add scale label for empty markup This is a regression from the gadget port. gtk/gtkscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a87e18ca6fd1e28f77ecb192b3db75e6782eefc6 Author: Aurimas Černius Date: Wed Mar 2 20:42:40 2016 +0200 Updated Lithuanian translation po-properties/lt.po | 2395 +++++++++++++++++++++++++-------------------------- po/lt.po | 1143 +++++++++++++----------- 2 files changed, 1834 insertions(+), 1704 deletions(-) commit b5281837d676783987c24b4e429e0242a856bcbb Author: Ray Strode Date: Thu Feb 25 13:58:42 2016 -0500 wayland: synchronize key repeat with server key repeat is handled client side, which means stalls in the compositor dispatching key release events can lead to fictious repeat events. This commit ties key repeat to a server roundtrip to ensure the client and server are in sync. https://bugzilla.gnome.org/show_bug.cgi?id=757942 gdk/wayland/gdkdevice-wayland.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit 551f1742f5c1a37f93a2239193b45779687b008d Author: Ray Strode Date: Tue Mar 1 08:49:27 2016 -0500 wayland: handle key up events earlier in deliver_key_event We don't need the key repeat rate or anything like that when handling key up events, so do key up events first before querying for that information. https://bugzilla.gnome.org/show_bug.cgi?id=757942 gdk/wayland/gdkdevice-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 619799ba3bcc8525cc78b98c34e62a34e989f550 Author: Ray Strode Date: Tue Mar 1 08:29:31 2016 -0500 wayland: make deliver_key_event return void deliver_key_event is sometimes called from a timeout handler and sometimes called directly. We currently erroneously return TRUE (G_SOURCE_CONTINUE) in the case where it's called directly, but to no ill effect, since we ignore that return value. In the future, we're going to need to call it directly in other parts of the code where the return value would be relevant and handling TRUE, would require adding redundant code. Instead, this commit just changes the code to always reset the timer manually, and never rely on glib's ability to automatically reset the timer by returning TRUE. This makes the code smaller, too, since there's less special casing required. https://bugzilla.gnome.org/show_bug.cgi?id=757942 gdk/wayland/gdkdevice-wayland.c | 45 +++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 27 deletions(-) commit 89121e058a926280dc95d1a2530edf59e35d2814 Author: Benjamin Otte Date: Wed Mar 2 14:48:43 2016 +0100 win32 theme: Add a naive switch implementation I couldn't come up with anything better than a button on a button. But the Windows theme sucks... gtk/theme/win32/gtk-win32-base.css | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 8e3bc96d780e40f09ca60fcaacb7f930a4ad9060 Author: Benjamin Otte Date: Wed Mar 2 07:51:54 2016 +0100 win32 theme: Implement horizontal spinbuttons gtk/theme/win32/gtk-win32-base.css | 83 +++++++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 29 deletions(-) commit 222c43fc60362eeb97ce2d5e3a5583a69a2e30ef Author: Benjamin Otte Date: Tue Mar 1 19:14:30 2016 +0100 combobox: Put child into box Put the combobox child into the box we added for this purpose. That way, we don't have to maintain the child's position ourselves anymore. gtk/gtkcombobox.c | 192 ++++++++++---------------------------------------- gtk/ui/gtkcombobox.ui | 6 ++ 2 files changed, 45 insertions(+), 153 deletions(-) commit a3805333361fee37a3b1a974cfa6452a85169f08 Author: Benjamin Otte Date: Tue Mar 1 18:34:43 2016 +0100 container: Remove check The check is not working for many containers anymore as they are not the direct parents of their children. We want to allow this behavior in more places. gtk/gtkcontainer.c | 7 ------- 1 file changed, 7 deletions(-) commit c3d3bf61e4b6e9f2203d9980579f7ff2758e5e68 Author: Benjamin Otte Date: Tue Mar 1 18:29:22 2016 +0100 combobox: Put the button in a box This is so we can put the entry into the box in the next commit. gtk/gtkcombobox.c | 27 +++++++++++++++------------ gtk/ui/gtkcombobox.ui | 21 +++++++++++++-------- 2 files changed, 28 insertions(+), 20 deletions(-) commit 04d9577cb75abe939cb4ed5b503a8e9d4a0e43bc Author: Benjamin Otte Date: Tue Mar 1 18:19:44 2016 +0100 combobox: Make sure the cellview expands Windows theme needs the expansion for correct drawing of the focus outline. gtk/gtkcombobox.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 13b320ecb254b3fc9cea72f3e79d35c10737d9d4 Author: Benjamin Otte Date: Tue Mar 1 17:39:47 2016 +0100 combobox: Ensure an entry gets created for has_entry combos Previously add/remove on the combobox would result in a cellview being created. gtk/gtkcombobox.c | 60 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 27 deletions(-) commit 77d624a8f7afbcdd66c777e4d7e61a6ff0d62727 Author: Fran Dieguez Date: Wed Mar 2 09:46:21 2016 +0000 Updated Galician translation po-properties/gl.po | 4554 +++++++++++++++++++++++++-------------------------- 1 file changed, 2262 insertions(+), 2292 deletions(-) commit 1e27fe83ea25e332b82945e4ddda6130dd84c2a0 Author: Rico Tzschichholz Date: Wed Mar 2 10:23:10 2016 +0100 mir: display->list_devices vfunc was dropped See 4a6f8a065abace71c0ca32d959ec9b86628bffaa https://bugzilla.gnome.org/show_bug.cgi?id=762891 gdk/mir/gdkmirdisplay.c | 9 --------- 1 file changed, 9 deletions(-) commit 5e00f5fdce0f9fb716283f9f42aa55e31fa07b2d Author: Chun-wei Fan Date: Wed Mar 2 16:53:27 2016 +0800 Fix last commit We need to drop the reference to it in configure.ac as well... configure.ac | 1 - 1 file changed, 1 deletion(-) commit ea8873da5501804be76c0b4409f896fc60ed0b5e Author: Chun-wei Fan Date: Wed Mar 2 16:49:59 2016 +0800 MSVC build: Drop crypt implementation for MSVC We are actually not using the crypt() in GDK-Broadway for quite a while, so the code implementation for MSVC is actually not used. So, it's time to get rid of this. build/win32/Makefile.am | 1 - build/win32/crypt/Makefile.am | 7 - build/win32/crypt/crypt.h | 32 --- build/win32/crypt/crypt3.c | 460 ------------------------------------------ 4 files changed, 500 deletions(-) commit 5d8fd8ab3cd1d9f6abf953403f7e0cb4402b35e7 Author: Yosef Or Boczko Date: Wed Mar 2 09:39:24 2016 +0200 Updated Hebrew translation po-properties/he.po | 2246 ++++++++++++++++++++++++++------------------------- 1 file changed, 1129 insertions(+), 1117 deletions(-) commit 72d766445de100c2142181eb675d5d604d516227 Author: Yosef Or Boczko Date: Wed Mar 2 09:37:20 2016 +0200 Updated Hebrew translation po/he.po | 4050 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 2205 insertions(+), 1845 deletions(-) commit e15ab84e35e209e882b0a07ffff64be70c2ca3ee Author: Chun-wei Fan Date: Wed Mar 2 13:02:30 2016 +0800 MSVC builds: Re-arrange include paths Search also for the headers in include/gio-win32-2.0, as gio.h will include those headers at some point, and arrange the include paths in a dependency hierarchy style, top-to-down. build/win32/vs10/gtk3-build-defines.props | 2 +- build/win32/vs9/gtk3-build-defines.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 2a8355f6790643f48ba0900baeedbf138d915211 Author: Matthias Clasen Date: Tue Mar 1 22:37:06 2016 -0500 3.19.11 NEWS | 13 +++++++------ configure.ac | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) commit 444703f2bb3388376598a3ec680a7a89e1bc065d Author: Matthias Clasen Date: Tue Mar 1 23:21:55 2016 -0500 css node tests: Update notebook results This is fallout from changing the tab states. testsuite/css/nodes/notebook-arrows.nodes | 2 +- testsuite/css/nodes/notebook-arrows2.nodes | 2 +- testsuite/css/nodes/notebook.bottom.ltr.nodes | 2 +- testsuite/css/nodes/notebook.bottom.rtl.nodes | 2 +- testsuite/css/nodes/notebook.left.ltr.nodes | 2 +- testsuite/css/nodes/notebook.left.rtl.nodes | 2 +- testsuite/css/nodes/notebook.right.ltr.nodes | 2 +- testsuite/css/nodes/notebook.right.rtl.nodes | 2 +- testsuite/css/nodes/notebook.top.ltr.nodes | 2 +- testsuite/css/nodes/notebook.top.rtl.nodes | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit de383809f668ae5670777f2219532c66bddec72a Author: Olivier Fourdan Date: Mon Feb 29 10:14:56 2016 +0100 wayland: Check actual impl type in transient loop If the parent of a transient is not a native Wayland window (e.g. offscreen window), the transient loop check will crash. Check for the actual type in the transient loop check and do not assume the parent is necessarily Wayland native. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761156 Signed-off-by: Olivier Fourdan gdk/wayland/gdkwindow-wayland.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 9e2207b2b0d1a8c5bdca8f56f370750b4c791204 Author: Jonas Ådahl Date: Fri Feb 26 14:10:06 2016 +0800 gdk: Compress window state events If there are already a window state event for a given window queued when the window state is changed, drop that event and queue a new event with a changed_mask based on the state before last event that was queue without compression. https://bugzilla.gnome.org/show_bug.cgi?id=762468 gdk/gdkevents.c | 39 +++++++++++++++++++++++++++++++++++---- gdk/gdkinternals.h | 1 + 2 files changed, 36 insertions(+), 4 deletions(-) commit 956b2ff998d851c9161dfd231d4f5e1de080346b Author: Matthias Clasen Date: Tue Mar 1 16:00:30 2016 -0500 progressbar: Don't leave css nodes behind We create and destroy gadgets inside the hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkprogressbar.c | 2 ++ 1 file changed, 2 insertions(+) commit 577783a19db6f45deb732be6e24724c7cfeb28c0 Author: Matthias Clasen Date: Tue Mar 1 15:57:36 2016 -0500 scale: Don't leave css nodes behind We create and destroy gadgets inside the scale hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkscale.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 5889d2520f91b4a29f2b01af58f4e92ded2b4e2f Author: Cosimo Cecchi Date: Tue Mar 1 12:53:44 2016 -0800 Adwaita: fix outline for scale trough gtk/theme/Adwaita/_common.scss | 7 ++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) commit cb614cc8388bfde71928bbc29fe45456d216c154 Author: Matthias Clasen Date: Tue Mar 1 15:48:01 2016 -0500 range: Don't leave css nodes behind We create and destroy gadgets inside the range hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkrange.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 37007c47a55cae23c120040fb6a2f9199481b14d Author: Matthias Clasen Date: Tue Mar 1 15:35:32 2016 -0500 level bar: Don't leave css nodes behind We create and destroy gadgets inside the levelbar hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtklevelbar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 87e71afd50e64c3dcbd58284520037db795262ea Author: Matthias Clasen Date: Tue Mar 1 15:18:34 2016 -0500 cell renderer: Strip out :drop(active) state It does not make sense to render every cell in a treeview as drop target, even when the treeview itself is set as a drop destination. https://bugzilla.gnome.org/show_bug.cgi?id=761686 gtk/gtkcellrenderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6230319dba125998f789fb8e5bec4d379585171a Author: Matthias Clasen Date: Tue Mar 1 15:09:10 2016 -0500 Updates NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit eff97fd55f7f31103fa588a6a431a1e22c50c77e Author: Matthias Clasen Date: Tue Mar 1 07:58:12 2016 -0500 Take a reference on the im context for async ops This might fix the crash in yelp that some people continue to see. https://bugzilla.gnome.org/show_bug.cgi?id=762887 gtk/gtkimcontextsimple.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 3607b9aa2e4b2c57489947efa5dcf47877d68e69 Author: Olivier Fourdan Date: Fri Feb 26 13:35:35 2016 +0100 wayland: Restore size when configure size is 0x0 According to xdg_shell, an xdg_surface.configure with size 0x0 should be interpreted as that it is up to the client to set a size. When transitioning from maximize or fullscreen state, this means the client should configure its size back to what it was before being maximize or fullscreen. This problem currently only occurs on weston because weston sends a configure with size 0x0 when transitioning back from maximize or fullscreen. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762713 gdk/wayland/gdkwindow-wayland.c | 58 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) commit 9f080299660d05b5c6f6657bc92ba8f683fec6f8 Author: Anders Jonsson Date: Tue Mar 1 09:13:42 2016 +0000 Updated Swedish translation po-properties/sv.po | 758 ++++++++++++++++++++++++++-------------------------- 1 file changed, 381 insertions(+), 377 deletions(-) commit 61f5562f9f6fed7cd03118820c1eb0902dc52eeb Author: Benjamin Otte Date: Mon Feb 29 23:17:00 2016 +0100 notebook: Tell everyone we reordered stuff Fixes keybindings for reordering actually emitting signals and properly updating CSS/the screen. gtk/gtknotebook.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit a74bb0dec4d0a5032908e47619a82cc4f86b47a1 Author: Benjamin Otte Date: Mon Feb 29 21:57:19 2016 +0100 notebook: Reallocate tab gadgets when we reorder them Otherwise they stay in their position and don't cause a redraw. Which really confuses Epiphany users apparently. https://bugzilla.gnome.org/show_bug.cgi?id=762720 gtk/gtknotebook.c | 1 + 1 file changed, 1 insertion(+) commit fa43edd244b2bbf9dfd9aa9994449f88201fd42e Author: Paolo Borelli Date: Mon Feb 29 21:45:13 2016 +0100 gdk: implement gdk_display_list_devices using GdkSeat Now that the function is factored out in a single place, we can refactor it to not use deprecated API. gdk/gdkdisplay.c | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) commit 4a6f8a065abace71c0ca32d959ec9b86628bffaa Author: Paolo Borelli Date: Mon Feb 29 20:59:36 2016 +0100 gdk: remove the display->list_devices vfunc gdk_display_list_devices is deprecated and all the backends implement the same fallback by delegating to the device manager and caching the list (caching it is needed since the method does not transfer ownership of the container). The compat code can be shared among all backends and we can initialize the list lazily only in the case someone calls the deprecated method. https://bugzilla.gnome.org/show_bug.cgi?id=762891 gdk/broadway/gdkdisplay-broadway.c | 50 ------------------------------------ gdk/broadway/gdkdisplay-broadway.h | 4 --- gdk/gdkdisplay.c | 39 +++++++++++++++++++++++++++- gdk/gdkdisplayprivate.h | 2 +- gdk/quartz/gdkdisplay-quartz.c | 51 ------------------------------------- gdk/wayland/gdkdisplay-wayland.c | 29 --------------------- gdk/wayland/gdkdisplay-wayland.h | 3 --- gdk/win32/gdkdisplay-win32.c | 38 +++++----------------------- gdk/win32/gdkdisplay-win32.h | 2 -- gdk/x11/gdkdisplay-x11.c | 52 -------------------------------------- gdk/x11/gdkdisplay-x11.h | 4 --- 11 files changed, 46 insertions(+), 228 deletions(-) commit d000b212c6baeb2b85a9dd75266af0c02a2efb27 Author: Cosimo Cecchi Date: Mon Feb 29 12:53:08 2016 -0800 range: fix fill level for vertical inverted scales gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a83787dc0315df426f4ee5aae0b1068abb58449 Author: Cosimo Cecchi Date: Mon Feb 29 10:43:12 2016 -0800 Update CSS nodes documentation gtk/gtkscale.c | 25 +++++++++++++++++-------- gtk/gtkscrollbar.c | 19 ++++++++++--------- 2 files changed, 27 insertions(+), 17 deletions(-) commit bb55a1a95813e81436d88eaf9f0fd3d91dd63714 Author: Cosimo Cecchi Date: Sun Feb 28 21:13:54 2016 -0800 scale: add gadgets for indicator/label in scale marks This will allow us to theme them indepdendently, and specify a size for the indicator from the theme. gtk/gtkscale.c | 280 +++++++++++++++++++++---------- gtk/theme/Adwaita/_common.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +- gtk/theme/Adwaita/gtk-contained.css | 8 +- 4 files changed, 209 insertions(+), 97 deletions(-) commit 7bd3d87eeb604b52912902b23e23aa38eb92a97d Author: Cosimo Cecchi Date: Sun Feb 28 13:45:48 2016 -0800 scale: add a gadget for every mark We want to add another gadget for the mark indicator. This will allow us to do so. gtk/gtkscale.c | 552 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 302 insertions(+), 250 deletions(-) commit 74a8bbfd3849b5d6dbe9ae620a0351d4fe8e8f2c Author: Cosimo Cecchi Date: Sun Feb 28 16:04:17 2016 -0800 Adwaita: add minimum size for marks It's still suboptimal, because there's no way to control the size of the indicator alone, but this does the job for now. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 10 insertions(+) commit 0fb50dc9a81d550a646bd9152d1fe38047525eda Author: Cosimo Cecchi Date: Sun Feb 28 14:52:14 2016 -0800 gadget: improve debug message gtk/gtkcssgadget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0c8dbf07ce8b1341446c6f4a2cae0e7c63d2e614 Author: Cosimo Cecchi Date: Sun Feb 28 10:00:15 2016 -0800 range: draw slider on top of all contents This is so that e.g. the focus ring is drawn under the slider. gtk/gtkrange.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit cdd7a7bdcd29109985d3846324ef52c19ed3f70b Author: Cosimo Cecchi Date: Sun Feb 28 09:23:14 2016 -0800 scale: implement rendering for marks gadgets This completes the conversion of scale marks to gadgets. gtk/gtkscale.c | 242 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 129 insertions(+), 113 deletions(-) commit 1a8eb9fefa2693c274d7733c57727337dcba8b60 Author: Cosimo Cecchi Date: Sun Feb 28 00:12:22 2016 -0800 scale: implement size allocate for mark gadgets This allows to move the mark sections around with e.g. margins. gtk/gtkscale.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 108 insertions(+), 9 deletions(-) commit 562a501f3b3ab55d8cd02c4461198e117608c19a Author: Cosimo Cecchi Date: Sat Feb 27 15:24:32 2016 -0800 scale: port marks size request to gadgets gtk/gtkscale.c | 220 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 146 insertions(+), 74 deletions(-) commit 2f420d0e14160099862b7c5bf8738f527b811df7 Author: Cosimo Cecchi Date: Sat Feb 27 15:08:04 2016 -0800 scale: use gadgets instead of nodes for mark containers The gadget is not yet allocated though. gtk/gtkscale.c | 61 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 31 deletions(-) commit b73d274d55f02266212824cc6f3a30ffe5f220a8 Author: Cosimo Cecchi Date: Sat Feb 27 13:48:19 2016 -0800 scale: rename function arguments To make them clearer. No functional change here. gtk/gtkscale.c | 88 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 41 deletions(-) commit 8d5d16ae56cb33c72496055d62f9792c0a2fd2aa Author: Cosimo Cecchi Date: Sat Feb 27 13:44:22 2016 -0800 scale: remove unused argument It's always GTK_POS_TOP. gtk/gtkscale.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit bc41ff8af4d645d425e15bf92adf471499acce75 Author: Cosimo Cecchi Date: Sat Feb 27 23:19:13 2016 -0800 range: better hack for GtkColorScale Just draw the slider, since that is the only thing GtkColorScale cares about. gtk/gtkrange.c | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) commit 887b6d65a1e730d94332ec4e6d7fde905d798eed Author: Cosimo Cecchi Date: Sat Feb 27 13:37:01 2016 -0800 range: deprecate gtk_range_get/set_min_slider_size() Nothing uses these functions inside GTK anymore. gtk/gtkrange.c | 6 ++++++ gtk/gtkrange.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 424f17c0fbd6a97132c73a3fb7f3fb374615384d Author: Cosimo Cecchi Date: Sat Feb 27 13:31:26 2016 -0800 range: don't use gtk_range_set_min_slider_size() The way this method is used from the GtkRange subclasses doesn't really work well when the slider properties change as a consequence of e.g. a style class being applied (e.g. the fine-tune style class). In fact, there's no need to read the minimum slider size out of band, and we can obtain the same result in a way that always work by setting a private property on GtkRange. gtk/gtkrange.c | 44 +++++++++++++++++++++++++++++++++----------- gtk/gtkrangeprivate.h | 4 +++- gtk/gtkscale.c | 37 ++++++++++++++----------------------- gtk/gtkscrollbar.c | 9 +-------- 4 files changed, 51 insertions(+), 43 deletions(-) commit 0468ff15459b4e01ca57e4a057908de70e502456 Author: Lapo Calamandrei Date: Thu Feb 25 17:49:12 2016 +0100 Adwaita: some more WIP theme work for the new scale gtk/theme/Adwaita/_common.scss | 50 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 712 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 712 ++++++++++++++++--------------- 3 files changed, 737 insertions(+), 737 deletions(-) commit 3ff66edb6bdb1437e8c149f9c98dad19cb6040a5 Author: Cosimo Cecchi Date: Wed Feb 24 15:51:40 2016 -0800 gadget: simplify code gtk/gtkcssgadget.c | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) commit 0883ff5eedf73b1197f2a49fb7e55ce227917335 Author: Cosimo Cecchi Date: Wed Feb 24 15:35:28 2016 -0800 range: use border box for slider area Since we can use negative margins, we should not use the margin box for the slider area. Use the border box instead, since that's what is typically mapped to the visible area. gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 6ecab5ee6b311348be8dea43c71d5c87aa332d98 Author: Cosimo Cecchi Date: Wed Feb 24 14:29:52 2016 -0800 range: use new GtkCssGadget API instead of rolling our own gtk/gtkrange.c | 44 ++++++++++---------------------------------- 1 file changed, 10 insertions(+), 34 deletions(-) commit 44178c0541ca46f53c41953e32529eabc1931a2b Author: Cosimo Cecchi Date: Wed Feb 24 14:21:10 2016 -0800 gadget: add API to get various area boxes Compared to the function returning the allocation, these will return the box in gadget coordinates. gtk/gtkcssgadget.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 6 ++++++ 2 files changed, 57 insertions(+) commit 2d2a81682debb5d17888314a087a0fc49734d283 Author: Cosimo Cecchi Date: Wed Feb 24 13:53:13 2016 -0800 range: simplify code Instead of directly accessing the widget allocation, we can use the gadget API to test whether the coordinates are in the main gadget. gtk/gtkrange.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 622f5aef4e9ba4e7bd0fca4006910589d001ec0e Author: Lapo Calamandrei Date: Wed Feb 24 13:36:14 2016 -0800 Adwaita: WIP for new range theme gtk/theme/Adwaita/_common.scss | 83 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 1139 +++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 1155 +++++++++++++++--------------- 3 files changed, 1194 insertions(+), 1183 deletions(-) commit d1433c25f360e0cdae2cf481d88244d45b13de25 Author: Cosimo Cecchi Date: Wed Feb 24 13:28:54 2016 -0800 range: add a gadget for the whole widget area This commit introduces another node, called "contents", that holds the main contents of the range. This allows for the main gadget itself to span across the whole surface of the widget now. gtk/gtkrange.c | 148 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 110 insertions(+), 38 deletions(-) commit a9ea544f3d75c10541652c3df28a4204f4f05711 Author: Cosimo Cecchi Date: Wed Feb 24 12:24:41 2016 -0800 scale: always add marks at the beginning or the end Marks are always either the first or the last child of the scale. gtk/gtkrange.c | 6 ------ gtk/gtkrangeprivate.h | 1 - gtk/gtkscale.c | 4 ++-- 3 files changed, 2 insertions(+), 9 deletions(-) commit 1d047f00977bdb3b7c94344466cb47ab4a764d82 Author: Cosimo Cecchi Date: Wed Feb 24 12:01:07 2016 -0800 range: use new GtkBoxGadget API instead of counting children gtk/gtkrange.c | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) commit 6370d6cb2780350ed9e8638e375d560dc821b194 Author: Cosimo Cecchi Date: Wed Feb 24 12:00:46 2016 -0800 boxgadget: add APIs to insert gadgets next to siblings gtk/gtkboxgadget.c | 34 ++++++++++++++++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 13 +++++++++++++ 2 files changed, 47 insertions(+) commit 6401e2405e19bd58db6dd826d7baa9926bcbd95f Author: Cosimo Cecchi Date: Wed Feb 24 11:43:06 2016 -0800 range: use new GtkBoxGadget API instead of removing/inserting gtk/gtkrange.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit 06776d3d2fdfce734395739480bef721daf12608 Author: Cosimo Cecchi Date: Wed Feb 24 10:34:15 2016 -0800 boxgadget: add API to set expand/align flags for gadget child gtk/gtkboxgadget.c | 86 ++++++++++++++++++++++++++++++++++++++++++----- gtk/gtkboxgadgetprivate.h | 7 ++++ 2 files changed, 85 insertions(+), 8 deletions(-) commit 6827bd5e04d6e93140ca9aaa04b897fe37db27a1 Author: Cosimo Cecchi Date: Tue Feb 23 10:45:19 2016 -0800 range: move slider drawing where it belongs The slider gadget is a child of the trough gadget, so draw it from there. gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f0d9afd3005206dfe0962965a2fa21baf9e1fa97 Author: Cosimo Cecchi Date: Mon Feb 22 22:00:57 2016 -0800 scrollbar: deprecate min-slider-length style property In favor of min-height/min-width, like we did for other similar properties. gtk/gtkscrollbar.c | 18 ++++++++++++++++-- gtk/theme/Adwaita/_common.scss | 5 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++++--- gtk/theme/Adwaita/gtk-contained.css | 7 ++++--- 4 files changed, 26 insertions(+), 11 deletions(-) commit 0974b0d843116c285133c485011cef59a364a5da Author: Cosimo Cecchi Date: Mon Feb 22 21:31:31 2016 -0800 range: whitespace fix gtk/gtkrange.c | 1 - 1 file changed, 1 deletion(-) commit fb11cc1bafc3986024b41e20fb6fe609e42daeb8 Author: Cosimo Cecchi Date: Mon Feb 22 21:19:03 2016 -0800 range: remove border allocation hack We can achieve the same result with a negative margin. gtk/gtkrange.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit 1a116b9a95aac9e55e858a4614b888f06a8c156d Author: Cosimo Cecchi Date: Mon Feb 22 19:08:09 2016 -0800 colorscale: don't use style properties to determine slider size gtk/gtkcolorscale.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 8b87eca11eae37a1e3357982b4ea7b6204b3d10d Author: Cosimo Cecchi Date: Mon Feb 22 18:54:24 2016 -0800 Revert "range: move GtkColorScale special case to GtkColorScale" This reverts commit d93d266ed9e3e26e382a4f6d4b5d4ea19eff3bcf. gtk/gtkcolorscale.c | 5 ----- gtk/gtkrange.c | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) commit b927fc0874437c217dbf845f9fb1cbd0ee9f4430 Author: Cosimo Cecchi Date: Mon Feb 22 18:54:16 2016 -0800 Revert "range: simplify code" This reverts commit a74f7dcaf8a02c96c6bfecab6969e1d33ecb9332. gtk/gtkrange.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit a7099d1468c4be397610595a94375f582afa79f7 Author: Cosimo Cecchi Date: Mon Feb 22 18:28:30 2016 -0800 range: simplify code Now that everything is in the main gadget, we can just let it propagate drawing to its children. gtk/gtkrange.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit b6f0b6be877e99ddc8e013ac58e1b6d5089e14ab Author: Cosimo Cecchi Date: Mon Feb 22 18:27:52 2016 -0800 range: move GtkColorScale special case to GtkColorScale Now we can just tweak the node visibility for it. gtk/gtkcolorscale.c | 5 +++++ gtk/gtkrange.c | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) commit cbbe237c18a544f2eab9c7d13772fa9a426d0dac Author: Cosimo Cecchi Date: Mon Feb 22 18:18:37 2016 -0800 range: remove special case that's not needed We already set the gadget not to be visible in that case. gtk/gtkrange.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) commit ddb863e523484e3b0520eca48914d5d35b90446c Author: Cosimo Cecchi Date: Mon Feb 22 18:11:02 2016 -0800 range: move slider inside the trough This will require a rewrite of most of the theme, but it's the right thing to do. gtk/gtkrange.c | 190 +++++++++++++++++++++++---------------------------------- 1 file changed, 76 insertions(+), 114 deletions(-) commit d1c5ecfaefd045bdf4b46e12520899a7bd27002d Author: Cosimo Cecchi Date: Sun Feb 21 15:01:04 2016 -0800 scale: deprecate slider-length style property This can be achieved using min-height/min-width CSS properties now. gtk/gtkrange.c | 6 +++++ gtk/gtkrangeprivate.h | 2 ++ gtk/gtkscale.c | 40 +++++++++++++++++++++----------- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++-- gtk/theme/Adwaita/gtk-contained.css | 5 ++-- 6 files changed, 43 insertions(+), 19 deletions(-) commit c1eff2cce5d2b870343f2d727b4a7d47519b78e4 Author: Cosimo Cecchi Date: Sun Feb 21 00:33:36 2016 -0800 range: deprecate more style properties These are never read now. gtk/gtkrange.c | 35 +++++++++++++++++++++--- gtk/theme/Adwaita/_common.scss | 35 ++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 34 ++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 34 ++++++++++++----------- gtk/theme/HighContrast/_common.scss | 4 --- gtk/theme/HighContrast/gtk-contained-inverse.css | 5 +--- gtk/theme/HighContrast/gtk-contained.css | 5 +--- gtk/theme/win32/gtk-win32-base.css | 2 -- 8 files changed, 92 insertions(+), 62 deletions(-) commit 413b9d5b3c10e9b296b09a99f34558d0bf36a72c Author: Cosimo Cecchi Date: Tue Jan 19 07:22:33 2016 -0200 range: continue porting to GtkGadgets This commit rewrites a lot of the GtkRange internals to make full use of the gadget structure. gtk/gtkrange.c | 1267 ++++++++++++------------------ gtk/theme/Adwaita/_common.scss | 4 + gtk/theme/Adwaita/gtk-contained-dark.css | 48 ++ gtk/theme/Adwaita/gtk-contained.css | 48 ++ 4 files changed, 592 insertions(+), 775 deletions(-) commit e9fe46ea5f1a90991154d7564d28123fb25ec567 Author: Cosimo Cecchi Date: Tue Jan 19 07:21:46 2016 -0200 gadget: add hit test functions These will be useful in later commits. gtk/gtkcssgadget.c | 123 +++++++++++++++++++++++++++++++++++++++++----- gtk/gtkcssgadgetprivate.h | 10 ++++ 2 files changed, 122 insertions(+), 11 deletions(-) commit 8c43b3ee6004f0687456b7f9ca0e1d987b8938df Author: Cosimo Cecchi Date: Sun Jan 17 17:27:03 2016 -0200 range: remove unused code gtk/gtkrange.c | 3 --- 1 file changed, 3 deletions(-) commit 6c19947859c6477fbfc350ec52c152f258a09502 Author: Cosimo Cecchi Date: Sun Jan 17 17:24:01 2016 -0200 range: remove call that is not needed gtk_range_calc_slider() already calls the same function when needed. gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit 83a6471c4ea4eb0b33416cb7373dda07a895cf9b Author: Cosimo Cecchi Date: Sat Jan 16 16:44:50 2016 -0800 range: simplify code a bit gtk/gtkrange.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit d19215015e7d8f929c905504ac7564ffc1d3379c Author: Cosimo Cecchi Date: Sat Jan 16 16:30:59 2016 -0800 range: don't call gtk_range_calc_layout() in realize() This should not be needed, and we want to get rid of gtk_range_calc_layout(). gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit 1f9de3cfecc11b80a657f76a967e132310f6db47 Author: Cosimo Cecchi Date: Sat Jan 16 16:27:35 2016 -0800 range: deprecate arrow-scaling style property This can be done with CSS now. gtk/gtkrange.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3b37f2a42a5274383345c2ceab4d7db15bc84b60 Author: Cosimo Cecchi Date: Sat Jan 16 16:27:24 2016 -0800 range: use newer GtkCssGadget API gtk/gtkrange.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit d0c671ddfed5f9ebe7b7b95a3e134b575c801c2a Author: Cosimo Cecchi Date: Wed Jan 13 15:01:47 2016 -0800 range: deprecate trough-under-steppers It's not clear what this would do in a CSS world, and all the themes set it to TRUE anyway... gtk/gtkrange.c | 112 ++++------------------- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 3 +- gtk/theme/Adwaita/gtk-contained.css | 3 +- gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk-contained-inverse.css | 3 +- gtk/theme/HighContrast/gtk-contained.css | 3 +- 7 files changed, 22 insertions(+), 104 deletions(-) commit 4bb0a8db47050593fe24d121875ec70c053d0235 Author: Cosimo Cecchi Date: Sat Jan 9 14:00:09 2016 -0800 range: first pass at porting to gadgets There's still a lot to be done, but this is functional and we'll improve the loose ends in the next commits. gtk/gtkrange.c | 1023 +++++++++++++++--------------- gtk/theme/Adwaita/_common.scss | 18 + gtk/theme/Adwaita/gtk-contained-dark.css | 8 + gtk/theme/Adwaita/gtk-contained.css | 8 + 4 files changed, 545 insertions(+), 512 deletions(-) commit 10e24b8e190b0db1d2306c152ead05f76db687b9 Author: Matthias Clasen Date: Mon Feb 29 13:16:50 2016 -0500 Move the level bar release note to the right section README.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 33ac51ea721714a7235765cd40c9a0295cced8df Author: Paolo Borelli Date: Mon Feb 29 18:03:38 2016 +0100 win32: init wintab when the device manager is constructed No need to call a method explicitely after creating the object gdk/win32/gdkdevicemanager-win32.c | 9 +++++---- gdk/win32/gdkdisplay-win32.c | 2 -- gdk/win32/gdkprivate-win32.h | 1 - 3 files changed, 5 insertions(+), 7 deletions(-) commit e9d2a622e2e7e864f6c87ecd43088d085eb76fc9 Author: Paolo Borelli Date: Mon Feb 29 18:17:28 2016 +0100 win32: actually call _gdk_win32_screen_on_displaychange_event 41a371c435533aee5f050500c90507844cb1e45e factored out a method but I forgot to actually amend the commit to call the new function gdk/win32/gdkdisplay-win32.c | 1 + 1 file changed, 1 insertion(+) commit 316fe1dbbd6e0600e0002cebb4323473b4e2ec64 Author: Ray Strode Date: Sat Feb 27 16:17:38 2016 -0500 wayland: deal with staging buffer getting allocated prematurely The staging buffer gets allocated any time begin_paint is called on the window. This can happen even with an empty paint region, so we should cope with that situation. At the moment we crash trying to post a runtime warning. https://bugzilla.gnome.org/show_bug.cgi?id=762755 gdk/wayland/gdkwindow-wayland.c | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) commit 6ad67451f44d753942905dda574c65e66d071d8e Author: Jordi Mas Date: Mon Feb 29 16:34:30 2016 +0100 Fixes to Catalan translation po-properties/ca.po | 2 +- po/ca.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 41119057dda97549bf498cdf5787b8b98da541c7 Author: Timm Bäder Date: Fri Feb 26 14:07:49 2016 +0100 frame: Fix horizontal size request We were adding the border gadget size and the label widget size in any case, but when calculating the width, we want the maximum of those two, not the sum. https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) commit 38ad57948c5960cdcb8e2487153a2dfb94a5dfab Author: Paolo Borelli Date: Sun Feb 28 15:15:29 2016 +0100 gdk: remove the core_pointer field from GdkDisplay It is not used anymore, so no need to set it https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/broadway/gdkdisplay-broadway.c | 3 +-- gdk/gdkdisplayprivate.h | 1 - gdk/mir/gdkmirdevicemanager.c | 1 - gdk/quartz/gdkdisplay-quartz.c | 3 +-- gdk/wayland/gdkdisplay-wayland.c | 4 ++-- gdk/win32/gdkdisplay-win32.c | 6 ++---- gdk/x11/gdkdisplay-x11.c | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) commit 502744be8557e67166020ce864b8115c02d17c0d Author: Paolo Borelli Date: Sun Feb 28 15:11:45 2016 +0100 quartz: get the core pointer from the device manager https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/quartz/gdkdisplay-quartz.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit 539b1083de487bb2b2f8689c23abd87c20585379 Author: Paolo Borelli Date: Sun Feb 28 15:06:53 2016 +0100 broadway: get the core pointer from the device manager https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/broadway/gdkdisplay-broadway.c | 23 +++-------------------- gdk/broadway/gdkeventsource.c | 32 ++++++++++++++++---------------- 2 files changed, 19 insertions(+), 36 deletions(-) commit 363f9c95715486106d188f56711afb941d00151f Author: Paolo Borelli Date: Sun Feb 28 15:05:32 2016 +0100 gdkdisplay: get the pointer device from the default seat https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/gdkdisplay.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 807c0c0a56837b2ca991bb229d3cc7cabff79888 Author: Paolo Borelli Date: Sun Feb 28 15:04:40 2016 +0100 gdkwindow: get the pointer device from the default seat https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/gdkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ee217dc8236f0d7289f394b9954a9bc188738537 Author: Matthias Clasen Date: Sun Feb 28 21:29:35 2016 -0500 Add and use GDK_CHECK_DEBUG macro This is following what we've already done in GTK+. It avoids direct access to _gdk_debug_flags all over the place. gdk/gdkframeclockidle.c | 8 ++++---- gdk/gdkinternals.h | 7 +++++-- gdk/x11/gdkdevice-core-x11.c | 2 +- gdk/x11/gdkdevice-xi2.c | 2 +- gdk/x11/gdkdevicemanager-core-x11.c | 2 +- gdk/x11/gdkdisplay-x11.c | 4 ++-- gdk/x11/gdkdnd-x11.c | 4 ++-- gdk/x11/gdkscreen-x11.c | 2 +- gdk/x11/gdkvisual-x11.c | 2 +- gdk/x11/gdkwindow-x11.c | 2 +- 10 files changed, 19 insertions(+), 16 deletions(-) commit 2ad19c70ce41cf53b9de4606d114f6a13abd9bca Author: Matthias Clasen Date: Sun Feb 28 21:29:16 2016 -0500 x11: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/x11/gdkdevicemanager-x11.c | 4 +-- gdk/x11/gdkglcontext-x11.c | 56 +++++++++++++++++++++--------------------- gdk/x11/xsettings-client.c | 14 +++++------ 3 files changed, 37 insertions(+), 37 deletions(-) commit 29c1263c4b5bc7d75a932a9d82cb5142413c71ae Author: Matthias Clasen Date: Sun Feb 28 21:28:01 2016 -0500 wayland: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/wayland/gdkglcontext-wayland.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 2a2d254a8b464e7d2176b9679a467f68fb45fb35 Author: Matthias Clasen Date: Sun Feb 28 21:26:26 2016 -0500 quartz: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/quartz/GdkQuartzView.c | 128 +++++++++++++++++++-------------------- gdk/quartz/gdkeventloop-quartz.c | 38 ++++++------ 2 files changed, 85 insertions(+), 81 deletions(-) commit 2801f3c8431c0516f56fa8acb86f51f41b515602 Author: Matthias Clasen Date: Sun Feb 28 15:39:05 2016 -0500 gdk: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/gdkframeclock.c | 26 ++++++++++++++++---------- gdk/gdkglcontext.c | 26 +++++++++++++------------- 2 files changed, 29 insertions(+), 23 deletions(-) commit b1d691dbfd9a778197fe0995f15a0520d5928a63 Author: Matthias Clasen Date: Sun Feb 28 15:36:14 2016 -0500 testsuite: Fix up icontheme test This test was relying on GtkIconTheme using g_print for debug spew. Adapt it to use g_logv instead. testsuite/gtk/icontheme.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 2ee7fb1818598de6372dae48b89f5e6925e1d77b Author: Matthias Clasen Date: Sun Feb 28 15:33:18 2016 -0500 Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gtk/deprecated/gtktrayicon-x11.c | 47 +++++++++++------------ gtk/gtkbuilder.c | 13 +++---- gtk/gtkbuilderparser.c | 14 ++++--- gtk/gtkglarea.c | 6 +-- gtk/gtkiconcache.c | 19 ++++------ gtk/gtkiconcachevalidator.c | 2 +- gtk/gtkicontheme.c | 43 ++++++++++----------- gtk/gtkmodules.c | 12 +++--- gtk/gtkrbtree.c | 82 ++++++++++++++++++++++++++-------------- gtk/gtksizerequest.c | 28 ++++++++------ gtk/gtkwidget.c | 20 +++++----- 11 files changed, 154 insertions(+), 132 deletions(-) commit 0ac71e81cf9e80fc3b7903e98e0c3cb059cb68ca Author: Matthias Clasen Date: Sun Feb 28 15:26:52 2016 -0500 Drop some unused debug printfs Remove some debug spew that has been ifdef'ed out for years and does not look useful enough to keep. gtk/deprecated/gtkstatusicon-quartz.c | 1 - gtk/deprecated/gtkuimanager.c | 20 -------------------- gtk/gtkimcontextsimple.c | 34 +++------------------------------- gtk/gtktextbtree.c | 12 ------------ gtk/gtktextbufferserialize.c | 22 ---------------------- gtk/gtktooltip.c | 34 ---------------------------------- gtk/gtktreeview.c | 4 ---- gtk/gtkwindow.c | 7 ------- 8 files changed, 3 insertions(+), 131 deletions(-) commit 8e1368e6de98dd0414f462c851386573465f331a Author: Cosimo Cecchi Date: Sun Feb 28 10:58:06 2016 -0800 widget: make sure to check all children for allocation needs GtkWidget uses gtk_container_foreach() to iterate over children and check whether they need their allocation reset. However, that leaves out internal children, such as scrollbars of a GtkScrolledWindow. Use gtk_container_forall() instead. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 187027942c2878a76f569c70b931ac424de9f4a5 Author: Paolo Borelli Date: Sun Feb 28 19:00:41 2016 +0100 gdk: remove _gdk_event_queue_prepend It is never used gdk/gdkevents.c | 19 ------------------- gdk/gdkinternals.h | 2 -- 2 files changed, 21 deletions(-) commit e0caafbcdf6f1b200506ef5165f4da27b84a2df7 Author: Matthias Clasen Date: Sun Feb 28 12:31:20 2016 -0500 display: Don't change default seat in flight gdk_display_add_seat was prepending new seats to the list, which was effectively making the added seat the new default. Since that is probably not intended, append to the list. gdk/gdkdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9dad9a4b592e979026a6cddd4906033694a65f33 Author: Matthias Clasen Date: Sun Feb 28 12:22:55 2016 -0500 testsuite: Strip newlines from g_warning and g_error g_logv adds one for us already. testsuite/gtk/gtktreemodelrefcount.c | 2 +- testsuite/gtk/rbtree.c | 2 +- testsuite/gtk/textbuffer.c | 18 +++++++++--------- testsuite/gtk/treemodel.c | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) commit 7bd1012e51e47c939572a584fbfc65be45596168 Author: Matthias Clasen Date: Sun Feb 28 12:21:29 2016 -0500 tests: Strip newlines from g_warning and g_error g_logv adds one for us already. tests/gtkoffscreenbox.c | 2 +- tests/scrolling-performance.c | 2 +- tests/testglarea.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit 664b16683842a2e0b1bf83c19a931ce110ccb743 Author: Matthias Clasen Date: Sun Feb 28 12:21:09 2016 -0500 wayland: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/wayland/gdkdisplay-wayland.c | 4 ++-- gdk/wayland/gdkselection-wayland.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4f422d1f5b26ebaeb9f50e42b5f76242b19088b3 Author: Matthias Clasen Date: Sun Feb 28 12:20:56 2016 -0500 quartz: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/quartz/gdkselection-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c887b22870a8fc6f6bcf6f13c1b70448c8ae634 Author: Matthias Clasen Date: Sun Feb 28 12:20:39 2016 -0500 gdk: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/gdkevents.c | 4 ++-- gdk/gdkgl.c | 2 +- gdk/gdkseatdefault.c | 2 +- gdk/gdkwindow.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) commit 697efcd4bc35ca98dd8da48d30069229472abc98 Author: Matthias Clasen Date: Sun Feb 28 12:19:58 2016 -0500 x11: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkdnd-x11.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) commit 94342300a85999febbcc9e575b9a821176a04e4a Author: Matthias Clasen Date: Sun Feb 28 12:19:31 2016 -0500 broadway: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/broadway/broadway-output.c | 2 +- gdk/broadway/broadwayd.c | 2 +- gdk/broadway/gdkbroadway-server.c | 2 +- gdk/broadway/gdkselection-broadway.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) commit 492ea59698e148b2911868f5cc88644caaba9bde Author: Matthias Clasen Date: Sun Feb 28 12:19:09 2016 -0500 examples: Strip newlines from g_warning and g_error g_logv adds one for us already. examples/plugman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 435c8c9f0d6a277ec77cd62e90b35aa27635793b Author: Matthias Clasen Date: Sun Feb 28 12:18:36 2016 -0500 gtk-demo: Strip newlines from g_warning and g_error g_logv adds one for us already. demos/gtk-demo/glarea.c | 4 ++-- demos/gtk-demo/main.c | 4 ++-- demos/gtk-demo/offscreen_window.c | 2 +- demos/gtk-demo/offscreen_window2.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit bbd94b5a9ffc83569c771d81fa07457dfd61d20d Author: Matthias Clasen Date: Sun Feb 28 11:06:25 2016 -0500 gtk: Strip newlines from g_warning and g_error g_logv adds one for us already. gtk/deprecated/gtkcolorsel.c | 4 ++-- gtk/deprecated/gtkrecentaction.c | 6 ++---- gtk/deprecated/gtkstock.c | 2 +- gtk/deprecated/gtkuimanager.c | 7 +++---- gtk/gtkcalendar.c | 8 ++++---- gtk/gtkcellrendererspinner.c | 2 +- gtk/gtkcolorswatch.c | 2 +- gtk/gtkcssprovider.c | 2 +- gtk/gtkcustompaperunixdialog.c | 2 +- gtk/gtkfilechoosernativewin32.c | 20 ++++++++++---------- gtk/gtkfilechooserwidget.c | 4 ++-- gtk/gtkflowbox.c | 2 +- gtk/gtkiconcache.c | 2 +- gtk/gtkiconhelper.c | 2 +- gtk/gtkicontheme.c | 4 ++-- gtk/gtklinkbutton.c | 2 +- gtk/gtklistbox.c | 4 ++-- gtk/gtkliststore.c | 12 ++++++------ gtk/gtkmain.c | 2 +- gtk/gtkmountoperation-x11.c | 2 +- gtk/gtkmountoperation.c | 6 +++--- gtk/gtkpaned.c | 2 +- gtk/gtkpapersize.c | 2 +- gtk/gtkpixelcache.c | 2 +- gtk/gtkprintbackend.c | 4 ++-- gtk/gtkprintoperation-unix.c | 2 +- gtk/gtkprintoperation-win32.c | 2 +- gtk/gtkrbtree.c | 2 +- gtk/gtkrecentchooserdefault.c | 4 ++-- gtk/gtksettings.c | 2 +- gtk/gtksocket.c | 8 ++++---- gtk/gtkstack.c | 2 +- gtk/gtktextbufferserialize.c | 4 ++-- gtk/gtktextview.c | 2 +- gtk/gtktreedatalist.c | 2 +- gtk/gtktreeselection.c | 2 +- gtk/gtktreestore.c | 12 ++++++------ gtk/gtkwidget.c | 4 ++-- gtk/gtkwin32.c | 6 +++--- gtk/gtkwindow.c | 8 ++++---- 40 files changed, 83 insertions(+), 86 deletions(-) commit 72b40266bde69effa75fabae960748c2c7832a4d Author: Paolo Borelli Date: Sun Feb 28 16:22:31 2016 +0100 gdkwindow: cleanup, avoid direct access to display members gdk/gdkdisplay.c | 8 ++++++++ gdk/gdkdisplayprivate.h | 2 ++ gdk/gdkwindow.c | 9 +++++---- 3 files changed, 15 insertions(+), 4 deletions(-) commit 450b39f4e4fd8a6c904ed8663d1b2257381c2eb8 Author: Piotr Drąg Date: Sun Feb 28 17:11:05 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit aaed73671c2fa90490b875435ace29829379373d Author: Paolo Borelli Date: Sun Feb 28 15:33:28 2016 +0100 win32: close the screen when disposing the display gdk/win32/gdkdisplay-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit 54ebe5d3c5cb56a0235515a9a709362deb5cdaaf Author: Matthias Clasen Date: Sun Feb 28 09:38:31 2016 -0500 Add a release note about subclassing This is showing up in bug reports like https://bugzilla.gnome.org/show_bug.cgi?id=762754 so better add a note that gives a hint at the solution. README.in | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 870a5b424f4ff3b07d5524c581e61db5945497ff Author: Timm Bäder Date: Fri Feb 26 14:09:28 2016 +0100 frame: Don't move border gadget and child down Setting label-yalign should affect the border gadget, but we need to compensate for its position by moving the child down or up, depending on the border gadget's position, so the child never moves. https://bugzilla.gnome.org/show_bug.cgi?id=762123 gtk/gtkframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d59c796a9d639e771c62e5aceadbbacad11e719a Author: Emmanuele Bassi Date: Sun Feb 28 12:21:26 2016 +0000 Fix builddir != srcdir The gdkprivate-wayland.h header file is included from the top-level gdk directory; this means that all included files referenced in the header must be relative to the `gdk` directory, otherwise the build will fail when the build directory is not equal to the source directory. This commit fixes a build failure under continuous: In file included from ../../gdk/gdkdisplaymanager.c:60:0: ../../gdk/wayland/gdkprivate-wayland.h:40:51: fatal error: gtk-primary-selection-client-protocol.h: No such file or directory #include "gtk-primary-selection-client-protocol.h" ^ compilation terminated. Makefile:1155: recipe for target 'libgdk_3_la-gdkdisplaymanager.lo' failed make[4]: *** [libgdk_3_la-gdkdisplaymanager.lo] Error 1 gdk/wayland/gdkprivate-wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 41a371c435533aee5f050500c90507844cb1e45e Author: Paolo Borelli Date: Sun Feb 28 12:03:00 2016 +0100 win32: factor out on_displaychange_event method for the screen This allows us to make more initialization methods private to the screen object. gdk/win32/gdkdisplay-win32.c | 4 ---- gdk/win32/gdkprivate-win32.h | 3 +-- gdk/win32/gdkscreen-win32.c | 23 +++++++++++++++-------- 3 files changed, 16 insertions(+), 14 deletions(-) commit 48d693ea802ce418af3a2f9f798a0a3490f0f3cb Author: Paolo Borelli Date: Sun Feb 28 11:56:01 2016 +0100 win32: make init_root_window private to the screen object It can be called during the screen object initilization gdk/win32/gdkdisplay-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 1 - gdk/win32/gdkscreen-win32.c | 6 ++++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit b20f80e65a7e1ab5905131a308b9e655312c217d Author: Paolo Borelli Date: Sun Feb 28 11:53:10 2016 +0100 win32: move function Just reorder code in preparation to calling functions defined before this one gdk/win32/gdkscreen-win32.c | 78 ++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 39 deletions(-) commit 00f396dea98e7ec718a18ad191f2a47f5de2374b Author: Paolo Borelli Date: Sun Feb 28 11:50:07 2016 +0100 win32: rename initialization function for clarity gdk/win32/gdkdisplay-win32.c | 3 +-- gdk/win32/gdkprivate-win32.h | 2 +- gdk/win32/gdkscreen-win32.c | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) commit 58e169c04c281cf6c40453908af64bcd95ae85a8 Author: Paolo Borelli Date: Sun Feb 28 11:25:54 2016 +0100 win32: do not confuse gtk-doc gdk/win32/gdkevents-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e48bd2e00be2463bdd6c0a9f37331c2254c479b7 Author: Paolo Borelli Date: Sat Feb 27 15:23:19 2016 +0100 win32: move gdkvisual code in gdkscreen Except for the init function, all the visual related code is made of gdkscreen vfuncs, so let's move it to gdkscreen-win32. This way we avoid keeping other static variables and instead store the info inside the screen struct. gdk/Makefile.am | 1 - gdk/win32/Makefile.am | 1 - gdk/win32/gdkdisplay-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 14 -- gdk/win32/gdkscreen-win32.c | 336 +++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkvisual-win32.c | 345 ------------------------------------------- gdk/win32/makefile.msc | 1 - 7 files changed, 325 insertions(+), 374 deletions(-) commit 0f3a211d35c57c6c909d245c4e49dec953af7227 Author: Matthias Clasen Date: Sat Feb 27 23:46:25 2016 -0500 gtk-demo: Simplify ui files a bit Strip unneeded IDs. demos/gtk-demo/application.ui | 18 +++++++++--------- demos/gtk-demo/font-features.ui | 6 +++--- demos/gtk-demo/main.ui | 18 +++++++++--------- demos/gtk-demo/stack.ui | 10 +++++----- demos/gtk-demo/theming.ui | 42 ++++++++++++++++++++--------------------- 5 files changed, 47 insertions(+), 47 deletions(-) commit 492fec62949019c8344c872e51b8bd0516948bba Author: Matthias Clasen Date: Sat Feb 27 23:43:06 2016 -0500 gtk-demo: Put hte app menu in a separate file No need to cram it in the same file as the main window. demos/gtk-demo/appmenu.ui | 19 +++++++++++++++++++ demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/main.c | 2 +- demos/gtk-demo/main.ui | 15 --------------- 4 files changed, 21 insertions(+), 16 deletions(-) commit 9d5ad67c91c76b71b31342f53c04f56c93773b35 Author: Matthias Clasen Date: Sat Feb 27 23:35:33 2016 -0500 gtk-demo: Add some padding in sidebar Add some padding on the right, to avoid the scrollbar and make the sidebar appear balanced. demos/gtk-demo/main.ui | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 213f74fe823f1d835c2d4fba04877a9a39d6d2f4 Author: Matthias Clasen Date: Sat Feb 27 23:28:17 2016 -0500 tutorial: Drop excessive margin from headerbar It is no longer necessary to add extra margins around the center child in a headerbar. examples/application10/window.ui | 1 - examples/application2/window.ui | 1 - examples/application3/window.ui | 1 - examples/application4/window.ui | 1 - examples/application5/window.ui | 1 - examples/application6/window.ui | 1 - examples/application7/window.ui | 1 - examples/application8/window.ui | 1 - examples/application9/window.ui | 1 - 9 files changed, 9 deletions(-) commit 87554eb57a101aa6a2e2f3a7a6ff5eaa09a5ede8 Author: Matthias Clasen Date: Sat Feb 27 23:12:15 2016 -0500 widget-factory: Make the sliding opt-in The sliding is a little disorienting, so turn it off by default and add a checkbutton for it in the gear menu. demos/widget-factory/widget-factory.c | 22 ++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) commit 98a36955fec680b05675c7a6ba738897e65a37c9 Author: Matthias Clasen Date: Sat Feb 27 23:03:55 2016 -0500 file chooser: Don't ellipsize "Other Locations" It just looks wrong if the file chooser comes up with "Other Locations" ellipsized. Treat it like the other fixed entries. We only want to ellipsize bookmarks, because their length is unpredictable. gtk/gtksidebarrow.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit a7a934a60cc9e1e52fc6ded89f41c4ab3efefa9a Author: Matthias Clasen Date: Sat Feb 27 22:39:09 2016 -0500 gtk3-demo: Update css Clean up any deprecation warnings from the css examples in gtk3-demo. demos/gtk-demo/css_shadows.css | 4 +-- demos/gtk-demo/cssview.css | 10 ++++---- demos/gtk-demo/reset.css | 57 +----------------------------------------- 3 files changed, 8 insertions(+), 63 deletions(-) commit 9b71a9b4aec27aac3e11f0a2725e3bc9359952e1 Author: Jordi Mas Date: Sat Feb 27 20:22:55 2016 +0100 Update Catalan translation po/ca.po | 3939 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2116 insertions(+), 1823 deletions(-) commit 34630319298c98b65c744c8de945d24550a8a30a Author: Benjamin Otte Date: Sat Feb 27 17:02:59 2016 +0100 win32 theme: Implement GtkFrame gtk/gtkwin32draw.c | 44 ++++++++++++++++++++++---------------- gtk/theme/win32/gtk-win32-base.css | 35 ++++++++++++++++++++++++------ 2 files changed, 54 insertions(+), 25 deletions(-) commit 39bfac0876125aee0ee6013513c36c80875e322f Author: Benjamin Otte Date: Sat Feb 27 05:46:00 2016 +0100 win32 theme: Remove special case for notebooks The special case is coded into Wine, but it makes notebooks disappear wrong. So remove it. gtk/theme/win32/gtk-win32-base.css | 16 ---------------- 1 file changed, 16 deletions(-) commit 5d34ee729d45e362d5644cfabf3cac6ed9ab8ed2 Author: Benjamin Otte Date: Sat Feb 27 14:23:06 2016 +0100 win32: Implement fallback code for tabs This is naive code in that it doesn't do the rounded edges for the tab items yet. We can fix that later I guess. gtk/gtkwin32draw.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit b18e64e6c697dadfab002b3bd6ae578c6cc25fd9 Author: Benjamin Otte Date: Sat Feb 27 14:16:50 2016 +0100 win32: Add fallback drawing code for window frames gtk/gtkwin32draw.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) commit 879333d226c0874042324b48db7473989c2466e9 Author: Benjamin Otte Date: Sat Feb 27 13:28:14 2016 +0100 win32: Finish button drawing code We now draw real Windows 95 buttons. Also split out a draw_edge() function that is supposed to emulate Windows' DrawEdge() function. I guess we'll need it in other places, too. gtk/gtkwin32draw.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 94 insertions(+), 13 deletions(-) commit 70d689cddda0dc616af97e8ed047d0c0acf7c7a6 Author: Paolo Borelli Date: Sat Feb 27 11:43:18 2016 +0100 gdk: calculate pixel color shift and precision lazily This gets rid of the decompose_mask utility entirely and simplifies backend code. gdk/broadway/gdkvisual-broadway.c | 18 -------- gdk/gdkvisual.c | 92 +++++++++++++++++---------------------- gdk/gdkvisualprivate.h | 12 ----- gdk/quartz/gdkvisual-quartz.c | 10 ----- gdk/win32/gdkvisual-win32.c | 48 +++++++++----------- gdk/x11/gdkvisual-x11.c | 26 +---------- gdk/x11/gdkwindow-x11.c | 13 ++++-- 7 files changed, 73 insertions(+), 146 deletions(-) commit f73e7680ed1a29be2f13350b29d180ea9cfbcbec Author: Paolo Borelli Date: Sat Feb 27 10:46:59 2016 +0100 gdk: factor out utility shared among backends Removes duplicated code and makes sure we use the version which is safe against infinite loops gdk/broadway/gdkvisual-broadway.c | 32 -------------------------------- gdk/gdkvisual.c | 27 +++++++++++++++++++++++++++ gdk/gdkvisualprivate.h | 4 ++++ gdk/quartz/gdkvisual-quartz.c | 21 --------------------- gdk/win32/gdkvisual-win32.c | 25 ------------------------- gdk/x11/gdkvisual-x11.c | 30 ------------------------------ 6 files changed, 31 insertions(+), 108 deletions(-) commit 053e549dbccfb5c4155324546e95be91e3f34d39 Author: Benjamin Otte Date: Sat Feb 27 03:58:40 2016 +0100 notebook: Redo notebook implementation So far, this only reworks the tabs at top implementation. Windows doesn't have support for theming tabs at left/right/bottom so we need to figure out what to do there. Wine falls back to unthemed code. gtk/theme/win32/gtk-win32-base.css | 210 ++++++++++++++++++++++++++++++++- gtk/theme/win32/gtk.css | 234 ------------------------------------- 2 files changed, 206 insertions(+), 238 deletions(-) commit 245d217e06be3b84aae877aea50c1737732e0c15 Author: Benjamin Otte Date: Sat Feb 27 03:56:07 2016 +0100 boxgadget: Add ability to draw children in reverse This is necessary for GtkNotebook so that the stack is always drawn before the header. And that is necessary so that the active tab can use negative margins to overdraw the border of the stack to create a gap and simulate old GTK2-style visuals for notebooks. gtk/gtkboxgadget.c | 18 +++++++++++++++--- gtk/gtkboxgadgetprivate.h | 2 ++ gtk/gtknotebook.c | 5 +++++ 3 files changed, 22 insertions(+), 3 deletions(-) commit a2fa6471995a6cdda3c4e3884f30c90cddbe1143 Author: Benjamin Otte Date: Sat Feb 27 00:40:09 2016 +0100 cssimagewin32: IMplement printing Caveat: over() and margins() arent' printed, but they are soon gonna be removed anyway. gtk/gtkcssimagewin32.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit e45cb3340c5b1682b8d960431d262dd873da6194 Author: Benjamin Otte Date: Fri Feb 26 06:49:35 2016 +0100 window: Include decoration border and padding in resize area This is relevant for the Windows theme, which is the only theme that uses padding on decorations. All other themes are unaffected. gtk/gtkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit cdb1cda68bc484c5d52203888847f9a115b4afe0 Author: Benjamin Otte Date: Sat Feb 27 03:48:46 2016 +0100 notebook: The active tab is now :checked :active is reserved for "mouse button down on node", so we have to use something else. And stack switcher and radio buttons use :checked for the active widget, so it makes sense to use :checked for the active tab, too. Themes have been adapted. TODO: Implement :active for tabs. gtk/gtknotebook.c | 8 +- gtk/theme/Adwaita/_common.scss | 14 +- gtk/theme/Adwaita/gtk-contained-dark.css | 472 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 488 ++++++++-------- gtk/theme/HighContrast/_common.scss | 10 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 676 +++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 626 ++++++++++----------- 7 files changed, 1147 insertions(+), 1147 deletions(-) commit 6b4788c3ea3e74bab71e465456b815f3b8a279b4 Author: Benjamin Otte Date: Sat Feb 27 03:39:51 2016 +0100 textview: Support borders in text node gtk/gtktextview.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit d7bc0fd24cffe09cbd8b82b9119ec777ff570737 Author: Benjamin Otte Date: Sat Feb 27 03:26:52 2016 +0100 textview: Fix coordinates when background drawing of text node Fixes black areas in source view of gtk-demo. gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 914f7bd6e48a09025ae35927813fdee863a53881 Author: Matthias Clasen Date: Fri Feb 26 19:41:25 2016 -0500 wayland: Survive without primary selection I am testing GTK+ master against mutter 3.19.90, so I'd like GTK+ to survive even when the compositor does not support the primary selection interface. gdk/wayland/gdkdevice-wayland.c | 13 ++++++++----- gdk/wayland/gdkselection-wayland.c | 11 +++++++---- 2 files changed, 15 insertions(+), 9 deletions(-) commit b72996cde485049c9905ea4f563ba9f74c234eae Author: Cédric Valmary Date: Fri Feb 26 20:56:32 2016 +0000 Updated Occitan translation po/oc.po | 2635 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1654 insertions(+), 981 deletions(-) commit ca3d87ce70e1a9c00a37d40eb0d8039d92368a1d Author: Matthias Clasen Date: Fri Feb 26 15:50:31 2016 -0500 Avoid an out-of-bounds access When the offset gets smaller than min_offset, we can't access the array at that position. gtk/gtktextiter.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 8ff40b5d149b041aae324e8cc4dff64a26bd09eb Author: Matthias Clasen Date: Fri Feb 26 15:50:08 2016 -0500 Plug a small memory leak testsuite/gtk/rbtree.c | 2 ++ 1 file changed, 2 insertions(+) commit 88e372cd090e9cc4ee81ca368d43f8b4fc91d8a8 Author: Matthias Clasen Date: Fri Feb 26 14:55:20 2016 -0500 infobar: Avoid a memory leak in an error case Parsing could sometimes fail to free some of the data, if a nonexisting widget is referenced. Found by gcc's leak sanitizer. gtk/gtkinfobar.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit c784d5d700c7d6c03680eb21de19c8391e8ffac3 Author: Matthias Clasen Date: Fri Feb 26 14:51:24 2016 -0500 levelbar: Avoid a use-after-free We were freeing the old offset before using its name to recreate a new one. Don't do that. Found by gcc's undefined behavior sanitizer. gtk/gtklevelbar.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 5ca860dcaf0b636b50fe54cd2abff7e92091bdb3 Author: Matthias Clasen Date: Fri Feb 26 14:50:25 2016 -0500 dialog: Avoid a memory leak in an error case Parsing could sometimes fail to free some of the data, if a nonexisting widget is referenced. Found by gcc's leak sanitizer. gtk/gtkdialog.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 6108c646c57c6c489225f5e5e6484ac282c07bdf Author: Matthias Clasen Date: Fri Feb 26 14:48:21 2016 -0500 cssselector: Don't invoke undefined behavior Avoid undefined behavior in the calculation of some hash values. Found by gcc's undefined behavior sanitizer. gtk/gtkcssselector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2cabfcc80100b1863e82439e7b39eed024eb3a24 Author: Matthias Clasen Date: Fri Feb 26 14:47:16 2016 -0500 Avoid an a crash with GTK_DEBUG=builder We might cast objects to GtkBuildable even if they aren't, to print their names. Don't do that. Found by gcc's address sanitizer. gtk/gtkbuilder.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 9f37557ffc2441150f6855e04c17d9f4e793cfb1 Author: Matthias Clasen Date: Fri Feb 26 13:08:45 2016 -0500 Fix an memory overrun This was detected by gccs address sanitizer. gdk/wayland/gdkdisplay-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 3084eca14b98be0ac94c5e0973c00022efdaa75c Author: Cédric Valmary Date: Fri Feb 26 20:35:37 2016 +0000 Updated Occitan translation po-properties/oc.po | 4357 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2418 insertions(+), 1939 deletions(-) commit a2c575e34e6625a0813ebf57a100aafd314ec9ae Author: Carlos Garnacho Date: Fri Feb 26 00:28:05 2016 +0100 wayland: Use the page size as the selection buffer size And ensure we don't attempt to read EOF twice, once is enough. gdk/wayland/gdkselection-wayland.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit ed3c87df7a09ba1e0145c6b912a58f4a056d2925 Author: Carlos Garnacho Date: Thu Feb 4 17:33:51 2016 +0100 wayland: Implement the (so far internal) primary selection protocol Implement it using the internal copy of the protocol. Otherwise, we just deal with it the same than clipboard selection, just mapping it to the PRIMARY atom instead of the CLIPBOARD one. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/gdkdevice-wayland.c | 62 +++++++- gdk/wayland/gdkdisplay-wayland.c | 6 + gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkprivate-wayland.h | 13 +- gdk/wayland/gdkselection-wayland.c | 293 ++++++++++++++++++++++++++++++------- 5 files changed, 315 insertions(+), 60 deletions(-) commit f9f558671421762e4799e077eab3c64b8b873cfe Author: Carlos Garnacho Date: Tue Feb 23 20:32:31 2016 +0100 wayland: Make the function to get the last serial a seat one This will be useful for primary selection. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/gdkdevice-wayland.c | 12 +++++++----- gdk/wayland/gdkprivate-wayland.h | 4 ++-- gdk/wayland/gdkwindow-wayland.c | 16 +++++++--------- 3 files changed, 16 insertions(+), 16 deletions(-) commit 787e1d71133089668f0ef8ec19b4d50eb1d89e4e Author: Carlos Garnacho Date: Tue Feb 23 20:20:42 2016 +0100 wayland: Add gtk-primary-selection protocol This protocol is an internal mirror of the primary selection drafts being proposed for wayland-protocols. No changes besides prefix/suffix changes. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/Makefile.am | 3 + gdk/wayland/protocol/gtk-primary-selection.xml | 225 +++++++++++++++++++++++++ 2 files changed, 228 insertions(+) commit 4fd5ad2f07645363ecf80a0036b5b76c98d13ff8 Author: Lapo Calamandrei Date: Fri Feb 26 19:01:19 2016 +0100 Adwaita: notebook tab sizing fix gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 11 insertions(+) commit 0a6ee5e2cfe365e9ff6d391193edecf511d3a962 Author: Fredy Paquet Date: Fri Feb 26 17:21:26 2016 +0000 W32: Fix for commit 1f74f12d9, re-enabling decimal separator key 1f74f12d9 rendered entry of keypad decimal mark unuseable for several national keyboard layouts, this commit amends that, at least for W32, and makes GTK+ behave more or less the same way W32 behaves. The patch works like this: - When typing the first character at the keyboard or when switching keyboard layouts, the decimal mark character will be cached in the static variable "decimal_mark" within gdkkeys-win32.c - in case of WIN32, gdk_keyval_to_unicode() asks gdkkeys-win32.c for the current decimal_mark when converting GDK_KEY_KP_Decimal. https://bugzilla.gnome.org/show_bug.cgi?id=756751 gdk/gdkkeyuni.c | 12 ++++++++++++ gdk/win32/gdkkeys-win32.c | 22 ++++++++++++++++++++-- gdk/win32/gdkprivate-win32.h | 2 ++ 3 files changed, 34 insertions(+), 2 deletions(-) commit 9f606b827092e2edd887686507cd6e4bb368bb07 Author: Lapo Calamandrei Date: Fri Feb 26 13:15:37 2016 +0100 Adwaita: stricter selector for split headerbar separator with a descendant select was erroneusly catching normal headerbar separators in paned split headerabar case, see gedit. Using a child selector fixes. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 296a7c24f946c2c612ddb881a557158f48cbc460 Author: Lapo Calamandrei Date: Fri Feb 26 13:07:09 2016 +0100 Adwaita: simplify mixed buttons styling gtk/theme/Adwaita/_common.scss | 20 +++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++------------ gtk/theme/Adwaita/gtk-contained.css | 16 ++++------------ 3 files changed, 11 insertions(+), 41 deletions(-) commit 1a0b6568fa9536682ab2929041e6b7296484d219 Author: Lapo Calamandrei Date: Fri Feb 26 12:53:02 2016 +0100 Adwaita: fix separator in non paned using split headerbar Fixes https://bugzilla.gnome.org/show_bug.cgi?id=762593 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 20 +++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 20 +++++++++----------- 3 files changed, 22 insertions(+), 22 deletions(-) commit ea9e8221b19f1145aa48a9c4f261ca7bd5057e64 Author: Carlos Soriano Date: Fri Feb 26 11:54:53 2016 +0100 gtkplacessidebar: use gpointers in trash row It's the right casting. Forgot to push it with the previous patch. gtk/gtkplacessidebar.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 377ac909b7919a12109b4dfb0877589afbbd5a46 Author: Carlos Soriano Date: Fri Feb 26 11:01:38 2016 +0100 gtkplacessidebar: clean up trash row on destroy Track with a weak ref the trash row, so we can clean up the data in the private struct. Spotted and reviewed by Christian Hergert. gtk/gtkplacessidebar.c | 7 +++++++ 1 file changed, 7 insertions(+) commit c3e56d3d83b59f4ca869f93434e168d00f42682d Author: Gábor Kelemen Date: Fri Feb 26 09:14:53 2016 +0000 Updated Hungarian translation po/hu.po | 819 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 468 insertions(+), 351 deletions(-) commit c61764b0f9248cf419bfef251184ccd81855b59c Author: Руслан Ижбулатов Date: Wed Feb 24 17:20:33 2016 +0000 GDK W32: Fix the filling of MINMAXINFO 1) MSDN says that the coordinates of the maximized window must be specified as if the window was on the primary display, even if nearest display where it ends up is not the primary display. So instead of using nearest display work area verbatim, use it only to account for taskbar size, while using primary display top-left corner (0:0) as the reference point. 2) MSDN says that max tracking size is a system property, we should just call GetSystemMetrics() and use that. https://bugzilla.gnome.org/show_bug.cgi?id=762629 gdk/win32/gdkevents-win32.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit d3f713529ab2c1fcbf1a35de0a3a38cf9fb49399 Author: Matthias Clasen Date: Fri Feb 26 00:13:34 2016 -0500 Document CSS win32 size support docs/reference/gtk/css-properties.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 34e204952e1887a35468c34c802cc51436a53b2d Author: Benjamin Otte Date: Fri Feb 26 03:17:01 2016 +0100 win32 theme: Make titlebuttons look like they're the right size This is a hack because we can't really rtesize the buttons. Instead, we draw the background only over the area that they would be drawn if they were drawn by Windows. The button is still selectable outside of this area, but what can you do... gtk/theme/win32/gtk.css | 3 +++ 1 file changed, 3 insertions(+) commit ad204c88caaf8ffbe213ea5d2ba47c93bdfad71d Author: Benjamin Otte Date: Fri Feb 26 03:15:53 2016 +0100 win32 theme: Fix decorations ... and draw them properly. gtk/theme/win32/gtk.css | 42 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-) commit 5522ce96498ba09b1cac31515b1d78443f9d3696 Author: Matthias Clasen Date: Thu Feb 25 21:19:31 2016 -0500 xi2: Add some more debug spew Log the valuators we use or ignore. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 8b93c013c37ec16bfe6ee74d9c763796e34852fe Author: Matthias Clasen Date: Thu Feb 25 20:49:09 2016 -0500 inspector: Simplify general tab setup Factor out the code to create a listbox row with two labels, and use it throughout. gtk/inspector/general.c | 216 +++++++++++++++--------------------------------- 1 file changed, 66 insertions(+), 150 deletions(-) commit 4f5f299266bb028ef9d9f18cae95f967428b7d48 Author: Matthias Clasen Date: Thu Feb 25 20:28:23 2016 -0500 inspector: React to device changes Recreate the device section in the general tab when devices come or go. gtk/inspector/general.c | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) commit 5b2e8831616170e8a9c155700bf19c774d5cb6e9 Author: Matthias Clasen Date: Thu Feb 25 20:16:21 2016 -0500 Remove redundant words from docs An either without an or doesn't add anything. gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f749152efea322006fdd4c87daeaaf3d853c9a64 Author: Matthias Clasen Date: Thu Feb 25 20:12:53 2016 -0500 Fix a copy-paste error gdk/gdkdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a051e5677edb1656173520f9aef20f722ff07ac0 Author: Matt Watson Date: Wed Feb 24 10:41:45 2016 -0800 widget-factory: transition pages https://bugzilla.gnome.org/show_bug.cgi?id=762642 demos/widget-factory/widget-factory.ui | 2 ++ 1 file changed, 2 insertions(+) commit 5df1e98b2ac8698539a7e7416fdb18d5c3ad36ed Author: Benjamin Otte Date: Thu Feb 25 23:20:31 2016 +0100 window: Draw decorations in the right place When we draw our own shadows, we need to offset the calls to render the background to the border rectangle. gtk/gtkwindow.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 09b15710933d4727246079d2345b84c59e9defc3 Author: Matthias Clasen Date: Thu Feb 25 16:36:13 2016 -0500 Better baseline adjustment The way we were adjusting baselines if min-height forces a size increase was not quite working as intended. Redo it in a simpler way: just split up the excess and count half of it for above the baseline and half below. This fixes button labels in dialogs appearing too low. gtk/gtkcssgadget.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit a975e733dcb0c270255d64136f00461547140491 Author: Matthias Clasen Date: Thu Feb 25 16:17:34 2016 -0500 fix a typo gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0213815d2f6d8abfaaf02346971ccab16f6500d1 Author: Timm Bäder Date: Thu Feb 25 19:23:40 2016 +0100 Move .keycap docs from GtkFrame to GtkLabel That's where .keycap is used nowadays. gtk/gtkframe.c | 3 +-- gtk/gtklabel.c | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) commit 77594be976d3835ced3b583dd314e286892e168c Author: Timm Bäder Date: Thu Feb 25 18:41:24 2016 +0100 frame: Measure border gadget separately https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 51 +++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 8 deletions(-) commit 3431451463b3567ed6addb9490e36ed84ebebb77 Author: Timm Bäder Date: Thu Feb 25 18:40:44 2016 +0100 frame: Let GtkContainer handle border-width https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit abd781a2c99803d2e08665ad1bda5f08dba49723 Author: Matthias Clasen Date: Thu Feb 25 13:18:02 2016 -0500 icon helper: Don't set baseline to 0 It is clearly not the intention that the baseline of icons is at the very top. The visible effect of this was that spin buttons were higher than expeted, because the box gadget was trying to line up the baseline of the text with the top of the buttons, forcing extra height to be requested. Just don't set a baseline at all for now. gtk/gtkiconhelper.c | 5 ----- 1 file changed, 5 deletions(-) commit 8920b6a65091e48eb3e0276f1fb3762bc580982c Author: Artur de Aquino Morais Date: Thu Feb 25 16:30:11 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 680 +++++++++++++++++++++++++------------------------ 1 file changed, 344 insertions(+), 336 deletions(-) commit 40269f4e5dd91193a53f8bb6728d37b384d10359 Author: Piotr Drąg Date: Thu Feb 25 17:26:45 2016 +0100 Updated Polish translation po-properties/pl.po | 734 ++++++++++++++++++++++++++-------------------------- 1 file changed, 369 insertions(+), 365 deletions(-) commit 3a9ceffe12927fd229e91623d476b53a70618d42 Author: Benjamin Otte Date: Tue Feb 23 05:05:37 2016 +0100 win32 theme: Make entries and textview work gtk/gtkwin32draw.c | 41 ++++++++++++++++++++++++++++++++ gtk/theme/win32/gtk-win32-base.css | 48 ++++++++++++++++++++++++-------------- 2 files changed, 72 insertions(+), 17 deletions(-) commit 4e8fb33f5677e086e1ba9f5a5650a12be99da99c Author: Benjamin Otte Date: Thu Feb 25 16:14:37 2016 +0100 pixelcache: Don't have a style context argument That would imply the pixelcache monitors the style context for changes and it doesn't do that. Its only use case was opacity checks, so add gtk_pixel_cache_se_is_opaque() instead. gtk/gtkpixelcache.c | 23 +++++++++++------------ gtk/gtkpixelcacheprivate.h | 4 ++-- gtk/gtktextview.c | 11 +++++++++-- gtk/gtkviewport.c | 31 ++++++++++++++++++++++++------- 4 files changed, 46 insertions(+), 23 deletions(-) commit 71a9fd9d83f118abc2ed087792459f3e47a555dd Author: Benjamin Otte Date: Thu Feb 25 15:40:04 2016 +0100 stylecontext: Move background_is_opaque() function The new way, it no longer depends on the style context, but on the CssStyle. This will become relevant in the next commit. gtk/gtkpixelcache.c | 3 ++- gtk/gtkrenderbackground.c | 22 ++++++++++++++++++++++ gtk/gtkrenderbackgroundprivate.h | 16 +++++++++------- gtk/gtkstylecontext.c | 35 ++++++----------------------------- gtk/gtkstylecontextprivate.h | 2 -- 5 files changed, 39 insertions(+), 39 deletions(-) commit 374494b9285c88a5a16366a573eedc5e9537837f Author: Fran Dieguez Date: Thu Feb 25 15:34:16 2016 +0000 Updated Galician translation po/gl.po | 3947 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2117 insertions(+), 1830 deletions(-) commit 53fe9c2b0cfdcf42f5f05ed27d66ff109164d1b7 Author: Ignacio Casal Quinteiro Date: Thu Feb 25 15:25:19 2016 +0100 inspector: use guint to fix the windows build gtk/inspector/general.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20cf42c9ea977fe441c297a531811990876575c7 Author: Carlos Soriano Date: Thu Feb 25 14:25:40 2016 +0100 gtkplacessidebar: avoid unresponsive UI while trashing We were updating the whole places sidebar when the trash changed. This effectively removes all rows and create new ones for every trash state change. Although when using GtkTreeView it was somehow ok, with the new implementation with GtkListBox this effectively locks the UI while the trash operations are being performed. When performing operations for i.e. 100 files, the UI can be locked for more than 1 minute since gvfs-trash usually takes time. To fix this just update the icon of the trash when the state of the trash change instead of the whole sidebar. https://bugzilla.gnome.org/show_bug.cgi?id=762677 gtk/gtkplacessidebar.c | 21 +++++++++++++++------ gtk/gtksidebarrow.c | 27 +++++++++++++++++++++------ gtk/gtksidebarrowprivate.h | 2 ++ 3 files changed, 38 insertions(+), 12 deletions(-) commit fe4602acc59d4853e23c205ba1ba6d43f55894e8 Author: Matthias Clasen Date: Thu Feb 25 08:26:34 2016 -0500 inspector: Show ::num-touches for touch devices This can be useful information. gtk/inspector/general.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit a4a7740b2fb73dd70d4462a3d6e2e61bb6ef7820 Author: Matthias Clasen Date: Thu Feb 25 08:25:50 2016 -0500 xi2: Set ::num-touches for touch devices XI2 has this information, so pass it on. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit f468f0fbb26a5f6199b30112420b12b9cc90a6db Author: Matthias Clasen Date: Thu Feb 25 08:25:14 2016 -0500 device: Add a num-touches property Some backends can provide this information for touch devices, and it can be useful to have, so add this property. gdk/gdkdevice.c | 25 +++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 1 + 2 files changed, 26 insertions(+) commit 197799412889659eec413b0e5cfd371cb64fc82e Author: Carlos Soriano Date: Thu Feb 25 13:39:23 2016 +0100 gtkplacesview: clean up mount server callback And fix a warning of unused variable. Reviewed by Nacho on IRC gtk/gtkplacesview.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) commit e12663378c3efdfc5995bd6222497700e01f54d9 Author: Matthias Clasen Date: Thu Feb 25 06:18:41 2016 -0500 x11: Update seat capabilities The default seat implementation was never returning capabilities, which is broken. It is visible too, since the inspector shows seat information now. gdk/gdkseatdefault.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 84ba01d713df386fb8b141a5c6c1fc393509a3ba Author: Matthias Clasen Date: Thu Feb 25 01:21:27 2016 -0500 inspector: Update for screen config changes Repopulate the display section whenever the monitor configuration changes. gtk/inspector/general.c | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) commit 15ccdcd25b2d81d08e3356db7cc5b3bd483081e5 Author: Matthias Clasen Date: Thu Feb 25 01:10:23 2016 -0500 inspector: Don't show numeric ids The vendor and product ids for input devices aren't useful as-is; need to figure out how to translate them to names. gtk/inspector/general.c | 58 ------------------------------------------------- 1 file changed, 58 deletions(-) commit 455935a06aadd70d9301239955f2f6dbc7237f61 Author: Matthias Clasen Date: Thu Feb 25 00:49:17 2016 -0500 inspector: Show more device information This adds vendor and product id and axes. This reveals that the GDK backends have quite different quality when it comes to returning meaningful information here. gtk/inspector/general.c | 138 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 135 insertions(+), 3 deletions(-) commit 03db14c2d62317166081d32c3da015fa56951cc9 Author: Matthias Clasen Date: Thu Feb 25 00:17:09 2016 -0500 inspector: Show some basic device information Add information about seats and their associated devices in the General tab. gtk/inspector/general.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/general.ui | 15 +++++ 2 files changed, 181 insertions(+) commit dde33623ca3a26ab1c480d918bd86b7f2a24d0f2 Author: Matthias Clasen Date: Wed Feb 24 22:18:13 2016 -0500 gadget: Warn about missing size allocation When size_allocate is overridden in widgets, but draw is not, we can end up drawing a gadget that has not been given a size. Warn about this, and limp along by drawing the gadget over the full allocation of its owner widget. https://bugzilla.gnome.org/show_bug.cgi?id=762614 gtk/gtkcssgadget.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit c75a8336333f5bcc6c285cc50db8d6daf133311c Author: Matthias Clasen Date: Wed Feb 24 21:59:44 2016 -0500 x11: More fake tablet blacklisting Sigh. Now that we've neutered the QEMU USB tablet, I'm finding that spice is doing just the same nonsense. It has a fake "spice vdagent tablet". Blacklist that as well. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 760b540c8cb0bf0201eac3b59a698972d26ec59b Author: Benjamin Otte Date: Thu Feb 25 04:02:39 2016 +0100 treeview: Don't make things way too high If the size-request is larger than the dedicated size, don't increase the dedicated size by the size request, only increase it to the size request. gtk/gtktreeview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 8ed804f1b494c5d3f6bb3fb8c3ee4981f983ccf5 Author: Benjamin Otte Date: Thu Feb 25 03:57:47 2016 +0100 textview: Draw the background properly The background is *not* drawn relative to the clipping area. gtk/gtktextview.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 9016a00eddbcbf70b3c8bb503439ab60d7da27b1 Author: Benjamin Otte Date: Thu Feb 25 03:57:11 2016 +0100 treeview: Fix positioning of editing widgets This looks like a thinko. gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18abf86510042535128b85950337246230c0eec2 Author: Claude Paroz Date: Wed Feb 24 20:56:32 2016 +0100 Updated French translation po-properties/fr.po | 3222 +++++++++++++++++++++++++++------------------------ 1 file changed, 1678 insertions(+), 1544 deletions(-) commit e390e3b8e34fb7701f5996be3dec9bc12789bb72 Author: Ben Iofel Date: Wed Feb 24 14:37:35 2016 -0500 GtkIMContext: remove broken anchors in documentation gtk/gtkimcontext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit acbb0c4bddc2839d225db3ca8640c1fec94b0b78 Author: William Hua Date: Wed Feb 24 13:24:14 2016 -0500 mir: fix warnings gdk/mir/gdkmir-debug.c | 16 ++++++++-------- gdk/mir/gdkmir-private.h | 10 ---------- gdk/mir/gdkmireventsource.c | 5 ++--- gdk/mir/gdkmirwindowimpl.c | 4 +++- 4 files changed, 13 insertions(+), 22 deletions(-) commit 594ba3071bec162a46d5c1b7d340b2674e3eff5a Author: William Hua Date: Wed Feb 24 13:23:18 2016 -0500 mir: fix GdkSeat-related deprecations gdk/mir/gdkmireventsource.c | 19 +++++++++++++++++-- gdk/mir/gdkmirwindowimpl.c | 10 +++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) commit 60d7f4376ea5ff1722cd20aced72c167372d2a38 Author: Carlos Garnacho Date: Wed Feb 24 17:19:48 2016 +0100 GtkTextHandle: Look up for the first child of a scrolled window found Text handles use to connect to the first GtkScrollable up the hierarchy so they can be repositioned when scrolling. It makes more sense to look up the first child of a GtkScrolledWindow, it must be an scrollable too, and will be the scrollable that can actually change the position of the text handles. https://bugzilla.gnome.org/show_bug.cgi?id=761676 gtk/gtktexthandle.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit ffea7a267d8d9e3a3f8ae6585b1172970bfd0ff3 Author: Fabrício Godoy Date: Wed Feb 24 15:32:33 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 2 -- 1 file changed, 2 deletions(-) commit bf0ef08e508f4c2f9d80f582f5bf6e1b2231b36f Author: Jordi Mas Date: Wed Feb 24 16:32:23 2016 +0100 Update Catalan translation po/ca.po | 4210 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2065 insertions(+), 2145 deletions(-) commit 97c1803c74369660f3305afd3d95f688c4dca5ea Author: Matthias Clasen Date: Wed Feb 24 07:23:15 2016 -0500 3.19.10 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) commit b8183fb3346e1e731b5377ce96100cf7aaff472d Author: Matthias Clasen Date: Wed Feb 24 07:26:33 2016 -0500 Add a release note about theme changes README.in | 9 +++++++++ 1 file changed, 9 insertions(+) commit 3cff1efea5ea0981b88d19cb20ab4e82edacca52 Author: Fran Dieguez Date: Wed Feb 24 11:07:01 2016 +0100 Update Galician translations po-properties/gl.po | 2983 +++++++++++++++++++++++++++------------------------ po/gl.po | 2 +- 2 files changed, 1563 insertions(+), 1422 deletions(-) commit fad0c275b992bdb5daee1a57fc649c1f22b5e272 Author: Anders Jonsson Date: Wed Feb 24 09:21:02 2016 +0000 Updated Swedish translation po/sv.po | 653 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 364 insertions(+), 289 deletions(-) commit d7fc1ea9213d95aeb8947ddaeaff51a4ded2a6fa Author: Fabrício Godoy Date: Wed Feb 24 06:58:33 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 2428 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1367 insertions(+), 1061 deletions(-) commit cf6c0b09a5d62257152b1b2cfd99543492ecbd99 Author: Jean-François Fortin Tam Date: Sun Feb 21 11:45:44 2016 -0500 spin button: Use the Ctrl modifier for Home and End key bindings https://bugzilla.gnome.org/show_bug.cgi?id=309300 gtk/gtkspinbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 566010e91d9337b947320afe80f41c63197cc49f Author: Matthias Clasen Date: Tue Feb 23 20:53:23 2016 -0500 Add a testcase for revealer size allocation This was taken from https://bugzilla.gnome.org/show_bug.cgi?id=761760 tests/Makefile.am | 4 +++ tests/testrevealer2.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) commit 0c25c5d43d3a299698a54b31107339861e556a2d Author: Timm Bäder Date: Fri Feb 19 13:22:02 2016 +0100 revealer: Don't report >0 preferred width... ... if the child is concealed and the transition type is set to NONE. In this case, both preferred width and preferred height should be 0, but we still can't use that to allocate a size for the child, so care about the minimum size of the child in gtk_revealer_get_child_allocation. https://bugzilla.gnome.org/show_bug.cgi?id=761760 gtk/gtkrevealer.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 17a4bd51bb0975dada19c64324a5e77026570467 Author: Carlos Soriano Date: Mon Feb 22 16:18:21 2016 +0100 gtkplacesview: use location instead of the enclosing one We were using the enclosing location when connecting to a server, so for instance if we were connecting to ftp://test/test it would actually open ftp://test/ instead of the full path. To fix it, use the full location when emitting the open location signal. https://bugzilla.gnome.org/show_bug.cgi?id=756659 gtk/gtkplacesview.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 4ff3d5b7a6410272471f8216e87d1b87607f973e Author: Carlos Garnacho Date: Mon Feb 22 22:40:50 2016 +0100 gdk: Avoid 2/3BUTTON event generation if the source device changes Remember the last source device we're generating multiple clicks for, just so we can bail out if the device changed. That will just reset the counting. https://bugzilla.gnome.org/show_bug.cgi?id=723659 gdk/gdkdisplayprivate.h | 1 + gdk/gdkevents.c | 7 +++++++ 2 files changed, 8 insertions(+) commit 3d700515e191986dddb4e5675ef41af8695a472f Author: Carlos Garnacho Date: Mon Feb 22 22:38:56 2016 +0100 GtkGestureMultiPress: reset multi-press sequence if the source device changes This prevents multipress sequences to possibly come from different mice. Now the accumulated number of presses will be reset if the device changes in the mean time. https://bugzilla.gnome.org/show_bug.cgi?id=723659 gtk/gtkgesturemultipress.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 63a204e1c5b6cbd52e63784d25f59ce152a7d7a8 Author: Carlos Soriano Date: Tue Feb 23 20:29:03 2016 -0500 gtkplacessidebar: add open flags to other locations We weren't using the open flags on the other locations signal, which makes impossible for applications like nautilus to act in the same way that for any other location where the user can choose between opening in the current view, in a new window or in a new tab. Add the signal missing parameter in order to allow it. https://bugzilla.gnome.org/show_bug.cgi?id=754743 README.in | 5 +++++ gtk/gtkfilechooserwidget.c | 1 + gtk/gtkplacessidebar.c | 15 +++++++++++---- 3 files changed, 17 insertions(+), 4 deletions(-) commit 98fb6f6988436408540d463755aa23bba031f635 Author: Fran Dieguez Date: Tue Feb 23 20:50:22 2016 +0100 Updated Galician translations po/gl.po | 4255 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2081 insertions(+), 2174 deletions(-) commit 5ee0a7105b2ddc5e1da64f211ef28f534eae9f1b Author: Мирослав Николић Date: Tue Feb 23 10:17:24 2016 +0100 Updated Serbian translation po-properties/sr.po | 314 +++++++++++++++++++++++----------------------- po-properties/sr@latin.po | 314 +++++++++++++++++++++++----------------------- 2 files changed, 316 insertions(+), 312 deletions(-) commit cab307f3d223c88c5aa89a8cf5db3141b1c6b70f Author: Мирослав Николић Date: Tue Feb 23 10:16:47 2016 +0100 Updated Serbian translation po/sr.po | 2080 +++++++++++++++++++++++++++++++++----------------------- po/sr@latin.po | 1931 +++++++++++++++++++++++++++++----------------------- 2 files changed, 2321 insertions(+), 1690 deletions(-) commit a2b4acb3b6ca7429ebd3ee07c96dba0760d6a9f9 Author: Мирослав Николић Date: Fri Feb 19 18:35:32 2016 +0100 Updated Serbian translation po-properties/sr.po | 3068 ++++++++++++++++++++++++--------------------- po-properties/sr@latin.po | 3065 +++++++++++++++++++++++--------------------- 2 files changed, 3231 insertions(+), 2902 deletions(-) commit 2b03bbb359054422ba3a98efd0b38b207e410ae2 Author: Theppitak Karoonboonyanan Date: Tue Feb 23 14:46:39 2016 +0700 Updated Thai translation po/th.po | 6197 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 3973 insertions(+), 2224 deletions(-) commit cf71d98b05e8b5bf1a5e55949fbb46f6c9a2e1de Author: Benjamin Otte Date: Tue Feb 23 04:21:10 2016 +0100 entry: Make the get_text_area() vfunc relative to top left of entry This fixes GdTaggedEntry. I hope. gtk/gtkentry.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 3056d793a40d20574fa95cd6a4f6cc619b724039 Author: Benjamin Otte Date: Tue Feb 23 04:19:42 2016 +0100 cssparser: Make _gtk_css_parser_has_number() a bit smarter Previously we just checked the first character. And if that was a "-" as in "-gtk-some-special-value", we assumed it was a number. Which it clearly wasn't. Test included gtk/gtkcssparser.c | 9 ++++++++- testsuite/css/parser/Makefile.am | 2 ++ testsuite/css/parser/background-win32-color-is-no-error.css | 3 +++ testsuite/css/parser/background-win32-color-is-no-error.ref.css | 9 +++++++++ 4 files changed, 22 insertions(+), 1 deletion(-) commit 437dec6295356e39a81f2fcaa10ea979fffd0482 Author: Benjamin Otte Date: Tue Feb 23 04:18:53 2016 +0100 csscolorvalue: Print a comma for win32 values gtk/gtkcsscolorvalue.c | 1 + 1 file changed, 1 insertion(+) commit c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f Author: Benjamin Otte Date: Mon Feb 22 21:38:03 2016 +0100 container: Request layout again depending on layout mode Containers with RESIZE_MODE_PARENT should never request layout and those with RESIZE_MODE_IMMEDIATE should only request it for updating CSS. Fixes clutter embeds (like the tray icon embed in gnome-shell) continuously requesting relayout when all they want to do is relegate relayout to Clutter. https://bugzilla.gnome.org/show_bug.cgi?id=758893 gtk/gtkcontainer.c | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) commit 70b9ea2c4bbfc7858b42036fe4efbb52302ea2bd Author: Chao-Hsiung Liao Date: Tue Feb 23 02:51:35 2016 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 487 ++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 280 insertions(+), 207 deletions(-) commit c643d8b40219d86ebb2eb5a7810e59d7bc7b79f5 Author: Paolo Borelli Date: Mon Feb 22 21:20:18 2016 +0100 Win32: fix warning gdk/win32/gdkdisplay-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc3c855e35186a6b1a7a2e56cc23c3868f5438a2 Author: Paolo Borelli Date: Mon Feb 22 17:55:16 2016 +0100 wip _gdk_display gdk/win32/gdkevents-win32.c | 75 ++++++++++++++++++++++++++---------------- gdk/win32/gdkselection-win32.c | 9 ----- gdk/win32/gdkwindow-win32.c | 15 +++++---- 3 files changed, 55 insertions(+), 44 deletions(-) commit 7047099fd82a428e913b7a8eae08132ee8db8ea0 Author: Paolo Borelli Date: Mon Feb 22 21:01:24 2016 +0100 Win32: fold the gdkinput.c file in gdkdisplay-win32.c This is similar to what is done in the X11 and wayland backends. It also gets rid of the _gdk_input_devices global variable gdk/Makefile.am | 1 - gdk/win32/Makefile.am | 1 - gdk/win32/gdkdisplay-win32.c | 36 ++++++++++++++++++++- gdk/win32/gdkdisplay-win32.h | 2 ++ gdk/win32/gdkevents-win32.c | 2 +- gdk/win32/gdkglobals-win32.c | 2 ++ gdk/win32/gdkinput.c | 74 -------------------------------------------- gdk/win32/gdkprivate-win32.h | 3 +- 8 files changed, 42 insertions(+), 79 deletions(-) commit b3a80180c751773edbfce261860d48b175a6b361 Author: Paolo Borelli Date: Mon Feb 22 18:51:30 2016 +0100 Win32: remove leftover function gdk_devices_list was removed from the API in 3.0 and it is not in the headers. The win32 implementation lingered on by mistake. gdk/win32/gdkinput.c | 6 ------ 1 file changed, 6 deletions(-) commit ff9e73d71e050a7d317ed5d9a1a2fcc57e6ec241 Author: Jordi Mas Date: Mon Feb 22 20:42:44 2016 +0100 Update Catalan translation po-properties/ca.po | 3655 ++++++++++++++++++++++++++------------------------- 1 file changed, 1899 insertions(+), 1756 deletions(-) commit ca050e10c1418772228d19550920edc35dffc7c5 Author: Piotr Drąg Date: Mon Feb 22 20:36:28 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 07d32687d8835b1daf6a5b9b1e0ef567140dcf1c Author: Chun-wei Fan Date: Mon Feb 22 22:23:26 2016 +0800 MSVC 2008 builds: Fix previous commit The previous commit had the MSVC 2008 property sheet in the wrong place. Fix that. build/win32/vs10/gtk3-gen-srcs.vsprops | 77 ---------------------------------- build/win32/vs9/gtk3-gen-srcs.vsprops | 8 +++- 2 files changed, 6 insertions(+), 79 deletions(-) commit 5906b15c5e9c4893b151d450b4787bcab774a9d3 Author: Lapo Calamandrei Date: Mon Feb 22 11:29:43 2016 +0100 Adwaita: avoids up pointing scale slider to jump down on hover and comment back sass debugging stuff in the process... gtk/theme/Adwaita/_common.scss | 5 +- gtk/theme/Adwaita/gtk-contained-dark.css | 412 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 412 +++++++++++++++---------------- 3 files changed, 391 insertions(+), 438 deletions(-) commit 9fb9d208fdc37b50ee0bac962153909ffda68f67 Author: Lapo Calamandrei Date: Mon Feb 22 11:16:32 2016 +0100 Adwaita: fix scale with marks sliders looks like sass was confused by the way I structured the loops, this works that around. gtk/theme/Adwaita/_common.scss | 70 ++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 132 +++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 132 +++++++++++-------------------- 3 files changed, 130 insertions(+), 204 deletions(-) commit 7f89856b298d021b52397e89f9452512f879cae2 Author: Lapo Calamandrei Date: Mon Feb 22 10:54:32 2016 +0100 Adwaita: color scale slider fixes use the pointy slider on colorscales, this way it picks the correct slider on rtl. gtk/theme/Adwaita/_common.scss | 9 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 132 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 132 ++++++++++++++++++++----------- 3 files changed, 177 insertions(+), 96 deletions(-) commit 5962daef4ff2cd81bddba20ad0b49d8de16de287 Author: Chun-wei Fan Date: Mon Feb 22 17:38:15 2016 +0800 Windows: Update how gtk-win32.rc is generated On Visual Studio, unlike MinGW, manifest files are embedded via including the manifest file as a resource file in the projects, not via the .rc file. This means that the line in the .rc file that specifies the manifest file would cause trouble, so that line gets removed when the full gtk3-win32.rc is generated on Visual Studio builds, otherwise 2010+ Visual Studio will complain when compiling the .rc file. Also, the inclusion of winuser.h will cause warnings during the compilation of the .rc file. Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to gtk-win32.rc.body.in and: -On MinGW, construct the full gtk-win32.rc by doing the winver.h and winuser.h inclusion first, then append the contents of gtk-win32.rc.body, and then appending the line to embed the manifest file. -On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc, and generate the full libgtk3.manifest file. https://bugzilla.gnome.org/show_bug.cgi?id=762311 build/win32/Makefile.am | 2 +- build/win32/process-in-win32.py | 109 ------------------------------- build/win32/replace.py | 102 +++++++++++++++++++++++++++++ build/win32/vs10/gtk-3.vcxproj.filtersin | 3 +- build/win32/vs10/gtk-3.vcxprojin | 40 ++++++++---- build/win32/vs10/gtk3-gen-srcs.props | 10 ++- build/win32/vs10/gtk3-gen-srcs.vsprops | 77 ++++++++++++++++++++++ build/win32/vs9/gtk-3.vcprojin | 56 ++++++++++++---- configure.ac | 2 +- gtk/Makefile.am | 12 +++- gtk/gtk-win32.rc.body.in | 30 +++++++++ gtk/gtk-win32.rc.in | 32 --------- 12 files changed, 301 insertions(+), 174 deletions(-) commit 6c0270bbcb3864800334999b335f4c73d9941fc7 Author: Benjamin Otte Date: Mon Feb 22 04:16:36 2016 +0100 win32 theme: Make tooltips look right Includes adding fallback support gtk/gtkwin32draw.c | 20 ++++++++++++++++++++ gtk/theme/win32/gtk-win32-base.css | 12 ++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) commit 808017d1d0a57a94229092d3424d374f227f111c Author: Benjamin Otte Date: Mon Feb 22 04:01:44 2016 +0100 win32 theme: Size titlebar icons correctly. Sizing according to http://web.archive.org/web/20070301202835/http://shellrevealed.com/photos/blog_images/images/4538/original.aspx gtk/theme/win32/gtk.css | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit 414657100f2c3f56d3304bd28dfd1759971a80dd Author: Benjamin Otte Date: Mon Feb 22 04:00:36 2016 +0100 win32draw: Use the right checks The first check was the wrong way around. The second check made the function look wrong. Invalid ID is actually the special case that should be handled first, so write the function like that. gtk/gtkwin32draw.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit cdb12fec9e4c5af7dbd4452ea686e41eece20f7e Author: Benjamin Otte Date: Mon Feb 22 00:50:01 2016 +0100 win32 theme: Replace metric ids with metric names Makes it more obvious what's actually happening. gtk/theme/win32/gtk-win32-base.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dc1e191df541047c46854e4b8f0f7a495a0ba2c6 Author: Benjamin Otte Date: Mon Feb 22 00:49:36 2016 +0100 csssizevalue: Allow using the name for a win32 metric ... instead of just the ID. gtk/gtkcsswin32sizevalue.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 98216867d1d399b8f8d73a812e7ad650dcd7b189 Author: Benjamin Otte Date: Mon Feb 22 00:49:09 2016 +0100 win32: Allow querying names for metrics gtk/gtkwin32draw.c | 28 ++++++++++++++++++++++++++++ gtk/gtkwin32drawprivate.h | 2 ++ 2 files changed, 30 insertions(+) commit 63934ba36c5ecccacbd5d0b5db1c884135181537 Author: Benjamin Otte Date: Sun Feb 21 23:40:34 2016 +0100 win32 theme: Replace color ids with color names Makes it more obvious what's actually happening. gtk/theme/win32/gtk-win32-base.css | 40 +++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) commit 37a4e1cda971caf1fafa873815c0495a035ae987 Author: Benjamin Otte Date: Sun Feb 21 23:40:04 2016 +0100 csscolor: Allow using the name for a win32 color ... instead of just the ID. gtk/gtkcsscolorvalue.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit ecaca073f14abd64adc7edf46c8928b20936bf4e Author: Benjamin Otte Date: Sun Feb 21 23:39:38 2016 +0100 win32: Allow querying names for colors gtk/gtkwin32draw.c | 25 +++++++++++++++++++++++++ gtk/gtkwin32drawprivate.h | 3 +++ 2 files changed, 28 insertions(+) commit 46d3611052060cfbba7cbcae7b8ec68a41f011dd Author: Allin Cottrell Date: Sun Feb 21 16:22:27 2016 -0800 Fix Quartz Full Screen Crash. gdk/quartz/GdkQuartzNSWindow.c | 8 ++++++++ gdk/quartz/GdkQuartzView.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) commit 3cf98a4353299d46eff78ed7bbddb7cd88886405 Author: John Ralls Date: Sun Feb 21 16:17:46 2016 -0800 Fix typo. gtk/gtkclipboard-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e935993d968db72a71aacd16e2c3fadbe27b9207 Author: Benjamin Otte Date: Sun Feb 21 20:43:18 2016 +0100 win32 fallback: Draw window title button images Taken from Wine's Marlett font. gtk/gtkwin32draw.c | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 149 insertions(+), 5 deletions(-) commit 828f2e18010c42be035e387044b5a50459b8a609 Author: Benjamin Otte Date: Sun Feb 21 06:03:43 2016 +0100 win32 theme: Sanitize a few colors gtk/theme/win32/gtk-win32-base.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 2e709fde820f793ab453fd2d442eec8e1730e4ee Author: Benjamin Otte Date: Sun Feb 21 05:37:40 2016 +0100 win32 fallback: Add code to draw titlebars gtk/gtkwin32draw.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 3c5c748cd448595c0702d4af6e30b340c336670e Author: Benjamin Otte Date: Sun Feb 21 04:59:13 2016 +0100 win32 fallback: Warn if we don't know how to draw a part gtk/gtkwin32draw.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit c73db50aed62ef56829415486732ef7c5933f816 Author: Benjamin Otte Date: Sun Feb 21 04:56:18 2016 +0100 win32: Implement GetSystemMetric() fallbacks Default values taken from Wine. gtk/gtkwin32draw.c | 121 +++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkwin32drawprivate.h | 93 +++++++++++++++++++++++++++++++++++ gtk/gtkwin32theme.c | 2 +- 3 files changed, 214 insertions(+), 2 deletions(-) commit c2dd3c0d89782c564adaabdc40e4268b7da286a8 Author: Benjamin Otte Date: Sun Feb 21 04:55:55 2016 +0100 win32: Move variable definition to not cause gcc warning It's only used on win32, so only define it there. gtk/gtkwin32theme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 00559e1b865de90f64cd16673af55c52391d8ba2 Author: A S Alam Date: Sun Feb 21 09:31:14 2016 -0600 updated Punjabi Translation po/pa.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 908bcf3c1555f6ee6f20ec3b949bdde03c6d4fe1 Author: A S Alam Date: Sun Feb 21 09:31:06 2016 -0600 updated Punjabi Translation po-properties/pa.po | 4130 ++++++++++++++++++++++++++++----------------------- po/pa.po | 2607 ++++++++++++++++++++------------ 2 files changed, 3930 insertions(+), 2807 deletions(-) commit 0c91584532fa07a3721452233aba90fc8b8296a8 Author: Matthias Clasen Date: Sun Feb 21 00:55:41 2016 -0500 Adwaita: Drop decoration.ssd selector We've settled on window.ssd decoration instead. https://bugzilla.gnome.org/show_bug.cgi?id=760714 gtk/theme/Adwaita/_common.scss | 3 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) commit cee39bfd4684796624aa7566cc310f74698603bf Author: Matthias Clasen Date: Sun Feb 21 00:48:56 2016 -0500 Add a release note about drawingarea background README.in | 5 +++++ 1 file changed, 5 insertions(+) commit 5a80a35757d38b1ae66a31155e87be3a68770650 Author: Matthias Clasen Date: Sun Feb 21 00:46:54 2016 -0500 drawingarea: Update docs around background handling The behavior changed this cycle. Update the docs to recommend an explicit gtk_render_background call. gtk/gtkdrawingarea.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 52e0ab53dc1caf6195990f9bc54f318bb7530c13 Author: Matthias Clasen Date: Sun Feb 21 00:09:32 2016 -0500 print dialog: More baseline alignment Some places were missing the right valign setting to make baselines line up properly. gtk/gtkprinteroptionwidget.c | 3 +++ gtk/gtkprintunixdialog.c | 5 ++++- gtk/ui/gtkprintunixdialog.ui | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) commit e9300e2f7917dd67c8adc8c08390c44ca22f0d9b Author: Matthias Clasen Date: Sat Feb 20 22:43:43 2016 -0500 dnd: Avoid a crash gtk_image_definition_new_icon_name ("") returns NULL. Bail out early in this case to avoid unreffing NULL later. https://bugzilla.gnome.org/show_bug.cgi?id=762392 gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a754579e441df5ad34e338061d21217f1f5d5af8 Author: Matthias Clasen Date: Sat Feb 20 22:23:28 2016 -0500 css gadget: Adjust baselines for min-height We were forcing the size to be at least min-height, but we left the baselines as they were, which had the effect of making text e.g in entries 'stick to the top'. With this change, we adjust the baseline to keep the ratio of baseline to height unchanged. gtk/gtkcssgadget.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit f3d67cc2ac3bda68f0fe6d6a163e54b633bc01f2 Author: Benjamin Otte Date: Fri Feb 19 09:02:21 2016 +0100 win32 theme: Add rudimentary titlebar support gtk/theme/win32/gtk.css | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) commit eda348d2b51c89c1fa2729662f4d39b5addc41bc Author: Benjamin Otte Date: Fri Feb 19 09:01:43 2016 +0100 win32: Handle size queries for all values Fall back to GetSystemMetrics() whenever GetThemeSysSize() didn't work. gtk/gtkwin32theme.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 63eb15b73097ee82373a70ffdadb29563cf7afdc Author: Benjamin Otte Date: Fri Feb 19 09:00:24 2016 +0100 win32: Add missing break in switch statement Oops. gtk/gtkcsswin32sizevalue.c | 1 + 1 file changed, 1 insertion(+) commit 1548b680fc7c5130b55bb836fb47c2c6ed3db483 Author: Benjamin Otte Date: Sun Feb 21 01:02:15 2016 +0100 css: Make outline-offset animatable CSS claims it should be, so we make it. gtk/gtkcssstylepropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4a485dca2fdc5dbdd87797262e376a022734e5e Author: Benjamin Otte Date: Sun Feb 21 01:01:41 2016 +0100 renderborder: Add API to query the outline clip And use it in implementation of gadgets. gtk/gtkcssgadget.c | 9 ++++ gtk/gtkrenderborder.c | 110 +++++++++++++++++++++++++++++++++++++++---- gtk/gtkrenderborderprivate.h | 44 +++++++++++------ 3 files changed, 141 insertions(+), 22 deletions(-) commit 23b3774e6bb21b4d0d2c742df86567c7e2f8afba Author: Benjamin Otte Date: Sun Feb 21 00:56:31 2016 +0100 css: Mark outline properties as affecting clip when they do gtk/gtkcssstylepropertyimpl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 966dd56e45b4d673c2f7ce6b2bdb836d39050831 Author: Matthias Clasen Date: Sat Feb 20 18:55:17 2016 -0500 entry: Fix baseline allocation Position the text on the baseline again. gtk/gtkentry.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 6b53138a013dc487f8ab84e67efd8fb81ee7ec10 Author: Matthias Clasen Date: Sat Feb 20 16:41:53 2016 -0500 box: Fix rtl allocation with center widget The code for adjusting the center widget allocation in case of uneven sides never worked right in RTL. This was finally noticed for tabs with close button, which commonly use a centered label. gtk/gtkbox.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit 7698ac447ae3d9296c7e8793619ca4d31e0d9d5f Author: Lapo Calamandrei Date: Sat Feb 20 19:52:46 2016 +0100 Adwaita: remove unused selector in _common.scss gtk/theme/Adwaita/_common.scss | 2 -- 1 file changed, 2 deletions(-) commit effee1f35ebcffb2fa311e1f3d18fcaad5900906 Author: Lapo Calamandrei Date: Sat Feb 20 19:50:49 2016 +0100 Revert "Adwaita: resurrect scale-has-marks-above/below classes" This reverts commit edcc0c27837955573d159af6fa58e62f402d684b. Since the colorscale styling is wrong in rtl, need to do things differntly. gtk/theme/Adwaita/_common.scss | 4 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 48 -------------------------------- gtk/theme/Adwaita/gtk-contained.css | 48 -------------------------------- 3 files changed, 3 insertions(+), 97 deletions(-) commit 44f6fcfbd32b0bdbf53256b9f1f761b21ce63291 Author: Lapo Calamandrei Date: Sat Feb 20 19:37:21 2016 +0100 Adwaita: move 1px up the check asset gtk/theme/Adwaita/assets/check-symbolic.svg | 4 ++-- gtk/theme/Adwaita/assets/check-symbolic.symbolic.png | Bin 193 -> 231 bytes 2 files changed, 2 insertions(+), 2 deletions(-) commit b23300c89dbd78ce191b827307e2363fefd9f27b Author: Lapo Calamandrei Date: Sat Feb 20 19:31:58 2016 +0100 Adwaita: fix entry progressbar it now moves using the whole entry lenght, in the process the style was tweaked to not need a special case for focused entries. gtk/theme/Adwaita/_common.scss | 6 +----- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +--- gtk/theme/Adwaita/gtk-contained.css | 4 +--- 3 files changed, 3 insertions(+), 11 deletions(-) commit 7c577ddf4f04a64ad80099d2350d2a9215d9b1c3 Author: Matthias Clasen Date: Sat Feb 20 11:26:19 2016 -0500 assistant: Add margin to action area We are no longer setting a margin on the content area, so put one on the action area itself to prevent the buttons from touching the edge. https://bugzilla.gnome.org/show_bug.cgi?id=762315 gtk/ui/gtkassistant.ui | 1 + 1 file changed, 1 insertion(+) commit edcc0c27837955573d159af6fa58e62f402d684b Author: Lapo Calamandrei Date: Sat Feb 20 17:17:39 2016 +0100 Adwaita: resurrect scale-has-marks-above/below classes the colorscales use said classes. gtk/theme/Adwaita/_common.scss | 4 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 48 ++++++++++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 48 ++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+), 3 deletions(-) commit d2454000f66056f2b83c68a3413d10c607893257 Author: Matthias Clasen Date: Sat Feb 20 11:17:12 2016 -0500 expander: Draw focus again This was lost when GtkExpander was ported to use box gadgets. gtk/gtkexpander.c | 1 + 1 file changed, 1 insertion(+) commit 7ed1225296b047e2ee86fe6c85d5e739922036fc Author: Matthias Clasen Date: Sat Feb 20 10:45:07 2016 -0500 check button: Draw focus again The box gadget now has API for this; use it. gtk/gtkcheckbutton.c | 1 + 1 file changed, 1 insertion(+) commit ebff86d6f69ba3af6c847eb254d230db9ddad347 Author: Matthias Clasen Date: Sat Feb 20 10:43:54 2016 -0500 box gadget: Make it possible to draw focus There are widgets which use a box gadget and take focus, like GtkCheckButton. gtk/gtkboxgadget.c | 25 ++++++++++++++++--------- gtk/gtkboxgadgetprivate.h | 2 ++ 2 files changed, 18 insertions(+), 9 deletions(-) commit e837aa69b686b3f32f9511e30f4e0b7acc0e1ffb Author: Matthias Clasen Date: Sat Feb 20 10:19:13 2016 -0500 x11: Some cleanups to the multihead initialization The significant change here is a memory leak fix in init_xrandr15. The rest of the changes makes init_xrandr13 and init_xrandr15 more parallel, and simplifies init_multihead. gdk/x11/gdkscreen-x11.c | 165 +++++++++++++++++++++++------------------------- 1 file changed, 79 insertions(+), 86 deletions(-) commit 1dda932109f10d7582a8da9fd22626da835e9124 Author: Marco Trevisan (Treviño) Date: Sat Feb 20 01:31:59 2016 +0100 X11, GdkScreen: properly implement init_randr15 including output name https://bugzilla.gnome.org/show_bug.cgi?id=762319 gdk/x11/gdkscreen-x11.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 53 insertions(+), 3 deletions(-) commit 079e90b78076192c6e0e7e95b1dc91b1ea608962 Author: Lapo Calamandrei Date: Sat Feb 20 16:07:00 2016 +0100 Adwaita: scale slider assets refresh ...and update the theme accordingly. gtk/theme/Adwaita/_common.scss | 40 +- gtk/theme/Adwaita/assets.svg | 1229 +++++++++----------- gtk/theme/Adwaita/assets.txt | 116 -- ...ider-horz-scale-has-marks-above-active-dark.png | Bin 924 -> 890 bytes ...er-horz-scale-has-marks-above-active-dark@2.png | Bin 2003 -> 1831 bytes .../slider-horz-scale-has-marks-above-active.png | Bin 933 -> 985 bytes .../slider-horz-scale-has-marks-above-active@2.png | Bin 1964 -> 2071 bytes ...er-horz-scale-has-marks-above-backdrop-dark.png | Bin 691 -> 775 bytes ...-horz-scale-has-marks-above-backdrop-dark@2.png | Bin 1367 -> 1464 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 691 -> 739 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 1367 -> 1433 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 753 -> 810 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 1414 -> 1542 bytes .../slider-horz-scale-has-marks-above-backdrop.png | Bin 781 -> 813 bytes ...lider-horz-scale-has-marks-above-backdrop@2.png | Bin 1408 -> 1538 bytes .../slider-horz-scale-has-marks-above-dark.png | Bin 844 -> 853 bytes .../slider-horz-scale-has-marks-above-dark@2.png | Bin 1842 -> 1790 bytes ...lider-horz-scale-has-marks-above-hover-dark.png | Bin 896 -> 883 bytes ...der-horz-scale-has-marks-above-hover-dark@2.png | Bin 1968 -> 1777 bytes .../slider-horz-scale-has-marks-above-hover.png | Bin 844 -> 958 bytes .../slider-horz-scale-has-marks-above-hover@2.png | Bin 1821 -> 1998 bytes ...horz-scale-has-marks-above-insensitive-dark.png | Bin 691 -> 739 bytes ...rz-scale-has-marks-above-insensitive-dark@2.png | Bin 1367 -> 1433 bytes ...ider-horz-scale-has-marks-above-insensitive.png | Bin 753 -> 810 bytes ...er-horz-scale-has-marks-above-insensitive@2.png | Bin 1414 -> 1542 bytes .../assets/slider-horz-scale-has-marks-above.png | Bin 911 -> 970 bytes .../assets/slider-horz-scale-has-marks-above@2.png | Bin 1909 -> 2070 bytes ...ider-horz-scale-has-marks-below-active-dark.png | Bin 914 -> 894 bytes ...er-horz-scale-has-marks-below-active-dark@2.png | Bin 1968 -> 1853 bytes .../slider-horz-scale-has-marks-below-active.png | Bin 915 -> 965 bytes .../slider-horz-scale-has-marks-below-active@2.png | Bin 1915 -> 2094 bytes ...er-horz-scale-has-marks-below-backdrop-dark.png | Bin 728 -> 772 bytes ...-horz-scale-has-marks-below-backdrop-dark@2.png | Bin 1373 -> 1462 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 728 -> 738 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 1373 -> 1408 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 799 -> 772 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 1461 -> 1556 bytes .../slider-horz-scale-has-marks-below-backdrop.png | Bin 816 -> 786 bytes ...lider-horz-scale-has-marks-below-backdrop@2.png | Bin 1447 -> 1547 bytes .../slider-horz-scale-has-marks-below-dark.png | Bin 855 -> 860 bytes .../slider-horz-scale-has-marks-below-dark@2.png | Bin 1848 -> 1794 bytes ...lider-horz-scale-has-marks-below-hover-dark.png | Bin 900 -> 876 bytes ...der-horz-scale-has-marks-below-hover-dark@2.png | Bin 1922 -> 1801 bytes .../slider-horz-scale-has-marks-below-hover.png | Bin 870 -> 962 bytes .../slider-horz-scale-has-marks-below-hover@2.png | Bin 1723 -> 2021 bytes ...horz-scale-has-marks-below-insensitive-dark.png | Bin 728 -> 738 bytes ...rz-scale-has-marks-below-insensitive-dark@2.png | Bin 1373 -> 1408 bytes ...ider-horz-scale-has-marks-below-insensitive.png | Bin 799 -> 772 bytes ...er-horz-scale-has-marks-below-insensitive@2.png | Bin 1461 -> 1556 bytes .../assets/slider-horz-scale-has-marks-below.png | Bin 917 -> 983 bytes .../assets/slider-horz-scale-has-marks-below@2.png | Bin 1891 -> 2073 bytes ...ider-vert-scale-has-marks-above-active-dark.png | Bin 913 -> 912 bytes ...er-vert-scale-has-marks-above-active-dark@2.png | Bin 1905 -> 1941 bytes .../slider-vert-scale-has-marks-above-active.png | Bin 935 -> 988 bytes .../slider-vert-scale-has-marks-above-active@2.png | Bin 1823 -> 2218 bytes ...er-vert-scale-has-marks-above-backdrop-dark.png | Bin 602 -> 777 bytes ...-vert-scale-has-marks-above-backdrop-dark@2.png | Bin 1179 -> 1482 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 602 -> 722 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 1179 -> 1432 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 671 -> 841 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 1263 -> 1597 bytes .../slider-vert-scale-has-marks-above-backdrop.png | Bin 689 -> 830 bytes ...lider-vert-scale-has-marks-above-backdrop@2.png | Bin 1253 -> 1594 bytes .../slider-vert-scale-has-marks-above-dark.png | Bin 867 -> 897 bytes .../slider-vert-scale-has-marks-above-dark@2.png | Bin 1782 -> 1912 bytes ...lider-vert-scale-has-marks-above-hover-dark.png | Bin 918 -> 898 bytes ...der-vert-scale-has-marks-above-hover-dark@2.png | Bin 1878 -> 1902 bytes .../slider-vert-scale-has-marks-above-hover.png | Bin 848 -> 998 bytes .../slider-vert-scale-has-marks-above-hover@2.png | Bin 1685 -> 2133 bytes ...vert-scale-has-marks-above-insensitive-dark.png | Bin 602 -> 722 bytes ...rt-scale-has-marks-above-insensitive-dark@2.png | Bin 1179 -> 1432 bytes ...ider-vert-scale-has-marks-above-insensitive.png | Bin 671 -> 841 bytes ...er-vert-scale-has-marks-above-insensitive@2.png | Bin 1263 -> 1597 bytes .../assets/slider-vert-scale-has-marks-above.png | Bin 912 -> 1035 bytes .../assets/slider-vert-scale-has-marks-above@2.png | Bin 1826 -> 2256 bytes ...ider-vert-scale-has-marks-below-active-dark.png | Bin 929 -> 938 bytes ...er-vert-scale-has-marks-below-active-dark@2.png | Bin 1924 -> 2018 bytes .../slider-vert-scale-has-marks-below-active.png | Bin 955 -> 1042 bytes .../slider-vert-scale-has-marks-below-active@2.png | Bin 1832 -> 2242 bytes ...er-vert-scale-has-marks-below-backdrop-dark.png | Bin 592 -> 767 bytes ...-vert-scale-has-marks-below-backdrop-dark@2.png | Bin 1203 -> 1542 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 592 -> 715 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 1203 -> 1490 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 679 -> 812 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 1314 -> 1661 bytes .../slider-vert-scale-has-marks-below-backdrop.png | Bin 697 -> 804 bytes ...lider-vert-scale-has-marks-below-backdrop@2.png | Bin 1297 -> 1664 bytes .../slider-vert-scale-has-marks-below-dark.png | Bin 872 -> 896 bytes .../slider-vert-scale-has-marks-below-dark@2.png | Bin 1784 -> 1958 bytes ...lider-vert-scale-has-marks-below-hover-dark.png | Bin 911 -> 917 bytes ...der-vert-scale-has-marks-below-hover-dark@2.png | Bin 1883 -> 2004 bytes .../slider-vert-scale-has-marks-below-hover.png | Bin 886 -> 1013 bytes .../slider-vert-scale-has-marks-below-hover@2.png | Bin 1729 -> 2166 bytes ...vert-scale-has-marks-below-insensitive-dark.png | Bin 592 -> 715 bytes ...rt-scale-has-marks-below-insensitive-dark@2.png | Bin 1203 -> 1490 bytes ...ider-vert-scale-has-marks-below-insensitive.png | Bin 679 -> 812 bytes ...er-vert-scale-has-marks-below-insensitive@2.png | Bin 1314 -> 1661 bytes .../assets/slider-vert-scale-has-marks-below.png | Bin 932 -> 1041 bytes .../assets/slider-vert-scale-has-marks-below@2.png | Bin 1865 -> 2294 bytes gtk/theme/Adwaita/gtk-contained-dark.css | 104 +- gtk/theme/Adwaita/gtk-contained.css | 104 +- 101 files changed, 717 insertions(+), 876 deletions(-) commit d2fb069426290d18b2f56506e0894d3e0d453794 Author: Benjamin Otte Date: Sat Feb 20 03:22:58 2016 +0100 entry: Make get_text_area_size() vfunc work again GdTaggedEntry needs that. Though there's probably a bunch of work left inside GdTaggedEntry to make it look cute again (like storing the area it reserves for itself to allocate tags in). gtk/gtkentry.c | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) commit a979cff7484507c90591b2d374eb159873d33490 Author: Lapo Calamandrei Date: Fri Feb 19 18:03:38 2016 +0100 Adwaita: check/radio/slider gradient tweaks gtk/theme/Adwaita/_drawing.scss | 39 +++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 36 ++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 36 ++++++++++++++--------------- 3 files changed, 59 insertions(+), 52 deletions(-) commit ebb175021e0e26374e4d1ab3c6d8429a1353a77d Author: Carlos Garnacho Date: Sat Feb 6 15:07:52 2016 +0100 wayland: Implement gtk_shell.set_startup_id Fetch the DESKTOP_STARTUP_ID envvar at the same point it's done for the X11 backend, and notify the startup ID gotten on notify_startup_complete(). gdk/wayland/gdkdisplay-wayland.c | 47 ++++++++++++++++++++++++++++++++++++++-- gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkprivate-wayland.h | 4 +++- 3 files changed, 49 insertions(+), 3 deletions(-) commit ce62f0513df8f7e7ac7235d2deb383ca845d2dfe Author: Carlos Garnacho Date: Sat Feb 6 15:06:59 2016 +0100 wayland: Update gtk-shell protocol to v3 Add a gtk_shell.set_startup_id request, so the application can communicate to the compositor the startup id that it received through the DESKTOP_STARTUP_ID envvar, or other means. gdk/wayland/protocol/gtk-shell.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 7505d49741bb6cd2a29bb5d3b3f058ced871b742 Author: Paolo Borelli Date: Fri Feb 19 15:40:30 2016 +0100 Win32: free the monitors array gdk/win32/gdkscreen-win32.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 3aec838313477b45a037e1b14cba6d5b8e98efd7 Author: Paolo Borelli Date: Fri Feb 19 15:40:09 2016 +0100 Win32: chain up screen finalize Add the proper chain up (in preparation to actually freeing stuff) and remove the empty dispose implementation gdk/win32/gdkscreen-win32.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 577016126e25aa22415b6952643abc8f59d6fc5f Author: Paolo Borelli Date: Thu Feb 18 15:51:41 2016 +0100 Win32: remove the _gdk_monitors global variable Make it a field of GdkWin32Screen since that is the object exposing all the the getters. gdk/win32/gdkdisplay-win32.c | 119 +------------------------------ gdk/win32/gdkglobals-win32.c | 3 - gdk/win32/gdkprivate-win32.h | 12 +--- gdk/win32/gdkscreen-win32.c | 164 +++++++++++++++++++++++++++++++++++++++---- 4 files changed, 154 insertions(+), 144 deletions(-) commit 2e7f98a683e6868718417f15b4b1f449906bd585 Author: Paolo Borelli Date: Thu Feb 18 17:33:29 2016 +0100 Win32: remove the _is_win8_or_above global variable gdk/win32/gdkglobals-win32.c | 2 -- gdk/win32/gdkmain-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 2 -- gdk/win32/gdkscreen-win32.c | 13 ++++++++----- 4 files changed, 8 insertions(+), 10 deletions(-) commit 09cd17a0017820e78b7d02fa3bb6015f6057bb7a Author: Lapo Calamandrei Date: Fri Feb 19 14:39:14 2016 +0100 Revert "Adwaita: restrict button transition" Shouldn't be needed with recent Benjamin work. This reverts commit 79ca3f03a8de0fa0f7a846ea72d479066a15dbd7. gtk/theme/Adwaita/_common.scss | 13 ++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 8 insertions(+), 17 deletions(-) commit 826913135bc3698a014ea53f213206b4c6c34257 Author: Lapo Calamandrei Date: Fri Feb 19 14:38:22 2016 +0100 Revert "Adwaita: only needed properties on entry transition" Shouldn't be needed with recent Benjamin work. This reverts commit d57f4a781cbcab7eb0912edf0ccbf811090067ce. gtk/theme/Adwaita/_common.scss | 35 ++++++++++++-------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 21 insertions(+), 30 deletions(-) commit 9c2110122b8b5e5f12a19076814012407ee7abb2 Author: Matthias Clasen Date: Thu Feb 18 22:03:12 2016 -0500 gdk: Add a way to show included backends Set GDK_BACKEND=help to see a list of all inluded GDK backends. docs/reference/gtk/running.sgml | 5 +++-- gdk/gdkdisplaymanager.c | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) commit a3ba7f0a201ad9025a926aacb4229865ea724b01 Author: Benjamin Otte Date: Thu Feb 18 23:55:00 2016 +0100 css: Don't start transitions when the value didn't change This stops us from starting a lot of useless transitions. And it's even conformant with the CSS spec! gtk/gtkcssanimatedstyle.c | 4 ++++ 1 file changed, 4 insertions(+) commit 11b3efbddaac76e03268454ff03a0b9aa5875cf1 Author: Carlos Soriano Date: Thu Feb 18 15:27:25 2016 +0100 gtkcsscalcvalue: avoid unitialized boolean Since we do an OR afterwards, initializing to FALSE is correct. gtk/gtkcsscalcvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 40c0a6aa8753ec80963c163f6d3c1baf6f5945af Author: Carlos Soriano Date: Thu Feb 18 10:53:35 2016 +0100 gtkplacessidebar: remove unneeded condition We check for it before anyway, and in this case make sense to show the eject button in both cases. gtk/gtkplacessidebar.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 5a253c546ad9f7f94130bfd0e9dfbe40e171f524 Author: Olivier Fourdan Date: Thu Feb 18 12:00:23 2016 +0100 wayland: check for support of xdg_shell interface When running with a Wayland compositor which doesn't support the xdg_shell interface, gtk+ will segfault while trying to access the corresponding wl proxy. Check for xdg_shell support and do not use Wayland if not present, so that it can fallback to X11, hoping that Xwayland is usable. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762258 gdk/wayland/gdkdisplay-wayland.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit d1cf970d7aed11500b3ff3a9095716e48315e4eb Author: Daniel Mustieles Date: Thu Feb 18 14:15:57 2016 +0000 Updated Spanish translation po/es.po | 699 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 404 insertions(+), 295 deletions(-) commit 934b3f686529f9742495362cca9df57a70e88092 Author: Phillip Wood Date: Wed Feb 17 10:10:25 2016 +0000 Document that GtkApplication loads gtk/menus-common.ui Add a comment about the resource gtk/menus-common.ui to the documentation of the other resources loaded by GtkApplication. https://bugzilla.gnome.org/show_bug.cgi?id=761432 gtk/gtkapplication.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit c38c3361ca2b8aa1804cafddf22c4f074fc8b996 Author: Phillip Wood Date: Wed Feb 17 10:07:02 2016 +0000 Document help overlay action name in GtkApplication This means all the information needed to automatically load a shortcuts window and create a menu item to show it is in one place. https://bugzilla.gnome.org/show_bug.cgi?id=761431 gtk/gtkapplication.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit d57f4a781cbcab7eb0912edf0ccbf811090067ce Author: Lapo Calamandrei Date: Thu Feb 18 14:30:23 2016 +0100 Adwaita: only needed properties on entry transition made things properly in the process creating a sass function to handle transition properties stacking. gtk/theme/Adwaita/_common.scss | 35 ++++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 30 insertions(+), 21 deletions(-) commit 79ca3f03a8de0fa0f7a846ea72d479066a15dbd7 Author: Lapo Calamandrei Date: Thu Feb 18 13:24:42 2016 +0100 Adwaita: restrict button transition we use to animate "all" in the transition, this seems to trigger some weird gtk sizing issue, restricting the transition to just the needed properties fixes. gtk/theme/Adwaita/_common.scss | 13 +++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 17 insertions(+), 8 deletions(-) commit a93fdd8201ff94c5ee155809640b2061d27ee29e Author: Lapo Calamandrei Date: Thu Feb 18 12:26:19 2016 +0100 Adwaita: housekeeping cleaned up unneded selectors and leftovers from previous versions. gtk/theme/Adwaita/_common.scss | 209 +++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 333 +++--------------------------- gtk/theme/Adwaita/gtk-contained.css | 341 +++---------------------------- 3 files changed, 101 insertions(+), 782 deletions(-) commit 71c36bb8755587086eb051f2e53ecdacd2ee3978 Author: Mario Blättermann Date: Thu Feb 18 10:08:00 2016 +0100 Updated German translation po/de.po | 2848 ++++++++------------------------------------------------------ 1 file changed, 357 insertions(+), 2491 deletions(-) commit 0298d500d27cfd3cfbfe57abfa19fad94269c7a4 Author: Piotr Drąg Date: Wed Feb 17 22:02:17 2016 +0100 Updated Polish translation po/pl.po | 558 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 316 insertions(+), 242 deletions(-) commit d976bbd7cbf1a77f7cedb24878d8f6333e4b5653 Author: Dušan Kazik Date: Wed Feb 17 20:56:02 2016 +0000 Updated Slovak translation po/sk.po | 563 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 321 insertions(+), 242 deletions(-) commit 56c54a20d1a6f64bcf234772cd6d54c817508aa2 Author: Lapo Calamandrei Date: Wed Feb 17 20:00:57 2016 +0100 Adwaita: reset the shadow on disabled scales gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) commit 9bb139c6aa7d8d038d5480349cdc1cdec0ebc20e Author: Lapo Calamandrei Date: Wed Feb 17 15:22:36 2016 +0100 Adwaita: unused assets cleanup .../Adwaita/assets/checkbox-checked-active-dark.png | Bin 636 -> 0 bytes .../Adwaita/assets/checkbox-checked-active-dark@2.png | Bin 1240 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-active.png | Bin 658 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-active@2.png | Bin 1332 -> 0 bytes .../Adwaita/assets/checkbox-checked-backdrop-dark.png | Bin 592 -> 0 bytes .../Adwaita/assets/checkbox-checked-backdrop-dark@2.png | Bin 1033 -> 0 bytes .../checkbox-checked-backdrop-insensitive-dark.png | Bin 488 -> 0 bytes .../checkbox-checked-backdrop-insensitive-dark@2.png | Bin 827 -> 0 bytes .../assets/checkbox-checked-backdrop-insensitive.png | Bin 534 -> 0 bytes .../assets/checkbox-checked-backdrop-insensitive@2.png | Bin 939 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-backdrop.png | Bin 605 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-backdrop@2.png | Bin 1068 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-dark.png | Bin 692 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-dark@2.png | Bin 1325 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-hover-dark.png | Bin 697 -> 0 bytes .../Adwaita/assets/checkbox-checked-hover-dark@2.png | Bin 1365 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-hover.png | Bin 660 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-hover@2.png | Bin 1276 -> 0 bytes .../Adwaita/assets/checkbox-checked-insensitive-dark.png | Bin 552 -> 0 bytes .../assets/checkbox-checked-insensitive-dark@2.png | Bin 971 -> 0 bytes .../Adwaita/assets/checkbox-checked-insensitive.png | Bin 582 -> 0 bytes .../Adwaita/assets/checkbox-checked-insensitive@2.png | Bin 1037 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked.png | Bin 663 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked@2.png | Bin 1331 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-active-dark.png | Bin 470 -> 0 bytes .../Adwaita/assets/checkbox-mixed-active-dark@2.png | Bin 852 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-active.png | Bin 520 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-active@2.png | Bin 992 -> 0 bytes .../Adwaita/assets/checkbox-mixed-backdrop-dark.png | Bin 439 -> 0 bytes .../Adwaita/assets/checkbox-mixed-backdrop-dark@2.png | Bin 727 -> 0 bytes .../assets/checkbox-mixed-backdrop-insensitive-dark.png | Bin 405 -> 0 bytes .../checkbox-mixed-backdrop-insensitive-dark@2.png | Bin 677 -> 0 bytes .../assets/checkbox-mixed-backdrop-insensitive.png | Bin 444 -> 0 bytes .../assets/checkbox-mixed-backdrop-insensitive@2.png | Bin 759 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-backdrop.png | Bin 460 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-backdrop@2.png | Bin 786 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-dark.png | Bin 542 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-dark@2.png | Bin 1014 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-hover-dark.png | Bin 568 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-hover-dark@2.png | Bin 1033 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-hover.png | Bin 494 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-hover@2.png | Bin 920 -> 0 bytes .../Adwaita/assets/checkbox-mixed-insensitive-dark.png | Bin 427 -> 0 bytes .../Adwaita/assets/checkbox-mixed-insensitive-dark@2.png | Bin 706 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-insensitive.png | Bin 448 -> 0 bytes .../Adwaita/assets/checkbox-mixed-insensitive@2.png | Bin 783 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed.png | Bin 516 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed@2.png | Bin 997 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-active-dark.png | Bin 356 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-active-dark@2.png | Bin 633 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-active.png | Bin 433 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-active@2.png | Bin 774 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-backdrop-dark.png | Bin 358 -> 0 bytes .../assets/checkbox-unchecked-backdrop-dark@2.png | Bin 583 -> 0 bytes .../checkbox-unchecked-backdrop-insensitive-dark.png | Bin 347 -> 0 bytes .../checkbox-unchecked-backdrop-insensitive-dark@2.png | Bin 574 -> 0 bytes .../assets/checkbox-unchecked-backdrop-insensitive.png | Bin 377 -> 0 bytes .../assets/checkbox-unchecked-backdrop-insensitive@2.png | Bin 633 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-backdrop.png | Bin 384 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-backdrop@2.png | Bin 622 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-dark.png | Bin 426 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-dark@2.png | Bin 778 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-hover-dark.png | Bin 448 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-hover-dark@2.png | Bin 808 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-hover.png | Bin 406 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-hover@2.png | Bin 750 -> 0 bytes .../assets/checkbox-unchecked-insensitive-dark.png | Bin 347 -> 0 bytes .../assets/checkbox-unchecked-insensitive-dark@2.png | Bin 574 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-insensitive.png | Bin 377 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-insensitive@2.png | Bin 633 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked.png | Bin 418 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked@2.png | Bin 798 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-active-dark.png | Bin 638 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-active-dark@2.png | Bin 1207 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-active.png | Bin 774 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-active@2.png | Bin 1455 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-backdrop-dark.png | Bin 589 -> 0 bytes .../Adwaita/assets/radio-checked-backdrop-dark@2.png | Bin 1054 -> 0 bytes .../assets/radio-checked-backdrop-insensitive-dark.png | Bin 539 -> 0 bytes .../assets/radio-checked-backdrop-insensitive-dark@2.png | Bin 942 -> 0 bytes .../assets/radio-checked-backdrop-insensitive.png | Bin 614 -> 0 bytes .../assets/radio-checked-backdrop-insensitive@2.png | Bin 1098 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-backdrop.png | Bin 646 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-backdrop@2.png | Bin 1178 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-dark.png | Bin 758 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-dark@2.png | Bin 1516 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-hover-dark.png | Bin 786 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-hover-dark@2.png | Bin 1555 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-hover.png | Bin 752 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-hover@2.png | Bin 1475 -> 0 bytes .../Adwaita/assets/radio-checked-insensitive-dark.png | Bin 564 -> 0 bytes .../Adwaita/assets/radio-checked-insensitive-dark@2.png | Bin 1029 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-insensitive.png | Bin 651 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-insensitive@2.png | Bin 1155 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked.png | Bin 782 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked@2.png | Bin 1568 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-active-dark.png | Bin 619 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-active-dark@2.png | Bin 1134 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-active.png | Bin 713 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-active@2.png | Bin 1362 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-backdrop-dark.png | Bin 545 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-backdrop-dark@2.png | Bin 976 -> 0 bytes .../assets/radio-mixed-backdrop-insensitive-dark.png | Bin 517 -> 0 bytes .../assets/radio-mixed-backdrop-insensitive-dark@2.png | Bin 920 -> 0 bytes .../Adwaita/assets/radio-mixed-backdrop-insensitive.png | Bin 592 -> 0 bytes .../assets/radio-mixed-backdrop-insensitive@2.png | Bin 1040 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-backdrop.png | Bin 612 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-backdrop@2.png | Bin 1074 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-dark.png | Bin 720 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-dark@2.png | Bin 1431 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-hover-dark.png | Bin 734 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-hover-dark@2.png | Bin 1468 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-hover.png | Bin 698 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-hover@2.png | Bin 1371 -> 0 bytes .../Adwaita/assets/radio-mixed-insensitive-dark.png | Bin 539 -> 0 bytes .../Adwaita/assets/radio-mixed-insensitive-dark@2.png | Bin 964 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-insensitive.png | Bin 605 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-insensitive@2.png | Bin 1066 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed.png | Bin 741 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed@2.png | Bin 1438 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-active-dark.png | Bin 510 -> 0 bytes .../Adwaita/assets/radio-unchecked-active-dark@2.png | Bin 923 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-active.png | Bin 631 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-active@2.png | Bin 1165 -> 0 bytes .../Adwaita/assets/radio-unchecked-backdrop-dark.png | Bin 513 -> 0 bytes .../Adwaita/assets/radio-unchecked-backdrop-dark@2.png | Bin 902 -> 0 bytes .../assets/radio-unchecked-backdrop-insensitive-dark.png | Bin 513 -> 0 bytes .../radio-unchecked-backdrop-insensitive-dark@2.png | Bin 902 -> 0 bytes .../assets/radio-unchecked-backdrop-insensitive.png | Bin 536 -> 0 bytes .../assets/radio-unchecked-backdrop-insensitive@2.png | Bin 924 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-backdrop.png | Bin 532 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-backdrop@2.png | Bin 919 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-dark.png | Bin 635 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-dark@2.png | Bin 1229 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-hover-dark.png | Bin 646 -> 0 bytes .../Adwaita/assets/radio-unchecked-hover-dark@2.png | Bin 1262 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-hover.png | Bin 627 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-hover@2.png | Bin 1206 -> 0 bytes .../Adwaita/assets/radio-unchecked-insensitive-dark.png | Bin 513 -> 0 bytes .../assets/radio-unchecked-insensitive-dark@2.png | Bin 902 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-insensitive.png | Bin 536 -> 0 bytes .../Adwaita/assets/radio-unchecked-insensitive@2.png | Bin 924 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked.png | Bin 656 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked@2.png | Bin 1285 -> 0 bytes .../Adwaita/assets/selected-checkbox-checked-active.png | Bin 676 -> 0 bytes .../assets/selected-checkbox-checked-active@2.png | Bin 1336 -> 0 bytes .../selected-checkbox-checked-backdrop-insensitive.png | Bin 586 -> 0 bytes .../selected-checkbox-checked-backdrop-insensitive@2.png | Bin 964 -> 0 bytes .../assets/selected-checkbox-checked-backdrop.png | Bin 626 -> 0 bytes .../assets/selected-checkbox-checked-backdrop@2.png | Bin 1071 -> 0 bytes .../Adwaita/assets/selected-checkbox-checked-hover.png | Bin 676 -> 0 bytes .../Adwaita/assets/selected-checkbox-checked-hover@2.png | Bin 1310 -> 0 bytes .../assets/selected-checkbox-checked-insensitive.png | Bin 626 -> 0 bytes .../assets/selected-checkbox-checked-insensitive@2.png | Bin 1044 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-checked.png | Bin 683 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-checked@2.png | Bin 1387 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-active.png | Bin 567 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-active@2.png | Bin 1024 -> 0 bytes .../selected-checkbox-mixed-backdrop-insensitive.png | Bin 486 -> 0 bytes .../selected-checkbox-mixed-backdrop-insensitive@2.png | Bin 805 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-backdrop.png | Bin 492 -> 0 bytes .../assets/selected-checkbox-mixed-backdrop@2.png | Bin 816 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-hover.png | Bin 518 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-hover@2.png | Bin 952 -> 0 bytes .../assets/selected-checkbox-mixed-insensitive.png | Bin 494 -> 0 bytes .../assets/selected-checkbox-mixed-insensitive@2.png | Bin 814 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-mixed.png | Bin 567 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-mixed@2.png | Bin 1048 -> 0 bytes .../assets/selected-checkbox-unchecked-active.png | Bin 491 -> 0 bytes .../assets/selected-checkbox-unchecked-active@2.png | Bin 808 -> 0 bytes .../selected-checkbox-unchecked-backdrop-insensitive.png | Bin 427 -> 0 bytes ...elected-checkbox-unchecked-backdrop-insensitive@2.png | Bin 667 -> 0 bytes .../assets/selected-checkbox-unchecked-backdrop.png | Bin 429 -> 0 bytes .../assets/selected-checkbox-unchecked-backdrop@2.png | Bin 669 -> 0 bytes .../Adwaita/assets/selected-checkbox-unchecked-hover.png | Bin 438 -> 0 bytes .../assets/selected-checkbox-unchecked-hover@2.png | Bin 782 -> 0 bytes .../assets/selected-checkbox-unchecked-insensitive.png | Bin 427 -> 0 bytes .../assets/selected-checkbox-unchecked-insensitive@2.png | Bin 667 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-unchecked.png | Bin 464 -> 0 bytes .../Adwaita/assets/selected-checkbox-unchecked@2.png | Bin 851 -> 0 bytes .../Adwaita/assets/selected-radio-checked-active.png | Bin 818 -> 0 bytes .../Adwaita/assets/selected-radio-checked-active@2.png | Bin 1535 -> 0 bytes .../selected-radio-checked-backdrop-insensitive.png | Bin 663 -> 0 bytes .../selected-radio-checked-backdrop-insensitive@2.png | Bin 1179 -> 0 bytes .../Adwaita/assets/selected-radio-checked-backdrop.png | Bin 694 -> 0 bytes .../Adwaita/assets/selected-radio-checked-backdrop@2.png | Bin 1230 -> 0 bytes .../Adwaita/assets/selected-radio-checked-hover.png | Bin 759 -> 0 bytes .../Adwaita/assets/selected-radio-checked-hover@2.png | Bin 1548 -> 0 bytes .../assets/selected-radio-checked-insensitive.png | Bin 680 -> 0 bytes .../assets/selected-radio-checked-insensitive@2.png | Bin 1214 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-checked.png | Bin 813 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-checked@2.png | Bin 1655 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-mixed-active.png | Bin 751 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-active@2.png | Bin 1411 -> 0 bytes .../assets/selected-radio-mixed-backdrop-insensitive.png | Bin 635 -> 0 bytes .../selected-radio-mixed-backdrop-insensitive@2.png | Bin 1114 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-backdrop.png | Bin 652 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-backdrop@2.png | Bin 1128 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-mixed-hover.png | Bin 726 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-hover@2.png | Bin 1436 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-insensitive.png | Bin 644 -> 0 bytes .../assets/selected-radio-mixed-insensitive@2.png | Bin 1130 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-mixed.png | Bin 778 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-mixed@2.png | Bin 1514 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-active.png | Bin 673 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-active@2.png | Bin 1229 -> 0 bytes .../selected-radio-unchecked-backdrop-insensitive.png | Bin 578 -> 0 bytes .../selected-radio-unchecked-backdrop-insensitive@2.png | Bin 992 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-backdrop.png | Bin 581 -> 0 bytes .../assets/selected-radio-unchecked-backdrop@2.png | Bin 993 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-hover.png | Bin 664 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-hover@2.png | Bin 1290 -> 0 bytes .../assets/selected-radio-unchecked-insensitive.png | Bin 578 -> 0 bytes .../assets/selected-radio-unchecked-insensitive@2.png | Bin 992 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-unchecked.png | Bin 701 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-unchecked@2.png | Bin 1371 -> 0 bytes 216 files changed, 0 insertions(+), 0 deletions(-) commit d3c247ed21cc9d73e0ae23a9e4b823229cbd6d2b Author: Lapo Calamandrei Date: Wed Feb 17 15:18:59 2016 +0100 Adwaita: added a new mixin for check/radio/sliders some clean up in the process. The gradient still need some love. gtk/theme/Adwaita/_colors.scss | 3 +- gtk/theme/Adwaita/_common.scss | 54 ++++------- gtk/theme/Adwaita/_drawing.scss | 41 +++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 150 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 150 ++++++++++++++----------------- 5 files changed, 194 insertions(+), 204 deletions(-) commit 6bf33ac30cfaf3517cafcd4f68ea5ea76859a2d2 Author: Lapo Calamandrei Date: Wed Feb 17 14:35:47 2016 +0100 Adwaita: _drawing cleanup gtk/theme/Adwaita/_drawing.scss | 15 +- gtk/theme/Adwaita/gtk-contained-dark.css | 284 ++++++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 284 ++++++++++--------------------- 3 files changed, 193 insertions(+), 390 deletions(-) commit 2782a14fc43767253a70d2e38eac3cacb4c663ab Author: Benjamin Otte Date: Mon Feb 15 06:51:45 2016 +0100 win32 theme: Add checkbutton spacing The number is taken right from Wine source code. gtk/theme/win32/gtk-win32-base.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 01bcda8a8c5c2e7a87db1a1b585fc858abb9657e Author: Benjamin Otte Date: Mon Feb 15 06:50:49 2016 +0100 win32 theme: Query theme borders when rendering buttons If someone figures out where the remaining pixel comes from: Tell me! gtk/theme/win32/gtk-win32-base.css | 41 ++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit 67b893c5f8be66c316189ed73692093accfb1e9a Author: Benjamin Otte Date: Mon Feb 15 06:50:22 2016 +0100 win32 theme: Add a way to query border of theme parts gtk/gtkcssnumbervalue.c | 12 ++++++++++-- gtk/gtkcsswin32sizevalue.c | 41 +++++++++++++++++++++++++++++++++++++++-- gtk/gtkwin32draw.c | 27 ++++++++++++++++++++++++--- gtk/gtkwin32drawprivate.h | 6 ++++++ gtk/gtkwin32theme.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwin32themeprivate.h | 4 ++++ 6 files changed, 128 insertions(+), 7 deletions(-) commit a3998bce9d444657a70c8910075ebbab15702bcf Author: Benjamin Otte Date: Mon Feb 15 06:48:48 2016 +0100 win32 theme: Add a hack that selects the right font on Windows 8 Someone needs to figure out why the default font is wrong. gtk/theme/win32/gtk-win32-base.css | 3 +++ 1 file changed, 3 insertions(+) commit c98007f9fd3db6d27c6916f28d2b1867c93bd072 Author: Benjamin Otte Date: Wed Feb 17 04:18:29 2016 +0100 win32: Add fallback code to draw theme parts gtk/gtkwin32draw.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwin32drawprivate.h | 17 +++++- gtk/gtkwin32theme.c | 11 +--- 3 files changed, 156 insertions(+), 11 deletions(-) commit 37e3ccb2f67729ecdef6605455e6bf2b8b0279d7 Author: Benjamin Otte Date: Wed Feb 17 02:43:18 2016 +0100 win32: Split out fallback code into separate file (1) Actual Windows users don't care about it (2) It's easier to get rid of gtk/Makefile.am | 2 ++ gtk/gtkwin32draw.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwin32drawprivate.h | 64 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwin32theme.c | 46 ++----------------------------- 4 files changed, 139 insertions(+), 43 deletions(-) commit 3e5be58991ce62e3c31f3a2a5bafc59abb3820a2 Author: Benjamin Otte Date: Wed Feb 17 02:42:35 2016 +0100 win32 theme: Require comma between part and state ID gtk/gtkcssimagewin32.c | 12 ++ gtk/theme/win32/gtk-win32-base.css | 308 ++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 30 ++-- 3 files changed, 181 insertions(+), 169 deletions(-) commit 1b36fbfc5edbbfd1433b1e8cd72b78c1ce38b198 Author: Matthias Clasen Date: Tue Feb 16 19:35:19 2016 -0500 3.19.9 NEWS | 3 +++ configure.ac | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit da47ceb4c0cb9be72dfdd727a6afe18e5be3dc79 Author: Matthias Clasen Date: Tue Feb 16 19:20:22 2016 -0500 places sidebar: Use the right marshallers We are passing the mount operation as argument, so use a marshaller that expects an object argument. gtk/gtkplacessidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b8e2ebb840e6daea88c9cdd5a2e58b796d165a52 Author: Carlos Soriano Date: Mon Feb 15 19:09:54 2016 +0100 gtkplacessidebar: remove notification handling We were notifying when an unmount operation was performed. However, creating notifications from the gtk+ library is not that expected, and makes notification handling difficult to do from the application point of view since we cannot dismiss those notifications. This cause issues like notifications of unmount drives stay there after a system reboot, which confuses the user. Instead of that, remove the notification handling for mount operations on gtk+ and instead create a new signal on the gtkplacessidebar in order to inform applications using it about an operation about to start. Only drawback about this is that the GtkFileChooser loses its notifications when unmounting, that although we could use the new signal to do it, we actually don't want to notify from any part of gtk+ for now. https://bugzilla.gnome.org/show_bug.cgi?id=753351 gtk/gtkplacessidebar.c | 167 +++++++++++++++++++++++-------------------------- 1 file changed, 79 insertions(+), 88 deletions(-) commit 13e5e837985b9154873c82408ef77a8e20dfa30e Author: Matthias Clasen Date: Tue Feb 16 18:33:16 2016 -0500 Add message contexts to translated strings The string "None" is used in multiple contexts; add message contexts to give translators a chance to translate them accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=762165 gtk/gtkfontbutton.c | 2 +- gtk/inspector/general.c | 4 ++-- gtk/inspector/gestures.c | 8 ++++---- gtk/inspector/prop-editor.c | 2 +- gtk/inspector/size-groups.c | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) commit a64dd9ccf36739d892bb181ca4622b4f7bee108e Author: Matthias Clasen Date: Tue Feb 16 18:05:32 2016 -0500 printing: Add message contexts Some of the translated strings in the cups printbackend are short and generic and might occur in other contexts. Give them disambiguating message contexts to avoid translation problems. modules/printbackends/cups/gtkprintbackendcups.c | 121 ++++++++++++++--------- 1 file changed, 72 insertions(+), 49 deletions(-) commit 38b1f15f1257003fffd69f6017caefa57f56a24e Author: Jonas Ådahl Date: Tue Feb 16 13:05:25 2016 +0800 wayland: Only attach the buffer if there was damage There is no point in attaching and then committing the same buffer if there was no damage. This will also make us do less unnecessary backfill read backs, for the cases where we paint with an empty paint region. https://bugzilla.gnome.org/show_bug.cgi?id=762120 gdk/wayland/gdkwindow-wayland.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 64c9ec14fea2a68377f7a9c5297fb24b365bf50e Author: Jonas Ådahl Date: Tue Feb 16 12:41:57 2016 +0800 wayland: Handle after-paint invocations when nothing was painted If a after-paint was scheduled but nothing was painted, for example when the it was scheduled by a subsurface wanting to update its position, we'd still try to read back from the backfill cairo surface and update the committed cairo surface reference even though no buffer was attached. Fix this by adding a new state, 'pending_buffer_attached', which is only true if a buffer was attached during frame. Only when this is true will the backfill be read back and the committed cairo surface reference be updated. https://bugzilla.gnome.org/show_bug.cgi?id=762120 gdk/wayland/gdkwindow-wayland.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit f945fb6ec40db6da31be17703f8c67345ea2e1fe Author: Lapo Calamandrei Date: Tue Feb 16 20:49:05 2016 +0100 Adwaita: add a top border to the filechooser bottom bar gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 5de7a5fdea72f669e04443f653f71e73e914e606 Author: Lapo Calamandrei Date: Tue Feb 16 20:44:16 2016 +0100 Adwaita: use Matthias provided ID for the previous commit style gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit bdee6b11ac0b2998b3c99f68df44568e672d4dc6 Author: Lapo Calamandrei Date: Tue Feb 16 20:39:25 2016 +0100 Adwaita: add back a bottom border on the pathbar/entry box gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 3a4922a76f856f43604d56d397b4b29a96655c4a Author: Matthias Clasen Date: Tue Feb 16 14:36:32 2016 -0500 file chooser: Add an ID to the box around the pathbar Having an ID makes it easier to style this appropriately. gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 03ec21d61290aa2871300353654d6eb23357221f Author: Lapo Calamandrei Date: Tue Feb 16 20:27:06 2016 +0100 Adwaita: make tab child not cover the active tab indication in the process make the focus outline clearer. gtk/theme/Adwaita/_common.scss | 17 ++++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 24 insertions(+), 21 deletions(-) commit af2cc8140aee94aaac0208a37612292dcde3160f Author: Lapo Calamandrei Date: Tue Feb 16 20:17:43 2016 +0100 Adwaita: places sidebar eject button sizing gtk/theme/Adwaita/_common.scss | 9 ++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++++++---- gtk/theme/Adwaita/gtk-contained.css | 11 +++++++---- 3 files changed, 20 insertions(+), 11 deletions(-) commit d3a153a45e75621bd4c5a89eb4555392bab62d3c Author: Lapo Calamandrei Date: Tue Feb 16 18:23:09 2016 +0100 Adwaita: places sidebar sizing with min-height... ...more to come. gtk/theme/Adwaita/_common.scss | 7 ++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 14 insertions(+), 9 deletions(-) commit 7c799bbc6591a58cec3ac4d9e0b4cb88fa4d1cfb Author: Lapo Calamandrei Date: Tue Feb 16 17:54:31 2016 +0100 Adwaita: make tab buttons square once again gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 6085bba0a5960390497e429e7a9e41746ff80ac4 Author: Lapo Calamandrei Date: Tue Feb 16 17:40:13 2016 +0100 Adwaita: be more specific about menu items height setting a 16px min-height (same as a check/radio) and resetting margins on check/radio to workaround a sizing issues there. gtk/theme/Adwaita/_common.scss | 8 +++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 37 ++++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 37 ++++++++++++++++++-------------- 3 files changed, 48 insertions(+), 34 deletions(-) commit 3a15aa2a957b7a4fc5ecdb21d800b2e81bb2ea47 Author: Christoph Reiter Date: Tue Feb 16 15:49:23 2016 +0100 Add -gtk-image-effect alias for -gtk-icon-effect The property name was changed in 2396265523dfc6. This makes sure apps using it don't break and get a helpful warning instead. gtk/gtkcssstylepropertyimpl.c | 1 + 1 file changed, 1 insertion(+) commit c2cfbc8df1fcec997ba36fb8715b8913dbc08149 Author: Matthias Clasen Date: Mon Feb 15 23:05:06 2016 -0500 Updates NEWS | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) commit e32da776ce23a32cc95ab033e4b2cb3b1253b79a Author: Matthias Clasen Date: Mon Feb 15 22:43:56 2016 -0500 Add a release note about level bar changes README.in | 5 +++++ 1 file changed, 5 insertions(+) commit b9a1472fc52a8478ae79d5bdb32537476aa64b0a Author: Matthias Clasen Date: Mon Feb 15 22:17:41 2016 -0500 Add a release note about window size saving README.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit 8f71060ef9569fb476d53e190b2afd7c7d898a8a Author: Matthias Clasen Date: Mon Feb 15 22:06:17 2016 -0500 file chooser: Reload current dir when switching from search mode The need for this was pointed out by Evangelos Foutras in https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit ab1906952e11a11737aec41e86ba81c050886845 Author: Benjamin Otte Date: Tue Feb 16 02:41:44 2016 +0100 cellrenderertoggle: Change "indicator-size" handling The following changes were done to (hopefully) achieve backwards compatibility while allowing themes to change the size of the indicator. (1) Deprecate the property. (2) Change the default value of the property to 0. If it is not 0, use the property's value for the indicator size. This should make all programs that actually set it keep the size they set it to. (3) If set to other values than 0, use min-width/min-height of the check/radio node to size the indicator. This allows themes to change the size. (4) Fall back to the previous default size of 16px. This way themes that do not set the size keep the same behavior. gtk/gtkcellrenderertoggle.c | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) commit 3c0cd8aea4e0e91459985ef42ece02f5dd683fc7 Author: Benjamin Otte Date: Tue Feb 16 00:22:40 2016 +0100 win32 theme: Include the default win32 colors gtk/gtkwin32theme.c | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) commit 92fca23244f59f0df0336814f553b8e668223c0b Author: Benjamin Otte Date: Tue Feb 16 00:22:12 2016 +0100 win32 theme: Always include the win32 theme It's not very useful outside of Windows so far, but that will hopefully change. gtk/Makefile.am | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit a1cbcc18b3735438ec2e585b4f8a45a3a7e82f8e Author: Lapo Calamandrei Date: Tue Feb 16 02:11:12 2016 +0100 Adwaita: stop using assets for treeview check/radio... ...the sizing is still off, waiting for Benjamin to add the magic, probably the icon shadow is missing, not sure since it's blurry. This needs to be reverted in case the sizing won't get fixed. gtk/theme/Adwaita/_common.scss | 95 +- gtk/theme/Adwaita/assets.svg | 6563 +++++------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 339 +- gtk/theme/Adwaita/gtk-contained.css | 453 +-- 4 files changed, 1194 insertions(+), 6256 deletions(-) commit c30d542a17e78cfff1dd0a949dfa4f7df942604f Author: Matthias Clasen Date: Mon Feb 15 14:20:48 2016 -0500 Some more CSS node tests for notebooks testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/notebook-arrows.nodes | 16 +++++++++++ testsuite/css/nodes/notebook-arrows.ui | 42 +++++++++++++++++++++++++++++ testsuite/css/nodes/notebook-arrows2.nodes | 16 +++++++++++ testsuite/css/nodes/notebook-arrows2.ui | 43 ++++++++++++++++++++++++++++++ 5 files changed, 119 insertions(+) commit 38d0d0a687c0c7416188cd6095ae4ebf69dc4f53 Author: Carlos Garnacho Date: Mon Feb 15 18:56:42 2016 +0100 gdkdnd: Stick to the first gdk_drag_drop_done() result That way we can let ::cancel callers to override the visual result of the operation (eg. when detaching notebook tabs on NO_TARGET). Also, document gdk_drag_drop_done() so it is mentioned that this is a one-shot call. https://bugzilla.gnome.org/show_bug.cgi?id=761954 gdk/gdkdnd.c | 9 +++++++++ gdk/gdkdndprivate.h | 2 ++ 2 files changed, 11 insertions(+) commit d26801c92309ea9bf9dfb4e755ae5e8db80b4cce Author: Lapo Calamandrei Date: Mon Feb 15 18:39:50 2016 +0100 Adwaita: correctly style arrows wrt tab position gtk/theme/Adwaita/_common.scss | 55 +++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 39 +++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 39 +++++++++++++++------- 3 files changed, 100 insertions(+), 33 deletions(-) commit bc3b399809ec1f60c6583a1566da437f787dc2ff Author: Anders Jonsson Date: Mon Feb 15 17:39:17 2016 +0000 Updated Swedish translation po/sv.po | 1800 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 965 insertions(+), 835 deletions(-) commit 9bd15e001a3ebe6fe2ae68dd7f3c44c56e91cce6 Author: Anders Jonsson Date: Mon Feb 15 17:38:07 2016 +0000 Updated Swedish translation po-properties/sv.po | 4171 +++++++++++++++++++++++++++------------------------ 1 file changed, 2233 insertions(+), 1938 deletions(-) commit 4636552a76e3935621b79367dc329a896a0d981a Author: Carlos Garnacho Date: Mon Feb 15 17:05:50 2016 +0100 gdkdnd: Make GtkDragContext::cancel RUN_LAST The default implementation code should act as a catch-all fallback, we let the connected handlers to run first then. https://bugzilla.gnome.org/show_bug.cgi?id=761954 gdk/gdkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aad3135e4c30c977c80ba39a65f28623aa4c4592 Author: Carlos Garnacho Date: Mon Feb 15 17:02:14 2016 +0100 gdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel We should conform to a minimal set of reasons for the gtk side to emit a better GtkDragResult than GTK_DRAG_RESULT_ERROR. This fixes the notebook tab DnD feature, where we rely on GTK_DRAG_RESULT_NO_TARGET. In the wayland side, unfortunately we can't honor either NO_TARGET nor USER_CANCELLED, we don't know of the latter, so we could return false positives on the former. https://bugzilla.gnome.org/show_bug.cgi?id=761954 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkdnd.c | 9 +++++---- gdk/gdkdnd.h | 16 ++++++++++++++++ gdk/gdkdndprivate.h | 6 ++++-- gdk/wayland/gdkdnd-wayland.c | 3 ++- gdk/wayland/gdkselection-wayland.c | 2 +- gdk/x11/gdkdnd-x11.c | 14 ++++++++------ gtk/gtkdnd.c | 27 ++++++++++++++++++++++----- 8 files changed, 59 insertions(+), 19 deletions(-) commit 1ee3df5161e243a54a1254ff203282ed678f70ae Author: Benjamin Otte Date: Mon Feb 15 18:16:32 2016 +0100 cellrendertoggle: Draw background + frame for mark Also compute padding and borders properly for the marks. gtk/gtkcellrenderertoggle.c | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) commit 46f46ed36e18096b2c816afe46a9c1bc590d5439 Author: Benjamin Otte Date: Mon Feb 15 18:08:14 2016 +0100 cellrenderertoggle: Split out a function gtk/gtkcellrenderertoggle.c | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) commit d10bd41e43acaac31b4ccf41331659ca0df3c61b Author: Benjamin Otte Date: Mon Feb 15 18:06:28 2016 +0100 widget-factory: Add myself Actually, I wanted to have a radio toggle cell renderer for testing. But hey, the commit message is supposed to say the important things! demos/widget-factory/widget-factory.ui | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 1b1d6551c712a57f5f69ccdae3b9dfd6c46600f9 Author: Lapo Calamandrei Date: Mon Feb 15 16:56:01 2016 +0100 Adwaita: correct size for ssd titlebars fixes https://bugzilla.gnome.org/show_bug.cgi?id=762032 gtk/theme/Adwaita/_common.scss | 10 ++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 12 +++++++----- gtk/theme/Adwaita/gtk-contained.css | 12 +++++++----- 3 files changed, 20 insertions(+), 14 deletions(-) commit cb43af090b175a7afef20d3511d12594120cef34 Author: Matthias Clasen Date: Mon Feb 15 10:38:13 2016 -0500 notebook: Fix a misplaced tab label Sometimes default tab labels ("Page ") get created on-demand, and in that case, we were forgetting to put them below the tab node in the CSS node tree. The visible result of this is that the heuristics for when to give notebooks background in Adwaita fail in some cases. So, make sure to always place the label below the tab node. gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit 1d65e8b601afbdb5b6ce4586dbe5ceba6453a350 Author: Caolán McNamara Date: Mon Feb 15 13:06:23 2016 +0000 gtk-demo: add menu separator demo doesn't much look like the menu separator in a real menu though. https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit ee9c1c144954edde5fc3af46a48edaf219265f1e Author: Caolán McNamara Date: Mon Feb 15 12:38:52 2016 +0000 gtk-demo: add combobox demos https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 51 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit 1131ae27a0f38e9b406d5b9e04d58c2dac4646cb Author: Caolán McNamara Date: Thu Feb 11 16:48:51 2016 +0000 gtk-demo: add menu check and radio examples note that if the "menu" context has no parent then the GTK_STATE_FLAG_NORMAL menu entries are invisible against the white background. https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 59 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 7 deletions(-) commit 1140a514ea3f33a02dbf4f704adf6c579afb13c6 Author: Lapo Calamandrei Date: Mon Feb 15 14:25:30 2016 +0100 Adwaita: notebook fixes make the tab close button a tad bigger, use header 'paddings' in place of 'tabs' margins for spacing. gtk/theme/Adwaita/_common.scss | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 20 ++++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) commit 4e2674edbb155163d0d50c8ccc19e88428cd8cd4 Author: Matthias Clasen Date: Mon Feb 15 08:23:12 2016 -0500 Expand the docs for gtk_window_set_default_size() Mention that this function should be used together with gtk_window_get_size() when saving and restoring window sizes. gtk/gtkwindow.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit e10f44e896a316b8cf7f0b4e3545aabff64147d8 Author: Matthias Clasen Date: Mon Feb 15 08:02:27 2016 -0500 places sidebar: use a box No need for a grid here. Patch by Timm Bäder. gtk/ui/gtksidebarrow.ui | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) commit 88c68f2eefc715039df09179e163ff68991c856f Author: Lapo Calamandrei Date: Mon Feb 15 13:52:41 2016 +0100 Adwaita: sidebar background-color it was covered by the contained list background, which is now transparent. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 0b1aeceb6e7fe4cb0646c633427eb3f72f2c9bbf Author: Lapo Calamandrei Date: Mon Feb 15 13:30:37 2016 +0100 Adwaita: no rounded corner for tiled backdrop windows fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) commit aed7ca1b3d05c4da6988f93d4f6ea557d6b6e55f Author: Lapo Calamandrei Date: Mon Feb 15 13:28:46 2016 +0100 Revert "Adwaita: no rounded corners for backdrop tiled windows" This reverts commit aa4b385398e99fed6dd71791eb5a9e2e5ea4db9d. Erroneusly pushed unfinished stuff... gtk/theme/Adwaita/_common.scss | 17 ++++++------- gtk/theme/Adwaita/_drawing.scss | 9 ------- gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++++++++++------------ 4 files changed, 62 insertions(+), 50 deletions(-) commit 4d266400450f681eafc4b28c0adbf035a049da59 Author: Lapo Calamandrei Date: Mon Feb 15 13:07:37 2016 +0100 Adwaita: shortcutswindow fixes use darker text and tweak the keycap vertical centering, addresses https://bugzilla.gnome.org/show_bug.cgi?id=761778 gtk/theme/Adwaita/_common.scss | 5 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) commit aa4b385398e99fed6dd71791eb5a9e2e5ea4db9d Author: Lapo Calamandrei Date: Mon Feb 15 12:34:55 2016 +0100 Adwaita: no rounded corners for backdrop tiled windows fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067 gtk/theme/Adwaita/_common.scss | 17 +++++++------ gtk/theme/Adwaita/_drawing.scss | 9 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++-------------------- 4 files changed, 50 insertions(+), 62 deletions(-) commit 0e9f24b5a47dff33c681b055df304bda3018c7f1 Author: Chun-wei Fan Date: Mon Feb 15 17:22:00 2016 +0800 gtk/gtkentry.c: Fix build on pre-C99 This file now uses nearbyint(), so include fallback-c89.c so that compilers that don't provide the function will not get upset. gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f3f3a1c75077f0f1a616dcac6fea63c20cc6ce26 Author: Chun-wei Fan Date: Mon Feb 15 14:34:12 2016 +0800 Fix 'make dist' gtk/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit beb76936d9f562fbaed46fc6eb22957733aa8b36 Author: Benjamin Otte Date: Mon Feb 15 04:40:03 2016 +0100 cellrenderertoggle: Use "check" and "radio" names ... instead of just adding a style class. gtk/gtkcellrenderertoggle.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit a4a158e8853daf96947041552d1f3ddc7c0f4506 Author: Benjamin Otte Date: Mon Feb 15 04:28:13 2016 +0100 win32 theme: Remove a bunch of workarounds that are no longer necessary gtk/theme/win32/gtk-win32-base.css | 37 ------------------------------------- 1 file changed, 37 deletions(-) commit b227d023f3b2fc512d364b2297d885184d4444c2 Author: Benjamin Otte Date: Mon Feb 15 01:47:43 2016 +0100 win32 theme: Draw checkmarks and radiomarks properly Instead of drawing them as the background, use -gtk-icon-source. Also size the marks properly. Because Windows doesn't have indeterminate radio buttons, use a cross-fade between checked and unchecked radiomark instead. But unlike previously, use CSS cross-fade() syntax to draw it. gtk/theme/win32/gtk-win32-base.css | 223 ++++++++++++++++++++++++------------- 1 file changed, 148 insertions(+), 75 deletions(-) commit de38435921ebec9a1a31640140a3eea86c907d4e Author: Benjamin Otte Date: Mon Feb 15 01:46:29 2016 +0100 cssimagecrossfade: Fix order of images when parsing/printing The syntax is cross-fade( , ), not the other way around. That's because the percentage refers to the end image. gtk/gtkcssimagecrossfade.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit f425b5549c49146ba3b751672e79f70d5e5572d7 Author: Benjamin Otte Date: Mon Feb 15 00:49:29 2016 +0100 win32: Add support for -gtk-win32-part-width/height to CSS It's unused by now, but I want it for min-width of checks/radios. gtk/gtkcssnumbervalue.c | 8 +- gtk/gtkcsswin32sizevalue.c | 214 ++++++++++++++++++++++++++++++++++++++------- gtk/gtkwin32theme.c | 53 ++++++++++- gtk/gtkwin32themeprivate.h | 6 ++ 4 files changed, 245 insertions(+), 36 deletions(-) commit b43844f9f91d4c24ef1300c2a088050ef960bc6b Author: Benjamin Otte Date: Sun Feb 14 20:36:38 2016 +0100 win32 theme: Don't set the color on * Instead, set it on .background, so it gets inherited everywhere. gtk/theme/win32/gtk-win32-base.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 6d909018f753a4cb6b2a3bb0b70f63fa791744ea Author: Benjamin Otte Date: Sun Feb 14 18:01:07 2016 +0100 win32 theme: Use same spinner as Adwaita gtk/theme/win32/gtk-win32-base.css | 345 ++----------------------------------- 1 file changed, 15 insertions(+), 330 deletions(-) commit 3597baf272816a0f2573c4c5b755969399b722e9 Author: Benjamin Otte Date: Sun Feb 14 16:18:56 2016 +0100 win32: Update color handling to recent GtkWin32Theme changes gtk/gtkcsscolorvalue.c | 62 +++++++++++++++++++++++++++------------------- gtk/gtkwin32theme.c | 43 +++++++++++++++----------------- gtk/gtkwin32themeprivate.h | 12 ++++----- 3 files changed, 63 insertions(+), 54 deletions(-) commit a1617c6d6d2e84abe6f6cc1c0df1ac38c144b550 Author: Benjamin Otte Date: Sun Feb 14 04:51:37 2016 +0100 win32: Canonicalize theme-name before adding to hash table This way, we get rid of du0plicates. gtk/gtkwin32theme.c | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit d584e22e021b15446e60ef451160211ae3347bb7 Author: Benjamin Otte Date: Sun Feb 14 01:11:57 2016 +0100 win32: Add gtk_win32_theme_parse() So all places can use this function instead of parsing things themselves. gtk/gtkcssimagewin32.c | 13 +++---------- gtk/gtkcsswin32sizevalue.c | 19 ++++++------------- gtk/gtkwin32theme.c | 21 ++++++++++++++++++++- gtk/gtkwin32themeprivate.h | 2 +- 4 files changed, 30 insertions(+), 25 deletions(-) commit 3b19db425e63fb6f16b1daf4c8da288c631e1cc0 Author: Benjamin Otte Date: Sun Feb 14 00:54:37 2016 +0100 css: Add a number value handling win32 sizes gtk/Makefile.am | 2 + gtk/gtkcssnumbervalue.c | 6 +- gtk/gtkcssstylefuncs.c | 46 +++++---- gtk/gtkcsswin32sizevalue.c | 196 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcsswin32sizevalueprivate.h | 32 +++++++ gtk/gtkwin32theme.c | 99 ++++++------------- gtk/gtkwin32themeprivate.h | 10 +- 7 files changed, 295 insertions(+), 96 deletions(-) commit 915fe87a629319c3a089874c148ec5b4319e3f09 Author: Lapo Calamandrei Date: Sun Feb 14 22:30:32 2016 +0100 Adwaita: fix treeview dnd column headers gtk/theme/Adwaita/_common.scss | 30 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 24 +++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 24 +++++++++++++++++------- 3 files changed, 49 insertions(+), 29 deletions(-) commit 54b378b3df0e3c89bed0b715977d4e8cc8dee090 Author: Lapo Calamandrei Date: Sun Feb 14 21:48:31 2016 +0100 Adwaita: flatten up search bars and inline toolbars gtk/theme/Adwaita/_common.scss | 8 +++----- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +-- gtk/theme/Adwaita/gtk-contained.css | 3 +-- 3 files changed, 5 insertions(+), 9 deletions(-) commit f1b34a719e92847a6eb5429f0389350cb2e577e8 Author: Lapo Calamandrei Date: Sun Feb 14 21:06:38 2016 +0100 Adwaita: image-button sizing fix gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 16 insertions(+) commit 3c9a63bcb1336449f76432606fc7dcc838c5a1a4 Author: Matthias Clasen Date: Sun Feb 14 14:54:49 2016 -0500 Adwaita: Fix a padding problem in action bars Padding adds up. A selector like "actionbar box" matches any box inside an actionbar, so nested boxes accumulate more and more padding. The intention clearly was to just give padding to the topmost box that is the direct child of the actionbar's revealer. https://bugzilla.gnome.org/show_bug.cgi?id=762036 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit e0bf1289b96c99e67ece70c8c960dab875ed085a Author: Matthias Clasen Date: Sun Feb 14 10:49:22 2016 -0500 gtk3-demo: Fontify all source files demos/gtk-demo/main.c | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) commit c0a61c2da3c358e71f0d29ceda2e761f5b6878af Author: Matthias Clasen Date: Sun Feb 14 09:39:15 2016 -0500 gtk-demo: Streamline application Avoid the odd #ifdef STANDALONE construction; we can show multiple source files nowadays. demos/gtk-demo/Makefile.am | 4 +- demos/gtk-demo/application-standalone.c | 3 - demos/gtk-demo/application.c | 101 +------------------------------- demos/gtk-demo/application_demo.c | 95 ++++++++++++++++++++++++++++++ demos/gtk-demo/demo.gresource.xml | 5 +- 5 files changed, 102 insertions(+), 106 deletions(-) commit fc90bd5e302f0146ee7fa4cdcaf06b6ffef41e7c Author: Matthias Clasen Date: Sun Feb 14 09:29:55 2016 -0500 gtk-demo: Fix the size saving for CSD We need to use gtk_window_get_size to get the correct size that we can pass to gtk_window_set_default_size regardless of CSD or not. demos/gtk-demo/application.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 601e762973e9f79e6429f85804a9346d73f41bb8 Author: Lapo Calamandrei Date: Sun Feb 14 16:38:42 2016 +0100 Adwaita: correct spacing for mixed buttons gtk/theme/Adwaita/_common.scss | 19 +++++++++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 22 ++++++++++++++++------ gtk/theme/Adwaita/gtk-contained.css | 22 ++++++++++++++++------ 3 files changed, 49 insertions(+), 14 deletions(-) commit 6edb420e510e5bed5f5d67b1a3b48670fba32287 Author: Benjamin Otte Date: Sun Feb 14 16:10:07 2016 +0100 paned: Fix drawing Clip children to their window's size. That way no overdraw happens for these widgets. But don't clip the handle. We might in the future consider not clipping un-shrinkable children. https://bugzilla.gnome.org/show_bug.cgi?id=762021 gtk/gtkpaned.c | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) commit 88f0885638674295bb73171e0c852fc78662106a Author: Benjamin Otte Date: Sun Feb 14 16:07:06 2016 +0100 paned: Use content allocation instead of widget allocation We don't want to include padding and borders in our calculations involving the handle. gtk/gtkpaned.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 7e47418d0cf93acc73a6ad2d274aa0ac45470d8c Author: Benjamin Otte Date: Sun Feb 14 15:52:19 2016 +0100 paned: rtl-flip with the correct rectangle gtk/gtkpaned.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit 1bfbd23a0c692cf8b19dd86448eaa9ba8e6cb8af Author: Lapo Calamandrei Date: Sun Feb 14 14:44:57 2016 +0100 Adwaita: don't set a border for drop targets to avoid active drop targets to grow. gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) commit bf45d06a7915b5cf212aebe341187f2af6a6de5e Author: Lapo Calamandrei Date: Sun Feb 14 14:33:30 2016 +0100 Adwaita: scss cosmetic changes gtk/theme/Adwaita/_common.scss | 53 ++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 28 deletions(-) commit 72db203672e706c05f3129f54b549199805c21fb Author: Lapo Calamandrei Date: Sun Feb 14 14:21:01 2016 +0100 Adwaita: fix scale popup button size gtk/theme/Adwaita/_common.scss | 13 +++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 9 +++------ gtk/theme/Adwaita/gtk-contained.css | 9 +++------ 3 files changed, 11 insertions(+), 20 deletions(-) commit ea423318f17ae1167da3f955533c73c0a5303682 Author: Michael Catanzaro Date: Sat Feb 13 22:14:55 2016 -0600 Fix a typo gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3a499d61dce4c2dbcafc7a401d17bce3de127bd9 Author: Matthias Clasen Date: Sat Feb 13 22:53:16 2016 -0500 gtk-demo: Add window size saving example Implement the recommendations from https://wiki.gnome.org/HowDoI/SaveWindowState in the Application Class example. demos/gtk-demo/application.c | 151 ++++++++++++++++++++++++++++---- demos/gtk-demo/application.ui | 11 +-- demos/gtk-demo/org.gtk.Demo.gschema.xml | 9 ++ 3 files changed, 148 insertions(+), 23 deletions(-) commit 7bca66e1ff816f45f02682733346469675b2c915 Author: Matthias Clasen Date: Sat Feb 13 21:46:40 2016 -0500 gtk-demo: modernize the application demo Subclass GtkApplication and GtkApplicationWindow and use a template. demos/gtk-demo/application.c | 185 ++++++++++++++++++++---------------------- demos/gtk-demo/application.ui | 166 +++++++++++++++++++++---------------- 2 files changed, 186 insertions(+), 165 deletions(-) commit 7f2d4400ba429a1f660bbece8bad3a8548f707f0 Author: Lapo Calamandrei Date: Sun Feb 14 02:35:28 2016 +0100 Adwaita: try being smarter wrt extending buttons. gtk/theme/Adwaita/_common.scss | 119 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 1375 +++++++++++------------------- gtk/theme/Adwaita/gtk-contained.css | 1373 +++++++++++------------------ 3 files changed, 1097 insertions(+), 1770 deletions(-) commit adddd1a9eb54f88df920fb6952f557a4e6b29bff Author: Lapo Calamandrei Date: Sun Feb 14 01:20:02 2016 +0100 Revert "Adwaita: remove an unneded selector." This reverts commit 05dff4ccb014e32b572505fb098006aa80a72387. It was needed actually... gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 251 +++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 251 +++++++++++++++++++++++-------- 3 files changed, 373 insertions(+), 130 deletions(-) commit 05dff4ccb014e32b572505fb098006aa80a72387 Author: Lapo Calamandrei Date: Sun Feb 14 00:34:29 2016 +0100 Adwaita: remove an unneded selector. gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 251 ++++++++----------------------- gtk/theme/Adwaita/gtk-contained.css | 251 ++++++++----------------------- 3 files changed, 130 insertions(+), 373 deletions(-) commit 12daac76d78b7bfd25db5042e03ed10c408ef2db Author: Lapo Calamandrei Date: Sun Feb 14 00:25:04 2016 +0100 Adwaita: notebook arrow styling. gtk/theme/Adwaita/_common.scss | 33 +- gtk/theme/Adwaita/gtk-contained-dark.css | 646 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 646 ++++++++++++++++++++++--------- 3 files changed, 975 insertions(+), 350 deletions(-) commit 29a7373802da8130f39435cda620cdc18fc50a9e Author: Matthias Clasen Date: Sat Feb 13 17:11:59 2016 -0500 widget-factory: Add an inline toolbar example This pattern is still used in applications, so we should have it represented here to keep it working well. demos/widget-factory/widget-factory.c | 128 +++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 66 +++++++++++++---- 2 files changed, 182 insertions(+), 12 deletions(-) commit 35bed27b9d37eea418472a75ecfe3ae852eaaea6 Author: Matthias Clasen Date: Fri Feb 12 23:40:26 2016 -0500 Docuemnt calc() support in CSS docs/reference/gtk/css-properties.xml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 3f4f914fb46edb379f1a1477c7738d026a00046c Author: Chao-Hsiung Liao Date: Sat Feb 13 06:19:31 2016 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 3585 +++++++++++++++++++++++++----------------------- 1 file changed, 1863 insertions(+), 1722 deletions(-) commit ecdd420b55184a56372bb2af657fea8a380d19ed Author: Chao-Hsiung Liao Date: Sat Feb 13 06:17:15 2016 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 1793 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 964 insertions(+), 829 deletions(-) commit d3e8cf87aa5cfa3f10f6732c5a36c00e4ae82639 Author: Benjamin Otte Date: Sat Feb 13 06:41:29 2016 +0100 testsuite: Don't use deprecated APIs testsuite/gtk/gestures.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit e7470be7bf2d59b5e54538a728d5be3a8d90140c Author: Benjamin Otte Date: Sat Feb 13 06:26:42 2016 +0100 tests: Port testlockbutton to GTask Get rid of deprecations that way. tests/testlockbutton.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 93eec3e52f31f958ca7790e0eaa002e6975c4b57 Author: Benjamin Otte Date: Sat Feb 13 04:47:51 2016 +0100 css: Implement transitions for numbers of different units We now can transition from 10px to 100%. Note that this requires a teensy tiny hack in gtk_css_value_transition(), but so be it. gtk/gtkcsscalcvalue.c | 11 +---------- gtk/gtkcssdimensionvalue.c | 17 +---------------- gtk/gtkcssnumbervalue.c | 19 +++++++++++++++++++ gtk/gtkcssnumbervalueprivate.h | 4 ++++ gtk/gtkcssvalue.c | 4 +++- 5 files changed, 28 insertions(+), 27 deletions(-) commit 0cda3ba3e8fb70d3b88b2b810ee7b988ef5f631d Author: Benjamin Otte Date: Sat Feb 13 04:12:45 2016 +0100 calc: Allow subterms with '(' ')' bracketing Some more tests included. gtk/gtkcsscalcvalue.c | 19 +++++++++++++++++++ testsuite/css/parser/calc-errors.css | 16 ++++++++++++++++ testsuite/css/parser/calc-errors.errors | 4 ++++ testsuite/css/parser/calc.css | 16 ++++++++++++++++ testsuite/css/parser/calc.ref.css | 16 ++++++++++++++++ 5 files changed, 71 insertions(+) commit 63d1f8074287e4001b74b2f52018f32fe0b9cb7b Author: Benjamin Otte Date: Sat Feb 13 03:56:12 2016 +0100 css: Add support for '*' and '/' to calc() More tests are included. gtk/gtkcsscalcvalue.c | 101 ++++++++++++++++++++++++++++++- testsuite/css/parser/Makefile.am | 3 + testsuite/css/parser/calc-errors.css | 59 ++++++++++++++++++ testsuite/css/parser/calc-errors.errors | 15 +++++ testsuite/css/parser/calc-errors.ref.css | 0 testsuite/css/parser/calc.css | 4 ++ testsuite/css/parser/calc.ref.css | 4 ++ 7 files changed, 183 insertions(+), 3 deletions(-) commit 4a9fa1e7505651c3074b1a620047f6bfc5158a5a Author: Benjamin Otte Date: Sat Feb 13 02:31:47 2016 +0100 css: Add API to handle order when printing calc() Also, add some tests and update old ones to print calc() statements correctly. gtk/gtkcsscalcvalue.c | 20 +++++++++++++++++++- gtk/gtkcssdimensionvalue.c | 30 +++++++++++++++++++++++++++++- gtk/gtkcssnumbervalue.c | 21 +++++++++++++++++++++ gtk/gtkcssnumbervalueprivate.h | 2 ++ testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/calc.css | 14 +++++++++++++- testsuite/css/parser/calc.ref.css | 19 +++++++++++++++++++ 7 files changed, 104 insertions(+), 3 deletions(-) commit 65dd9da44a0a9d5ee211e36c6a779a682469e106 Author: Benjamin Otte Date: Fri Feb 12 07:59:06 2016 +0100 css: Add support for sums to calc() This requires adding code to do math on number values: gtk_css_number_value_multiply() and gtk_css_number_value_try_add() were added to achieve that. Some tests are included. gtk/gtkcsscalcvalue.c | 282 ++++++++++++++++++++++++++++++++++----- gtk/gtkcsscalcvalueprivate.h | 3 + gtk/gtkcssdimensionvalue.c | 21 ++- gtk/gtkcssnumbervalue.c | 36 +++++ gtk/gtkcssnumbervalueprivate.h | 10 ++ testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/calc.css | 7 + 7 files changed, 324 insertions(+), 36 deletions(-) commit cd6dc954f2bd173903d805fe3c4810ae25e82490 Author: Benjamin Otte Date: Fri Feb 12 06:56:14 2016 +0100 css: Add initial support for calc() So far, calc() only supports literals, ie it's completely useless. gtk/Makefile.am | 2 + gtk/gtkcsscalcvalue.c | 152 +++++++++++++++++++++++++++++++ gtk/gtkcsscalcvalueprivate.h | 30 ++++++ gtk/gtkcssnumbervalue.c | 7 +- testsuite/css/parser/Makefile.am | 2 + testsuite/css/parser/calc-simple.css | 31 +++++++ testsuite/css/parser/calc-simple.ref.css | 41 +++++++++ 7 files changed, 264 insertions(+), 1 deletion(-) commit a52ecd2be61ee46b41267614484ed0401ac5cbc1 Author: Benjamin Otte Date: Fri Feb 12 06:45:06 2016 +0100 css: Add gtk_css_number_value_can_parse() Use it instead of _gtk_css_parser_has_number(). We need that once we introduce calc() support. gtk/gtkcssbgsizevalue.c | 2 +- gtk/gtkcssbordervalue.c | 2 +- gtk/gtkcsscornervalue.c | 2 +- gtk/gtkcssimagecrossfade.c | 2 +- gtk/gtkcssimagelinear.c | 4 ++-- gtk/gtkcssimageradial.c | 6 +++--- gtk/gtkcssnumbervalue.c | 6 ++++++ gtk/gtkcssnumbervalueprivate.h | 1 + gtk/gtkcsspositionvalue.c | 4 ++-- gtk/gtkcssshadowvalue.c | 6 +++--- gtk/gtkcssshorthandpropertyimpl.c | 14 +++++++------- 11 files changed, 28 insertions(+), 21 deletions(-) commit b246d55472cdf7f8589a8cd8627e9dc4aead2fdd Author: Benjamin Otte Date: Fri Feb 12 06:25:50 2016 +0100 css: Turn number values into a virtual type GtkCssNumberValue is now a base class for numbers. Actual numbers are now implemented in GtkCssDimensionValue. The name is borrowed from the CSS spec, so there. gtk/Makefile.am | 2 + gtk/gtkcssdimensionvalue.c | 293 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcssdimensionvalueprivate.h | 35 +++++ gtk/gtkcssnumbervalue.c | 266 +++------------------------------- gtk/gtkcssnumbervalueprivate.h | 12 +- gtk/gtkcssparser.c | 9 +- 6 files changed, 365 insertions(+), 252 deletions(-) commit e2d966eda52ed8833ebdafdc7d6d43284a503453 Author: Benjamin Otte Date: Fri Feb 12 04:40:35 2016 +0100 cssnumbervalue: Remove gtk_css_number_value_get_unit() This is in preparation for calc(), as calc(50% - 5px) is valid CSS but has 2 units. Instead, add a function to query a value's dimension (so we can differentiate lengths from numbers) and add a function to query if the value contains percentages. gtk/gtkcssimageradial.c | 2 +- gtk/gtkcssnumbervalue.c | 16 ++++++++++++---- gtk/gtkcssnumbervalueprivate.h | 4 +++- gtk/gtkcssshorthandpropertyimpl.c | 2 +- gtk/gtkcsstypes.c | 38 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 10 ++++++++++ gtk/gtkrenderborder.c | 4 ++-- 7 files changed, 67 insertions(+), 9 deletions(-) commit 7b301fcece6a9f2a18afc2e5e2169da9b6545bbf Author: Benjamin Otte Date: Fri Feb 12 04:09:44 2016 +0100 linear-gradient: Remove the hack using NUMBER Instead, add a "side" member to the struct that keeps sides explicitly. gtk/gtkcssimagelinear.c | 63 ++++++++++++++++++++---------------------- gtk/gtkcssimagelinearprivate.h | 3 +- 2 files changed, 32 insertions(+), 34 deletions(-) commit 06454250461f2586cdc4d62fdf4504eb1ba8e163 Author: Benjamin Otte Date: Fri Feb 12 21:22:23 2016 +0100 cssimageradial: Don't print 2 spaces gtk/gtkcssimageradial.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 51af70495ae1be03c4faadbbfe91234f165ddcaa Author: Matthias Clasen Date: Fri Feb 12 22:26:04 2016 -0500 gadget: Be careful in geometry calculations Margins can be negative, and if we are not careful, then content+padding+margin can end up with negative dimensions, which can upset pixman and others. This commit ensures that a gadget will not request or draw boxes with negative dimensions, and get_border_allocation and get_content_allocation will not return boxes with negative dimensions. This fixes a crash in the paned separator drawing code that can be reproduced by setting separator padding to 0. https://bugzilla.gnome.org/show_bug.cgi?id=759657 gtk/gtkcssgadget.c | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) commit 71559c603e8cfdbe7cba03344f244a6ce84545a4 Author: Matthias Clasen Date: Fri Feb 12 22:05:40 2016 -0500 file chooser: Avoid nonworking search+save combinations With the location entry up in the header bar in save mode, we can end up with the search model being in use when the user types in the location entry. In this case, we don't make the Save button sensitive as we should. Having two entries in the dialog is somewhat confusing anyway, so just stop the search when the user starts typing in the location entry. https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 811a9b21c1bb226236d2a880f9cbbcbcf6028c2e Author: Matthias Clasen Date: Fri Feb 12 20:35:26 2016 -0500 file chooser: Use the right model when getting the selection We don't need to make assumptions about which model is currently used since gtk_tree_selection_get_selection hands us the model. https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4c37719639ee5121d729c81d8ab30a23670de559 Author: Matthias Clasen Date: Fri Feb 12 18:24:20 2016 -0500 Adwaita: Insensitive notebook arrows Just make insensitive notebook arrows gray until better styling appears. https://bugzilla.gnome.org/show_bug.cgi?id=761716 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 102b3bfddf9a5d76c4b70d8e6106aac088b6f22b Author: Matthias Clasen Date: Fri Feb 12 18:09:41 2016 -0500 paned: Draw handle before children gtk/gtkpaned.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d55b8151f27857ff4663ce05cbf6636b5ae50a02 Author: Carlos Garnacho Date: Fri Feb 12 21:59:29 2016 +0100 x11: Avoid setting has_pointer_focus if a EWMH compliant WM is present This is mostly useful to have focus behave sanely on lack of WM, so avoid any check there if we're positive there is a WM handling focus. https://bugzilla.gnome.org/show_bug.cgi?id=677329 gdk/x11/gdkdevicemanager-core-x11.c | 6 +++++- gdk/x11/gdkeventsource.c | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) commit 48d7219296084e73adcde7b09a8e550d7323deb7 Author: Matthias Clasen Date: Fri Feb 12 15:01:58 2016 -0500 paned: Don't overdraw When moving children 'off', we can't allow them to draw outside the paned allocation, so clip when drawing. https://bugzilla.gnome.org/show_bug.cgi?id=761903 gtk/gtkpaned.c | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) commit 5562f4f273200f4617ccacf7f0c4198dfdbdd5f4 Author: Caolán McNamara Date: Thu Feb 11 17:22:31 2016 +0000 gtk-demo: spinbutton and menubar examples https://bugzilla.gnome.org/show_bug.cgi?id=761900 demos/gtk-demo/foreigndrawing.c | 87 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 86 insertions(+), 1 deletion(-) commit eb90c4f9ed2a786585a1f425f815a385bdab2faf Author: Jakub Steiner Date: Fri Feb 12 14:38:03 2016 +0100 Adwaita: make popovers less 1995 - use regular bgcolor gtk/theme/Adwaita/_colors.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 170cb016759c4a949c7cd81291da498395f18fb3 Author: Carlos Garcia Campos Date: Fri Feb 12 13:21:14 2016 +0100 Revert "Remove _gtk_box_get_children" This reverts commit 572e9a04027e213082a5b257e5d662a5daa32667. _gtk_box_get_children was not doing exactly the same than gtk_container_get_children does, because the latter uses the forall implementation of GtkBox that takes into account the children pack mode while the former just iterated the list of children. This broke the order of the buttons in a GtkButtonBox when they were packaged with PACK_END. gtk/gtkbbox.c | 4 ++-- gtk/gtkbox.c | 24 ++++++++++++++++++++++++ gtk/gtkboxprivate.h | 1 + 3 files changed, 27 insertions(+), 2 deletions(-) commit 452d25b13ddfdcd194a56df9605f83c80f86af95 Author: Matthias Clasen Date: Thu Feb 11 22:51:35 2016 -0500 placessidebar: Increase padding This should bring us back to the look of 3.18. https://bugzilla.gnome.org/show_bug.cgi?id=761791 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit a47d9a7b65166eedd5b1ab5acb34a38f46725c31 Author: Colomban Wendling Date: Wed Feb 10 19:43:34 2016 +0100 treeview: Make sure the editing widget's top left is always visible https://bugzilla.gnome.org/show_bug.cgi?id=761838 gtk/gtktreeview.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 32804e098e02dc3ffcffaf954b41bc6f30944746 Author: Matthias Clasen Date: Thu Feb 11 22:35:11 2016 -0500 Adwaita: Don't grow flat entries Entries in treeviews and similar embedded situations don't really work well if their height is forced to be big. Take out the min-height for these. https://bugzilla.gnome.org/show_bug.cgi?id=761686 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 85b44a3e20d203ce9084ab515a284c2872e12294 Author: Caolán McNamara Date: Tue Jan 26 12:08:01 2016 +0000 cannot not -> must https://bugzilla.gnome.org/show_bug.cgi?id=761826 gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56ba81530ab4b863122a55f5f90191e4ea5a1be5 Author: Matthias Clasen Date: Thu Feb 11 22:15:43 2016 -0500 placesview: Fix some minor issues Make the button not grow too big, and ensure that the actionbar has a background. https://bugzilla.gnome.org/show_bug.cgi?id=761792 gtk/ui/gtkplacesview.ui | 4 ++++ 1 file changed, 4 insertions(+) commit 23d2f2d0e1531a63b6a9cbfd3528a9aa87f2ddcf Author: Matthias Clasen Date: Thu Feb 11 22:03:47 2016 -0500 Adwaita: tone down treeview separators gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++-- gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) commit 3bf1151051045591243e23c900a01c55cc057d42 Author: John Ralls Date: Thu Feb 11 13:49:07 2016 -0800 Fix Quartz clipboard image retrieval. It does no good to iterate through a series of mime types to call a function when the eventually-called function, _gtk_quartz_get_selection_data_from_pasteboard() in this case, gives the wrong answer and stops the iteration on all but one especially if that one isn't first. The one is "image/tiff" and the quartz pasteboard function will return any image type Quartz knows about for it, so lose the iteration and use only "image/tiff". gtk/gtkclipboard-quartz.c | 119 ++++++++++++++++++++++------------------------ 1 file changed, 57 insertions(+), 62 deletions(-) commit 1bd0431ab2ad90c59b81516e8375298a5f1aaa8b Author: Lapo Calamandrei Date: Thu Feb 11 18:38:31 2016 +0100 Adwaita: fix bogus selector... ...ruining the indeterminate check animation gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 460aa64c58b6b12d49b132b7c4df0eadf0070e34 Author: Lapo Calamandrei Date: Thu Feb 11 18:27:25 2016 +0100 Adwaita: animate check and radios gtk/theme/Adwaita/_common.scss | 31 ++++++++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 33 +++++++++++++++++++++++++++++++- gtk/theme/Adwaita/gtk-contained.css | 33 +++++++++++++++++++++++++++++++- 3 files changed, 95 insertions(+), 2 deletions(-) commit 90d5c7f9e85cf251db18d889181b0a8878f82309 Author: Emmanuele Bassi Date: Thu Feb 11 11:59:12 2016 +0000 mir: Add C++ guards Avoid missing symbols when compiling C++ including the GDK Mir backend header. https://bugzilla.gnome.org/show_bug.cgi?id=761829 gdk/mir/gdkmir.h | 4 ++++ 1 file changed, 4 insertions(+) commit bb15c53966db36a691f65fac5739f0829ffab330 Author: Matthias Clasen Date: Thu Feb 11 06:47:28 2016 -0500 notebook: fix arrow states Some code was confusing 0 with ARROW_NONE, causing us to not properly update the state of the arrow gadgets. gtk/gtknotebook.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f5d4fb1a0b24647a7fa90f5388902fa0e2c5c5d2 Author: Benjamin Otte Date: Thu Feb 11 04:14:56 2016 +0100 inspector: Don't use unused variables Windows-specific refactorings broke this. gtk/inspector/general.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 88b7dfdb1eebddf6be7ecd008b4419661480d645 Author: Benjamin Otte Date: Thu Feb 11 04:14:28 2016 +0100 win32: Move init code into windows-specific code Avoids warnings about undefined functions on non-windows. gtk/gtkwin32theme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4dfbaccd6760ed01066f7e0dbbe08b802dbd06e1 Author: Benjamin Otte Date: Mon Feb 8 04:07:40 2016 +0100 win32 theme: Add a GtkWin32Theme object This object wraps a HTHEME and takes care of recreating it on theme changes. gtk/gtkcssimagewin32.c | 24 +++- gtk/gtkcssimagewin32private.h | 2 +- gtk/gtkwin32theme.c | 253 +++++++++++++++++++++++++++--------------- gtk/gtkwin32themeprivate.h | 34 +++--- 4 files changed, 199 insertions(+), 114 deletions(-) commit 15198018785257d9dd305de810af6d73b23154b3 Author: Benjamin Otte Date: Mon Feb 8 02:49:34 2016 +0100 win32: Capture WM_THEMECHANGED We're not doing anything useful with it yet. This will follow in the coming commits. gtk/gtkwin32theme.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 99153ed585a798c7364dccb7349b46e875b74922 Author: Benjamin Otte Date: Mon Feb 8 02:26:26 2016 +0100 win32: Remove XP-specific code We don't support XP anymore. gtk/gtkwin32theme.c | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) commit a620a1d688958fc1f5522e03920a98e825bc4d7a Author: Benjamin Otte Date: Mon Feb 8 02:26:07 2016 +0100 win32: Remove unused functions / header includes gtk/deprecated/gtkstyleproperties.c | 1 - gtk/gtkcssstylepropertyimpl.c | 1 - gtk/gtksettings.c | 4 ---- gtk/gtkwin32theme.c | 12 ------------ gtk/gtkwin32themeprivate.h | 1 - 5 files changed, 19 deletions(-) commit 033fb5a879b0d3043e768e278e418255467d81d3 Author: Benjamin Otte Date: Sun Feb 7 23:48:46 2016 +0100 win32: Always pass a window to the default event filters This has to happen or the event filter cannot identify what type of display the event is from (ie if it's an XEvent, a broadway event or a win32 MSG. gdk/win32/gdkevents-win32.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit f9c2982ddc93e7431c29f194de2f9707691c229c Author: Benjamin Otte Date: Sun Feb 7 20:14:02 2016 +0100 testsuite: No warnings on type conversions please long is 32bit on win64, so it's int cast to pointer of different size, and gcc doesn't like that. testsuite/gtk/object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9efb275a13a82bc251c1d30d648811e0dddf7527 Author: Benjamin Otte Date: Sun Feb 7 19:20:09 2016 +0100 filechoosernativewin32: Remove unused variables gtk/gtkfilechoosernativewin32.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit dda959332f5a9b1d479f308b85e7b566a0b20a28 Author: Benjamin Otte Date: Sun Feb 7 19:19:36 2016 +0100 imcontextsimple: Remove unused variable on win32 gtk/gtkimcontextsimple.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit b561af25ece7d07d3ee99d232617e76217f2c4b3 Author: Benjamin Otte Date: Sun Feb 7 19:18:18 2016 +0100 testgtk: Compile without warnings on win32 tests/testgtk.c | 2 ++ 1 file changed, 2 insertions(+) commit 34db80c28b11f147dd0c2389a3fda0e013ad1bb9 Author: Benjamin Otte Date: Sun Feb 7 19:18:00 2016 +0100 tests: Remove unused variable tests/gtkoffscreenbox.c | 3 --- 1 file changed, 3 deletions(-) commit ce8a98e21b96e7bc37abfb013791a895d38f9313 Author: Benjamin Otte Date: Sun Feb 7 04:11:55 2016 +0100 win32 theme: Get rid of deprecated style properties That's pretty easy, because we can just delete them. The theme is broken either way. gtk/theme/win32/gtk-win32-base.css | 19 ++++++++----------- gtk/theme/win32/gtk.css | 2 -- 2 files changed, 8 insertions(+), 13 deletions(-) commit 9c700b2bc62e35c37d7d9d8b3c11b79526b82b41 Author: Benjamin Otte Date: Sun Feb 7 04:00:46 2016 +0100 win32 theme: Replace pseudoclasses with undeprecated ones gtk/theme/win32/gtk-win32-base.css | 356 ++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 84 ++++----- 2 files changed, 220 insertions(+), 220 deletions(-) commit 93ecb1d187f4a4d8a2353be88d5ddcdad7694072 Author: Benjamin Otte Date: Sun Feb 7 03:54:17 2016 +0100 win32 theme: Do a quick'n'dirty search/replace Try to replace the old style names with then new style names. The theme is still entirely way too broken. But at least one can see something. gtk/theme/win32/gtk-win32-base.css | 625 ++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 132 ++++---- 2 files changed, 377 insertions(+), 380 deletions(-) commit ec3ce21bebc30d787be7e95b1f94e531878a140f Author: Benjamin Otte Date: Sat Feb 6 06:35:41 2016 +0100 win32: Remove _gdk_display usge from dnd code gdk/win32/gdkdnd-win32.c | 52 ++++++++++++++++-------------------------------- 1 file changed, 17 insertions(+), 35 deletions(-) commit 7f266e1a0357ee65a8e64c330b1652371afea6f9 Author: Benjamin Otte Date: Sat Feb 6 05:53:51 2016 +0100 win32: Make cursor code work without _gdk_display gdk/win32/gdkcursor-win32.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) commit 76e56c503850c6f9a699d6cc1a5c4bf518a885b2 Author: Benjamin Otte Date: Sat Feb 6 05:46:09 2016 +0100 win32: Stop using _gdk_display global in device code Use gdk_device_get_display() instead. gdk/win32/gdkdevice-virtual.c | 2 +- gdk/win32/gdkdevicemanager-win32.c | 21 +++++++++++---------- gdk/win32/gdkdevicemanager-win32.h | 7 ++++--- gdk/win32/gdkevents-win32.c | 2 +- gtk/inspector/general.c | 11 +++++------ 5 files changed, 22 insertions(+), 21 deletions(-) commit ccbfa64d6793d244bf9fac4aea33c462f5a1bdbe Author: Benjamin Otte Date: Sat Feb 6 05:23:32 2016 +0100 win32embedwidget: Mark deprecated sections gtk/gtkwin32embedwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit ccc7e3058cc39fd971830e8413c29ed2dfec1f0a Author: Benjamin Otte Date: Sat Feb 6 04:33:50 2016 +0100 filechoosernativewin32: Silence gcc gtk/gtkfilechoosernativewin32.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 068f8a3da128b9cda12969e65012812f59ef764e Author: Benjamin Otte Date: Sat Feb 6 04:33:14 2016 +0100 filechoosernativewin32: Add missing return type Looks like a line accidentally was deleted there. gtk/gtkfilechoosernativewin32.c | 1 + 1 file changed, 1 insertion(+) commit 117e303b4494e802638693c74ea95691964089de Author: Benjamin Otte Date: Sat Feb 6 04:24:39 2016 +0100 filechoosernativewin32: Define MSC_VER at top of file The headers we include might include windows headers which define _MSC_VER already. gtk/gtkfilechoosernativewin32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 0ea9131ff7bac876d5e1affcb1fadfdf0727127f Author: Benjamin Otte Date: Sat Feb 6 04:24:23 2016 +0100 printoperation-win32: Silence gcc gtk/gtkprintoperation-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 573f51cb29887d83c5c95e17378aaf7aa6aa9f32 Author: Benjamin Otte Date: Sat Feb 6 03:58:39 2016 +0100 mountoperation: Silence gcc Also, printf()ing a GPid should be forbidden. gtk/gtkmountoperation-stub.c | 2 +- gtk/gtkmountoperation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1d980192fa16fc4585151239c18afc1c988da397 Author: Benjamin Otte Date: Sat Feb 6 03:38:37 2016 +0100 immodule: Stop gcc from complaining gtk/gtkimmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 766b1b9886cd98ce2a27a054b07c401aa8cd6d4e Author: Benjamin Otte Date: Sat Feb 6 02:18:54 2016 +0100 win32: Remove deprecation warnings in dnd code gdk/win32/gdkdnd-win32.c | 42 +++++++++++++++--------------------------- 1 file changed, 15 insertions(+), 27 deletions(-) commit 4ce6d1060104e7072eec347370999bfd3fe69dc0 Author: Benjamin Otte Date: Sat Feb 6 02:18:28 2016 +0100 win32: Remove deprecation warnings in devicemanager code gdk/win32/gdkdevicemanager-win32.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 584931e94dbe21084ba71b3732a108b7e6da2928 Author: Benjamin Otte Date: Sat Feb 6 02:17:43 2016 +0100 win32: Use g_set_object() ... instead of a hand-rolled version that does the same thing. gdk/win32/gdkevents-win32.c | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) commit 788951c543eb99134cf9ae221809a4c6d92eaad8 Author: Benjamin Otte Date: Sat Feb 6 02:14:37 2016 +0100 win32: Fix empty body warning gdk/win32/gdkwindow-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bfd254c932e0c2d6552d306d754516ac71138d0e Author: Matthias Clasen Date: Wed Feb 10 21:20:34 2016 -0500 gtk-demo: Add more foreign drawing examples Add a notebook with an active tab. Based on a patch by Caolan McNamara. demos/gtk-demo/foreigndrawing.c | 49 +++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 22 deletions(-) commit 671552043ca3b9b90b42ec111b7e1efa5fdf7246 Author: Caolán McNamara Date: Wed Feb 10 21:01:54 2016 +0000 gtk-demo: attempt at a notebook with active box-shadow in tab demos/gtk-demo/foreigndrawing.c | 49 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) commit 8e6cc260cabc175fab90b10c9d3a44e3ec5f34d1 Author: Matthias Clasen Date: Wed Feb 10 16:10:23 2016 -0500 testgtk: Remove an unused variable tests/testgtk.c | 97 --------------------------------------------------------- 1 file changed, 97 deletions(-) commit 701cdda3dc74e25c4d5678b9b21040df55ddba9a Author: Caolán McNamara Date: Wed Feb 10 13:39:24 2016 +0000 gtk-demo: Add a menu to foreigndrawing and demo that the block arrows require GTK_STATE_FLAG_DIR_LTR or GTK_STATE_FLAG_DIR_RTL set to appear https://bugzilla.gnome.org/show_bug.cgi?id=761828 demos/gtk-demo/foreigndrawing.c | 60 +++++++++++++++++++++++++++++++++++------ 1 file changed, 52 insertions(+), 8 deletions(-) commit 751b69cbaeeb5344874e7843c1b21ea474f427fa Author: Rafael Fontenelle Date: Wed Feb 10 16:55:55 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 1180 ++++++++++++++++++++++++------------------------ 1 file changed, 594 insertions(+), 586 deletions(-) commit becfd18b07ed9230a68f3f03419dd4a8a0971704 Author: Timm Bäder Date: Wed Feb 10 14:03:56 2016 +0100 overlay: set css name gtk/gtkoverlay.c | 2 ++ 1 file changed, 2 insertions(+) commit bdd182f38ce6d5fba0872a2ace72f89c0197bde9 Author: Timm Bäder Date: Wed Feb 10 14:03:39 2016 +0100 frame: Set border gadget state after creating it gtk/gtkframe.c | 2 ++ 1 file changed, 2 insertions(+) commit c44364f1d1a0295034e7c59afdcf49870334f785 Author: Timm Bäder Date: Wed Feb 10 12:30:35 2016 +0100 spinbutton: Free the gadget in finalize gtk/gtkspinbutton.c | 1 + 1 file changed, 1 insertion(+) commit 8ea573b473067292dbe2a5695bec225336933c85 Author: Timm Bäder Date: Wed Feb 10 12:28:32 2016 +0100 css node tree: Fix crash This function would return "" whenever the state of the css node was unset, causing a crash when selecting the css node tree from the sidebar. gtk/inspector/css-node-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ad6043478a4b0de9a1c322e0f5b2620d7cd3f50 Author: Matthias Clasen Date: Wed Feb 10 00:07:37 2016 -0500 gtk-demo: Improve the tag implementation Add margins and make it so that clicking on margins next to links does not activate them. demos/gtk-demo/hypertext.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit a3a5cf1087278e3e727a74c75f2532bcb14ddca6 Author: Matthias Clasen Date: Wed Feb 10 00:01:54 2016 -0500 text view: Improve tag pointer tracking A problem that has been observed in polari is that links in tags are clickable all the way into the margin. This problem is caused by gtk_text_view_get_iter_at_position ignoring the return value of pango_layout_xy_to_index. Instead, pass it back as a boolean return value. This is technically an API break, but we've allowed ourselves to change return types from void to gboolean before. gtk/gtktextlayout.c | 39 ++++++++++++++++++++++++--------------- gtk/gtktextlayout.h | 20 ++++++++++---------- gtk/gtktextview.c | 48 +++++++++++++++++++++++++----------------------- gtk/gtktextview.h | 4 ++-- 4 files changed, 61 insertions(+), 50 deletions(-) commit 019dab7c38a0891f494749e9e8fb27c30e8a5f25 Author: Rui Matos Date: Tue Feb 9 15:30:00 2016 +0100 gtkmagnifier: Avoid a crash if the inspected widget is finalized If the inspected widget is finalized and we then try to disconnect from its signals we'll crash. https://bugzilla.gnome.org/show_bug.cgi?id=761775 gtk/gtkmagnifier.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 1331b60029fdc29f76a9a53d0c75521ea57c66ae Author: Timm Bäder Date: Tue Feb 9 08:05:16 2016 +0100 A few more documentation fixes gtk/gtkstacksidebar.c | 4 ++-- gtk/gtkswitch.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit c5369356e86171c5d955cf9252e5c6bcde88d554 Author: Timm Bäder Date: Mon Feb 8 22:49:01 2016 +0100 Various documentation fixes Always have Since: annotations at the very bottom, use the correct ClassName::signal-name/ClassName:property-name syntax, fix a few typos in type names, wrong function names, non-existing type names, etc. gtk/gtkfontchooserwidget.c | 4 ++-- gtk/gtkgesture.c | 4 ++-- gtk/gtkgesturedrag.c | 4 ++-- gtk/gtkgesturelongpress.c | 2 +- gtk/gtklabel.c | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtkmodelbutton.c | 2 +- gtk/gtknotebook.c | 2 +- gtk/gtkshortcutsshortcut.c | 2 +- gtk/gtkshortcutswindow.c | 2 +- gtk/gtkspinbutton.c | 2 +- gtk/gtkstack.c | 2 +- gtk/gtkstylecontext.c | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-) commit 76fedc188289c595ec3cf965b77803e362020973 Author: Rico Tzschichholz Date: Mon Feb 8 14:02:25 2016 +0100 gtk: Fix some return-values annotations (transfer none/full) gtk/gtkgesture.c | 2 +- gtk/gtkstacksidebar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit eb555979dbd457f3afddada4daf8b73f2cd66db6 Author: Ignacio Casal Quinteiro Date: Mon Feb 8 13:20:02 2016 +0100 win32: properly handle show and focus The first time a window is shown we should always call SW_SHOWNORMAL. Understand whether to call SW_SHOW or SW_SHOWNORMAL and the specific ones for the temporary windows depending on IsWindowVisible. This also fixes the problem when calling gtk_window_present and the window is snapped to the left or right of the screen. This patch is based on the patches provided by Yevgen Muntyan and Aleksander Morgado. https://bugzilla.gnome.org/show_bug.cgi?id=698652 gdk/win32/gdkwindow-win32.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 07a994c89f5892fd0d7fcf6b5f3448c28e75055b Author: Yevgen Muntyan Date: Mon Feb 8 09:24:12 2016 +0100 win32: on focus restore the window if iconified If the window is iconified we want to restore the window to get the proper size instead of showing it normal which would change the size of the window. https://bugzilla.gnome.org/show_bug.cgi?id=698652 gdk/win32/gdkwindow-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 76d0311ae36f43060c93f68dcef37c11178c7fe1 Author: Baurzhan Muftakhidinov Date: Mon Feb 8 08:54:59 2016 +0000 Updated Kazakh translation po/kk.po | 1686 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 904 insertions(+), 782 deletions(-) commit dc407dbc8fc09bf3c41cb88eb1b90c7640097dfe Author: Matthias Clasen Date: Mon Feb 8 09:34:24 2016 +0100 inspector: Avoid crash in magnifier We can't use gtk_widget_draw on widgets that are not allocated. gtk/inspector/magnifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0f31ab7bb97980494cd9b98ce8ca85f74de47ba Author: Matthias Clasen Date: Mon Feb 8 09:15:39 2016 +0100 Add css node tests for box packing More tests to ensure that CSS node order is always physical left-to-right. testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/box-packing.ltr.nodes | 6 +++++ testsuite/css/nodes/box-packing.ltr.ui | 38 +++++++++++++++++++++++++++++++ testsuite/css/nodes/box-packing.rtl.nodes | 6 +++++ testsuite/css/nodes/box-packing.rtl.ui | 38 +++++++++++++++++++++++++++++++ 5 files changed, 90 insertions(+) commit 486a0a467d045afdb23999041a2879f56992f470 Author: Timm Bäder Date: Sun Feb 7 08:29:49 2016 +0100 image: _get_style_context never returns NULL gtk/gtkimage.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit ded745a4b980874f15e351ff07a6b5eb787a8346 Author: Timm Bäder Date: Sat Feb 6 18:51:48 2016 +0100 Make gtk_icon_helper_invalidate private gtk/gtkiconhelper.c | 2 +- gtk/gtkiconhelperprivate.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) commit 0bd6c48315079978f36d00e2681d94ae8e504c78 Author: Timm Bäder Date: Sat Feb 6 09:24:36 2016 +0100 Add and use gtk_icon_helper_invalidate_for_change gtk/gtkiconhelper.c | 19 +++++++++++++++++-- gtk/gtkiconhelperprivate.h | 3 +++ gtk/gtkimage.c | 3 +-- 3 files changed, 21 insertions(+), 4 deletions(-) commit 0c80210685e2b60addbd7dd22c86b8536a79b142 Author: Timm Bäder Date: Sat Feb 6 09:23:11 2016 +0100 iconhelper: Save whether the surface is symbolic gtk/gtkiconhelper.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 0ec4c76d8f54a7e2127cafb1ba8c4bbe68fd30fa Author: Timm Bäder Date: Fri Feb 5 09:28:11 2016 +0100 stylepropertyimpl: Use GTK_CSS_AFFECTS_SYMBOLIC_ICON Things like color affect symbolic icons, but not colored icons, while other css properties like -gtk-icon-effect affect colored icons, but not symbolic ones. gtk/gtkcssstylepropertyimpl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 2d8db26cbf7ff5fea0b6dc80752419968bcf7a59 Author: Timm Bäder Date: Fri Feb 5 09:27:37 2016 +0100 csstypes: Add GTK_CSS_AFFECTS_SYMBOLIC_ICON gtk/gtkcsstypesprivate.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit d3a0dfe81a67ec39e12652f022fc43c16b421a67 Author: Timm Bäder Date: Fri Feb 5 10:28:13 2016 +0100 cssstylechange: Add helper function to print change So I don't have to print both styles to the console, paste them both into a file and then run diff on the 2 files anymore. gtk/gtkcssstylechange.c | 44 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssstylechangeprivate.h | 2 ++ 2 files changed, 46 insertions(+) commit 2902063f2437d8f8838234dbbba71e9db52b4bb1 Author: Timm Bäder Date: Sat Feb 6 09:27:00 2016 +0100 iconhelper: Un-duplicate some code gtk/gtkiconhelper.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit c360b5fb498985ca8d351e9c9d518b0d78b834ba Author: Timm Bäder Date: Fri Feb 5 10:00:46 2016 +0100 Remove more unnecessary redraws The call to gtk_widget_set_state_flags immediately before these already queues a redraw/allocate/resize in case they have to be queued. gtk/gtkcolorchooserwidget.c | 6 +----- gtk/gtkcombobox.c | 2 -- gtk/gtkflowbox.c | 2 -- gtk/gtklistbox.c | 2 -- gtk/gtkwindow.c | 2 -- 5 files changed, 1 insertion(+), 13 deletions(-) commit 667069cff28bfe172573e05d2966930682b39949 Author: Matthias Clasen Date: Sun Feb 7 18:00:29 2016 +0100 Adwaita: No rounded corners for fullscreen If the theme has rounded corners for fullscreen, we don't tell the window manager that we are now fully opaque, which then makes things less efficient than they should be. https://bugzilla.gnome.org//show_bug.cgi?id=761571 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit af64a60466bd0a8cdcd16d68731f3fc125a62dec Author: Matthias Clasen Date: Sun Feb 7 15:08:56 2016 +0100 box gadget: Fix allocation without baseline When we don't get a baseline passed in, we want to basically center the children inside the allocation. There was an attempt in the code to do 'internal baseline alignment', but it had the side effect of moving the contents to the top when we don't get a baseline passed in. Remove it for now, this needs some more infrastructure to do properly. https://bugzilla.gnome.org/show_bug.cgi?id=761363 gtk/gtkboxgadget.c | 21 --------------------- 1 file changed, 21 deletions(-) commit 5f01e6924f9abb56bade811cef21f0e436371b1e Author: Matthias Clasen Date: Sun Feb 7 15:00:58 2016 +0100 widget-factory: Update levelbar example Set reasonable level offsets. demos/widget-factory/widget-factory.ui | 5 +++++ 1 file changed, 5 insertions(+) commit 72a3f25a5e0c024925dbec6036c73bcb2caa771c Author: Daniel Mustieles Date: Sun Feb 7 13:18:58 2016 +0100 Updated Spanish translation po-properties/es.po | 510 ++++++++++++++++++++++++++-------------------------- 1 file changed, 258 insertions(+), 252 deletions(-) commit a1839a7a92200a2ec34e77d387f05f718329e6d2 Author: Daniel Mustieles Date: Sun Feb 7 13:18:49 2016 +0100 Updated Spanish translation po/es.po | 288 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 155 insertions(+), 133 deletions(-) commit 4a465e6832a7caadbe683a9723f907ba17c0f50a Author: Matthias Clasen Date: Sun Feb 7 11:37:30 2016 +0100 Fix levelbar css node tests These were affected by the recent change to level offset handling. At the same time, make the test files more realistic by updating the level offsets when we set a custom range. testsuite/css/nodes/levelbar.ltr.nodes | 30 +++++++++++++++--------------- testsuite/css/nodes/levelbar.ltr.ui | 15 +++++++++++++++ testsuite/css/nodes/levelbar.rtl.nodes | 30 +++++++++++++++--------------- testsuite/css/nodes/levelbar.rtl.ui | 15 +++++++++++++++ 4 files changed, 60 insertions(+), 30 deletions(-) commit c3c01d8cbcac8515ce8bd16ceef661dbe9920b1f Author: Matthias Clasen Date: Sun Feb 7 11:28:08 2016 +0100 level bar: Document buildable syntax gtk/gtklevelbar.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 1a524f374c2baeb035a1dd5e51a42cbf92b1d586 Author: Piotr Drąg Date: Sat Feb 6 19:32:03 2016 +0100 Updated Polish translation po-properties/pl.po | 2871 +++++++++++++++++++++++++++------------------------ po/pl.po | 1490 +++++++++++++------------- 2 files changed, 2294 insertions(+), 2067 deletions(-) commit ccd8c76ff2d73215e0785db8568ec500ed7a238d Author: Matthias Clasen Date: Sat Feb 6 16:42:25 2016 +0100 level bar: Fix offset behavior We had some odd special-casing for the lowest and highest offset that did not quite work. The new rule is simple: If the value is between offset n-1 and n, it gets the style for offset n. https://bugzilla.gnome.org/show_bug.cgi?id=761416 gtk/gtklevelbar.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 1a71579b61a51d9ae357f4919ac026a89ca0e195 Author: Matthias Clasen Date: Sat Feb 6 16:19:13 2016 +0100 level bar: Improve documentation The docs were not explaining at all what happens to existing level offsets when the min- or max-value of a level bar are changed. gtk/gtklevelbar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 8776bb53240318a03a46da6dae22d119075518fd Author: Matthias Clasen Date: Sat Feb 6 16:11:17 2016 +0100 level bar: Make the full offset official We are adding 3 offsets, not just two. Add a define for the third one, and mention it in the docs. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtklevelbar.c | 9 +++++---- gtk/gtklevelbar.h | 9 +++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) commit 7b668660a9cb3db089ca2b840f3f2eb5ec3cc8c4 Author: Dušan Kazik Date: Sat Feb 6 14:16:02 2016 +0000 Updated Slovak translation po/sk.po | 649 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 333 insertions(+), 316 deletions(-) commit 2ebae407ca743d09a82fd9a383b34779100c9fe6 Merge: 1cfa2f4 c80dd549 Author: Ray Strode Date: Sat Feb 6 08:03:27 2016 -0500 wayland: rework buffer management code (3 changes) There are a couple of issues with the way that buffers are handled in wayland in right. These issues mean that: - buffers can get leaked at a fairly fast clip under the right conditions. This leads to the OOM killer kicking in and gnome-shell and gnome-terminal (for instance) showing memory usage in the high gigabytes range. - drawing can happen to a shared memory buffer at the same time the compositor is reading out the pixels. This can lead to glitching in drawing and other undefined behavior by the compositor. This changeset reworks how buffer management is done in the code to try to address both problems. The first change (commit 2c300081) addresses the leak by dropping code that has an unchecked cairo_surface_reference call. The code is dropped rather than fixed, because it has a more serious issue: it's overarching purpose is to deal with shared memory buffer contention with the compositor, but it does it in a racy way and so fails at that mission. The second change (commit 40e91195a) moves what layer of the code buffer release events are handled. This is an organizational change in the code, with no functional changes, but it's important for the last change in the changeset. The last change (commit c80dd549) adds back code for dealing with shared member buffer contention in a race free way. The new code is careful to never reuse a buffer that hasn't been explicitly released by the compositor. commit c80dd549242abff7dfbf8f636da8a5e2c7d97b8f Author: Ray Strode Date: Fri Jan 29 11:19:03 2016 -0500 wayland: stage uncommitted changes to dedicated buffer Right now we use one buffer for both staged changes (freshly painted changes waiting for the frame clock to send to the compositor) and committed changes (changes actively being read by the compositor process). This creates a problem in the event we need to stage updates at the same time the compositor is processing committed updates: we can't change what the compositor is actively processing. The current solution for handling this contention is to allocate a temporary buffer on the spot at the time the updates are staged, and to copy that buffer back to the shared buffer later. The problem, though, is that the copy to the shared buffer currently happens as soon as the updates are finished being staged, not when the shared buffer is done being processed by the compositor. In order to address that problem, this commit changes the code to always stage changes to a dedicated staging buffer. The staging buffer is used exclusively by the client until the client is done with it, and then once that staging buffer is committed, the client never writes to that buffer again. If the client needs to stage new updates, it allocates a brand new staging buffer, draws to it, and back fills the undrawn parts of the buffer from a copy of the contents of the committed buffer. As an optimization, the compositor has the option of releasing the committed buffer back to the client. If it does so before the client needs to stage new updates, then the client will reuse the buffer for staging future updates. This optimization prevents having to allocate a new staging buffer and the associated cost of back filling that new buffer with a readback of the committed buffer. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 193 +++++++++++++++++++++++++++++++++------- 1 file changed, 159 insertions(+), 34 deletions(-) commit 40e91195ad8a20c073789dad192e7aaaf9af6eca Author: Ray Strode Date: Tue Feb 2 14:36:25 2016 -0500 wayland: don't handle buffer release centrally Right now we handle buffer releases coming from the compositor in a central place. We add a listener when first creating the shared buffers. This is problematic because a buffer can only have one listener on it at once so users of the buffer can't get notified when it's released. This commit moves the buffer listener code from the centrally managed display code to the cursor and window code. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkcursor-wayland.c | 18 ++++++++++++++++++ gdk/wayland/gdkdisplay-wayland.c | 14 -------------- gdk/wayland/gdkwindow-wayland.c | 16 ++++++++++++++++ 3 files changed, 34 insertions(+), 14 deletions(-) commit 2c300081c4fc4db6a345041cbf4942cb99cea793 Author: Ray Strode Date: Tue Feb 2 12:20:22 2016 -0500 wayland: always return FALSE from begin_paint The client and compositor share access to the window pixel buffers. After the client hands off (commits) the buffer to the compositor it's not supposed to write to it again until it's released by the compositor. The code tries to deal with this contention by allocating a temporary buffer and using that in the mean time. This temporary buffer is allocated by a higher layer of the code when begin_paint returns TRUE. Unfortunately, that layer of the code has no idea when the buffer is released, so it ends up blitting the temporary buffer back to the shared buffer prematurely. This commit changes begin_paint to always return FALSE. A future commit will address the contention problem in a different way. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkdisplay-wayland.c | 19 ------------------- gdk/wayland/gdkprivate-wayland.h | 2 -- gdk/wayland/gdkwindow-wayland.c | 9 +-------- 3 files changed, 1 insertion(+), 29 deletions(-) commit 1cfa2f41345d37c6efba30796cedf3817f396b8e Author: Ray Strode Date: Tue Feb 2 20:43:12 2016 -0500 wayland: use g_clear_pointer when destroying cairo surfaces There are a few places where we destroy a cairo surface and then nullify it. This commit changes those to use g_clear_pointer instead. It also drops a cairo_surface_finish call that is unnecessary https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit e6f92df57efaae67163c1364e53801c8d9ebee8b Author: Ray Strode Date: Wed Feb 3 10:12:23 2016 -0500 wayland: rename cairo surface user data key to be more specific This commit renames the key name to be more specific for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkdisplay-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3ac78ea0bee7507067f68c88bd7af20f1b8462f5 Author: Ray Strode Date: Tue Feb 2 11:42:52 2016 -0500 wayland: move server proxy objects to substructure This commit moves the server proxy objects to a substructure for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 249 ++++++++++++++++++++-------------------- 1 file changed, 124 insertions(+), 125 deletions(-) commit f90db30b9e4a98375a77e861fd7a5f3947f9f1a4 Author: Ray Strode Date: Tue Feb 2 11:27:54 2016 -0500 wayland: rename window->surface to window->wl_surface The name surface is really overloaded when dealing with wayland windows. To alleviate ambiguity, this commit changes the name of the "surface" and "subsurface" members to have a wl_ prefix. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 88 ++++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 44 deletions(-) commit 4d40bd447421eb3ce3fa8b12235c1c4472115d48 Author: Matthias Clasen Date: Sat Feb 6 09:58:46 2016 +0100 Fix stylecontext tests This was broken by f7ec9c98ef0ef8740c93f96af9d971b0211118c1, since type names are no longer used at all in CSS matching. testsuite/gtk/stylecontext.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit 2d1f1f3b81dcbdf2da54bb501a28f465bab4b1c3 Author: Matthias Clasen Date: Sat Feb 6 09:28:51 2016 +0100 Update CSS docs regarding type names We no longer use type names at all. docs/reference/gtk/css-overview.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit d48d3b359cdd0ab3cc615f7c194029d3265d9983 Author: Benjamin Otte Date: Fri Feb 5 23:47:48 2016 +0100 cssselector: Remove type references We don't use types anymore. gtk/gtkcssselector.c | 79 ++++++---------------------------------------------- 1 file changed, 8 insertions(+), 71 deletions(-) commit e8fca5bbbe6a40c15fd19d8c899b5f4fa7f17876 Author: Benjamin Otte Date: Fri Feb 5 23:43:05 2016 +0100 cssmatcher: Remove type argument from name matcher We no longer use types when matching names. gtk/gtkcssmatcher.c | 33 ++++++++------------------------- gtk/gtkcssmatcherprivate.h | 8 +++----- gtk/gtkcssselector.c | 2 +- 3 files changed, 12 insertions(+), 31 deletions(-) commit fe6d4cbdf5a2e09b10d8640b43f037accfbd2fe9 Author: Benjamin Otte Date: Fri Feb 5 19:31:03 2016 +0100 inspector: Drop type name from node list It's not used anymore in the CSS, so people don't need to see it. gtk/inspector/css-node-tree.c | 6 ------ gtk/inspector/css-node-tree.ui | 28 +++++++--------------------- 2 files changed, 7 insertions(+), 27 deletions(-) commit 0c126012083e55532e1da961edc4fad3303186f3 Author: Benjamin Otte Date: Fri Feb 5 19:01:48 2016 +0100 cssimageradial: Only allow at "" after other props Don't allow syntax like at top left circle but follow the spec about requiring the at right before the comma. This is porbably because circle at 10px 10px could be interpreted as circle 10px at 10px with the now disallowed syntax, too. Test included. gtk/gtkcssimageradial.c | 36 +++++++++++++++------------ testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/radial-positions.css | 9 +++++++ testsuite/css/parser/radial-positions.errors | 3 +++ testsuite/css/parser/radial-positions.ref.css | 0 5 files changed, 35 insertions(+), 16 deletions(-) commit 982da040b234f8c2da349a45111972d04c98f4a8 Author: Benjamin Otte Date: Fri Feb 5 18:30:28 2016 +0100 cssimageradial: Only emit one error for wrong position Test included. gtk/gtkcssimageradial.c | 5 +---- testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/radial-background-position-error.css | 3 +++ testsuite/css/parser/radial-background-position-error.errors | 1 + testsuite/css/parser/radial-background-position-error.ref.css | 0 5 files changed, 8 insertions(+), 4 deletions(-) commit f2e08d3a9c2edd68796c87526066f9d26594b70d Author: Matthias Clasen Date: Fri Feb 5 15:54:50 2016 +0100 css tests: Fix style tests Commit d0fd7990c3f2c738f86185418ccd76b14da8a776 changed the location of builtin themes, breaking the loading of the empty theme in test-css-style. testsuite/css/style/Empty.css | 0 testsuite/css/style/gtk.css | 0 testsuite/css/style/test-css-style.gresource.xml | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) commit 132abb8749f6c175a4277056ec04b7ed826a7d5e Author: Matthias Clasen Date: Fri Feb 5 15:50:35 2016 +0100 css tests: Fix expected output This is fallout from f7ec9c98ef0ef8740c93f96af9d971b0211118c1. testsuite/css/nodes/buttons.nodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5444442974f55df857b0c5169e481ac8abc93ea7 Author: Benjamin Otte Date: Fri Feb 5 14:50:37 2016 +0100 css: Convert numbers with GTK's dpi Don't hardcode 96 for dpi, but instead use the value of the -gtk-dpi property (that mirrors the GdkScreen's dpi if it wasn't set explicitly). This makes these values scale when the large font setting in control-center is enabled. gtk/gtkcssnumbervalue.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit e35e6abbb2ea824afd6db2d54d10666cd23ad54c Author: Benjamin Otte Date: Fri Feb 5 14:42:41 2016 +0100 css: Properly convert em, ex and rem to pixels The previous code converted to pt. gtk/gtkcssnumbervalue.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 56b1b08bb8239ffa2431969cd037f0f7241a7c64 Author: Lapo Calamandrei Date: Fri Feb 5 14:10:36 2016 +0100 Adwaita: darker background for popovers gtk/theme/Adwaita/_colors.scss | 2 ++ gtk/theme/Adwaita/_common.scss | 8 ++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 4 files changed, 14 insertions(+), 4 deletions(-) commit 61307deaf750569a833c093c219d1af1e9ceff6b Author: Matthias Clasen Date: Fri Feb 5 11:53:50 2016 +0100 levelbar: Make discrete levelbars behave as before During the gadget conversion, the drawing of discrete levelbars was unintentionally changed to draw a wide trough but narrow blocks, which does not look great. So go back to the previous way of drawing things. https://bugzilla.gnome.org/show_bug.cgi?id=761428 gtk/gtklevelbar.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 339023dee510dc4e5b0ee7c24631e09817726cfa Author: Matthias Clasen Date: Fri Feb 5 11:42:28 2016 +0100 Fix indentation gcc 6 complains about this. gtk/gtksizerequest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f60e144038a50c48ebbb928f4bf1bd8208d48f86 Author: Matthias Clasen Date: Fri Feb 5 06:53:11 2016 +0100 Document rem as CSS unit docs/reference/gtk/css-properties.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 680ec087ab22c300a6b938a20f8a9f95caf88c70 Author: Timm Bäder Date: Thu Feb 4 19:03:37 2016 +0100 switch: Don't queue draws after setting state flags gtk/gtkswitch.c | 4 ---- 1 file changed, 4 deletions(-) commit 0e7691c12ec2249b80e6f7d46f5e8f2aeecf345a Author: Benjamin Otte Date: Thu Feb 4 19:37:44 2016 +0100 css: Add rem unit Good luck, Lapo. gtk/gtkcssnumbervalue.c | 9 ++++----- gtk/gtkcssparser.c | 1 + gtk/gtkcsstypesprivate.h | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) commit f7ec9c98ef0ef8740c93f96af9d971b0211118c1 Author: Benjamin Otte Date: Thu Feb 4 17:22:39 2016 +0100 widget: Set a css name Now selecting a widget by class name no longer works. This is probably most relevant for users outside of GTK that want to style their own widgets. Those widgets should now either add their own style classes (if they want to adjust existing CSS) or use gtk_widget_class_set_css_name() themselves (if they want to get rid of all "upstream" styling). gtk/gtkwidget.c | 1 + 1 file changed, 1 insertion(+) commit 35cd0be46863b94eb7b1e0d214a1fbbca9187457 Author: Timm Bäder Date: Mon Feb 1 11:25:51 2016 +0100 Range: Group all three gestures And reset the grab_location in the ::released handler of the multipress gesture. Previously, when leaving fine-tune mode, the ::released handler of the multipress gesture would call stop_scrolling, which calls range_grab_remove and resets the grab_location. The ::drag-end handler is executed after that, and only unsets priv->in_drag if the grab_location is MOUSE_OUTSIDE, which it never was, since the ::released handler already reset it. This lead to priv->in_drag being set even though no dragging was in progress anymore, which e.g. made shift pressed after leaving the fine-tune mode entering it again. https://bugzilla.gnome.org/show_bug.cgi?id=761402 gtk/gtkrange.c | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) commit 7b88e304c779ad23b7c2945cb42a0f8a20f9060e Author: William Hua Date: Tue Feb 2 15:33:33 2016 -0500 x11: don't apply scaling factor twice The fallback behaviour of get_work_area () divides the screen width and height by the window scaling factor, but those values are already scaled down. https://bugzilla.gnome.org/show_bug.cgi?id=761474 gdk/x11/gdkscreen-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4a49d8d14fa8a3e037364eb231f25c2e8bce0fa5 Author: Руслан Ижбулатов Date: Thu Feb 4 11:23:12 2016 +0000 Don't do remote checks on NULL files Calling _gtk_file_consider_as_remote() with a NULL argument results in warnings being thrown. Note that query->priv->location being NULL is a state that does not seem to be invalid by itself. This could happen if you do search-as-you-type in a filechooser, which has a filter that does not match anything *and* the current "place" selected is "Recent". https://bugzilla.gnome.org/show_bug.cgi?id=761552 gtk/gtkfilechooserwidget.c | 3 ++- gtk/gtksearchenginesimple.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 3756d92367c2485c20a9c64d0f95e089bc187a95 Author: Matthias Clasen Date: Thu Feb 4 13:37:50 2016 +0100 Move private widget path functions away We don't put private functions in public headers anymore. https://bugzilla.gnome.org/show_bug.cgi?id=761339 gtk/Makefile.am | 1 + gtk/gtkcssnodedeclaration.c | 1 + gtk/gtkwidget.c | 1 + gtk/gtkwidgetpath.c | 1 + gtk/gtkwidgetpath.h | 5 ----- gtk/gtkwidgetpathprivate.h | 31 +++++++++++++++++++++++++++++++ 6 files changed, 35 insertions(+), 5 deletions(-) commit 8d515409c6200467c71353d2e2a79ba3e2faaf88 Author: Benjamin Otte Date: Thu Feb 4 14:25:46 2016 +0100 win32: Get rid of XP theme XP is not supported anymore. And we can massively simplify the win32 theme if we don't have to support 2 versions. gtk/Makefile.am | 6 +- gtk/theme/win32/gtk-win32-xp.css | 164 ------------------- gtk/theme/win32/gtk-win32.css | 344 --------------------------------------- gtk/theme/win32/gtk.css | 344 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 346 insertions(+), 512 deletions(-) commit 7d4bf49cffe50fbfd0305b65257e31ad3f108d1a Author: Benjamin Otte Date: Thu Feb 4 14:23:08 2016 +0100 win32: Delete classic theme Well, actually, stop adding an extra version of raleigh gtk/Makefile.am | 2 -- gtk/theme/win32/gtk-win32-classic.css | 4 ---- 2 files changed, 6 deletions(-) commit 27901c779457af1eb21e33eefc5f3d86f5405004 Author: Benjamin Otte Date: Thu Feb 4 14:19:02 2016 +0100 build: Don't break windows build Hardcode the existing files instead of doing a for loop and attempting string-fudging magic. gtk/Makefile.am | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 6cdca1e124e314782b6e3d8ac9809e62b5d3bba5 Author: Lapo Calamandrei Date: Thu Feb 4 14:13:42 2016 +0100 Adwaita: removed some old cruft from _drawing.scss resulting in a nice number of non working selectors ditched. gtk/theme/Adwaita/_drawing.scss | 4 - gtk/theme/Adwaita/gtk-contained-dark.css | 184 ------------------------------- gtk/theme/Adwaita/gtk-contained.css | 184 ------------------------------- 3 files changed, 372 deletions(-) commit b783670820b36ccbada1bc24f7a79081a787816b Author: Benjamin Otte Date: Thu Feb 4 13:34:34 2016 +0100 inspector: Don't hardcode builtin themes Insteead, enumerate the resources that are available. Fixes windows themes not being listed in the inspector. gtk/inspector/visual.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit d0fd7990c3f2c738f86185418ccd76b14da8a776 Author: Benjamin Otte Date: Thu Feb 4 13:28:21 2016 +0100 cssprovider: Change location of builtin themes Instead of /org/gtk/libgtk/theme/$THEME-$VARIANT.css look at /org/gtk/libgtk/theme/$THEME/gtk-$VARIANT.css and that way mirror the directory layout of real themes. gtk/Makefile.am | 13 +++++++------ gtk/gtkcssprovider.c | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) commit 6bc096d7488309abdfa5f574197543135269cf83 Author: Timm Bäder Date: Wed Feb 3 19:39:04 2016 +0100 actionbar: Remove unnecessary map/unmap implementations These just do what the default implementations do anyway. gtk/gtkactionbar.c | 20 -------------------- 1 file changed, 20 deletions(-) commit 641e703882f9e81d1216147b297732a06ab2f1e2 Author: Timm Bäder Date: Mon Feb 1 15:25:42 2016 +0100 statusbar: Remove unused include gtk/gtkstatusbar.c | 1 - 1 file changed, 1 deletion(-) commit 572e9a04027e213082a5b257e5d662a5daa32667 Author: Timm Bäder Date: Mon Feb 1 15:25:10 2016 +0100 Remove _gtk_box_get_children It's doing exactly the same thing as gtk_container_get_children. gtk/gtkbbox.c | 4 ++-- gtk/gtkbox.c | 24 ------------------------ gtk/gtkboxprivate.h | 1 - 3 files changed, 2 insertions(+), 27 deletions(-) commit 2929621d0565d007825ba1adbe9b3d6c9ae6ce33 Author: Timm Bäder Date: Mon Feb 1 15:15:56 2016 +0100 colorswatch: Remove unused constant gtk/gtkcolorswatch.c | 1 - 1 file changed, 1 deletion(-) commit c95087c70a13730798c2d0ee46713b2965973faf Author: Benjamin Otte Date: Thu Feb 4 12:24:34 2016 +0100 entry: queue an allocate when pulsing We need to reposition the progress gadget and that's done during allocation. gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8eb261988869608604c78ed90de5579beb4ef2b0 Author: Alberts Muktupāvels Date: Thu Feb 4 11:52:07 2016 +0200 gdkwindow-x11: always set _GTK_THEME_VARIANT property Set _GTK_THEME_VARIANT to empty string when default theme variant is used. This will allow to understand whether _GTK_THEME_VARIANT is not supported or default variant is requested. https://bugzilla.gnome.org/show_bug.cgi?id=761476 gdk/x11/gdkwindow-x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7ac337a9af03b58723cc7e13121e09850de24f7f Author: Alberts Muktupāvels Date: Wed Feb 3 15:48:52 2016 +0200 gtksettings: fix critical warning Commit 5186aeb90f52c941a2642b04ebfb54e9d8f8ea11 introduced critical warning - g_value_copy: assertion 'g_value_type_compatible (...)' failed. https://bugzilla.gnome.org/show_bug.cgi?id=761381 gtk/gtksettings.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit a2ac9524bc8d7be4224331e02aa3ad2d54527e88 Author: Benjamin Otte Date: Wed Feb 3 23:07:05 2016 +0100 broadway: Define variables where they are used Avoids gcc warnings about unused variables. gdk/broadway/broadwayd.c | 3 ++- gdk/broadway/gdkbroadway-server.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit 9708ecdd5bfdfdd10f8cf811bd229d250bbbf725 Author: Benjamin Otte Date: Wed Feb 3 23:06:53 2016 +0100 composetable: Fix gcc warnings gtk/gtkcomposetable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit be6f65a08e65da9af4c76b380adf82926568d202 Author: Benjamin Otte Date: Wed Feb 3 22:50:03 2016 +0100 immodule: Use correct sign for function prototype gtk/gtkimmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 429bec54e5b6c276cbdc5abad80ba9c21456ed72 Author: Benjamin Otte Date: Wed Feb 3 20:44:06 2016 +0100 entry: Turn progress node into a gadget gtk/gtkentry.c | 200 ++++++++++++++++++++++++--------------------------------- 1 file changed, 83 insertions(+), 117 deletions(-) commit 3316d69abbb05146a2e54e2876500f47845087a9 Author: Benjamin Otte Date: Tue Feb 2 15:44:28 2016 +0100 entry: Simplify drawing code gtk/gtkentry.c | 52 +++++++++++++++++++++++----------------------------- 1 file changed, 23 insertions(+), 29 deletions(-) commit 207a842bfd5861932738693d444871c4d1173c41 Author: Lapo Calamandrei Date: Wed Feb 3 18:32:51 2016 +0100 Adwaita: fix headerbar spinbutton size fixes https://bugzilla.gnome.org/show_bug.cgi?id=761484 gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 11 insertions(+) commit 9b08853537ee26b207eb837795c312240ea99951 Author: William Hua Date: Wed Feb 3 10:20:30 2016 -0500 gdkborder: remove unneeded definition This reverts 54fa65f544bef281640d18a4a725005f6199a956, 5190d010d95010a845715c719c3b85a75e0c513a, and a6e4de28842002e7bfdf73def26c4c52d9f9126a. https://bugzilla.gnome.org/show_bug.cgi?id=756579 docs/reference/gdk/gdk3-sections.txt | 3 --- gdk/gdktypes.h | 20 -------------------- 2 files changed, 23 deletions(-) commit 0bcd8603ebf861de29dfe3316c9f3c04d78f50f3 Author: Matthias Clasen Date: Wed Feb 3 16:06:05 2016 +0100 print dialog: Fix layout preview drawing Use the CSS name paper for this as well, and make sure Adwaita sets a color that makes the text visible in the dark theme as well. gtk/gtkprintunixdialog.c | 1 + gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) commit a0363e5f0a10703a98ae14971fe13f8aed138aba Author: Lapo Calamandrei Date: Wed Feb 3 15:23:17 2016 +0100 Adwaita: notebook with hidden header style fix the stack styling is applied only when there is a header, hence when the stack node is not the notebook only child, should cure https://bugzilla.gnome.org/show_bug.cgi?id=760996 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit f734db16044b95f70f52c1b33c9e52603ee34f06 Author: Lapo Calamandrei Date: Wed Feb 3 15:03:39 2016 +0100 Adwaita: fix vertical spinbutton style correct sizing and workaround disabled entry text colors. gtk/theme/Adwaita/_common.scss | 16 ++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 16 +++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 16 +++++++++++----- 3 files changed, 34 insertions(+), 14 deletions(-) commit feabf353716007833cab18d64499180348a5c22a Author: Carlos Garcia Campos Date: Tue Feb 2 18:50:58 2016 +0100 notebook: Do not reorder tabs after a grab notify if there isn't an ongoing reorder operation This broke in f535251507a6a0af68aed6348ae80cbdac9b1f4a that removed during_reorder in favor of using the current operation, but removed the check from gtk_notebook_stop_reorder(). gtk/gtknotebook.c | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) commit cc881531305c18cc3899ebc7015ee8eec93dd291 Author: Alexandre Franke Date: Tue Feb 2 16:32:30 2016 +0000 Updated French translation (cherry picked from commit 85fb4c1c0a17906a65e0b732770b88353b6214c4) po-properties/fr.po | 1737 ++++++++++++++++++++++++++------------------------- 1 file changed, 870 insertions(+), 867 deletions(-) commit 5186aeb90f52c941a2642b04ebfb54e9d8f8ea11 Author: Alberts Muktupāvels Date: Mon Feb 1 22:38:28 2016 +0200 gtksettings: reset property to correct default value https://bugzilla.gnome.org/show_bug.cgi?id=76138 gtk/gtksettings.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit a85384135c34dda29a6a344a8cc5836baa8422a3 Author: Emmanuele Bassi Date: Tue Feb 2 15:08:10 2016 +0000 Revert "Add missing (out) annotation to gdk_rgba_parse" This reverts commit 695860958a9a2e7c825bcec4d0d42b427f0fb47e. The change introduced an introspection ABI break. See also: https://bugzilla.gnome.org/show_bug.cgi?id=682125 If we want to move the parse() method to be a constructor or a class method, we'll need to do more testing or add new API. https://bugzilla.gnome.org/show_bug.cgi?id=754990 gdk/gdkrgba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bfb727d37e6d5806869a5dee8c35cc1e953ea00b Author: Benjamin Otte Date: Mon Feb 1 14:47:43 2016 +0100 entry: Draw progress in the right place gtk/gtkentry.c | 41 ++++++----------------------------------- 1 file changed, 6 insertions(+), 35 deletions(-) commit 9d18539d366ccb6f3fd54804494d1733b207c109 Author: Balázs Meskó Date: Tue Feb 2 13:22:12 2016 +0000 Updated Hungarian translation po/hu.po | 144 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 71 insertions(+), 73 deletions(-) commit 44b060c83f039e674aff88c256f9fda12f135bda Author: Mario Blättermann Date: Mon Feb 1 19:51:46 2016 +0100 Updated German translation po/de.po | 377 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 193 insertions(+), 184 deletions(-) commit 34467600607c86e70aca6cd2fee3abceb703f494 Author: Matthias Clasen Date: Sun Jan 31 16:53:53 2016 -0500 reftests: Make separator-size test pass in HighContrastInverse After neutralizing the stack background, the notebook itself was peeking through. testsuite/reftests/separator-size.css | 1 + 1 file changed, 1 insertion(+) commit 9f4b0b8ca58a44fa051458db5195249585f2bfbf Author: Daniel Mustieles Date: Sun Jan 31 22:30:39 2016 +0100 Updated Spanish translation po-properties/es.po | 1755 ++++++++++++++++++++++++++------------------------- 1 file changed, 885 insertions(+), 870 deletions(-) commit 5a095d5135d448a895ccd551779efbe02375f638 Author: Daniel Mustieles Date: Sun Jan 31 22:30:29 2016 +0100 Updated Spanish translation po/es.po | 485 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 246 insertions(+), 239 deletions(-) commit 6e2c74aaad1c81fdab45d4e6d9febc5e193253bf Author: Matthias Clasen Date: Sun Jan 31 14:10:13 2016 -0500 Trivial formatting fix testsuite/reftests/reftest-snapshot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 1e0ca71ecad59f4349837b1858dc8d2c27155c33 Author: Matthias Clasen Date: Sun Jan 31 14:08:35 2016 -0500 reftests: Make label-text-shadow-changes-modify-clip test more reliable This test was failing in continuous, where the tests are running in a VM with disabled animations. Make the test adapt to that situation by changing the rui on the fly if we find that animations are disabled. .../reftests/label-text-shadow-changes-modify-clip.c | 18 ++++++++++++++++++ .../reftests/label-text-shadow-changes-modify-clip.ui | 1 + 2 files changed, 19 insertions(+) commit 2423eb11e3024b03ecce6090a6a6698170629d88 Author: Matthias Clasen Date: Sun Jan 31 14:06:34 2016 -0500 reftests: Add a message to the test output Emit a message that ends up in the test output if we are modifying the test on the fly. testsuite/reftests/animation-direction.c | 2 ++ 1 file changed, 2 insertions(+) commit a898dc6e9f60103cde6f5dea2890779c215ba686 Author: Matthias Clasen Date: Sun Jan 31 14:00:08 2016 -0500 reftests: Rename a source file Easier to keep track of things if the sources are names after the test they are used in. testsuite/reftests/Makefile.am | 2 +- testsuite/reftests/animation-direction.c | 46 ++++++++++++++++++++++++++++++++ testsuite/reftests/label-attributes.c | 46 -------------------------------- 3 files changed, 47 insertions(+), 47 deletions(-) commit 6e2c5518968529bb1acab66b54f2e61dcaacf000 Author: Timm Bäder Date: Sun Jan 31 16:17:03 2016 +0100 entry: Fix icon areas Do the same thing we already do in gtk_entry_get_text_area. gtk/gtkentry.c | 4 ++++ 1 file changed, 4 insertions(+) commit 033c6c82d0172a18723e672ff1dae7b921726f93 Author: Timm Bäder Date: Sun Jan 31 00:01:31 2016 +0100 widget: Annotate out params of _translate_coordinates as optional gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5a2feab8c0e856ae3536817b8f120d0ff13bb623 Author: Matthias Clasen Date: Sun Jan 31 13:51:54 2016 -0500 reftests: Make animation-direction test more reliable This test was failing in continuous, where the tests are running in a VM with disabled animations. Make the test adapt to that situation by changing the reference ui on the fly if we find that animations are disabled. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/animation-direction.ref.ui | 32 +++++++++++++++++++ testsuite/reftests/label-attributes.c | 46 +++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) commit 073f8bc44bd5fae222d1d94cba31c872a8502826 Author: Matthias Clasen Date: Sun Jan 31 12:57:50 2016 -0500 gtk-builder-tool: Expand the preview command Make the preview command parse options properly, turn the ID into an --id=ID option, and add a --css=FILE option that allows to specify a css file to use for previewing. This is useful for e.g. previewing the reftest .ui files with their corresponding .css. docs/reference/gtk/gtk-builder-tool.xml | 22 +++++- gtk/gtk-builder-tool.c | 116 +++++++++++++++++++++++--------- 2 files changed, 105 insertions(+), 33 deletions(-) commit bc882a679d7e51baf1e61d31cfa75202e5a70e9b Author: Matthias Clasen Date: Sun Jan 31 12:05:35 2016 -0500 gtk-launch: Add --version Support --version. Also improve the --help output cosmetically. docs/reference/gtk/gtk-launch.xml | 9 ++++++++- gtk/gtk-launch.c | 29 +++++++++++++++++++---------- 2 files changed, 27 insertions(+), 11 deletions(-) commit 836bd6540863d036981ae545ae37f99d3b71e088 Author: Matthias Clasen Date: Sun Jan 31 11:01:46 2016 -0500 gtk-builder-tool: Accept --help Saying 'Failed to open file '--help' is not polite or smart. Catch this case and show usage information. gtk/gtk-builder-tool.c | 3 +++ 1 file changed, 3 insertions(+) commit f793da54a992d87da42c1f98e3cd5e9556c670ab Author: Matthias Clasen Date: Sat Jan 30 23:07:56 2016 -0500 file chooser: Avoid a crash Since 39c2d12330b6d4405ca8a5599c12017c58626fcf, priv->operation_mode == OPERATION_MODE_BROWSE no longer guarantees that priv->browse_files_model is the current model of the list - we are only switching the models after loading the new directory. Avoid triggering the assertion in show_and_select_files by checking if we have right model before calling it. https://bugzilla.gnome.org/show_bug.cgi?id=761209 gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6f74de53312cd8b874e5ad658171af4cdf372b12 Author: Matthias Clasen Date: Sat Jan 30 22:52:13 2016 -0500 Don't include the builtin sequence table in multiple places The table is defined as static const guint16 [], so it really should only be included in one source file. gtk/gtkimcontextsimple.c | 1 + gtk/gtkimcontextsimpleprivate.h | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) commit 3c4f36f62238b45863b49c85c2a8462f556da31f Author: Matthias Clasen Date: Sat Jan 30 22:50:54 2016 -0500 combobox: Avoid a misleading indentation gcc 6 warns about this sort of thing. There were also some stray ; here. gtk/gtkcombobox.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit a66287a62e5604aaa9b8d144e3394627767b149e Author: Matthias Clasen Date: Sat Jan 30 21:50:00 2016 -0500 Fix the border-image-excess-size reftest This was failing because the grid is now respecting border width too. Making the selector more specific so it only applies to the toolbars fixes this. testsuite/reftests/border-image-excess-size.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27b4bfc1cf273c922cedba59ca2b03169070222a Author: Matthias Clasen Date: Sat Jan 30 21:43:49 2016 -0500 Fix another reftest Make sure the notebook in the separator-size reftest does not peek through, by giving it a transparent background. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/separator-size.css | 3 +++ 2 files changed, 4 insertions(+) commit bbfc547b898d315ef256bfcb8c7332d17f8bba26 Author: Matthias Clasen Date: Sat Jan 30 21:08:19 2016 -0500 Fix some reftests under wayland Tests need to use popup windows, in order to avoid differences due to CSD. testsuite/reftests/expander.ref.ui | 2 +- testsuite/reftests/expander.ui | 1 + testsuite/reftests/nth-child.ref.ui | 1 + testsuite/reftests/nth-child.ui | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) commit f42cd18779b7391c0d6f7e18a45638a697d33fce Author: Matthias Clasen Date: Sat Jan 30 20:56:17 2016 -0500 wayland: Reduce warning level for parentless temporaries Temp windows without parent are used frequently in our testsuite; using g_warning on them causes the tests to fail, which is not useful. Reduce the warning to a g_message. gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7d16b8df29824adf1bd0cc1a8f2651b0c04c7f4c Author: Matthias Clasen Date: Sat Jan 30 18:31:30 2016 -0500 treeview: Draw background when empty We have a function we call for drawing the empty case, but it only renders a focus rectangle. Make it draw the background as well. https://bugzilla.gnome.org/show_bug.cgi?id=761309 gtk/gtktreeview.c | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) commit 16726e31f00438a728947be48ae80fd48327db97 Author: Timm Bäder Date: Sat Jan 30 22:31:27 2016 +0100 colorchooserwidgeet: Reset the selected swatch when removing Otherwise, priv->current points to garbage and subsequently leads to a crash, e.g. when adding another custom color. gtk/gtkcolorchooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit dd322f715f0ac97155e0e443eaf7a73f8727a134 Author: Matthias Clasen Date: Sat Jan 30 16:09:15 2016 -0500 Document gtk_parse_args limitations Mention that some things won't work without a display connection. gtk/gtkmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit bbe48d06246ce208ce4d0e00aef45180b7c71dbd Author: Matthias Clasen Date: Sat Jan 30 16:06:59 2016 -0500 Throw an error when a display is missing Creating style context won't work without a display, so give a clear error message and abort instead of segfaulting later on. https://bugzilla.gnome.org/show_bug.cgi?id=761332 gtk/gtkstylecontext.c | 3 +++ 1 file changed, 3 insertions(+) commit 3b4aad7d263634927197b613971aff248e9e4855 Author: Matthias Clasen Date: Sat Jan 30 13:27:30 2016 -0500 3.19.8 NEWS | 8 ++++++++ configure.ac | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) commit d400ecca1434bd0cbeeb285fdb51a26563ae40f3 Author: Matthias Clasen Date: Sat Jan 30 11:32:06 2016 -0500 Remove entry-progress-coloring reftest We don't recolor text over progress anymore, so this tests a no longer existing feature. testsuite/reftests/Makefile.am | 3 - testsuite/reftests/entry-progress-coloring.css | 20 ---- testsuite/reftests/entry-progress-coloring.ref.ui | 113 ---------------------- testsuite/reftests/entry-progress-coloring.ui | 76 --------------- 4 files changed, 212 deletions(-) commit 586522d83cc9ff6003597dc94f403bac4e3787b9 Author: Matthias Clasen Date: Sat Jan 30 10:29:06 2016 -0500 Use TAP output for installed tests testsuite/a11y/a11ychildren.test.in | 4 ++-- testsuite/a11y/a11ymisc.test.in | 4 ++-- testsuite/a11y/a11ytext.test.in | 4 ++-- testsuite/a11y/a11ytree.test.in | 4 ++-- testsuite/a11y/a11yutil.test.in | 4 ++-- testsuite/a11y/a11yvalue.test.in | 4 ++-- testsuite/a11y/state/Makefile.am | 3 ++- testsuite/css/nodes/test-css-nodes.test.in | 3 ++- testsuite/css/parser/test-css-parser.test.in | 3 ++- testsuite/css/style/test-css-style.test.in | 3 ++- testsuite/gdk/Makefile.am | 3 ++- testsuite/gtk/Makefile.am | 3 ++- testsuite/reftests/reftests-dark.test.in | 3 ++- testsuite/reftests/reftests-hc.test.in | 3 ++- testsuite/reftests/reftests-hci.test.in | 3 ++- testsuite/reftests/reftests.test.in | 3 ++- testsuite/tools/Makefile.am | 1 + 17 files changed, 33 insertions(+), 22 deletions(-) commit f375b275c8c77839446748b4fe9e1e52dbb241e7 Author: Matthias Clasen Date: Sat Jan 30 10:10:39 2016 -0500 Run reftests with HighContrastInverse too For installed tests, we run the reftests with all the builtin themes (minus platform-specific ones). Add HighContrastInverse to that list. testsuite/reftests/Makefile.am | 5 ++++- testsuite/reftests/reftests-hci.test.in | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 051b6071b7d4054ed9d072bb84a296d0b943fa83 Author: Matthias Clasen Date: Fri Jan 29 23:40:58 2016 -0500 Adwaita: Add symbolic png assets And use them as fallback for the svg ones. This lets us avoid a hard dependency on librsvg - the theme will work without svg support. gtk/theme/Adwaita/_common.scss | 12 +- .../Adwaita/assets/bullet-symbolic.symbolic.png | Bin 0 -> 147 bytes .../Adwaita/assets/check-symbolic.symbolic.png | Bin 0 -> 193 bytes .../Adwaita/assets/dash-symbolic.symbolic.png | Bin 0 -> 130 bytes gtk/theme/Adwaita/gtk-contained-dark.css | 560 ++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 546 ++++++++++---------- 6 files changed, 561 insertions(+), 557 deletions(-) commit e54549502e3b0b1bd8b01fc7de9c44a339e4437c Author: Matthias Clasen Date: Fri Jan 29 23:36:24 2016 -0500 icontheme: Avoid a crash gtk_icon_info_new_for_file with a size of 0 would fail for symbolic pngs because we ended up scaling with 0. Avoid this. gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2e4b1e72f4a272c426a12135f3487aa2017c746a Author: Matthias Clasen Date: Fri Jan 29 20:23:27 2016 -0500 css: Support the image() notation This lets us do fallback in case an image format is not supported, and also lets us provide solid-color images. We don't support image fragment notations. See ttps://www.w3.org/TR/css3-images/#image-notation https://bugzilla.gnome.org/show_bug.cgi?id=761318 docs/reference/gtk/css-overview.xml | 20 ++- gtk/Makefile.am | 2 + gtk/gtkcssimage.c | 4 +- gtk/gtkcssimagefallback.c | 255 ++++++++++++++++++++++++++++++++++++ gtk/gtkcssimagefallbackprivate.h | 59 +++++++++ 5 files changed, 338 insertions(+), 2 deletions(-) commit 0fe468c7898d8d531a1c901a5742b3612ee946d6 Author: Matthias Clasen Date: Fri Jan 29 22:47:38 2016 -0500 Emit an error if image loading fails Instead of spamming stderr with g_warning, use the new emit_error method of the GtkStyleProviderPrivate interface to emit an error if loading an image fails. gtk/gtkcssimagerecolor.c | 49 ++++++++++++++++++++++++++++------------ gtk/gtkcssimageurl.c | 59 ++++++++++++++++++++++++++++++++---------------- 2 files changed, 73 insertions(+), 35 deletions(-) commit 2c7fdf6432057849bdf7ee9aaf71c328a39bd5a8 Author: Matthias Clasen Date: Fri Jan 29 22:45:21 2016 -0500 CSS provider: Add a way to emit errors Currently, GtkCssProvider can emit ::parsing-error only during the actual parsing, although the documentation hints that it might happen at other times. This commit adds a emit_error method to the GtkStyleProviderPrivate interface that will let us emit errors from the compute() implementations as well, which can be useful (e.g. if an image fails to load). gtk/gtkcssprovider.c | 26 +++++++++++++++++--------- gtk/gtkstyleproviderprivate.c | 13 +++++++++++++ gtk/gtkstyleproviderprivate.h | 8 +++++++- 3 files changed, 37 insertions(+), 10 deletions(-) commit 63bf90ae711689700ac930444c1654850bad1ff0 Author: Balázs Meskó Date: Sat Jan 30 01:24:09 2016 +0000 Updated Hungarian translation po/hu.po | 1244 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 676 insertions(+), 568 deletions(-) commit 4251a8acdf07bccf75d422c7b1421229dfe9c54a Author: Gábor Kelemen Date: Sat Jan 30 01:23:14 2016 +0000 Updated Hungarian translation po-properties/hu.po | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 803ec7c5fb8a60b9326f6a73549547941a78d3ff Author: Balázs Meskó Date: Sat Jan 30 01:22:10 2016 +0000 Updated Hungarian translation po-properties/hu.po | 4460 +++++++++++++++++++++++++++++---------------------- 1 file changed, 2541 insertions(+), 1919 deletions(-) commit 176e85ffe5d8cb73d9535acc62b4d00568006872 Author: Matthias Clasen Date: Fri Jan 29 19:12:51 2016 -0500 file chooser: Make Escape close the dialog In some situations (no header bar, save mode), hitting Escape would not do anything because the entry ate the key event. Fix this by telling the entry to only handle Escape when there is something to do, such as switching back to the path bar. https://bugzilla.gnome.org/show_bug.cgi?id=761026 gtk/gtkfilechooserwidget.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit f887fec55cb42b68473ee9b6f50ab5ebf540a601 Author: Matthias Clasen Date: Fri Jan 29 18:23:25 2016 -0500 Add a css style test for color names Verify that we support all the css color names, with their expected rgb values. testsuite/css/style/Makefile.am | 1 + testsuite/css/style/colornames.css | 147 +++++++++++++++++ testsuite/css/style/colornames.nodes | 296 +++++++++++++++++++++++++++++++++++ testsuite/css/style/colornames.ui | 161 +++++++++++++++++++ 4 files changed, 605 insertions(+) commit b281c9d740c1536513618047353321ee379c2b72 Author: Matthias Clasen Date: Fri Jan 29 17:30:10 2016 -0500 css image recolor: Load images at the proper scale We should not hardcode a scale of 1, this leads to pixellated upscaled images at scale=2, even if the source is an svg. By passing the proper scale, we can load the svg at the correct size. gtk/gtkcssimagerecolor.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 001598a8211e02dbbebd1bf71c51d4b96bdb9bef Author: Matthias Clasen Date: Fri Jan 29 17:27:35 2016 -0500 icon theme: Improve loading of unthemed files When creating icon info objects for unthemed files, we don't really have a nominal size, so we pass 0 to mean 'load at original size'. However, this is not what was happening. To make this possible, add variants of some pixbuf loading functions that take a scale factor instead of a desired size, and use those when we don't have a nominal size. gtk/Makefile.am | 6 +- gtk/gdkpixbufutils.c | 132 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gdkpixbufutilsprivate.h | 35 ++++++++++++ gtk/gtkicontheme.c | 27 ++++++--- 4 files changed, 191 insertions(+), 9 deletions(-) commit 68edc67bdead2f1ad3224b3f9ff2e07c202fc626 Author: Matthias Clasen Date: Fri Jan 29 13:44:45 2016 -0500 image: use GtkMisc padding again This was lost in the gadget conversion. Thankfully, the misc-alignment reftest catches this. gtk/gtkimage.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 8219a6b2265bfe5db35cdfadbaf0abfad567e6e1 Author: Matthias Clasen Date: Fri Jan 29 13:21:01 2016 -0500 Use an GtkImage instead of GtkArrow GtkArrow is deprecated, and the recommended replacement is GtkImage. testsuite/reftests/icon-vfuncs.css | 1 + testsuite/reftests/icon-vfuncs.ui | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 866193f6afe48af258b48a4e384996cdf0a25781 Author: Matthias Clasen Date: Fri Jan 29 12:20:31 2016 -0500 reftests: get icon-vfuncs test almost working again The remaining difference here is GtkArrow, which is deprecated and has not been updated to the latest CSS rendering standards. testsuite/reftests/icon-vfuncs.css | 8 ++------ testsuite/reftests/icon-vfuncs.ref.ui | 2 +- testsuite/reftests/icon-vfuncs.ui | 8 ++++++++ 3 files changed, 11 insertions(+), 7 deletions(-) commit fac5ed6165c801a9ef298d5bef15e32e4ba44223 Author: Lapo Calamandrei Date: Fri Jan 29 18:09:28 2016 +0100 Adwaita: reset padding on notebook tab close button gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit e79db79e2c058684dfd9907b65e713ee532e002e Author: Matthias Clasen Date: Fri Jan 29 11:51:09 2016 -0500 testgtk: Avoid deprecation warnings Eventually, we should probably remove the examples that rely on geometry support, since they probably don't work correctly anymore. For now, just disable the warnings. tests/testgtk.c | 2 ++ 1 file changed, 2 insertions(+) commit 17d9e94682303bb9c2f3eb09a6d70a2497349c81 Author: Matthias Clasen Date: Fri Jan 29 11:50:22 2016 -0500 testoffscreen: Remove deprecated calls Not doing these calls doesn't seem to affect the demo, so lets just remove them. tests/gtkoffscreenbox.c | 3 --- 1 file changed, 3 deletions(-) commit 3302c2a12c30237a3cb23c16ad3ca9b877a80922 Author: Matthias Clasen Date: Fri Jan 29 11:25:14 2016 -0500 testgeometry: Ignore deprecations All the functionality that is tested here has been deprecated recently. tests/testgeometry.c | 2 ++ 1 file changed, 2 insertions(+) commit 813cc348571603e6325ef9fdd4f7698093faa9d5 Author: Lapo Calamandrei Date: Fri Jan 29 17:48:45 2016 +0100 Adwaita: fix border radius on #editor-color-sample gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 14 insertions(+) commit 31cc642288a4b707bd1400dc258c47f7cfa82829 Author: Lapo Calamandrei Date: Fri Jan 29 16:32:43 2016 +0100 Adwaita: notebook style rewrite gtk/theme/Adwaita/_common.scss | 299 +++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 889 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 875 +++++++++++++----------------- 3 files changed, 887 insertions(+), 1176 deletions(-) commit 01626e0f4bd187059b67279ed6143b1f28575391 Author: Matthias Clasen Date: Fri Jan 29 09:42:18 2016 -0500 Update gtk-builder-tool docs docs/reference/gtk/gtk-builder-tool.xml | 5 +++++ 1 file changed, 5 insertions(+) commit 7d75d5ec666d1cf80ddde30afeae3b17a5dc7eb9 Author: Matthias Clasen Date: Fri Jan 29 09:23:41 2016 -0500 builder tool: Add a preview command This was somewhat missing, and is easy to add. gtk/gtk-builder-tool.c | 132 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 129 insertions(+), 3 deletions(-) commit 69a38a9771350a6fc16d49704db681a317fca318 Author: Matthias Clasen Date: Fri Jan 29 08:08:08 2016 -0500 docs: Fix a duplicate id This was causing the css properties chapter to appear twice in the docs, and the overview not at all. docs/reference/gtk/css-properties.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eabf1101822b6db9e83572121b1f6ff3cd3bdf98 Author: Matthias Clasen Date: Thu Jan 28 23:09:42 2016 -0500 Updates NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 7fc0600f924982fe49464a12b7be0e989aefc55c Author: Matthias Clasen Date: Thu Jan 28 22:49:36 2016 -0500 infobar: Don't expose implementation details Only export the documented widgets as internal children. gtk/gtkinfobar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3014aab25c640c7afe06cbc33689cb13efc4cb7d Author: Matthias Clasen Date: Thu Jan 28 22:47:28 2016 -0500 searchbar: Don't expose implementation details The various boxes and the revealer here should not be exposed as internal children for subclasses to use in their .ui files. gtk/gtksearchbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0bf987c611a0878f913931296b6e189e15e5bd74 Author: Matthias Clasen Date: Thu Jan 28 22:39:31 2016 -0500 actionbar: Don't expose implementation details The box and revealer here should not be exposed as internal children for subclasses to use in their .ui files. gtk/gtkactionbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a7489153b019127367fc243c643303ad7ea48707 Author: Matthias Clasen Date: Thu Jan 28 22:36:27 2016 -0500 dialog: Stop exporting action_box This was not meant as an internal child that subclasses can refer to in their .ui files. https://bugzilla.gnome.org/show_bug.cgi?id=761254 gtk/gtkdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3dce876555fe3b61a0b55ccc4c6dc075d7bba6ca Author: Matthias Clasen Date: Thu Jan 28 22:10:02 2016 -0500 print dialog: Stop using action_box in .ui We can just use CSS margins nowadays to achieve the desired appearance. gtk/theme/Adwaita/_common.scss | 25 +++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 19 ++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 19 ++++++++++++------- gtk/ui/gtkprintunixdialog.ui | 5 ----- 4 files changed, 41 insertions(+), 27 deletions(-) commit a99c69fd6b4878e83f25dee793b748e7c51244a6 Author: Matthias Clasen Date: Thu Jan 28 20:50:50 2016 -0500 label: fix a case of misleading indentation gcc 6 complains aobut things like this. gtk/gtklabel.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit cf4e179a45f8ae9a52b8d6f56d7fd547f1033e56 Author: Carlos Garnacho Date: Thu Jan 28 12:46:32 2016 +0100 tests: Avoid deprecated API usage in testgtk We can use seat grabs here. tests/testgtk.c | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) commit a74db1de77f62ee36f2f9be1670eb26b621c843a Author: Carlos Garnacho Date: Thu Jan 28 12:46:07 2016 +0100 tests: Avoid deprecated API usage in testsocket We can use seat grabs here. tests/testsocket.c | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) commit fef661ae84580db8b9ca7b2cb733b9c5b94e50c7 Author: Carlos Garnacho Date: Thu Jan 28 12:10:12 2016 +0100 tests: Fix deprecation warnings in testinput tests/testinput.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2c0446917d3a606fd9336e444a6241f9a02f5b03 Author: Carlos Garnacho Date: Thu Jan 28 12:04:13 2016 +0100 demos: Modify "Change display" demo to use seat grabs The window picking feature was done through a pointer grab, replace it by a seat grab on pointing devices. demos/gtk-demo/changedisplay.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 0125aa0a414a73d781bab7f531a534b774857eac Author: Carlos Garnacho Date: Thu Jan 28 11:58:15 2016 +0100 gtkdnd: Fix deprecation compile warnings Grabbing must stay a bit longer until all other backends than x11/wayland catch up with GDK DnD, so ignore deprecation flags are used on those. The uses of GdkDeviceManager can be entirely avoided though. gtk/gtkdnd.c | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) commit 27263f2387b414707d33862335b7e35b0cf722c3 Author: Christoph Reiter Date: Thu Jan 28 11:04:48 2016 +0100 label: use GtkMisc padding again this was lost in the gadget conversion in a81267c28e4e0368cd0e23b661e1c8c53f8194fb https://bugzilla.gnome.org/show_bug.cgi?id=760522 gtk/gtklabel.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 79fb921ffc7d19ba85ca3df966d3317c93b382e6 Author: Matthias Clasen Date: Wed Jan 27 23:30:25 2016 -0500 spin button: Document sizing peculiarities Document that it is best to explicitly set width-chars and max-width-chars to avoid surprises. https://bugzilla.gnome.org/show_bug.cgi?id=727294 gtk/gtkspinbutton.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 03f4666994a72d72551cae31efb946aa742addca Author: Matthias Clasen Date: Wed Jan 27 23:22:02 2016 -0500 composetable: Don't abort on unsupported escape sequences People might put all sorts of gunk in their .XCompose file, in the hope that XLib makes sense of it. Even if we don't make sense of it, we shouldn't abort, but instead ignore the lines we can't understand. Pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1301254 gtk/gtkcomposetable.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b8a0f3582b8df8d02643c0ac2522e8df170d9da4 Author: Matthias Clasen Date: Wed Jan 27 15:14:30 2016 -0500 Update README.glade Update the README.glade file to use current .ui file names and locations as example. gtk/glade/README.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8527fca250be340e0263bd47f5486679685ccc02 Author: Mario Blättermann Date: Wed Jan 27 20:08:25 2016 +0100 Updated German translation po-properties/de.po | 2895 +++++++++++++++++++++++++++------------------------ 1 file changed, 1526 insertions(+), 1369 deletions(-) commit 8cbe309f36b306d6d8be3e6106950baae1998371 Author: Matthias Clasen Date: Wed Jan 27 13:23:58 2016 -0500 css node tests: Update expected output The entry undershoot change needs to be reflected in the test output. testsuite/css/nodes/entries.nodes | 8 ++++++++ 1 file changed, 8 insertions(+) commit 625f3e5f3940192ed21519c2477bd283a3fa4ae2 Author: Matthias Clasen Date: Wed Jan 27 13:07:13 2016 -0500 window: Always disconnect signal handlers We connect to the titlebar widgets change notification regardless whether it is internally created or not, so don't make the signal handler disconnection conditional on that either. gtk/gtkwindow.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 88c3456d2fed626448059272b2a0db3f06db6e70 Author: Matthias Clasen Date: Wed Jan 27 12:57:58 2016 -0500 assistant: Avoid tripping template tests We need to unset the titlebar manually before chaining up in destroy, otherwise we trigger the template invariant checking - GtkWindow would eventually unset it, but too late for the invariants checking code in gtk_widget_destroy. gtk/gtkassistant.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0d109867d2f66e986f98aa49222429f29609f509 Author: Allison Ryan Lortie Date: Wed Jan 27 15:50:42 2016 +0100 Tweak startup-notification after the first window Presently, Gtk will only send a startup notification completion message for the first window that is shown. This is not good for the case of GtkApplication, where we are expected to participate in startup-notification for all windows. We have avoided this problem by manually emitting the startup complete message from after_emit in GtkApplication. Unfortunately, this causes problems for windows that are shown with a delay. It is also a dirty hack. The reason for the original behaviour is simple: there is a static boolean in gtkwindow.c which controls it. We remove this. Instead, clear the startup notification ID stored in GDK when sending the completion message. GtkApplication will re-set this the next time an event comes in which needs startup-notification handling. In the non-GtkApplication case, newly shown windows will still not send the message, since the cookie will have been cleared. Finally, we remove the hack from GtkApplication's after_emit. This will probably cause some regressions in terms of lingering startup notification messages. The correct solution here is to always use gtk_window_present(), including when merely opening a new document (with a new tab, for example). https://bugzilla.gnome.org/show_bug.cgi?id=690791 gdk/x11/gdkdisplay-x11.c | 10 +++++++++- gtk/gtkapplication.c | 2 -- gtk/gtkwindow.c | 4 +--- 3 files changed, 10 insertions(+), 6 deletions(-) commit 299b32438d2d0f508183ab557c68d8cab13572fc Author: Timm Bäder Date: Wed Jan 27 16:32:39 2016 +0100 modelbutton: Use indicator state for button gadget if iconic gtk/gtkmodelbutton.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 09677f733100c4c654c9d68f7a6765d3125725d7 Author: Krzesimir Nowak Date: Wed Jan 27 13:25:58 2016 +0100 entry: Fix a typo gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c4f7fbecfac2cf829fe47c3d30ba09ca9f2e7c4a Author: Benjamin Otte Date: Wed Jan 27 14:02:44 2016 +0100 entry: Fix a case of disagreeing coordinate systems gesture_get_current_point() returned x/y in layout coordiantes, but callers assumed it in textarea coordinates. gtk/gtkentry.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 2533289b629e4aa61781e106012fc08ec8529d04 Author: Cosimo Cecchi Date: Wed Jan 27 12:25:49 2016 +0100 Adwaita: fix spinbutton styling Spinbuttons were quite broken after the latest changes. This commit brings the style back around what it was for 3.18. gtk/theme/Adwaita/_common.scss | 31 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 294 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 292 +++++++++++++++--------------- 3 files changed, 326 insertions(+), 291 deletions(-) commit 4c192ea4c36c75f94137d03f3dfed0b8e150cd18 Author: Matthias Clasen Date: Tue Jan 26 23:33:06 2016 -0500 Adwaita: Add some themeing for entry undershoot This is just copying what we do for scrolled windows. It will need some tweaks to look good for entries. gtk/theme/Adwaita/_common.scss | 5 +++++ gtk/theme/Adwaita/gtk-contained-dark.css | 20 ++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 20 ++++++++++++++++++++ 3 files changed, 45 insertions(+) commit a9222146d34ef86e3bc4d13e439fba4c5df642ee Author: Matthias Clasen Date: Tue Jan 26 23:31:28 2016 -0500 entry: give a visual clue that content is scrolled This has been requested long ago, and we now have the machinery to implement it easily. gtk/gtkentry.c | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 84 insertions(+), 13 deletions(-) commit 8991f17d49c757fbef2739d9d16a03e029daebda Author: Matthias Clasen Date: Tue Jan 26 22:11:54 2016 -0500 box gadget: Improve assertion message Include the owner of the gadget in the assertion message, to improve the chances of tracking down whats actually going wrong here. gtk/gtkboxgadget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 745624235b82301be2d1fdcae0c8fdc48df740c3 Author: Matthias Clasen Date: Tue Jan 26 21:27:12 2016 -0500 color button: Allow skipping the palette Allow skipping the palette in the dialog, and going directly to the editor. This is useful when the color button is already part of a palette. gtk/gtkcolorbutton.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit cf3a781d325b520b4e7d6e070e0d5d55ff4d8ff4 Author: Matthias Clasen Date: Tue Jan 26 20:57:50 2016 -0500 Fix a typo gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a222aa66d5b7811798c3a98b0b0694de6fe4ec49 Author: Benjamin Otte Date: Wed Jan 27 02:07:35 2016 +0100 entry: Compute selection range correctly gtk_editable_get_selection_bounds() returns UTF-8 character offsets, but gdk_pango_layout_get_clip_region() wants byte ranges, so convert from one to the other. With English, this is especially visible for passwords, which use ● as the invisible character. https://bugzilla.gnome.org/show_bug.cgi?id=761128 gtk/gtkentry.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 84b788c4a5180978d5b87c976c1ef20d3dfffa64 Author: Benjamin Otte Date: Wed Jan 27 01:09:51 2016 +0100 window: Deprecate gtk_window_parse_geometry() Geometry handling in GTK is deprecated. gtk/gtkwindow.c | 2 ++ gtk/gtkwindow.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit b22fdf24e0a70b17f9920ce85cb24e2024d388a0 Author: Benjamin Otte Date: Wed Jan 27 01:07:01 2016 +0100 window: Deprecate gtk_window_set_default_geometry() We don't support geometries anymore. gtk/gtkwindow.c | 3 +++ gtk/gtkwindow.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 5cbc247c08129e3bad290d9cdc8e881f9105ac3b Author: Olav Vitters Date: Mon Jan 25 19:59:05 2016 +0100 Add an XSetting for primary button warps slider This will be used by xsettings-kde to ensure GTK+3.x programs behave consistently. https://bugzilla.gnome.org/show_bug.cgi?id=688524 gdk/x11/gdksettings.c | 1 + 1 file changed, 1 insertion(+) commit bf4443d9d92ba0f40e31b8efc3bfcf55aca5b34a Author: Matthias Clasen Date: Tue Jan 26 12:42:04 2016 -0500 gdk: Don't translate signal names This was a thinko - what we sometimes do for signal names is to use I_() to intern them (to avoid a strdup), but I_() is not currently available in gdk, so lets just skip this microoptimization for now. gdk/gdkdnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ae31c000923fc72560e036f5bb552666bc1aec72 Author: Benjamin Otte Date: Tue Jan 26 16:40:33 2016 +0100 spinbutton: Don't expand the buttons When the spinbutton grows larger, distribute horizontal size to the entry and vertical size to the buttons. Obviously, horizontal size only matters for horizontal spinbuttons and vertical for vertical spinbuttons. gtk/gtkspinbutton.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) commit 2c350f4469b578749c315824a55ed07f719c9754 Author: Benjamin Otte Date: Tue Jan 26 16:36:13 2016 +0100 stack: realize windows in correct position gtk/gtkstack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8ea697c43405af97cd9170688067f0b807a5d3f6 Author: Benjamin Otte Date: Tue Jan 26 14:13:18 2016 +0100 pathbar: Use CSS node ordering Instead of the custom get_path_for_child() function. gtk/gtkpathbar.c | 124 +++++-------------------------------------------------- 1 file changed, 10 insertions(+), 114 deletions(-) commit 9d0e8401caa937c4399dbe6d2aaa6dc4fe0254eb Author: Benjamin Otte Date: Tue Jan 26 14:02:55 2016 +0100 stack: Turn into no-window widget Having priv->view_window be the same as widget->window does not make sense. And because we need to clip the content area, we need the view window. gtk/gtkstack.c | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) commit fefc370f6c43ee44c39d7d2a651077242960da02 Author: Benjamin Otte Date: Tue Jan 26 13:23:44 2016 +0100 entry: Chain up in realize() ... instead of copy/pasting what gtk_widget_real_realize() does. gtk/gtkentry.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 02800033d45aad9ae7ebfe4b47c94828ea4b1b4a Author: Emmanuele Bassi Date: Tue Jan 26 13:32:47 2016 +0000 build: Missing build flags The compiler and linker flags variables were renamed in the previous commit. demos/gtk-demo/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9267f73c5597e287a6f0872cfd1038a9951bed09 Author: Emmanuele Bassi Date: Tue Jan 26 13:29:46 2016 +0000 Add more checks for the font features demo The demo also uses PangoFt2 API. configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c8686f0c474ad96075938367ae9065105ed1e03f Author: Emmanuele Bassi Date: Tue Jan 26 11:46:48 2016 +0000 demo: Link against Harfbuzz The font features demo started calling the Harfbuzz API directly starting from commit 9de3b24c205f1c647292a490f92f21a776b931a4. Harfbuzz is an implicit dependency of Pango on some platforms, but it's not part of the public dependencies; this means that we cannot expect to link to Pango and automatically get Harfbuzz symbols to link against — especially when things like --as-needed are in play. This change triggered build failures on non-Unix platforms, fixed by commit 2a9967731a3b77b102ada633c39b5a35efc80957, as well as build failures in Continuous, with this error message: /usr/lib/gcc/x86_64-gnomeostree-linux/4.9.3/../../../../x86_64-gnomeostree-linux/bin/ld: font_features.o: undefined reference to symbol 'hb_tag_to_string' //lib/libharfbuzz.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status In order to get the font features demo to build everywhere we should take an explicit, though optional, check on Harfbuzz, and conditionally build the font features demo with the right compiler and linker flags. configure.ac | 9 +++++++++ demos/gtk-demo/Makefile.am | 17 ++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) commit 2a9967731a3b77b102ada633c39b5a35efc80957 Author: Chun-wei Fan Date: Tue Jan 26 15:56:07 2016 +0800 demos: Don't build font features demo on non-UNIX The fonts features demo now uses fontconfig APIs via PangoFT2, which makes the code not build on non-Linux, so only include this demo in the build on UNIX. demos/gtk-demo/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 9de3b24c205f1c647292a490f92f21a776b931a4 Author: Matthias Clasen Date: Mon Jan 25 00:40:49 2016 -0500 gtk-demo: Expand font features demo Add more features to the list, allow selecting script/language from the set that is supported by the font, indicate which features are present in the font for the selected script/language, and expand the default specimen to cover latin, cyrillic and greek. demos/gtk-demo/font-features.ui | 1323 ++++++++++++++++++++++++++++++--------- demos/gtk-demo/font_features.c | 402 ++++++++++-- 2 files changed, 1373 insertions(+), 352 deletions(-) commit d5d6a050c5c2fbb9a53a49414b9a26293b8181ae Author: Matthias Clasen Date: Mon Jan 25 15:59:32 2016 -0500 Update expected output of a11y tests This is the outcome of a recent fix to default values for a GtkPaned property. testsuite/a11y/paned.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37000db1d3664b36676671beae964356373873da Author: Ben Iofel Date: Mon Jan 25 15:34:08 2016 -0500 Docs: fix typo docs/reference/gtk/gtk3-icon-browser.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 05f0e9a5c2390a1e6d86ab171845bdaf32f6cb2c Author: Ray Strode Date: Mon Jan 25 13:55:25 2016 -0500 wayland: __NR_memfd_create instead of SYS_memfd_create It looks like the gnome-continuous headers haven't quite caught up yet, so try __NR_memfd_create instead. If that doesn't work, i'll likely just add in a fallback code path. gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df70e28d92e7c1d95f25120bdf059c07c211f083 Author: Ray Strode Date: Mon Jan 25 11:41:23 2016 -0500 wayland: use memfd_create instead of open in tmpdir The tmpdir is used for a wide assortment of things, and can easily fill up. If it fills then desktop will start crashing with SIGBUS errors. This commit changes the shm pool allocation code, to use memfd_create, instead, so the shared memory files will be anonymous and not associated with /tmp https://bugzilla.gnome.org/show_bug.cgi?id=761095 gdk/wayland/gdkdisplay-wayland.c | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) commit 7097a4ed64197029a09c84dccb2e0925bed91e5c Author: Matthias Clasen Date: Mon Jan 25 13:01:15 2016 -0500 Fix another quoting error in installed tests Same as the previous one. I should fix my silly mistakes before copying them around... testsuite/css/style/test-css-style.test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cce493493c4deff3afcc9b45a1c35b21a37c9848 Author: Matthias Clasen Date: Mon Jan 25 10:56:19 2016 -0500 testsuite: Fix a quoting error This was breaking continous testing. Oops. testsuite/css/nodes/test-css-nodes.test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a3a86ec4b6c90cc14dec303a8853f32ae7eb83e Author: Benjamin Otte Date: Mon Jan 25 16:14:23 2016 +0100 spinbutton: Add a base gadget This really messes up rendering in Adwaita because the code now renders the spinbutton's entry node when it didn't before. gtk/gtkspinbutton.c | 248 +++++++++++----------------------------------------- 1 file changed, 53 insertions(+), 195 deletions(-) commit ad7bbbf9d8f370d7bdca355f74e6b7e44b2da0f7 Author: Benjamin Otte Date: Mon Jan 25 15:47:40 2016 +0100 entry: Use cleverer method to get the entry node gtk/gtkentry.c | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) commit 3982f05be4c228c3ec754a9783913b55d1ecef4d Author: Benjamin Otte Date: Mon Jan 25 15:42:18 2016 +0100 entry: Move spinbutton size hack If we want to do special sizing for the text, we need to do it for the text. Otherwise paddings, borders and entyr icons will screw up everything. gtk/gtkentry.c | 14 +++++++++---- gtk/gtkentryprivate.h | 4 ++++ gtk/gtkspinbutton.c | 58 +++++++++++++++++++++++++-------------------------- 3 files changed, 43 insertions(+), 33 deletions(-) commit 02fab14b3bd8aa2bb34e0945c783276e85a6f098 Author: Benjamin Otte Date: Mon Jan 25 15:04:04 2016 +0100 entry: Move code This movement is necessary for future gadgetization of GtkSpinButton. gtk/gtkentry.c | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) commit b52b4068afcd0394cc8b34b94d95a73de2127956 Author: Benjamin Otte Date: Mon Jan 25 01:33:28 2016 +0100 entry: Redo textarea handling (1) Keep priv->text_allocation for the area used by the text (2) Compute all text coordinates with the help of priv->text_allocation As a side effect the get_text_area_size and get_frame_size vfuncs are now unused. If we wanted them back, they should get a single use durig size_allocate() and then their results should be stored for further processing. gtk/gtkentry.c | 379 +++++++++++++++------------------------------------------ 1 file changed, 101 insertions(+), 278 deletions(-) commit c70907256794a8a76ed75fa754110f6e5cd3d403 Author: Benjamin Otte Date: Mon Jan 25 00:07:23 2016 +0100 entry: Use gtk_render_layout() It's funny that nobody has yet noticed that we don't draw the text using the theme. We had no text-shadow in entries!!!!! gtk/gtkentry.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) commit a363fd5fd39ee0c6f2c624da0d6bf0ca23f8f3fa Author: Benjamin Otte Date: Mon Jan 25 00:00:41 2016 +0100 entry: Draw selection the same way as GtkLabel gtk/gtkentry.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit ca690162afc7d1b56aa945437f916a3f3df1ef8e Author: Benjamin Otte Date: Sun Jan 24 23:52:49 2016 +0100 entry: Fold function into only caller gtk/gtkentry.c | 61 +++++++++++++++++++++++----------------------------------- 1 file changed, 24 insertions(+), 37 deletions(-) commit 0ae8b30210fce09aed3dea3a516706d115122523 Author: Benjamin Otte Date: Sun Jan 24 23:46:12 2016 +0100 entry: Don't allow different text over progress This complicates refactorings, so remove that feature. It's not used anywhere and doesn't play well with nodes the way it's implemented. If we want it back, we can add it back later. gtk/gtkentry.c | 71 +++++----------------------------------------------------- 1 file changed, 5 insertions(+), 66 deletions(-) commit 334b1994c451d1147c693b721c80806b52877c65 Author: Piotr Drąg Date: Mon Jan 25 03:07:00 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 10 +++++++++- po/POTFILES.skip | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) commit ba582a4a190b84eb96c586642b40f2deebb84dd0 Author: Matthias Clasen Date: Sun Jan 24 20:10:45 2016 -0500 One forgotten rename Rename app-menu.ui to menus.ui in EXTRA_DIST too. demos/icon-browser/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 792857c7b8883c7fbeb44b6b3af3c421d32c6ed5 Author: Matthias Clasen Date: Sun Jan 24 20:01:33 2016 -0500 icon browser: Load app menu automagically No need to manually create a builder and pass the resource to it, just follow the conventions and have GtkApplication do it for us. demos/icon-browser/app-menu.ui | 12 ------------ demos/icon-browser/iconbrowser.gresource.xml | 4 ++-- demos/icon-browser/iconbrowserapp.c | 7 ------- demos/icon-browser/iconbrowserwin.c | 2 +- demos/icon-browser/menus.ui | 12 ++++++++++++ 5 files changed, 15 insertions(+), 22 deletions(-) commit e8ad47498b13d5d2e09388d6853356debb593841 Author: Matthias Clasen Date: Sun Jan 24 16:29:40 2016 -0500 path bar: Don't hide arrows Changing the visibility of child widgets in size-allocate does not work well with out current allocation and layout machinery. To avoid the visual fallout, just keep the arrow buttons visible and only change their sensitivity. https://bugzilla.gnome.org/show_bug.cgi?id=754868 gtk/gtkpathbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 761120a5e2841475150fd1f6c2456e5f1928bf83 Author: Matthias Clasen Date: Sun Jan 24 10:58:32 2016 -0500 inspector: Show CSS pseudoclass names for node state This is a better fit for showing CSS node state, since one commonly looks at this information to devise CSS selectors, where the CSS names are needed. gtk/inspector/css-node-tree.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 33bb1af277c7311dcf89dc85d45f5319d0edd8f6 Author: Matthias Clasen Date: Sun Jan 24 10:56:23 2016 -0500 css: Privately export a function to get pseudoclass names This function centralizes the mapping for widget states to pseudoclass names in one place, for easier maintenance. gtk/gtkcssselector.c | 27 ++++++++++++++------------- gtk/gtkcssselectorprivate.h | 2 ++ 2 files changed, 16 insertions(+), 13 deletions(-) commit f0439264aa3648a2c556b61294580deb8d566d02 Author: Timm Bäder Date: Sun Jan 24 10:48:48 2016 +0100 gdkdnd: Fix signal docs Signals all have at least one parameter, the object that received the signal. gdk/gdkdnd.c | 4 ++++ 1 file changed, 4 insertions(+) commit d6f989f59ced24949a686d7e7dadb69c61dd9b7a Author: Timm Bäder Date: Sun Jan 24 08:01:36 2016 +0100 Inspector: Plug a few leaks gtk/inspector/css-node-tree.c | 2 +- gtk/inspector/visual.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 43747a6b30f53dbd8d2ed5e86983679110563273 Author: Matthias Clasen Date: Sun Jan 24 00:22:31 2016 -0500 paned: Initialize max_position As pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=608865 max_position should be set to G_MAXINT. gtk/gtkpaned.c | 1 + 1 file changed, 1 insertion(+) commit 873a024f5b4060568e05cd998de815ff4d8a6412 Author: Matthias Clasen Date: Sat Jan 23 22:30:59 2016 -0500 widget-factory: Add a color editor example demos/widget-factory/widget-factory.c | 40 ++++++++++++++++++++++++++++++++-- demos/widget-factory/widget-factory.ui | 5 ++--- 2 files changed, 40 insertions(+), 5 deletions(-) commit a80b55527422d6d90b4ca52bd58954ae4bb7164d Author: Matthias Clasen Date: Sat Jan 23 18:26:09 2016 -0500 color editor: Ensure spin buttons are wide enough If we don't explicitly ask for 2 chars to be visible, we might get less, and it doesn't look great. gtk/ui/gtkcoloreditor.ui | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 526fd89ec57610304516c3b4cba11242c53d6beb Author: Sebastien Lafargue Date: Fri Jan 22 22:25:29 2016 +0100 GtkColorChooser: make set_rgba work in editor mode When using the color chooser in editor mode, gtk_color_chooser_set_rgba need to be propaged to the editor https://bugzilla.gnome.org/show_bug.cgi?id=761005 gtk/gtkcolorchooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 5febf4f170983a22ca4cae58dba29813ba3c8bc3 Author: Matthias Clasen Date: Sat Jan 23 18:00:57 2016 -0500 Add a color editor test This tests using a color editor embedded in other ui. tests/Makefile.am | 4 ++++ tests/testcolorchooser2.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++ tests/testcolorchooser2.ui | 29 +++++++++++++++++++++++ 3 files changed, 92 insertions(+) commit 770e308c9eaf8c99ea17701aa1e4cfc3380ccbae Author: Matthias Clasen Date: Sat Jan 23 15:52:09 2016 -0500 widget-factory: Ensure spinbuttons are sized right GtkEntry now respects the padding set by the theme, so we need to ask the spin buttons to show 2 characters, otherwise they will be clipped. demos/widget-factory/widget-factory.ui | 4 ++++ 1 file changed, 4 insertions(+) commit 8ba996a6dbfb8a028b74ef43125c472ae6293c75 Author: Matthias Clasen Date: Sat Jan 23 01:51:48 2016 -0500 container: Clarify the forall/foreach documentation Try to make the difference between these two functions clearer. gtk/gtkcontainer.c | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) commit 695860958a9a2e7c825bcec4d0d42b427f0fb47e Author: Phil Clayton Date: Sun Sep 13 11:58:37 2015 +0100 Add missing (out) annotation to gdk_rgba_parse https://bugzilla.gnome.org/show_bug.cgi?id=754990 gdk/gdkrgba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b208edacc2c46d47a8700f1fe4b59f94da9daab8 Author: Mario Blättermann Date: Sat Jan 23 18:21:45 2016 +0100 Updated German translation po/de.po | 64 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 34 insertions(+), 30 deletions(-) commit 05f1994808d87b703156284768fcff232ff3ad09 Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:35:59 2016 -0800 win32 geometry: reorganize code to avoid prototypes gdk/win32/gdkgeometry-win32.c | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) commit 3bb23ef2feceb96f06be4f1c2b36ab1e776f1e30 Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:32:32 2016 -0800 win32 device manager: reorganize code to avoid prototypes gdk/win32/gdkdevicemanager-win32.c | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) commit b3eaaa5a2c9d217c6158db479b50b3f6dbb4c50c Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:27:02 2016 -0800 win32 virtual device: reorganize code to avoid prototypes gdk/win32/gdkdevice-virtual.c | 82 +++++++++++-------------------------------- 1 file changed, 21 insertions(+), 61 deletions(-) commit 36c3f219891817367b2b54f54130a0e943a6dde3 Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:26:04 2016 -0800 win32 device: reorganize code to avoid prototypes gdk/win32/gdkdevice-win32.c | 94 +++++++++++++-------------------------------- 1 file changed, 27 insertions(+), 67 deletions(-) commit ca4ffbfe80ce035d3c76852648835b62135169d3 Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:24:39 2016 -0800 wintab: reorganize code to avoid prototypes gdk/win32/gdkdevice-wintab.c | 87 +++++++++++--------------------------------- 1 file changed, 21 insertions(+), 66 deletions(-) commit ddbafa023aea4ba340731a07def111ad228dfa34 Author: Timm Bäder Date: Sat Jan 23 10:30:53 2016 +0100 overlay: Don't access priv pointer before typ check gtk/gtkoverlay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8096740ea4d8cdbff315152dfc06d55f1801f2eb Author: Matthias Clasen Date: Fri Jan 22 23:30:36 2016 -0500 levelbar: Document CSS node ordering gtk/gtklevelbar.c | 3 +++ 1 file changed, 3 insertions(+) commit 2cf983eb307701254df34555c74ad6fd48144006 Author: Matthias Clasen Date: Fri Jan 22 23:14:09 2016 -0500 notebook: Document CSS node order gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit 73307f78dc8a10a2db2a0979ec7ede40f367b781 Author: Matthias Clasen Date: Fri Jan 22 22:49:01 2016 -0500 box gadget: Don't allow shifting too far We don't want to let baseline adjustment shift the child out of the original allocation. This is purely a sanity measure - in practice, the baseline should always be bigger than the child_baseline. gtk/gtkboxgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50e923349ec5690baf957ac614716790df172808 Author: Matthias Clasen Date: Fri Jan 22 22:47:47 2016 -0500 box gadget: Fix baseline calculation Careful comparison with GtkBox revealed that the box gadget code was confusing up and down, and thus shifted baselines vertically. gtk/gtkboxgadget.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 57baf6804b63a598db49e2ffcc548dc46b145bea Author: Matthias Clasen Date: Fri Jan 22 22:24:46 2016 -0500 inspector: Show baseline value The misc info page already shows the allocation and clip areas, the baseline fits right in. gtk/inspector/misc-info.c | 10 ++++++++++ gtk/inspector/misc-info.ui | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) commit e26300625fb15e84ce2964aa281e89f1f7536aba Author: Matthias Clasen Date: Fri Jan 22 22:08:38 2016 -0500 box gadget: Fix baseline allocation for widgets We were adjusting the allocation to line up baselines before calling gtk_widget_size_allocate_with_baseline, but that function is doing this alignment internally anyway and expects to be given a 'fill' allocation. Move the allocation adjustment code down into gtk_box_gadget_allocate_child where it only affects child gadgets, not child widgets. gtk/gtkboxgadget.c | 186 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 108 insertions(+), 78 deletions(-) commit 029d568b040fbeedee016310594415f471ef483e Author: Matthias Clasen Date: Fri Jan 22 21:34:54 2016 -0500 gadget: Add baseline debugging This should help to understand whats going wrong with baselines. gtk/gtkcssgadget.c | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) commit 5469f2626069f4c8b2583361f1436ea118ed103a Author: Matthias Clasen Date: Fri Jan 22 19:23:54 2016 -0500 Adwaita: Move .ssd class around Make the theme follow our documentation for the various .csd and .ssd style classes: They all go on the window node. For now, just add the new selector; the old one will be removed when mutter has been updated. https://bugzilla.gnome.org/show_bug.cgi?id=760714 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 3d52fd3992be6880cce5148d8e620324158c56ea Author: Matthias Clasen Date: Fri Jan 22 17:10:41 2016 -0500 box gadget: Fix height-for-width handling When measuring children while distributing a given height, we must measure them for the given width that goes with the height. Otherwise, things will go wrong if some of the children do actual width-for-height. This was showing up as misaligned images in anaconda. https://bugzilla.gnome.org/show_bug.cgi?id=760967 gtk/gtkboxgadget.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit f32a54fb705ba787786f108fc93fad2027727eb9 Author: Carlos Garnacho Date: Thu Jan 21 15:22:42 2016 +0100 GtkTreeView: Update prelight row after revalidating rows It might have changed (eg. after a row being expanded, and the child rows revalidated), so just update it here based on the last pointer position. Based on a patch by Maxim Reznik https://bugzilla.gnome.org/show_bug.cgi?id=760891 gtk/gtktreeview.c | 5 +++++ 1 file changed, 5 insertions(+) commit a5f9dc12849b1b2efcc5c452fef5e3d99c70a172 Author: Carlos Garnacho Date: Thu Jan 21 15:21:16 2016 +0100 GtkTreeView: Avoid device query on collapsing rows The pointer position is queried to properly trigger the prelight updates on the new row below it. We store the last coordinates though, and track crossing events to unset these, so it's safe to just update_prelight() here on these. gtk/gtktreeview.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) commit 0a9e9db9f4a8b81d3dda6b7d739b0fb003a642c1 Author: Benjamin Otte Date: Fri Jan 22 20:39:14 2016 +0100 shortcuts: Don't forall() widgets that aren't children gtk/gtkshortcutssection.c | 13 +++++++------ gtk/gtkshortcutswindow.c | 41 +++++++++++++++++++---------------------- 2 files changed, 26 insertions(+), 28 deletions(-) commit efc899bd2b2a351221cd2c455773f62defc06b9c Author: Benjamin Otte Date: Thu Jan 21 16:53:25 2016 +0100 widget: Improve gtk_cairo_should_draw_window() Check that non-native window are indeed children of the event window and only then confirm that they should be drawn. Fixes Glade thinking that it's okay to have the draw function do different things depending on what window to draw. (This should really be fixed in Glade.) gtk/gtkwidget.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 74c3468d64d5e049df74e60c761e350180946e3f Author: Benjamin Otte Date: Thu Jan 21 13:31:14 2016 +0100 cssstyleproperty: Don't allow assigning min-width/min-height gtk/gtkcssstylepropertyimpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d4f853dc649e84b70a8b0dedcc9def00719e872c Author: Benjamin Otte Date: Thu Jan 21 02:19:04 2016 +0100 container: Turn assert into return_if_fail() There's no reason to insta-crash when something goes wrong. Just don't do anything stupid. Also, remove the SPCIAL_CONTAINER() exception. Every case where special containers needed this, it is wrong and made containers draw children multiple times. gtk/gtkcontainer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 6bb8da5564d8403882035d037d4938a266e85c97 Author: Benjamin Otte Date: Thu Jan 21 01:44:47 2016 +0100 stack: Clip animation drawing We use cairo_paint() when doing that and we don't want to overdraw the content area. gtk/gtkstack.c | 6 ++++++ 1 file changed, 6 insertions(+) commit a6845091f9a216ff825b0ed445a3bc8d9b438287 Author: Benjamin Otte Date: Thu Jan 21 01:22:41 2016 +0100 spinbutton: Make the entry gadget be the entry's gadget This is a big and somewhat evil hack: We replace the entry's gadget's node with the spinbutton's entry node. gtk/gtkcssgadget.c | 4 +++- gtk/gtkcssgadgetprivate.h | 2 ++ gtk/gtkentry.c | 6 ++++++ gtk/gtkentryprivate.h | 2 ++ gtk/gtkspinbutton.c | 35 +++++++++++------------------------ 5 files changed, 24 insertions(+), 25 deletions(-) commit c7c17abdb99eb3da724f56c9745744f99c846615 Author: Lapo Calamandrei Date: Fri Jan 22 13:29:35 2016 +0100 Adwaita: fix checks and radios on selected row gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/gtk-contained.css | 108 ++++++++++++------------------------ 2 files changed, 37 insertions(+), 75 deletions(-) commit 6a1722f689eaec8d52e21a1252c9d70f8f5be4fa Author: Matthias Clasen Date: Thu Jan 21 23:39:16 2016 -0500 text view: Don't leak cairo transforms The text view draw function was leaving its cairo context with a transformation after drawing to all the border windows, which lead mis-drawing in gitg. Avoid this by moving the gtk_cairo_transform_to_window call inside the existing cairo_save/restore calls. https://bugzilla.gnome.org/show_bug.cgi?id=760942 gtk/gtktextview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit eb2ef63211dc9cdb21da1e93045017003a0ed642 Author: Matthias Clasen Date: Thu Jan 21 22:53:06 2016 -0500 wayland: Don't hardcode /tmp As pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=760964, we should use the GLib facilities for determining the preferred location for temporary files. gdk/wayland/gdkdisplay-wayland.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit d3f18abf7dfbfb538175108dd5cf422bb629663c Author: Mario Blättermann Date: Thu Jan 21 17:48:25 2016 +0100 Updated German translation po/de.po | 1061 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 664 insertions(+), 397 deletions(-) commit 0f7b4dad0f6cef80172638efb019ce094d7eadee Author: Carlos Garcia Campos Date: Thu Jan 21 14:36:42 2016 +0100 cssstyleproperty: Make it possible to query CSS opacity with gtk_style_context_get() Add a query implementation to opacity property. Also fix the assert in gtk_css_style_property_register() to allow registering properties with query but without assign function. https://bugzilla.gnome.org/show_bug.cgi?id=760933 gtk/gtkcssstylepropertyimpl.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit bd4aaa12851512a2e12736111fc41756c367c327 Author: Lapo Calamandrei Date: Thu Jan 21 03:12:10 2016 +0100 Adwaita: first css check/radio implementation draw checks and radios with css istead of relying on png assets. gtk/theme/Adwaita/_common.scss | 80 +++-- gtk/theme/Adwaita/assets/bullet-symbolic.svg | 155 +++++++++ gtk/theme/Adwaita/assets/check-symbolic.svg | 154 ++++++++ gtk/theme/Adwaita/assets/dash-symbolic.svg | 153 ++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 427 +++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 502 +++++++++++++++------------ 6 files changed, 1032 insertions(+), 439 deletions(-) commit 77a6d976b2f6dff25589450c84c85d968aacaad7 Author: Matthias Clasen Date: Thu Jan 21 08:42:55 2016 -0500 css: Fix refcounting thinko in -gtk-recolor gtk_css_style_get_value does not return a reference. So don't unref the return value without taking one. gtk/gtkcssimagerecolor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4bfba00c4b16a876d4fa124d0b48ced6f099c5f Author: Matthias Clasen Date: Thu Jan 21 08:20:06 2016 -0500 Handle svg image assets in Adwaita The build glue for collecting all the assets in Adwaita as resources was assuming that they are all pngs, and tried to preprocess them into embedded GdkPixbufs. Fix it to leave svgs unmolested, so they can be recolored at runtime. gtk/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 419f2c670dcfe7975bb31970991d844f5e38c74e Author: Matthias Clasen Date: Thu Jan 21 08:18:46 2016 -0500 css: Handle image loading errors graciously If we fail to load the image for a -gtk-recolor() expression, fall back to using the image-missing icon instead of crashing, and include more details in the warning message. gtk/gtkcssimagerecolor.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit ffc4f8ee11b916df95ef81c3a09f4f693ccd2e72 Author: Matthias Clasen Date: Thu Jan 21 08:18:28 2016 -0500 Forgotten file gtk/inspector/misc-info.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52326e909a4a1e24e1f027f43b820eee03c15b02 Author: Matthias Clasen Date: Wed Jan 20 22:53:47 2016 -0500 Adwaita: Set a text color for lists Symbolic icons in list boxes came out white-on-white in the inspector. Set an explicit text color to prevent that. gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit e33bda3078c64a723edde86906d6a551d9f3ffd5 Author: Matthias Clasen Date: Wed Jan 20 22:52:05 2016 -0500 inspector: Show full allocation + clip Previously, we were only showing the size of the allocation and clip area. But there is no good reason to hide the position of these rectangles, so add them, in the traditional format of X geometry strings: wxh+x+y gtk/inspector/misc-info.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 449a9c419a929ca6ae13d55794ba990cb0ab963e Author: Matthias Clasen Date: Wed Jan 20 22:51:25 2016 -0500 inspector: Refine typography Use thin spaces in the formatting of monitor sizes. gtk/inspector/general.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c2d4fd6b9397f54a046adf1c9edbd1190961551d Author: Matthias Clasen Date: Wed Jan 20 19:33:16 2016 -0500 Fix GtkShortcutsWindow crash GtkShortcutsWindow is among the 'cheating' containers that iterate over indirect children in forall, and this is now triggering an assertion in gtk_container_propagate_draw. For now, just exclude the cheating containers from the assertion. Eventually, this needs a better solution. gtk/gtkcontainer.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit 5150849a67f0c5d4d1649f33047cbb23500c88b0 Author: Ray Strode Date: Wed Jan 20 12:35:44 2016 -0500 wayland: don't pass in width and height to create_shm_pool create_shm_pool doesn't need the width or height, it just needs the total size. By passing it in, we're requiring it to redo stride calculation unnecessarily. This commit drops the width and height parameters and makes the function just take the total size directly. https://bugzilla.gnome.org/show_bug.cgi?id=760897 gdk/wayland/gdkdisplay-wayland.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 1e001eaa7874bc00cfc3a2c86e8e40b0fe18c4e5 Author: Ray Strode Date: Wed Jan 20 11:40:34 2016 -0500 wayland: clean up stride calculation when creating shm surface Right now, we assume the stride for the image surface needs to be 4 byte aligned. This is, in fact, true, but it's better to ask cairo for the alignment requirement directly rather than assume we know the alignment rules. This commit changes the code to use cairo_format_stride_for_width to calculate a suitable rowstride for pixman. https://bugzilla.gnome.org/show_bug.cgi?id=760897 gdk/wayland/gdkdisplay-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c8deaeabddc0cf8aa16bf118f7a9f61a5a4a59aa Author: Ray Strode Date: Wed Jan 20 12:22:29 2016 -0500 wayland: unlink shm file earlier in create function create_shm_pool unlinks the temporary file a little, too late. It should be unlinked before ftruncate() is called for two reasons: 1) if ftruncate fails, the file is currently not getting cleaned up at all 2) in theory, if the file is public some other process could muck with it This commit just moves the unlink call a little higher up. https://bugzilla.gnome.org/show_bug.cgi?id=760897 gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c1bee2377eba8acc2d6ce03c3bc82fbf157fd37 Author: Carlos Garnacho Date: Wed Jan 20 19:52:01 2016 +0100 GtkNotebook: Unify two private variables Button state was being kept in two separate variables, which lead to slight confusions in DnD that caused the notebook to ignore the first click after DnD happened from (within) it. Unify these two into one, which helps us keep better track of the really pressed buttons. gtk/gtknotebook.c | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) commit da31eb4f64eb9218126277851a16f38134fe1f7f Author: Matthias Clasen Date: Wed Jan 20 13:42:45 2016 -0500 container: Don't create too-large clips gdk_rectangle_union will happily add all the worlds pixels to the union if the initial rectangle is initialized to all zeros. Therefore, explicitly check for an empty rectangle before calling it. gtk/gtkcontainer.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 51f05a00aef5e54f4ecd006f49ed9d1d0497aae8 Author: Matthias Clasen Date: Wed Jan 20 13:12:13 2016 -0500 Clarify docs for gdk_rectangle_union This function does not ignore empty rectangles. Since this is a fairly subtle point about the behavior, it is worth spelling this out in the documentation. We've had a bug open about this for a long time: https://bugzilla.gnome.org/show_bug.cgi?id=464528 gdk/gdkrectangle.c | 3 +++ 1 file changed, 3 insertions(+) commit 4f6ea16c2e747c32e78285129df4b98b2a80c10d Author: Carlos Garnacho Date: Wed Jan 20 18:55:51 2016 +0100 wayland: Protect against NULL offers on gdk_drag_status() implementation If we're called untimely, we might end up crashing here when poking the NULL wl_data_offer. gdk/wayland/gdkdnd-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 261622733c9e30fee08a14623fa970020ead9436 Author: Carlos Garnacho Date: Wed Jan 20 18:53:03 2016 +0100 gtkdnd: Disconnect GdkDragContext signals on gtk_drag_source_info_free() Otherwise it may still be tricked into emitting further signals at a time we've already destroyed the GtkDragSourceInfo passed as callback user data. gtk/gtkdnd.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit f535251507a6a0af68aed6348ae80cbdac9b1f4a Author: Benjamin Otte Date: Wed Jan 20 17:37:04 2016 +0100 notebook: Get rid of during_reorder variable Use operation == OPERATION_REORDER instead. gtk/gtknotebook.c | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) commit c162a0cca8c7454f8b695b71cec08160569f26ee Author: Benjamin Otte Date: Wed Jan 20 17:20:03 2016 +0100 notebook: Properly hide drag window Move code to properly reinsert the tab label to where it belongs. The if has the distinction between reparented-to-dnd-window and just-changed-the-gdk-window-to-draw-to right there. https://bugzilla.gnome.org/show_bug.cgi?id=760754 gtk/gtknotebook.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) commit 099662998af2991a280fc70ec3f29638b20eaba3 Author: Benjamin Otte Date: Wed Jan 20 16:45:40 2016 +0100 notebook: Get rid of during_detach member use operation == OPERATION_DETACH instead. gtk/gtknotebook.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 5fd7b85d2b37e59e07fba09bedfb9ffea00bef43 Author: Matthias Clasen Date: Wed Jan 20 09:41:01 2016 -0500 Add a function to get affected area for background The new function, gtk_render_background_get_clip answers the question: what pixels are affected if I call gtk_render_background ? The long-term goal is to have APIs that answer this question for all rendering primitives. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkrender.c | 33 +++++++++++++++++++++++++++++++++ gtk/gtkrender.h | 9 +++++++++ 3 files changed, 43 insertions(+) commit b2eaed62f6923167163b57e6c8aa6927418ef38f Author: Ondrej Holy Date: Wed Jan 20 11:36:12 2016 +0100 file chooser: Allow saving even if executable attribute is not set Commit 8e975b2 (Bug 753969) introduced check of parent accessibility. Consequently it is not possible to save file if executable attribute is not set, which might happen for some gvfs backends. Let's assume that the folder is accessible even if the attribute is not set. https://bugzilla.gnome.org/show_bug.cgi?id=760881 gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit fef545c623831ab88b8d377bd7b081a7405195a0 Author: Kalev Lember Date: Wed Jan 20 13:00:10 2016 +0100 configure: Require wayland >= 1.9.91 Needed since commit 1045dda0358dee67e8dfbf13b40181b4c2ba1f1c configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3f8316d08e211d20fb0771576d4209e763b64ab Author: Benjamin Otte Date: Wed Jan 20 05:09:25 2016 +0100 viewport: Don't destroy pixelcache while it's still used Removing the child unsets the pxielcache's style context... gtk/gtkviewport.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit e1068255b3ddade6ee60c85069dc0b4ff1da1120 Author: Matthias Clasen Date: Tue Jan 19 22:45:37 2016 -0500 gtk-demo: Fix font features sources The resources had the prefix, causing the ui file not to show up. demos/gtk-demo/demo.gresource.xml | 2 +- demos/gtk-demo/font_features.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9cb0a97bb56ef904e7518a8b3bd722acd8515773 Author: Benjamin Otte Date: Wed Jan 20 04:35:04 2016 +0100 viewport: Set the pixel cache background from the child The viewport itself doesn't move, so we cannot use it as the pixel cache's background. Use the bottommost using element instead, which is the viewport's child. This might need adaptations in themes as we want the backgroud to be opaque to speed up pixel cache performance. gtk/gtkviewport.c | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit bb92428112b1b6ee4fae639e5190608c437c24b5 Author: Matthias Clasen Date: Tue Jan 19 21:38:30 2016 -0500 notebook: Implement rtl flipping for CSS nodes Use gtk_box_gadget_reverse_children and gtk_css_node_reverse_children to flip the children of the header_gadget and the tabs_gadget when appropriate. Add new CSS node tests to verify that the node order is updated as expected in all cases. gtk/gtknotebook.c | 75 +++++++++++---------------- testsuite/css/nodes/Makefile.am | 38 ++++++++------ testsuite/css/nodes/notebook.bottom.ltr.nodes | 18 +++++++ testsuite/css/nodes/notebook.bottom.ltr.ui | 56 ++++++++++++++++++++ testsuite/css/nodes/notebook.bottom.nodes | 18 ------- testsuite/css/nodes/notebook.bottom.rtl.nodes | 18 +++++++ testsuite/css/nodes/notebook.bottom.rtl.ui | 56 ++++++++++++++++++++ testsuite/css/nodes/notebook.bottom.ui | 56 -------------------- testsuite/css/nodes/notebook.left.ltr.nodes | 18 +++++++ testsuite/css/nodes/notebook.left.ltr.ui | 56 ++++++++++++++++++++ testsuite/css/nodes/notebook.left.nodes | 18 ------- testsuite/css/nodes/notebook.left.rtl.nodes | 18 +++++++ testsuite/css/nodes/notebook.left.rtl.ui | 56 ++++++++++++++++++++ testsuite/css/nodes/notebook.left.ui | 56 -------------------- testsuite/css/nodes/notebook.right.ltr.nodes | 18 +++++++ testsuite/css/nodes/notebook.right.ltr.ui | 56 ++++++++++++++++++++ testsuite/css/nodes/notebook.right.nodes | 18 ------- testsuite/css/nodes/notebook.right.rtl.nodes | 18 +++++++ testsuite/css/nodes/notebook.right.rtl.ui | 56 ++++++++++++++++++++ testsuite/css/nodes/notebook.right.ui | 56 -------------------- testsuite/css/nodes/notebook.top.ltr.nodes | 18 +++++++ testsuite/css/nodes/notebook.top.ltr.ui | 55 ++++++++++++++++++++ testsuite/css/nodes/notebook.top.nodes | 18 ------- testsuite/css/nodes/notebook.top.rtl.nodes | 18 +++++++ testsuite/css/nodes/notebook.top.rtl.ui | 55 ++++++++++++++++++++ testsuite/css/nodes/notebook.top.ui | 55 -------------------- 26 files changed, 642 insertions(+), 356 deletions(-) commit 0304817d8147d452eb7a5738db200306678218a4 Author: Benjamin Otte Date: Wed Jan 20 02:37:45 2016 +0100 css: AFFFECTS_TEXT causes a resize, not a redraw And we schedule the resize conditionally only when text is rendered but don't do that check for the redraw. gtk/gtkcsstypesprivate.h | 1 - 1 file changed, 1 deletion(-) commit 065aa296ed4908dff896818e9859258ab9ed9e02 Author: Benjamin Otte Date: Wed Jan 20 02:17:32 2016 +0100 widget: Properly invalidate when CSS font properties change. gtk/gtkwidget.c | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) commit e06c08a291d47732bce0ac1a15d0cc5c32733973 Author: Piotr Drąg Date: Wed Jan 20 01:43:38 2016 +0100 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 4 ++++ po/POTFILES.in | 1 + po/POTFILES.skip | 4 ++++ 4 files changed, 10 insertions(+) commit 02dabcfd2be53991152144da129cae73edec381f Author: Matthias Clasen Date: Tue Jan 19 08:16:11 2016 -0500 3.19.7 NEWS | 16 ++++++++++++++-- configure.ac | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) commit e3b49b2d6c03bb43f3601635add08148b447f0e4 Author: Matthias Clasen Date: Tue Jan 19 09:18:33 2016 -0500 Update expected output of a11y tests This reflects my recent change to messagedialog titles. testsuite/a11y/messagedialog.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit cba7b2c56b22481211c21070198b8b3f87ead417 Author: Matthias Clasen Date: Tue Jan 19 06:28:55 2016 -0500 Simplify foreign drawing example This is code will be copied, so take out unnecessary complication. demos/gtk-demo/foreigndrawing.c | 51 ++++++++++------------------------------- 1 file changed, 12 insertions(+), 39 deletions(-) commit cccaf1d16bb42f343d4ba5b6ea2f81d5d9555d92 Author: Matthias Clasen Date: Tue Jan 19 07:13:57 2016 -0500 Use actual drop status We have this information in the XDND protocol, so we don't have to blindly assume that the drop succeeded. gdk/x11/gdkdnd-x11.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 40b28ac66a5b11eb98d6bf72db65a1b602ca1a60 Author: Carlos Garnacho Date: Mon Jan 18 22:22:24 2016 +0100 gdk: Document the functions that don't need calling on managed DnD These functions will be automatically called by the windowing backend. The usual hooks to run this from in gtk/ shouldn't even happen, but it is worth to document which calls are expected and which aren't. gdk/gdkdnd.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 5b1d96234d5f84c8757aac160673998f9d8be16f Author: Carlos Garnacho Date: Mon Jan 18 14:05:00 2016 +0100 wayland: Set weak reference on the current grab window If the grab window is destroyed the grab will be implicitly removed, although we won't get GdkSeat:ungrab called in order to clear our internal window<->seat relation entirely. Setting a weak ref will nullify the pointer we keep on the seat to the window, avoiding the expected crashes. gdk/wayland/gdkdevice-wayland.c | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) commit be3f0dad82b6e02afd320eecda5cd98af6baf34a Author: Carlos Garnacho Date: Mon Jan 18 13:31:35 2016 +0100 wayland: Unset button modifiers on pointer enter Due to implicit grabs, we basically can guarantee that the pointer won't have any buttons pressed at the time of wl_pointer.enter. Seems like a good place to unset any button modifiers that might have been left stale by compositor grabs. gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 1045dda0358dee67e8dfbf13b40181b4c2ba1f1c Author: Carlos Garnacho Date: Wed Jan 13 21:00:34 2016 +0100 wayland: Implement DnD actions as per wl_data_device v3 Implement as a managed GdkDragContext, which actually fits nicely with the drag-and-drop model in wayland. gdk/wayland/gdkdevice-wayland.c | 69 ++------------ gdk/wayland/gdkdisplay-wayland.c | 4 +- gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkdnd-wayland.c | 143 ++++++++++++++++++++++++--- gdk/wayland/gdkprivate-wayland.h | 4 +- gdk/wayland/gdkselection-wayland.c | 191 ++++++++++++++++++++++++++++++------- gtk/gtkdnd.c | 11 ++- 7 files changed, 309 insertions(+), 114 deletions(-) commit 0747a60129777ec44ed1053df16823d5eeb63594 Author: Carlos Garnacho Date: Wed Jan 13 20:57:47 2016 +0100 wayland: Add internal gdk_wayland_seat_set_global_cursor() This can be used for cases (like DnD) where there isn't necessarily a grab, but we want a global pointer cursor. gdk/wayland/gdkdevice-wayland.c | 19 +++++++++++++++++-- gdk/wayland/gdkprivate-wayland.h | 3 +++ 2 files changed, 20 insertions(+), 2 deletions(-) commit 8d47617623a592c9273b7ea34ee2145be9bb2b6b Author: Carlos Garnacho Date: Wed Jan 13 20:54:43 2016 +0100 gtkdnd: Reset widget controllers when starting DnD. Otherwise there's no full guarantees that this will happen. gtk/gtkdnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 2b703b61cfdad95c1f780d23019052ad23348393 Author: Carlos Garnacho Date: Wed Jan 13 20:53:54 2016 +0100 gtk: Add private gtk_widget_reset_controllers() This is a one-shot call that can be called on the places we know we're taking input away. gtk/gtkwidget.c | 27 ++++++++++++++++----------- gtk/gtkwidgetprivate.h | 2 ++ 2 files changed, 18 insertions(+), 11 deletions(-) commit e4f5e31b8baf5addc28ccb68b1b6d88f8f8ed5df Author: Carlos Garnacho Date: Fri Jan 8 21:31:51 2016 +0100 gtkdnd: Optionally use gdk_drag_context_manage_dnd() When this is in use, there's essentially a bunch of dead code here. When all backends are ported, we'll be able to remove grab/cursor management plus a bunch of source-side event handlers. gtk/gtkdnd.c | 179 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 147 insertions(+), 32 deletions(-) commit bfee45e6f9f13506f97c8765255c7dc0dd698420 Author: Carlos Garnacho Date: Fri Jan 8 21:24:52 2016 +0100 x11: Implement gdk_drag_context_manage_dnd() This includes managing input events and source-side DND events, as well as setting the appropriate cursor and emitting the signals that are expected in this mode of operation. gdk/x11/gdkdnd-x11.c | 538 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 538 insertions(+) commit ed5da43afb6156a4e7c7783c3ada582ff581b0b4 Author: Carlos Garnacho Date: Wed Jan 13 20:51:19 2016 +0100 gdk: Add gdk_drag_get_cursor() This function (most similar to gtk_drag_get_cursor() helps figure out the right cursor that applies to a given action. To be used by the various backends. gdk/gdkdnd.c | 29 +++++++++++++++++++++++++++++ gdk/gdkdndprivate.h | 1 + 2 files changed, 30 insertions(+) commit f6b8fb5a6b2e18b3f80587a50c0786492a3b2f3b Author: Carlos Garnacho Date: Fri Jan 8 21:22:47 2016 +0100 gdk: Run DnD internal handlers before the main event handler We'll be stealing those to GTK+, if the GdkDragContext manages the DnD operation. gdk/gdkevents.c | 4 ++++ 1 file changed, 4 insertions(+) commit edc4374a634b1597e6c7a3e6136a54f4ed74bb4e Author: Carlos Garnacho Date: Fri Jan 8 21:03:01 2016 +0100 gdk: Allow internal management of source-side DnD We've traditionally left GTK+ to handle the input side of things, letting GDK only manage the windowing-specific messaging. This way of splitting responsibilities is not compatible however with some backends, we must fold then input management at the DnD stage into GDK (and backends) domain. The gdk_drag_context_manage_dnd() call is meant to be the entry point for this mode of operation, if the drag and drop operation becomes managed, the caller (i.e. gtkdnd.c) doesn't need to perform grabs, nor manage input events itself. As a consequence of this, different aspects now belong to the backend GdkDragContext implementation: - Because the caller doesn't see keyboard events anymore, keyboard navigation must be managed in GDK, so is the decision of the current action based on modifiers/button pressed. - Because the caller won't see input events in general, the lifetime of the drag and drop operation is now communicated through the ::drop-performed, ::dnd-finished and ::cancel events - Because the caller doesn't participate anymore on the action being chosen, the pointer cursor must be set by the backend. The caller is rather notified of the final action through the ::action signal. The caller is still responsible of dealing with the corresponding GdkSelection, ensuring its ownership and communicating the supported mimetypes. gdk/gdkdnd.c | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkdnd.h | 4 ++ gdk/gdkdndprivate.h | 22 +++++++ 3 files changed, 211 insertions(+) commit a50baba16058ea86c95269c2eff24a1c97ec34d2 Author: Benjamin Otte Date: Tue Jan 19 14:11:36 2016 +0100 widget: Call gdk_window_mark_paint_from_clip() again The proper window to call it is the event window, as the call itself ignores non-native windows anyway. gtk/gtkwidget.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit f64bb38aa7c3190738c4c6281e7ecdd32fc99221 Author: Marek Černocký Date: Tue Jan 19 12:52:58 2016 +0100 Fixed typo childen->children gtk/gtkpopovermenu.c | 2 +- gtk/gtkstack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3fea7f296e567b2138e1be2b7adaca3ca81c145b Author: Matthias Clasen Date: Mon Jan 18 23:40:38 2016 -0500 gtk-demo: Add a progress bar to foreigndrawing This is another commonly requested widget. demos/gtk-demo/foreigndrawing.c | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) commit 409760babfbb3abd34b9a6d208a9175a23d89bc2 Author: Benjamin Otte Date: Tue Jan 19 04:33:09 2016 +0100 container: Properly reorder no-window children ... that are setup with gtk_widget_set_parent_window(). Fixes scrollbars not being drawn in GtkScrolledWindow. gtk/gtkcontainer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ab5dbfd1f1fec1c8e62460236769ffd80cad4a54 Author: Benjamin Otte Date: Tue Jan 19 04:24:32 2016 +0100 widget: Add forgotten push_group code ... and remove the also forgotten void function that lingered around with it. Fixes opacity=0 parts like inactive spinners or sort indicators in treeview headers being drawn since last commit. Oops. gtk/gtkwidget.c | 59 ++++++++++++++++----------------------------------------- 1 file changed, 16 insertions(+), 43 deletions(-) commit 580ea227a6bb19ad6c6d4766b3a36dbad24583f3 Author: Benjamin Otte Date: Tue Jan 19 02:42:58 2016 +0100 widget: Redo drawing code Previously, we had a special cae to draw subwindows of widgets. This is not necessary as conformant widgets should be able to properly render themselves when all windows need to be painted. From now on assume that is the case. We therefore paint nonnative GDK windows "inline" by just returning TRUE for gtk_cairo_should_draw_window() for those windows. This speeds up hilighting different rows in the listbox gtk-demo example tremendously (by a factor of 10 or more) as the previous code was O( * ) which in the listbox example were ~15,000 and ~2,000 respectively. gtk/gtkcontainer.c | 120 +++++++++++--------------- gtk/gtkwidget.c | 228 +++++++++---------------------------------------- gtk/gtkwidgetprivate.h | 8 +- 3 files changed, 92 insertions(+), 264 deletions(-) commit 402cecf9a2aecf95ac8efca84179adcb1ce8e956 Author: Benjamin Otte Date: Tue Jan 19 00:53:55 2016 +0100 actionbar: Don't forall() widgets twice When using forall(), only list the revealer, which lists the box containing all the children. When using foreach(), bypass revealer and box and list all children added to the box. gtk/gtkactionbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 575dfb407502d8596e7933065aea4cea8664fcbc Author: Matthias Clasen Date: Mon Jan 18 20:20:32 2016 -0500 Updates NEWS | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) commit 1821c2df609b2877d732ad662a399e297ff56a41 Author: Matthias Clasen Date: Mon Jan 18 14:54:25 2016 -0500 text view: Expose cursor blink control Derived classes like GtkSourceView with their own ::key-event handler need access to this, in order to make their keynav as nice as the builtin one, wrt to caret visibility. https://bugzilla.gnome.org/show_bug.cgi?id=760748 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtktextview.c | 22 ++++++++++++++++++++++ gtk/gtktextview.h | 3 +++ 3 files changed, 26 insertions(+) commit f8b8e4eaf8564eb280ee613dbbc89d79411ab19c Author: Carlos Garnacho Date: Thu Jan 14 20:24:28 2016 +0100 x11: Set event->scroll.is_stop We still figure this out from 0/0 scroll events. This method is not intended to last forever, but it's something we can cling to so far. https://bugzilla.gnome.org/show_bug.cgi?id=756729 gdk/x11/gdkdevicemanager-xi2.c | 3 +++ 1 file changed, 3 insertions(+) commit 48aa1bb08f89a1f3f8f290da771f183cdd5061d8 Author: Peter Hutterer Date: Wed Oct 21 10:14:40 2015 +1000 wayland: add gdk_event_is_scroll_stop_event() And use it to handle kinetic scrolling in the GtkScrolledWindow. However, dropping the delta check causes the X11-based kinetic scroll to break since we don't have the stop event here. Correct handling of xf86-input-libinput-based scroll events is still being discussed. https://bugzilla.gnome.org/show_bug.cgi?id=756729 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 23 +++++++++++++++++++++++ gdk/gdkevents.h | 4 ++++ gdk/gdkwindow.c | 1 + gdk/wayland/gdkdevice-wayland.c | 21 +++++++++++++++++++-- gtk/gtkscrolledwindow.c | 2 +- 6 files changed, 49 insertions(+), 3 deletions(-) commit 3fca36169a0fd5f19b1b2099547060214f40b904 Author: Peter Hutterer Date: Tue Oct 20 13:21:54 2015 +1000 wayland: add support for wl_pointer frame/axis_source/axis_discrete/axis_stop This adds support for the new wl_pointer events available in v5. The wl_pointer.axis_source events can be ignored for the purposes here, the main reason they exist is so that the combination of axis_source=finger and axis_stop triggers kinetic scrolling. We don't need to care about the source, axis_stop is enough for us to tell us when we're scrolling. The wl_pointer.frame events group events together and is intended as a mechanism to coalesce events together. This for example allows us to now send a single GTK scroll event for a diagonal scroll. Previously, the two wl_pointer.axis events had to be handled separately. The wl_pointer.axis_discrete event sends mouse wheel clicks where appropriate, and is translated into up/down/left/right scroll events. https://bugzilla.gnome.org/show_bug.cgi?id=756729 gdk/wayland/gdkdevice-wayland.c | 289 +++++++++++++++++++++++++++++++++------ gdk/wayland/gdkdisplay-wayland.c | 4 +- gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkprivate-wayland.h | 1 + 4 files changed, 252 insertions(+), 43 deletions(-) commit ac95bac5b817f8167dd568247b478534b960ec9e Author: Matthias Clasen Date: Mon Jan 18 14:31:37 2016 -0500 Drop a reference to regions Regions don't work anymore, so don't recommend them in the docs. gtk/gtkwidget.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit b3b048906c7378f104b8be4f4889a8e15025fcd1 Author: Matthias Clasen Date: Mon Jan 18 13:54:20 2016 -0500 im context simple: Protect shared data structures Since a41f02f9b1843e0f0085f801430e55f413a9bf9c, GtkIMContextSimple uses threads to load X Compose files. It does that every time a new im context object is initialized, so we can easily end up with multiple threads accessing the shared global_tables list at the same time. Use a lock to prevent that. https://bugzilla.redhat.com/show_bug.cgi?id=1276432 gtk/gtkimcontextsimple.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit e150ea85bb548afdf5724beed6e262fd2d8fa7b3 Author: Benjamin Otte Date: Mon Jan 18 18:05:53 2016 +0100 cssnode: Don't leak the style cache on destruction gtk/gtkcssnode.c | 3 +++ 1 file changed, 3 insertions(+) commit af958b86cb3126cf6178d1d9e95948c2ae66cf71 Author: Timm Bäder Date: Mon Jan 18 17:22:09 2016 +0100 gdkdisplay-x11: Plug memory leak gdk/x11/gdkdisplay-x11.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ff5d14f1a8064d41c3ee3d94f496994581cfd3a0 Author: Matthias Clasen Date: Mon Jan 18 11:05:53 2016 -0500 text view: Update selection node visibility Make the node invisible if we don't have a selection. gtk/gtktextview.c | 5 +++++ 1 file changed, 5 insertions(+) commit b08fe985cc375f02c9c385c85f9e3a481ba77b3c Author: Matthias Clasen Date: Mon Jan 18 10:52:26 2016 -0500 entry: Expand the css node docs Mention the context menu. gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 07eda5920f938b65f2a089f4f6396d7003049804 Author: Matthias Clasen Date: Mon Jan 18 10:51:54 2016 -0500 text view: Expand CSS node docs Mention the selection node, and the context menu. gtk/gtktextview.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit c24c56a143667cbd95e875d6d47239ca7278828c Author: Matthias Clasen Date: Mon Jan 18 09:06:12 2016 -0500 Forgotten file testsuite/css/nodes/notebook.top.nodes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 3281d1a284fc870488de7da7de756e27d227d367 Author: Benjamin Otte Date: Mon Jan 18 15:01:49 2016 +0100 notebook: Don't crash when dnd'ing tabs out https://bugzilla.gnome.org/show_bug.cgi?id=760754 gtk/gtknotebook.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit eca1b3cba3593a54ea0a027efd27de79b46aeb16 Author: Benjamin Otte Date: Mon Jan 18 15:01:38 2016 +0100 accellabel: Remove unused variable gtk/gtkaccellabel.c | 1 - 1 file changed, 1 deletion(-) commit 6f3cff16af2d02c1a077d4803a2318d437b0f479 Author: Matthias Clasen Date: Mon Jan 18 08:54:35 2016 -0500 gdk: Clarify docs about scale Explicitly state where we return application pixels as opposed to device pixels. gdk/gdkscreen.c | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) commit bbc08d08a9f54deaf20842af8c301aedc13399ed Author: Matthias Clasen Date: Mon Jan 18 08:36:53 2016 -0500 Trivial typo fix gdk/gdkscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65ae48d707b888d4a5c81d8f52982c0db5e6e96d Author: Matthias Clasen Date: Mon Jan 18 07:39:56 2016 -0500 Add more CSS node tests for notebooks testsuite/css/nodes/Makefile.am | 5 ++- testsuite/css/nodes/notebook.bottom.nodes | 18 ++++++++++ testsuite/css/nodes/notebook.bottom.ui | 56 +++++++++++++++++++++++++++++++ testsuite/css/nodes/notebook.left.nodes | 18 ++++++++++ testsuite/css/nodes/notebook.left.ui | 56 +++++++++++++++++++++++++++++++ testsuite/css/nodes/notebook.nodes | 16 --------- testsuite/css/nodes/notebook.right.nodes | 18 ++++++++++ testsuite/css/nodes/notebook.right.ui | 56 +++++++++++++++++++++++++++++++ testsuite/css/nodes/notebook.top.ui | 55 ++++++++++++++++++++++++++++++ testsuite/css/nodes/notebook.ui | 43 ------------------------ 10 files changed, 281 insertions(+), 60 deletions(-) commit d73f6b8c50d31fffe0c4e237b6b39391c9f8faf0 Author: Timm Bäder Date: Mon Jan 18 12:46:18 2016 +0100 entry: Deprecate shadow-type Things like that should be handled using css. Also, the property value is unused inside GtkEntry. gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f74f81f06b1b08269120ada349cc57e2af02cd8d Author: Руслан Ижбулатов Date: Wed Apr 22 19:21:53 2015 +0000 W32: Detect ticks wraparound https://bugzilla.gnome.org/show_bug.cgi?id=748327 gdk/win32/gdkevents-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 83eb36a896c14c754bf28e05407738fcf66cb9d7 Author: Matthias Clasen Date: Mon Jan 18 00:29:29 2016 -0500 Add CSS node tests for checkbutton rtl flipping testsuite/css/nodes/Makefile.am | 26 +++++++++++----------- testsuite/css/nodes/checkbutton.ltr.nodes | 9 ++++++++ testsuite/css/nodes/checkbutton.ltr.ui | 36 +++++++++++++++++++++++++++++++ testsuite/css/nodes/checkbutton.rtl.nodes | 9 ++++++++ testsuite/css/nodes/checkbutton.rtl.ui | 36 +++++++++++++++++++++++++++++++ 5 files changed, 104 insertions(+), 12 deletions(-) commit 121aec6de854f8615c6df29a1c2006689431d45f Author: Matthias Clasen Date: Mon Jan 18 00:24:53 2016 -0500 Add css node tests for expander rtl flipping testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/expander.ltr.nodes | 7 +++++++ testsuite/css/nodes/expander.ltr.ui | 24 ++++++++++++++++++++++++ testsuite/css/nodes/expander.rtl.nodes | 7 +++++++ testsuite/css/nodes/expander.rtl.ui | 24 ++++++++++++++++++++++++ 5 files changed, 64 insertions(+) commit 2a665715b6189b51d001a948257f67d878014580 Author: Matthias Clasen Date: Mon Jan 18 00:19:31 2016 -0500 expander: Flip the alignment of the vertical box To ensure that the title moves to the other side as expected in RTL, use GTK_ALIGN_START/END instead of GTK_ALIGN_FILL when packing the title gadget into the vertical box, and flip the alignment when the text direction changes. gtk/gtkexpander.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 296f80a580b1b9c62a9acc52f3ab713b9662409f Author: Matthias Clasen Date: Mon Jan 18 00:11:54 2016 -0500 expander: Handle rtl changes again Now that the box gadget has api for it, use it here to change the order of the gadgets for right-to-left. gtk/gtkexpander.c | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) commit a32b39c60faefb8bf3eb00e8e2ec10217b301e92 Author: Matthias Clasen Date: Mon Jan 18 00:04:23 2016 -0500 checkbutton: Handle rtl changes again Now that the box gadget has api for it, use it here to change the order of the gadgets for right-to-left. gtk/gtkcheckbutton.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit 5265db5dd616f654d1c17b395f97818b2b531000 Author: Matthias Clasen Date: Mon Jan 18 00:03:39 2016 -0500 box gadget: Add a function to reverse children This can be used to handle text direction changes. gtk/gtkboxgadget.c | 20 ++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 1 + 2 files changed, 21 insertions(+) commit f6757e0c0cb59ee4bb9f8ea0f022cc232e54bc74 Author: Benjamin Otte Date: Mon Jan 18 05:04:12 2016 +0100 reftests: Fix up for easy CSS changes This is mostly search and replace ala GtkButton => button GtkWindow => window .button => button or removing style properties that aren't used anymore like -GtkButton-default-border: 0 testsuite/reftests/background-area.css | 10 +- .../reftests/background-color-transparent.css | 2 +- testsuite/reftests/background-origin.css | 6 +- testsuite/reftests/background-position.css | 6 +- testsuite/reftests/background-size.css | 2 +- .../reftests/background-window-transparent.css | 2 +- testsuite/reftests/border-color-default.css | 2 +- .../border-corner-zero-width-rendering.css | 2 +- testsuite/reftests/border-half-pixel.css | 2 +- testsuite/reftests/border-image-excess-size.css | 5 +- testsuite/reftests/border-image-gradient.css | 1 - testsuite/reftests/border-radius-clamp.css | 1 - testsuite/reftests/border-style-none.css | 2 +- testsuite/reftests/border-style.css | 2 +- testsuite/reftests/box-pseudo-classes.css | 13 ++- testsuite/reftests/color-transition.css | 2 +- testsuite/reftests/css-currentcolor-alpha.css | 2 +- testsuite/reftests/css-match-class.css | 1 - testsuite/reftests/css-match-descendant-later.css | 2 +- .../reftests/css-match-inherit-different-state.css | 4 +- testsuite/reftests/css-match-inherit.css | 3 +- testsuite/reftests/css-match-name.css | 1 - testsuite/reftests/css-match-type.css | 5 +- testsuite/reftests/css-multi-state.css | 2 +- testsuite/reftests/gtk-icontheme-sizing.css | 2 +- testsuite/reftests/icon-shadow-no-transform.css | 2 +- testsuite/reftests/iconview-empty.css | 2 +- testsuite/reftests/image-icon-shadow-clipping.css | 4 +- testsuite/reftests/label-background.css | 2 +- testsuite/reftests/label-shadows.css | 1 - testsuite/reftests/opacity.css | 2 +- testsuite/reftests/shorthand-entry-border.css | 1 - testsuite/reftests/treeview-fixed-height.css | 116 ++------------------- testsuite/reftests/unresolvable.css | 2 +- 34 files changed, 53 insertions(+), 161 deletions(-) commit b7f32ed45118bbe04d7e2748984d2f9359c204f1 Author: Benjamin Otte Date: Mon Jan 18 02:32:19 2016 +0100 reftests: Remove test We no longer match subtypes, so remove the test for it. testsuite/reftests/Makefile.am | 3 --- testsuite/reftests/css-match-subtype.css | 13 ------------- testsuite/reftests/css-match-subtype.ref.ui | 15 --------------- testsuite/reftests/css-match-subtype.ui | 14 -------------- 4 files changed, 45 deletions(-) commit 7859f8ee91b8287d0f0485351d557886ae6fc0bb Author: Matthias Clasen Date: Sun Jan 17 21:16:33 2016 -0500 checkbutton: Use a box gadget Now that builtin icons have a baseline, we can just use a box gadget with baseline alignment for the indicator and the label. gtk/gtkcheckbutton.c | 287 ++++++--------------------------------------------- 1 file changed, 34 insertions(+), 253 deletions(-) commit da30858ee416ec5a64579cb6a770efe44fb83789 Author: Matthias Clasen Date: Sun Jan 17 21:02:18 2016 -0500 builtin icon: set a baseline Most uses of builtin icons (check and radio buttons, expanders, etc) are placed next to labels, so they should be properly positioned wrt to the baseline. Lacking anything better, give the builtin icons a baseline that places the center of the icon at the strikethrough position. gtk/gtkbuiltinicon.c | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) commit 9c3907dab016d9c1477f2bcd1bd64a6452fd3f78 Author: Matthias Clasen Date: Sun Jan 17 19:48:40 2016 -0500 box gadget: Deal with optional arguments The baseline arguments to the preferred size callback can be NULL. Don't crash if they are. gtk/gtkboxgadget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 44d94a4aebabb607705db4be7a798b4b891a3e51 Author: Matthias Clasen Date: Sun Jan 17 15:35:14 2016 -0500 Trivial formatting fix gtk/gtknotebook.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit a7387e2641480dcb27a21c1b55a6dc336b4f8e93 Author: Matthias Clasen Date: Sun Jan 17 15:26:14 2016 -0500 Document restrictions on gtk_style_context_get This makes it official that passing a different state is not generally supported in the getters for CSS properties. gtk/gtkstylecontext.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit 6bf9715ce4add4b42cadb4b4b507ff011896becc Author: Matthias Clasen Date: Sun Jan 17 14:35:58 2016 -0500 notebook: show tabs when asked to gtk_notebook_set_show_tabs must make the header gadget visible when show_tabs is TRUE, not the other way around. https://bugzilla.gnome.org/show_bug.cgi?id=760596 gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e2a1685c5d9c519212eee3c6bc4cde1025ee377 Author: Matthias Clasen Date: Sun Jan 17 14:08:22 2016 -0500 accel label: Fix RTL handling The 'mad hack' that GtkAccelLabel used to affect the GtkLabel draw function broke with the introduction of gadgets, since the positioning is no longer relative to the widgets' allocation at the time of the call, but rather to the gadgets allocation. Instead of coming up with an even madder hack to keep this working, give the GtkLabel draw function knowledge about accel labels. https://bugzilla.gnome.org/show_bug.cgi?id=760663 gtk/gtkaccellabel.c | 52 ++++++++++++---------------------------------------- gtk/gtklabel.c | 8 ++++++++ 2 files changed, 20 insertions(+), 40 deletions(-) commit d28959c6dbea441c6c2f5dd2690123cf684eb96a Author: Matthias Clasen Date: Sun Jan 17 13:23:49 2016 -0500 inspector: Make cursor-size combo wider Cursor sizes typically have 2 digits, lets not clip them. gtk/inspector/visual.ui | 2 ++ 1 file changed, 2 insertions(+) commit 00aca5d689db1eed73f485e217a395300635f177 Author: Matthias Clasen Date: Sun Jan 17 12:13:59 2016 -0500 Expand window style class documentation a bit gtk/gtkwindow.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 9d26038a105680f10ca381410938c58283dbeaaa Author: Matthias Clasen Date: Sat Jan 16 13:24:56 2016 -0500 Adwaita: Keep entry progress visible When the entry is focused, make the progress one pixel wider so it doesn't get swallowed by the focus outline. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 6e6cbd7316032a7fe23f8f1c4edf4ca0a5d9280b Author: Benjamin Otte Date: Sat Jan 16 23:15:11 2016 +0100 stylechange: Do the right thing when old and new style are equal We don't need to compare all their CSS values to figure out that nothing changed. We know that. gtk/gtkcssstylechange.c | 4 ++++ 1 file changed, 4 insertions(+) commit c904efef5381a7b058ed17c077059707909e86d1 Author: Benjamin Otte Date: Sat Jan 16 04:55:58 2016 +0100 cssnode: Redo GTK_DEBUG=no-css-cache Previously this setting would just invalidate the whole CSS tree and thereby hopefully avoid all cache usage. Now, we actually don't cause extra invalidations anymore, but instead avoid ever inserting anything into the cache when this setting is set. gtk/gtkcssnode.c | 18 ------------------ gtk/gtkcssnodestylecache.c | 13 +++++++++++++ 2 files changed, 13 insertions(+), 18 deletions(-) commit 024429f76fc605e834fef3ca654a0d0cdaac1dfa Author: Benjamin Otte Date: Sat Jan 16 04:48:58 2016 +0100 cssnode: Implement the style cache This essentially copies the previous cache implementation. With one caveat: It is now attached to and maintained by the CssNode, not by the CssStyle. And this is important because styles may be reused in incompatible situations which would cause cache collisions and lead to broken CSS in weird situations. gtk/gtkcssnodestylecache.c | 97 ++++++++++++++++++++++++++++++++++++++- gtk/gtkcssnodestylecacheprivate.h | 2 + 2 files changed, 97 insertions(+), 2 deletions(-) commit 5d562b6a2aca6c1d0db93286eb7eb719fe2e3c98 Author: Benjamin Otte Date: Fri Jan 15 23:27:51 2016 +0100 cssnode: Split out the style cache For now, the split out style cache doesn't cache anything. This is mostly to make sure that bisections of wrong caching behavior will bisect down to the commit that actually adds caching. gtk/Makefile.am | 2 + gtk/gtkcssnode.c | 123 +++++++++----------------------------- gtk/gtkcssnodeprivate.h | 2 + gtk/gtkcssnodestylecache.c | 76 +++++++++++++++++++++++ gtk/gtkcssnodestylecacheprivate.h | 44 ++++++++++++++ 5 files changed, 151 insertions(+), 96 deletions(-) commit 93f8fa7576891c53c0386b71d7aee39f0dd2a2e5 Author: Lapo Calamandrei Date: Sat Jan 16 04:16:55 2016 +0100 Adwaita: stop axing toolbar separators gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 3 --- gtk/theme/Adwaita/gtk-contained.css | 3 --- 3 files changed, 7 deletions(-) commit d0f83d46a04b0a889525551dc7b61c19f59fb577 Author: Lapo Calamandrei Date: Sat Jan 16 04:15:30 2016 +0100 Adwaita: style textview derived widgets gtk/theme/Adwaita/_common.scss | 20 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 74 ++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 146 +++++++++++++++++++------------ 3 files changed, 159 insertions(+), 81 deletions(-) commit e7fc87e4ac5548db71bfab93e7293fe5fb66ab07 Author: Matthias Clasen Date: Fri Jan 15 20:08:57 2016 -0500 color scale: Improve themability Add the .color class, so themes can style scale.color. Clip the trough rendering to the content path, so that themes can set rounded corners. gtk/gtkcolorscale.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a0d91a3a71757845e9a256c9306bfa1ac3614d6b Author: Matthias Clasen Date: Fri Jan 15 19:39:12 2016 -0500 treeview: Use foreground color to draw dnd marker This is still not perfect, but makes the dnd marker better visible in HighContrastInverse. gtk/gtktreeview.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2cf810c4c9169519768cea96696dd89116c34cb1 Author: Matthias Clasen Date: Fri Jan 15 19:11:03 2016 -0500 frame: Don't overlap label and child We didn't do this previously, so don't start now. https://bugzilla.gnome.org/show_bug.cgi?id=760528 gtk/gtkframe.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit f32e1d42e6c040531d9d0832832cb4dd7ae184a9 Author: Lapo Calamandrei Date: Sat Jan 16 00:55:59 2016 +0100 Adwaita: combo style cleanup and fixes fixes https://bugzilla.gnome.org/show_bug.cgi?id=760524 gtk/theme/Adwaita/_common.scss | 57 +++++--------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 49 ++++----------------------- gtk/theme/Adwaita/gtk-contained.css | 49 ++++----------------------- 3 files changed, 22 insertions(+), 133 deletions(-) commit e8b9aacfc19223e16287213cca2e376e3d66d587 Author: Matthias Clasen Date: Fri Jan 15 17:55:44 2016 -0500 combo: Add .linked class when appropriate Add the .linked style class to combo boxes which have an entry, since that is what they are. gtk/gtkcombobox.c | 3 +++ gtk/gtkcomboboxtext.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 54a6e032ca86de5a282e27a0a0cc298a27d32a1a Author: Matthias Clasen Date: Fri Jan 15 17:47:08 2016 -0500 combobox: Document the popup window CSS node gtk/gtkcombobox.c | 5 +++-- gtk/gtkcomboboxtext.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) commit 0049be4e58ef33749d9ddddb58357c5c93125d5d Author: Matthias Clasen Date: Fri Jan 15 17:36:13 2016 -0500 application: Protect against double shutdown It is not something that can happen normally. But if it does, we shouldn't crash. https://bugzilla.gnome.org/show_bug.cgi?id=760680 gtk/gtkapplication.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 2b95e4db55cd68f4d1e829d43dd9a5c200e40754 Author: William Hua Date: Fri Jan 15 14:09:33 2016 -0500 mir: add default GdkSeat for the default GdkDisplay gdk/mir/gdkmirdevicemanager.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit d8bb228d3bbc33ea0c595285ea6569b9b2c0f76f Author: Matt Watson Date: Mon Jan 11 18:40:53 2016 -0800 widget: remove queue_resize in set_sensitive Calling gtk_widget_propagate_state is enough to queue a resize if needed See da7a4089fe82981d1412aaa295e76d47a81ad6df gtk/gtkwidget.c | 2 -- 1 file changed, 2 deletions(-) commit 303556ac2a9320d85a11cd8fa18d5dd00455e78c Author: Rui Matos Date: Fri Jan 15 18:35:25 2016 +0100 wayland: Fix an endless loop gdk/wayland/gdkdevice-wayland.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 04f6f38b56e90c916e2c4df59eb57e220512f341 Author: Lapo Calamandrei Date: Fri Jan 15 18:33:38 2016 +0100 Adwaita: remove messagedialog label squashing hack since Matthias fixed this properly. gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit 78162c5e881b23585d62588f885559d1d4bbc50b Author: Matthias Clasen Date: Fri Jan 15 11:58:51 2016 -0500 message dialog: Prevent empty title from being shown We don't want to grow the titlebar by showing an empty label. gtk/gtkmessagedialog.c | 1 + gtk/ui/gtkmessagedialog.ui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit fc804bba2d309b0134bf50227df53de8d1b91288 Author: Lapo Calamandrei Date: Fri Jan 15 17:56:49 2016 +0100 Adwaita: some dialog love addresses https://bugzilla.gnome.org/show_bug.cgi?id=760525 gtk/theme/Adwaita/_common.scss | 21 +++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 19 ++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 21 ++++++++++----------- 3 files changed, 29 insertions(+), 32 deletions(-) commit 6d18b77ca7b81310f46d45eab3e2bdaa0b86396c Author: Matthias Clasen Date: Fri Jan 15 10:29:20 2016 -0500 expander: Destroy gadgets after child widgets With child widgets now being sorted into box gadgets, bad things happen if those gadgets disappear prematurely. gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6e4d65d227fa31c44e90597e97184dcfdf9f9f26 Author: Benjamin Otte Date: Fri Jan 15 12:58:14 2016 +0100 notebook: Destroy gadgets after chaining up While chaining up, we might still call into the notebook code. And that code expects the gadgets to be there. https://bugzilla.gnome.org/show_bug.cgi?id=760640 gtk/gtknotebook.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2e27c0af25c12642a65b5611ee9f08c7406d6171 Author: Matthias Clasen Date: Fri Jan 15 09:41:44 2016 -0500 expander: Convert to use box gadgets Use a vertical box gadget for the overall expander, and a horizontal one for the title row. This lets us get rid of all the custom allocation code here. gtk/gtkexpander.c | 404 +++++------------------------------------------------- 1 file changed, 36 insertions(+), 368 deletions(-) commit 5f5dc1082036d0ec182ffba0445333d1c81c9166 Author: Matthias Clasen Date: Fri Jan 15 08:35:39 2016 -0500 expander: Deprecate spacing property The same can be achieved with margins on the child, and the spacing property gets in the way of converting the expander to use box gadgets. gtk/gtkexpander.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 87171469b7dba8ec8ae3397ed292b9d004ef5e90 Author: Matthias Clasen Date: Fri Jan 15 06:47:31 2016 -0500 box gadget: Implement cross-axis alignment So far, the box gadget is always allocating all children the full size in the cross axis. This behavior corresponds to the align-items: stretch behavior in https://www.w3.org/TR/css-flexbox-1/#align-items-property This commit implements the other modes described there. While widgets have halign/valign properties that we can use for this, the API for inserting gadgets has to change to take an extra align parameter. All callers have been updated to pass GTK_ALIGN_FILL, since that corresponds to the previous behavior. https://bugzilla.gnome.org/show_bug.cgi?id=760668 gtk/gtkboxgadget.c | 127 +++++++++++++++++++++++++++++++++++++++++++--- gtk/gtkboxgadgetprivate.h | 5 +- gtk/gtknotebook.c | 14 ++--- 3 files changed, 131 insertions(+), 15 deletions(-) commit 662c7b87e20aef1599faa994aebc65f4420838a8 Author: Piotr Drąg Date: Fri Jan 15 15:18:32 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit f6cc3be1185d98d71d85f86263edf82c786d9168 Author: Ignacio Casal Quinteiro Date: Fri Jan 15 11:45:45 2016 -0800 win32: get rid of _gdk_screen global variable The screen is part of the display so it should be belong to it. gdk/win32/gdkdisplay-win32.c | 20 +++++++++++++------- gdk/win32/gdkdisplay-win32.h | 2 ++ gdk/win32/gdkglobals-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 1 - gdk/win32/gdkscreen-win32.c | 14 +++++++------- gdk/win32/gdkwindow-win32.c | 6 +++--- 6 files changed, 25 insertions(+), 19 deletions(-) commit ea7c509afda813bb865027b1aa6a3e5dbe1a8417 Author: Ignacio Casal Quinteiro Date: Fri Jan 15 11:53:51 2016 -0800 win32: fix warning gdk/win32/gdkselection-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 967ecc80d3e2b52dc95dfb1bfbd36a8df24462bb Author: Tom Schoonjans Date: Sun Jan 10 09:37:07 2016 +0530 Windows library manager fix The Makefile.am's had a dependency on incorrectly named libtool archives for the generation of the .lib files. https://bugzilla.gnome.org/show_bug.cgi?id=760388 gdk/Makefile.am | 2 +- gtk/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c60cea3037719508e42b4ebf91ef076d1c7b74e1 Author: Alberts Muktupāvels Date: Tue Jan 12 21:34:56 2016 +0200 gtkwidgetpath: update gtk_widget_path_to_string From gtk_widget_path_iter_set_object_name documentation: "When set, the object name overrides the object type when matching CSS" Update gtk_widget_path_to_string to match this behaviour. gtk/gtkwidgetpath.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 276101a3bc33407fb4efbf4d020fc559f22150da Author: Eric Williams Date: Wed Jan 13 08:29:34 2016 -0500 Fix typo in previous documentation fix for gtk_css_provider_load_from_data() gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5842e68a0d820f2179daf4d97d335deef3e770d5 Author: Matthias Clasen Date: Thu Jan 14 16:06:16 2016 -0500 Document -gtk-recolor syntax docs/reference/gtk/css-overview.xml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit beec55a22bd80baad05428f84e1b99ae589f9171 Author: Matthias Clasen Date: Thu Jan 14 13:48:43 2016 -0500 Add a way to load recolored icons in CSS This can come in handy to load images that are not in an icon theme, but still benefit from symbolic recoloring. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/Makefile.am | 2 + gtk/gtkcssimage.c | 2 + gtk/gtkcssimagerecolor.c | 215 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssimagerecolorprivate.h | 54 ++++++++++ 4 files changed, 273 insertions(+) commit 1b0ef71696bdfdba34834bba995d6771ec3ae742 Author: Matthias Clasen Date: Thu Jan 14 13:49:08 2016 -0500 icon theme: Export recoloring function This will be used in subsequent commits. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/gtkicontheme.c | 23 +++++++++++------------ gtk/gtkiconthemeprivate.h | 7 +++++++ 2 files changed, 18 insertions(+), 12 deletions(-) commit 7d717c8113dc25690088f1e81449e32e8f337a06 Author: Matthias Clasen Date: Thu Jan 14 12:53:50 2016 -0500 icon theme: Add a way to create GtkIconInfos from files This is sometimes needed, and calling into actual icon theme code just for it is confusing - the resulting icon does not depend on the icon theme at all. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/gtkicontheme.c | 71 +++++++++++++++++++++++++++++------------------ gtk/gtkiconthemeprivate.h | 5 ++++ 2 files changed, 49 insertions(+), 27 deletions(-) commit c667f9f1d107486212e60a580176a46fd88214db Author: Lapo Calamandrei Date: Thu Jan 14 17:51:49 2016 +0100 Adwaita: pathbar style cleanup gtk/theme/Adwaita/_common.scss | 6 ------ gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++++---------------------- 3 files changed, 20 insertions(+), 50 deletions(-) commit ea69bf8c17dd5c9e7f76bf3cb4f56ec07b2e821f Author: Florian Müllner Date: Thu Jan 14 14:45:28 2016 +0100 cssstyleproperty: Expose min-width/height gtk/gtkcssstylepropertyimpl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit bc2355e0b157d206117f5522178eb0f77e1988cb Author: Lapo Calamandrei Date: Thu Jan 14 16:26:22 2016 +0100 Adwaita: remove superfluous selector on keycap styling now that keys are made directly with labels istead of frames. gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit 4703d2bbf036e97a9500bcac02180b4e97df2273 Author: Timm Bäder Date: Wed Jan 13 19:24:46 2016 +0100 boxgadget: Don't use g_assert Use g_return_if_fail instead so nothing abort()s. gtk/gtkboxgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5fabee202911c94d9db09f98cdac3a48ef1667d Author: Timm Bäder Date: Wed Jan 13 19:14:33 2016 +0100 entry: Don't draw icons twice gtk/gtkentry.c | 9 --------- 1 file changed, 9 deletions(-) commit 49d251a3304d4ddfa2fd6c5257387838309d8db9 Author: Timm Bäder Date: Wed Jan 13 19:11:24 2016 +0100 entry: Remove unused code gtk/gtkentry.c | 4 ---- 1 file changed, 4 deletions(-) commit 2397d76137178839678b2e5d30d6886d48ea0f58 Author: Timm Bäder Date: Wed Jan 13 19:07:20 2016 +0100 label: Remove some unneeded conditionals We are never passing NULL here. gtk/gtklabel.c | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) commit 6a97b2563bbae4024d15e1439364601558fdea9c Author: Timm Bäder Date: Sat Jan 9 17:15:29 2016 +0100 shortcutlabel: Use a label directly We can everything we need without the frame around it now. gtk/gtkshortcutlabel.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 37bd22c3d9513708c6a04c113d43791ccd063ad6 Author: Руслан Ижбулатов Date: Sun Dec 27 05:05:39 2015 +0000 GDK W32: Don't use WM-drawn shadow for tooltips This prevents WM from drawing shadows around tooltip windows, which, in Adwaita, should have no shadow and are CSD-ish (which means that tooltip window is larger than it looks, and WM draws the shadow only on the outside, leaving a gap between the visible tooltip edge and the shadow). https://bugzilla.gnome.org/show_bug.cgi?id=759898 gdk/win32/gdkwindow-win32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3cd79c11fcd14daf1058077e58a5ff154e09b06c Author: Paolo Borelli Date: Fri Dec 18 00:36:57 2015 +0100 win32: remove _gdk_root global variable gdk/win32/gdkdevice-win32.c | 15 +++--- gdk/win32/gdkdevice-wintab.c | 11 ++--- gdk/win32/gdkdevicemanager-win32.c | 7 ++- gdk/win32/gdkdisplay-win32.c | 8 ++-- gdk/win32/gdkdnd-win32.c | 4 +- gdk/win32/gdkevents-win32.c | 4 +- gdk/win32/gdkglobals-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 7 ++- gdk/win32/gdkproperty-win32.c | 7 ++- gdk/win32/gdkscreen-win32.c | 66 ++++++++++++++++++++++++-- gdk/win32/gdkwindow-win32.c | 95 +++++++++++++------------------------- 11 files changed, 124 insertions(+), 101 deletions(-) commit e44b42061737ec4f6dbdad8f1a6dc2d53ea3dd02 Author: Руслан Ижбулатов Date: Thu Jan 14 12:51:26 2016 +0000 Ensure that the fstat fix is not applied on x86_64 gtk/gtkiconcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0acc6578d81dd955bcaf1e451e6523ac776191d8 Author: Matthias Clasen Date: Thu Jan 14 07:33:04 2016 -0500 expander: center the arrow In lieu of more sophisticated alignment, we need to at least center the arrow allocation wrt to the label. gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 59f1b87409c587093a68ae52500336b686c5903c Author: Руслан Ижбулатов Date: Thu Jan 14 09:40:58 2016 +0000 W32: Ensure that correct statting function is used by iconcache With Mingw-w64 fstat() can be an inline function that calls _fstat32() or _fstat64(), depending on some macros. And if LFS is enabled, fstat() is defined to turn into _fstat32i64() or _fstat64(). And some/all of the above might also be macros as well. Side-step all that mess and excplicitly re-define fstat as _fstat32, which is guaranteed to use a version of "stat" struct that has 32-bit size and time fields, which is what we want. https://bugzilla.gnome.org/show_bug.cgi?id=760615 gtk/gtkiconcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d2e80a79934ea59e13e7fe3c4d078e8f7b428213 Author: Matthias Clasen Date: Wed Jan 13 23:42:35 2016 -0500 font chooser: Add a CSS name The CSS name for GtkFontChooserWidget is fontchooser. gtk/gtkfontchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit c80adc33a41ca8480b97614e4b51c4d006d8d50a Author: Matthias Clasen Date: Wed Jan 13 23:38:14 2016 -0500 app chooser: Set a CSS name The CSS name for GtkAppChooserWidget is appchooser. gtk/gtkappchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 9657ec9331ef941d9aa11951f6fa02534a359fae Author: Matthias Clasen Date: Wed Jan 13 23:37:08 2016 -0500 print dialog: Set a CSS name The CSS name for GtkPrintUnixDialog is printdialog. gtk/gtkprintunixdialog.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 704b41b504b452a963be0d7ad09f82b8fe61e21c Author: Matthias Clasen Date: Wed Jan 13 23:35:22 2016 -0500 file chooser: Set a CSS name The CSS name for GtkFileChooserWidget is ... filechooser. gtk/gtkfilechooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 2f169a493b367359c1cd5366fdd62a14d8db4c25 Author: Matthias Clasen Date: Wed Jan 13 23:34:03 2016 -0500 color chooser: Set a CSS name The CSS name for GtkColorChooserWidget is ... colorchooser. gtk/gtkcolorchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit dc5c82e29c1d1aa42622ce18ff1fbd02d43848be Author: Matthias Clasen Date: Wed Jan 13 23:24:38 2016 -0500 inspector: Don't select 'randomly' While rescanning the object tree, we were emitting ::object-selected signals, possibly causing wild blinking in the application window. Don't do that. https://bugzilla.gnome.org/show_bug.cgi?id=760572 gtk/inspector/object-tree.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 0d298ea75b3f796438d591fef4e4abaf26a1c2fd Author: Matthias Clasen Date: Wed Jan 13 23:06:32 2016 -0500 Expand CSS icon property docs a bit docs/reference/gtk/css-properties.xml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit f0d4d96ded3bf501d76f4091b7d8083774a88dba Author: Matthias Clasen Date: Wed Jan 13 22:47:37 2016 -0500 Fix doc syntax docs/reference/gtk/css-properties.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25ccbf4e3f982afdd8bed2993c05153bd8443419 Author: Matthias Clasen Date: Wed Jan 13 16:25:41 2016 -0500 Improve docs for icon-related CSS properties Clarify the relation between the various properties and the icon loading functions. docs/reference/gtk/css-overview.xml | 7 ++++--- docs/reference/gtk/css-properties.xml | 13 +++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) commit 1009c88186c9473aed3ff4dbbb6f851254b5bf74 Author: Matthias Clasen Date: Wed Jan 13 16:17:44 2016 -0500 Make -gtk-icontheme() use -gtk-icon-palette This makes it possible to recolor themed icons with -gtk-icon-palette, regardless whether they are loaded by the theme or the application. gtk/gtkcssimageicontheme.c | 7 +++++-- gtk/gtkcssimageiconthemeprivate.h | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) commit 34c263683c1d6cb1d08f2fc9b7d3c66839c7b7db Author: Matthias Clasen Date: Wed Jan 13 16:16:39 2016 -0500 Move the -gtk-icon-palette property up Other properties will start depending on it in subsequent commits, so move it up to prevent ordering problems. gtk/gtkcssstylepropertyimpl.c | 20 ++++++++++---------- gtk/gtkcsstypesprivate.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) commit 1f65f1b746fb5948dc2ba29a3e281e9730f9d616 Author: Matthias Clasen Date: Wed Jan 13 13:58:52 2016 -0500 color swatch: Use right allocation for window Generally, input-only windows that correspond to CSS boxes should be sized to the border allocation of the gadget. gtk/gtkcolorswatch.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit e8b11778a862102dd727db58c3285e2d4b188a39 Author: Rafael Fontenelle Date: Wed Jan 13 18:55:36 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 2830 +++++++++++++++++++++++++----------------------- 1 file changed, 1479 insertions(+), 1351 deletions(-) commit 2ec16c9f91d09341ca93a2badab7c62fff3fac9f Author: Matthias Clasen Date: Wed Jan 13 09:31:25 2016 -0500 Add css node tests for right-to-left levelbars testsuite/css/nodes/Makefile.am | 3 +- testsuite/css/nodes/levelbar.ltr.nodes | 55 ++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.ltr.ui | 66 ++++++++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.nodes | 55 ---------------------------- testsuite/css/nodes/levelbar.rtl.nodes | 55 ++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.rtl.ui | 66 ++++++++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.ui | 66 ---------------------------------- 7 files changed, 244 insertions(+), 122 deletions(-) commit 897126ae2bf1d82074321e42c20b1289a348fbcb Author: Cosimo Cecchi Date: Wed Jan 13 08:30:02 2016 -0800 notebook: fix a GCC warning gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0fdbff938ecbf32c1a8fca35312ccdb0ebe6b5d Author: Matthias Clasen Date: Wed Jan 13 00:41:44 2016 -0500 Add css node tests for paned node ordering testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/paned.ltr.nodes | 6 ++++++ testsuite/css/nodes/paned.ltr.ui | 26 ++++++++++++++++++++++++++ testsuite/css/nodes/paned.rtl.nodes | 6 ++++++ testsuite/css/nodes/paned.rtl.ui | 26 ++++++++++++++++++++++++++ 5 files changed, 66 insertions(+) commit fb77ebe17e19c1f3061914cf41f49c067b390092 Author: Matthias Clasen Date: Wed Jan 13 00:40:11 2016 -0500 paned: Update node ordering according to text direction This was overlooked in the initial node conversion. gtk/gtkpaned.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) commit 7743944124371a93c029ab0cba145b8d3aa6bf0e Author: Matthias Clasen Date: Wed Jan 13 00:39:53 2016 -0500 GtkBox: Documentation tweak gtk/gtkbox.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit e386fcae04052e5cb545105d020465262e46db78 Author: Matthias Clasen Date: Wed Jan 13 00:26:48 2016 -0500 Update expected output of notebook css node test The stack node is new. testsuite/css/nodes/notebook.nodes | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 93aac8a86c27a73734af49255a22ba97c9b237f5 Author: Matthias Clasen Date: Wed Jan 13 00:24:40 2016 -0500 notebook: Document the .dnd style class We should aim to document all style classes that themes can encounter during the normal operation of a widget. gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit ea4cff1ea45413ef0ecd8e09af97199c788c9957 Author: Matthias Clasen Date: Wed Jan 13 00:05:16 2016 -0500 Use convenience API that was introduced recently Use gtk_css_gadget_set_state in all the places where we previously were getting a node from a gadget, just to call gtk_css_node_set_state. gtk/gtkcheckbutton.c | 5 +++-- gtk/gtkcheckmenuitem.c | 3 +-- gtk/gtkcolorswatch.c | 4 ++-- gtk/gtkentry.c | 2 +- gtk/gtkexpander.c | 4 ++-- gtk/gtkframe.c | 5 +---- gtk/gtklevelbar.c | 7 +++---- gtk/gtkmenu.c | 6 ++---- gtk/gtkmodelbutton.c | 4 ++-- gtk/gtkprogressbar.c | 8 ++++---- gtk/gtkspinbutton.c | 6 ++---- 11 files changed, 23 insertions(+), 31 deletions(-) commit 64b499be6616c909ea6544f03520e0c928b8d302 Author: Matthias Clasen Date: Wed Jan 13 00:01:14 2016 -0500 builtin icon: Don't save/restore cairo state The reason why this was introduced is now handled in gtk_css_stylke_render_icon since commit 0138af9f9684c0ec436b37e5962e9f82607d3ff8. gtk/gtkbuiltinicon.c | 2 -- 1 file changed, 2 deletions(-) commit c71089a0383ec0368dc6855492b94d7277053f6a Author: Matthias Clasen Date: Tue Jan 12 23:57:35 2016 -0500 box gadget: Add some documentation gtk/gtkboxgadget.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 2677eee720f498a58540a694d6cb1498bebcfbeb Author: Matthias Clasen Date: Tue Jan 12 23:40:28 2016 -0500 box: Document child node ordering gtk/gtkbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d7e5fd2e2fa505535ddf31feda1ac0164061bd43 Author: Dominique Leuenberger Date: Tue Jan 12 08:29:00 2016 +0000 QEMU USB Tablet is not really a tablet - it's a trick Unfortunately, Qemu gives us this confusing device to work with, and the best we can do is filter it out based on its name. https://bugzilla.gnome.org/show_bug.cgi?id=760445 gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit f4d2d66b1e2dd36666cf78dc89df1ae5bebefb64 Author: Ting-Wei Lan Date: Mon Jan 11 11:46:45 2016 +0800 broadway: Call setlocale in main function of broadwayd It is required to correctly show translated messages on some locales. https://bugzilla.gnome.org/show_bug.cgi?id=760416 gdk/broadway/broadwayd.c | 3 +++ 1 file changed, 3 insertions(+) commit b8db48079f7716290464cbee9ae879c95d406c65 Author: Timm Bäder Date: Tue Jan 12 21:37:27 2016 +0100 switch: Fix text positioning https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkswitch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a8ceeb17667e40b61806e3e9a8e631c304e30b17 Author: Timm Bäder Date: Tue Jan 12 21:36:37 2016 +0100 switch: Don't include margins in input window size https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkswitch.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit ff7e2797f6ffb61eb5dcb7865a85322c8ef22238 Author: Timm Bäder Date: Tue Jan 12 20:25:25 2016 +0100 modelbutton: Don't include margins in input window size https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkmodelbutton.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 788ee466b8874d940a0f0122f870ecbdcb2602d3 Author: Timm Bäder Date: Tue Jan 12 20:18:08 2016 +0100 button: Don't include margins in input window size And do the same thing for GtkCheckButton https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkbutton.c | 19 +++++++++++-------- gtk/gtkcheckbutton.c | 19 +++++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) commit 19fa89306788eb05f808cd52c9113e3cbdaa1e71 Author: Timm Bäder Date: Fri Jan 8 17:30:47 2016 +0100 entry: typo gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ba5e38c91685e424a64562c1ab07bb309d0efdc Author: Alberts Muktupāvels Date: Tue Jan 12 09:51:26 2016 +0200 gdkseat: remove return from gdk_seat_ungrab gdk/gdkseat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8cb515e2f304be67dc60900a069b85c064b2b66a Author: Timm Bäder Date: Tue Jan 12 09:32:04 2016 +0100 Remove stray semicolon Gets rid of a mixed code/declaration warning. gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5d3556f98352e0fbeec5df969312328c769fca4 Author: Matthias Clasen Date: Mon Jan 11 23:20:26 2016 -0500 HighContrast: Fix selection in .views Copy Adwaita fixes from 21a2fce8ba2a48fe3781e7a1f02b33e3a7bfd9ac. gtk/theme/HighContrast/_common.scss | 26 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 733 ++++++++++++----------- gtk/theme/HighContrast/gtk-contained.css | 683 +++++++++++---------- 3 files changed, 744 insertions(+), 698 deletions(-) commit 52a34d32bb2e104de3ec242ee142ff22842909a4 Author: Matthias Clasen Date: Mon Jan 11 22:48:35 2016 -0500 Fix corner manipulation when growing rounded rects This addresses problems with uneven border radius', pointed out by Lapo. gtk/gtkroundedbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7e5952c4eae948575f294fe567107817208739dc Author: Ben Iofel Date: Mon Jan 11 19:13:30 2016 -0500 GTK Notebook: use the right enum type gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c3bad3d907f3b824d93931edf7fb3eaf68f35f8 Author: Lapo Calamandrei Date: Tue Jan 12 01:03:47 2016 +0100 Adwaita: popover style fixes gtk/theme/Adwaita/_colors.scss | 1 + gtk/theme/Adwaita/_common.scss | 12 ++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 15 +++------------ gtk/theme/Adwaita/gtk-contained.css | 15 +++------------ 4 files changed, 11 insertions(+), 32 deletions(-) commit 21a2fce8ba2a48fe3781e7a1f02b33e3a7bfd9ac Author: Lapo Calamandrei Date: Tue Jan 12 00:16:12 2016 +0100 Adwaita: make selection visible in treeview derived widgets See https://bugzilla.gnome.org/show_bug.cgi?id=757503 gtk/theme/Adwaita/_common.scss | 26 +- gtk/theme/Adwaita/gtk-contained-dark.css | 853 ++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 911 +++++++++++++++++-------------- 3 files changed, 964 insertions(+), 826 deletions(-) commit 473433c93d5e2c57e265ead893b96570569b5b17 Author: Hashem Nasarat Date: Mon Jan 11 01:02:41 2016 -0500 Adwaita: fix separator margin in popovers Commit 0b96b8a1 set margins via css, but accidentally changed the semantics of margins for separators in popovers so that any separator in a gtkpopover had a margin. This meant that the separators in GtkListBoxes in popovers also had a margin around their separators, and this is not what we want because it doesn't match separators in listboxes not in popovers. https://bugzilla.gnome.org/show_bug.cgi?id=760427 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 2c0b251dac2816133f5fddc4715a23d8050acb76 Author: Matthias Clasen Date: Mon Jan 11 15:09:47 2016 -0500 Improve deprecation note for gdk_device_manager_get_client_pointer List gdk_seat_get_pointer as replacement. Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkdevicemanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c50250273eb17966c10a1ec9059067887c55bea Author: Matthias Clasen Date: Mon Jan 11 15:06:15 2016 -0500 Fix the deprecation note for gdk_device_manager_list_devices Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkdevicemanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 63365d5044145c885c88aa75a68172bd2c7ea7aa Author: Matthias Clasen Date: Mon Jan 11 15:04:32 2016 -0500 Fix the annotation for gdk_seat_get_slaves Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkseat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0167f7c65c95b3bcf2d4800c1eceaf8f916ea303 Author: Carlos Garnacho Date: Mon Jan 11 20:06:14 2016 +0100 GtkWidget: Fix motion event consumption detection for touch-only gestures If a GtkGestureSingle is set as touch-only, pointer events would be discarded without giving an opportunity to the regular GtkGesture handler to manage those. Because the pointer events weren't actually managed by the gesture, gtk_gesture_get_sequence_state() (rather unhelpfully here) will resort to returning GTK_EVENT_SEQUENCE_NONE, which is in turn interpreted by _gtk_widget_consumes_motion() as "may be handling the events for this sequence", because gestures in this state presumably handle the events, just that it's not "claimed" yet. Instead, use gtk_gesture_handles_sequence(), which will perform the expected check on the event sequence being managed, as we expect here. gtk/gtkwidget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 32eda187ee829a8550a3ec07d407dea4c0c89992 Author: Matthias Clasen Date: Mon Jan 11 13:58:37 2016 -0500 Actually deprecate GtkNotebook::has-tab-gap gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 990be25d6366849d6fc32acfa02c19c4a65a26b4 Author: Matthias Clasen Date: Mon Jan 11 13:55:23 2016 -0500 notebook: Update CSS node docs The stack node is new. gtk/gtknotebook.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 3a8dc01ed22ca627720642f5dcb53c66cd18b2ba Author: Benjamin Otte Date: Mon Jan 11 17:52:38 2016 +0100 notebook: Don't reparent tab label when drag stops Use the same unrealize + set_parent_window() trick that we used in 6d5edd18cf5637274762b7a51488d27d5bed600d when dragging starts. gtk/gtknotebook.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) commit b917a0b155b005dee625b3b35f1072c916023640 Author: Benjamin Otte Date: Mon Jan 11 17:46:15 2016 +0100 notebook: Add .dnd style class to tabs during reorder gtk/gtknotebook.c | 3 +++ 1 file changed, 3 insertions(+) commit 6d5edd18cf5637274762b7a51488d27d5bed600d Author: Benjamin Otte Date: Sat Jan 9 14:25:26 2016 +0100 notebook: Don't unparent tab label for drag When a tab drag starts, we need to move the tab label into the drag window via gtk_widget_set_parent_window(). If we don't unparent, but just unrealize the widget, we don't lose the cssnode position. gtk/gtknotebook.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fdc13f315b3d00a632fa50a90d583d156d0785cd Author: Benjamin Otte Date: Thu Jan 7 15:54:58 2016 +0100 notebook: Don't limit motion notify framerate We have a frameclock for that these days. In particular, this limiting worked at 45fps when monitors are all 60fps. gtk/gtknotebook.c | 8 -------- 1 file changed, 8 deletions(-) commit d74c1bfd849cee88c7163ded68a749ce7ac7c2e8 Author: Benjamin Otte Date: Thu Jan 7 12:30:05 2016 +0100 notebook: Remove outdated style properties from themes No replacement provided, the notebook will have to be redone anyway. gtk/theme/Adwaita/_common.scss | 5 ----- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- gtk/theme/HighContrast/_common.scss | 5 ----- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ---- gtk/theme/HighContrast/gtk-contained.css | 4 ---- 6 files changed, 26 deletions(-) commit 8020d5f93a791b76c2777e8ddcd4046ba838534e Author: Benjamin Otte Date: Thu Jan 7 12:28:24 2016 +0100 notebook: Don't store gadget allocation twice If we care about a gadget's allocation, we can ask it. There's no need to store it in GtkNotebookPage.allocation. gtk/gtkcssgadget.c | 24 +++++++++ gtk/gtkcssgadgetprivate.h | 3 ++ gtk/gtknotebook.c | 121 ++++++++++++++++++++++------------------------ 3 files changed, 85 insertions(+), 63 deletions(-) commit 2ef3b0144281433dc05b4ac05a4f87ba65482a61 Author: Benjamin Otte Date: Thu Jan 7 12:21:25 2016 +0100 notebook: No need to recompute remaining space The value is correct. In particular, subtracting width on notebooks with tabs on left/right is a very bad idea. gtk/gtknotebook.c | 1 - 1 file changed, 1 deletion(-) commit 4c083f818290b45645ab72eb80c7ff871ef20576 Author: Benjamin Otte Date: Wed Jan 6 17:41:41 2016 +0100 notebook: Port arrows to be gadgets Also deprecate the arrow-spacing style property. gtk/gtknotebook.c | 628 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 395 insertions(+), 233 deletions(-) commit 326fda1b0e6e0f3ea49e7039a2553a2e3d1f4436 Author: Benjamin Otte Date: Tue Dec 29 19:31:04 2015 +0100 notebook: Pass full allocation instead of min and max value gtk/gtknotebook.c | 97 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 49 insertions(+), 48 deletions(-) commit 96f0cf767785a806f67f8b1eaf95f0991b3c7114 Author: Benjamin Otte Date: Tue Dec 29 19:18:02 2015 +0100 notebook: Pass allocation as argument ... instead of querying it later. gtk/gtknotebook.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) commit 6b8c19109667be248cb2996a00554cbb11f37293 Author: Benjamin Otte Date: Tue Dec 29 04:42:29 2015 +0100 notebook: Simplify allocation code gtk/gtknotebook.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) commit 0e48216c483b46528474785343fb0c3fe702e8e5 Author: Benjamin Otte Date: Fri Dec 25 23:44:08 2015 +0100 notebook: Identify existence of arrows differently Instead of having gbooleans in the priv struct, just look at the existence of priv->arrow_node[i]. gtk/gtknotebook.c | 115 ++++++++++++++++-------------------------------------- 1 file changed, 34 insertions(+), 81 deletions(-) commit a12e1328e94fa51f49d05858284d78aa399b5ddf Author: Benjamin Otte Date: Fri Dec 25 02:39:43 2015 +0100 notebook: Convert tab nodes to gadgets The code does many bad things, so we get a lot of warning spew. Ignore this for now, fixes will follow. gtk/gtknotebook.c | 429 +++++++++++++++++++++++++----------------------------- 1 file changed, 195 insertions(+), 234 deletions(-) commit d780ce3ff38117b359158946773b32df2eae75ad Author: Benjamin Otte Date: Fri Dec 25 02:12:15 2015 +0100 notebook: Assume tab allocations always change This causes more redraws, but saves a bunch of code. gtk/gtknotebook.c | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) commit 7e0c7f7deb8e93322e2b171203acc5007a7c7ab9 Author: Benjamin Otte Date: Fri Dec 25 01:27:22 2015 +0100 notebook: Remove weird hack where the current page was special-cased I don't even know what it does, but it assumed that the current page was always as large or larger than any other page. And that isn't true. gtk/gtknotebook.c | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) commit 3cda7e9503fabbec04f84357386ebf13c7ec0b4b Author: Benjamin Otte Date: Fri Dec 25 01:19:31 2015 +0100 boxgadget: Handle css nodes Automatically insert the cssnode into the box gadget's node's children at the right place and remove it again when done. gtk/gtkboxgadget.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit a9320d93f69b95a1a507cde080a56fe2b45ceb08 Author: Benjamin Otte Date: Thu Dec 24 20:38:24 2015 +0100 notebook: Replace redraw_tabs() with gadget_queue_draw(tabs_gadget) gtk/gtknotebook.c | 68 ++++++++----------------------------------------------- 1 file changed, 10 insertions(+), 58 deletions(-) commit f83c1fedbc12b741e10df1f03de11ab8fceba42f Author: Benjamin Otte Date: Thu Dec 24 20:34:54 2015 +0100 notebook: Don't queue redraw of tabs junction There is no junction anymore, so don't try to redraw it. gtk/gtknotebook.c | 65 ------------------------------------------------------- 1 file changed, 65 deletions(-) commit f1e277969a7f7f45b840823a641fc43566e3ebfa Author: Benjamin Otte Date: Thu Dec 24 20:33:36 2015 +0100 gadget: Add queue_resize/allocate/draw() functions gtk/gtkcssgadget.c | 42 +++++++++++++++++++++++++++++++----------- gtk/gtkcssgadgetprivate.h | 4 ++++ 2 files changed, 35 insertions(+), 11 deletions(-) commit e1722baf57fc64f0ee7bcd519cb2e715213171c8 Author: Benjamin Otte Date: Thu Dec 24 15:26:11 2015 +0100 notebook: Convert tabs node to a gadget And in turn, convert the header gadget to a box gadget. gtk/gtknotebook.c | 340 ++++++++++++++++++++---------------------------------- 1 file changed, 122 insertions(+), 218 deletions(-) commit acc534ebfa2a3c292aca590c8a116a6340d2274d Author: Benjamin Otte Date: Wed Dec 23 04:09:30 2015 +0100 boxgadget: Add Adds a GtkBoxGadget that is a Gadget that behaves like a GtkBox. Use this gadget to implement the notebook base gadget. gtk/Makefile.am | 2 + gtk/gtkboxgadget.c | 511 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 74 +++++++ gtk/gtknotebook.c | 334 +++++++----------------------- 4 files changed, 658 insertions(+), 263 deletions(-) commit 749855c1d1857f08b8c2d5b73c0e2dca1310cb2f Author: Benjamin Otte Date: Wed Dec 23 03:40:48 2015 +0100 notebook: Remove unused function call gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit 70b9aacfc22b629c9f9c467035baacc088a8a060 Author: Benjamin Otte Date: Wed Dec 23 03:39:12 2015 +0100 notebook: Simplify event window position computation The event window should overlay the header gadget, so just return its position. gtk/gtknotebook.c | 90 +++++++++---------------------------------------------- 1 file changed, 14 insertions(+), 76 deletions(-) commit ad245e02265379e8aadbe0d299f62339ff0f3d11 Author: Benjamin Otte Date: Wed Dec 23 01:18:30 2015 +0100 notebook: Introduce gtk_notebook_has_current_page() GtkNotebook does not switch the current page if all pages are hidden. So it may be that no visible page exsits, but there still is a current page set. We culd clear the current page, but I'm unsure about backwards compatibility. So instead, this new function handles that case. gtk/gtknotebook.c | 55 ++++++++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 29 deletions(-) commit 0d72055b890150addea3d85047045093d013377a Author: Benjamin Otte Date: Tue Dec 22 23:03:38 2015 +0100 notebook: Use gtk_container_class_handle_border_width() gtk/gtknotebook.c | 77 +++++++++++++++++++------------------------------------ 1 file changed, 27 insertions(+), 50 deletions(-) commit f34059c3b62df3a3e3a8ae3941a6edc5e6c29945 Author: Benjamin Otte Date: Sat Dec 19 22:25:34 2015 +0100 notebook: Convert header node to a gadget This allows reworking the content node to do real height-for-width. The content node also takes care of border width, but we might want to have the toplevel do it or just get rid of it. gtk/gtknotebook.c | 579 +++++++++++++++++++++++++++++------------------------- 1 file changed, 308 insertions(+), 271 deletions(-) commit 8c1a73326c2871206a007b55da587000760cc15b Author: Benjamin Otte Date: Sat Dec 19 08:46:28 2015 +0100 gadget: Add helpers for modifying state They will be used in future commits. I also was too lazy to convert existing widgets. gtk/gtkcssgadget.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 6 ++++++ 2 files changed, 56 insertions(+) commit e27551ddb276ee50a879a552f8fad7290502aff5 Author: Benjamin Otte Date: Sat Dec 19 08:35:18 2015 +0100 notebook: Add a stack gadget The stack gadget contains all the child widgets. gtk/gtknotebook.c | 152 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 119 insertions(+), 33 deletions(-) commit c03fed4840bb0b07fb950f46e20e8c6b7dbb7c3e Author: Benjamin Otte Date: Sat Dec 19 08:10:35 2015 +0100 notebook: Remove extra calls to gtk_notebook_pages_allocate() The function is called during size_allocate() and doesn't need to be called elsewhere, as all other callers call queue_resize() already. gtk/gtknotebook.c | 9 --------- 1 file changed, 9 deletions(-) commit 33b6e30f68fd9a50cec90f0eabe9a84d1c83f9e9 Author: Benjamin Otte Date: Sat Dec 19 08:04:41 2015 +0100 notebook: Remove unnessecary gtk_widget_set_mapped() We chain up, and the chainedup function calls this for us. gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit dc4148c4e2d17e43f9c06dd41334de642755ce0d Author: Benjamin Otte Date: Sat Dec 19 08:03:41 2015 +0100 notebook: Simplify gtk_notebook_map() We set visibility on our children properly, so we can simply chain up and let the GtkContainer implementation do the mapping of children. gtk/gtknotebook.c | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) commit 22398ef4591d896190be049e0ee6ba4ab32f6059 Author: Benjamin Otte Date: Sat Dec 19 06:58:14 2015 +0100 notebook: Remove irrelevant case The page is never the current page, because it was just created and the current page wasn't changed yet. gtk/gtknotebook.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0e528ec74e39bc9b726f8a1a32236d36b904261d Author: Benjamin Otte Date: Sat Dec 19 06:56:48 2015 +0100 notebook: No page switching in size request code We have page switching under control now, we don't need to check every get_preferred_size() call. gtk/gtknotebook.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) commit 1190efebce5892f80545a91461c6b9c80abfd7e7 Author: Benjamin Otte Date: Sat Dec 19 06:56:04 2015 +0100 notebook: Set the current page when none is set This case happens when you gtk_widget_show_all (notebook). gtk/gtknotebook.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 0045e57e96eeffd3ff914a47fa2ac1e5dc1a3966 Author: Benjamin Otte Date: Sat Dec 19 03:57:43 2015 +0100 notebook: Draw the same things, no matter the show-border value show-border modifies the "frame" style class on the notebook node, but not what we actually draw. gtk/gtknotebook.c | 66 ++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 35 deletions(-) commit fd9ffe5d577135f17a81b9422c37617816ebb1ad Author: Benjamin Otte Date: Fri Dec 18 00:47:03 2015 +0100 notebook: Turn the base notebook into a gadget gtk/gtknotebook.c | 266 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 140 insertions(+), 126 deletions(-) commit 92089ee29e9c614187870fcf3347b0a908fa9e42 Author: Benjamin Otte Date: Thu Dec 17 13:16:12 2015 +0100 notebook: Draw tab label while drawing tab Instead of having special case code doing it. gtk/gtknotebook.c | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) commit 3d980da4050851a9ce082e7f1290162fd8a98b76 Author: Benjamin Otte Date: Thu Dec 17 05:51:38 2015 +0100 notebook: Don't translate before painting notebook This will allow us to draw children directly from within the notebook drawing code, which will remove a bunch of special casing. gtk/gtknotebook.c | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit 93dc364b02fb28a60c3ef94efbd37ca3dd560be6 Author: Benjamin Otte Date: Thu Dec 17 05:27:51 2015 +0100 notebook: Deprecate and stop supporting has-tab-gap style property gtk/gtknotebook.c | 128 +--- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 794 ++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 780 ++++++++++------------ gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk-contained-inverse.css | 643 +++++++++--------- gtk/theme/HighContrast/gtk-contained.css | 593 +++++++++-------- 7 files changed, 1344 insertions(+), 1596 deletions(-) commit 71cc212eb5778a09bed809ec8473b6040784d930 Author: Benjamin Otte Date: Thu Dec 17 02:39:24 2015 +0100 notebook: Ignore and deprecate style properties Deprecate initial-gap, tab-curvature and tab-overlap properties. All their features can be achieved using CSS. This CSS achieves the same effect as a 10px initial gap: notebook header { margin-left: 10px; margin-right: 10px; } A tab overlap of 10px can be achieved via: notebook tabs { margin-left: 10px; } notebook tab { margin-left: -10px; } And tab curvature is essentially the same as padding or border on a tab. gtk/gtknotebook.c | 174 +++++++++++++++--------------------------------------- 1 file changed, 47 insertions(+), 127 deletions(-) commit 0138af9f9684c0ec436b37e5962e9f82607d3ff8 Author: Benjamin Otte Date: Wed Jan 6 18:14:11 2016 +0100 rendericon: Save and restore cairo matrix ... instead of requiring cairo_save()/cairo_restore(). gtk/gtkrendericon.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4e627e108e1b8af5bf2ffc4fdd6dc2eab3ad1166 Author: Benjamin Otte Date: Thu Dec 24 18:21:38 2015 +0100 testnotebookdnd: Add an action widget Just so we have some test that tests action widgets. tests/testnotebookdnd.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit fa7816d99c70a759d67ddc09bc2cadf7cf2a29dd Author: Benjamin Otte Date: Sat Dec 19 08:09:06 2015 +0100 dnd: When setting a dnd icon widget, unset old one Setting a DND icon twice should actually work and not cause warnings the 2nd time. gtk/gtkdnd.c | 2 ++ 1 file changed, 2 insertions(+) commit fb0a628975581cc7c6949ae0cde42557010a8ee5 Author: Jiro Matsuzawa Date: Mon Jan 11 23:58:16 2016 +0900 Updated Japanese translation Change B series paper names in accordance with the Japanese standards. po/ja.po | 1454 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 788 insertions(+), 666 deletions(-) commit 67c6d24bb2833a60bdb81d1feb3081bd14c63d8d Author: Krzesimir Nowak Date: Mon Jan 11 12:05:18 2016 +0100 Fix a small mistake in stylecontext docs Fix the "will be also be" to become "will also be". gtk/gtkstylecontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7a06e0102dbf211509a00b5ada7eaa50d6e0be53 Author: Dušan Kazik Date: Mon Jan 11 09:48:05 2016 +0000 Updated Slovak translation po/sk.po | 107 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 52 insertions(+), 55 deletions(-) commit b035cc2cb61eb07884036f854c50a253c27f1cef Author: Matthias Clasen Date: Sun Jan 10 17:08:56 2016 -0500 Update style class docs Instead of pointing to (outdated) widgets here, just refer to widget docs in general. gtk/gtkstylecontext.h | 213 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 127 insertions(+), 86 deletions(-) commit cffe2e2c93a80d5cf23c7ec6586c3eec6ae713c3 Author: Matthias Clasen Date: Sun Jan 10 16:22:03 2016 -0500 Improve GtkStyleContext docs Refer to the foreign drawing example in gtk3-demo, refer to the widget documentation for style properties, remove no-longer-used treeview regions. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkstylecontext.c | 75 ++++++++++++++++++------------------ 2 files changed, 38 insertions(+), 38 deletions(-) commit 7ee65da0e3c4a7e5552450ec37e691abb1c62b28 Author: Matthias Clasen Date: Sun Jan 10 15:32:53 2016 -0500 Add foreigndrawing example to gtk3-demo This makes it easier accessible and nicer to refer to from the documentation. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/foreigndrawing.c | 337 +++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 1 - tests/foreigndrawing.c | 338 -------------------------------------- 5 files changed, 339 insertions(+), 339 deletions(-) commit 6d239cfba714fd11bd5e78d374aa182520c5819e Author: Matthias Clasen Date: Sun Jan 10 14:50:24 2016 -0500 Add a css style test for adjacent states This test checks that the selector E:state + F works as expected. https://bugzilla.gnome.org/show_bug.cgi?id=722727 testsuite/css/style/Makefile.am | 11 +++---- testsuite/css/style/adjacent-states.css | 7 +++++ testsuite/css/style/adjacent-states.nodes | 13 ++++++++ testsuite/css/style/adjacent-states.ui | 49 +++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 5 deletions(-) commit 0f120ea5101f9f47212b0afd583e9469187b1e0f Author: Ting-Wei Lan Date: Sat Jan 9 17:24:12 2016 +0800 Cast the return value of g_array_free to void* before casting to char** Let the compiler know that we don't want to use it as char*, so there is no alignment error. https://bugzilla.gnome.org/show_bug.cgi?id=760350 https://bugzilla.gnome.org/show_bug.cgi?id=755659 gtk/gtkactionmuxer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2dc8d1f611094dfba1d635c43e20967c99a944a3 Author: Rico Tzschichholz Date: Sun Jan 10 16:49:42 2016 +0100 GdkSeat: Fix annotation of gdk_seat_grab() gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0ddc1eed1904c0df8789ea678569629f8dfdddc4 Author: Matthias Clasen Date: Sat Jan 9 23:42:37 2016 -0500 Fix rendering of unsymmetric borders There was an errant path that threw off our clipping for the top section of the border. https://bugzilla.gnome.org/show_bug.cgi?id=722937 gtk/gtkrenderborder.c | 1 - 1 file changed, 1 deletion(-) commit caaf537f94f0e03aabadef8c80a7a39dda02e2ff Author: Matthias Clasen Date: Sat Jan 9 17:30:33 2016 -0500 Avoid division by 0 in the border rendering code We skip sides with 0 border width in render_border, but when we collect sides with the same style, we may pass the 0 width down to render_frame_stroke anyway. So skip width 0 sides there as well. gtk/gtkrenderborder.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7d0173763eb89f221636a07a28e45f9c29f8a069 Author: Jiri Grönroos Date: Sat Jan 9 21:39:37 2016 +0000 Updated Finnish translation po/fi.po | 1654 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 829 insertions(+), 825 deletions(-) commit 12bc8ddb934f76396b070b9aeb47346e62cc70a5 Author: Matthias Clasen Date: Sat Jan 9 14:36:05 2016 -0500 Fix dobule border rendering This is the same fix that was applied for ridge and groove style in 9f27ee7f5abf49a20ac95d57b306ecd4294b49c6. gtk/gtkrenderborder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 152171e60c1393e7856579e8af4831c1407d8fcf Author: Lapo Calamandrei Date: Sat Jan 9 20:05:41 2016 +0100 Adwaita: transparent background for progressbar.osd Hopefully fixes https://bugzilla.gnome.org/show_bug.cgi?id=760331 Added the .osd style class to the progressbar docs. gtk/gtkprogressbar.c | 4 +++- gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 4 files changed, 10 insertions(+), 4 deletions(-) commit 6da0a0a106cebb1f06194c711820ddfa8c127ca8 Author: Lapo Calamandrei Date: Sat Jan 9 19:27:15 2016 +0100 gtkheaderbar: add titlebutton styleclass to the separator ...of the window control buttons gtk/gtkheaderbar.c | 1 + 1 file changed, 1 insertion(+) commit 99365753bf8cef94774761bf717945ba9ead21ed Author: Lapo Calamandrei Date: Sat Jan 9 18:03:26 2016 +0100 Adwaita: shortcut window related fixes gtk/theme/Adwaita/_common.scss | 37 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 30 +++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 30 +++++++++++++++++++------- 3 files changed, 72 insertions(+), 25 deletions(-) commit 44e0e1359c94a0dbd760fa51ff55034d1f8729d5 Author: Lapo Calamandrei Date: Sat Jan 9 15:30:20 2016 +0100 Adwaita: avoid colorswatch growing when drop targets gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) commit 239303b3f83f52c519baba756d965f61083b6f71 Author: Lapo Calamandrei Date: Sat Jan 9 14:36:05 2016 +0100 Adwaita: more scss cosmetics gtk/theme/Adwaita/_common.scss | 995 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 133 +++-- gtk/theme/Adwaita/gtk-contained.css | 133 +++-- 3 files changed, 801 insertions(+), 460 deletions(-) commit 2050ed04dd4dbaf07d62c0f4f7a7b3827deda0e0 Author: Lapo Calamandrei Date: Sat Jan 9 13:35:48 2016 +0100 Adwaita: rely on background-image for paned wide separators this workaround fixes the rendering issue coming out using borders gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) commit 4355cb45d799d188abe8e17ae4e192dc40336ba9 Author: Lapo Calamandrei Date: Sat Jan 9 13:04:27 2016 +0100 Adwaita: make the paned wide separator scss code correct unfortunatelly the results are not, borders behaves in a weird way here as well, if this don't get fixed I'll rely on background here too. gtk/theme/Adwaita/_common.scss | 36 +++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 23 +++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 23 +++++++++++++------- 3 files changed, 58 insertions(+), 24 deletions(-) commit 2b57ba61d5de63d6e19b0cadb238bf27d7984fc4 Author: Lapo Calamandrei Date: Sat Jan 9 12:38:49 2016 +0100 Adwaita: some scss cosmetic changes gtk/theme/Adwaita/_common.scss | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) commit f09483bb98603a66aa25a75c549b54167245c038 Author: Lapo Calamandrei Date: Sat Jan 9 12:31:41 2016 +0100 Adwaita: fix thin paned separators gtk/theme/Adwaita/_common.scss | 31 +++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 31 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 31 ++++++++++++++++++++----------- 3 files changed, 61 insertions(+), 32 deletions(-) commit b143ed98b3194e2116729a9596c2a2bc7217c40a Author: Lapo Calamandrei Date: Sat Jan 9 12:05:31 2016 +0100 Adwaita: use stricter selectors on paned separators this fixes the "fat" separator on gedit headerbar, since it was cought by the paned separator styling. gtk/theme/Adwaita/_common.scss | 18 +++++++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 23 insertions(+), 27 deletions(-) commit 367543c0e8ed7e86b9fc7d26edd04a7e95d06f36 Author: Lapo Calamandrei Date: Sat Jan 9 11:55:40 2016 +0100 Adwaita: remove old headerbar separator styling which was actually selecting nothing now. gtk/theme/Adwaita/_common.scss | 16 ---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ------- gtk/theme/Adwaita/gtk-contained.css | 7 ------- 3 files changed, 30 deletions(-) commit 4853303dd7f87b6932841895ad54d18531cae20e Author: Lapo Calamandrei Date: Sat Jan 9 11:25:08 2016 +0100 Adwaita: add vertical margins to headebar entries and separators gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) commit bf48dd9d7c4bbf825a0540bfaf1f52c64738ac4e Author: Lapo Calamandrei Date: Sat Jan 9 10:19:47 2016 +0100 Adwaita: add vertical margins to headerbar buttons to avoid them spanning the whole headerbar height with the changes introduced in my last commit. gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 23 insertions(+) commit 3a774abbfe05ab3a0d650c1d69fb7824d415a88a Author: Matthias Clasen Date: Fri Jan 8 23:31:48 2016 -0500 CSS documenation improvements Work around some problems with the formatting of the online docs, and split off the properties as a separate chapter. docs/reference/gtk/Makefile.am | 3 +- docs/reference/gtk/css-overview.xml | 984 ++++++++++++++ docs/reference/gtk/css-properties.xml | 1303 +++++++++++++++++++ docs/reference/gtk/css.xml | 2264 --------------------------------- docs/reference/gtk/gtk-docs.sgml | 3 +- 5 files changed, 2291 insertions(+), 2266 deletions(-) commit d8c1e6db216a55f78b42e7d4540b7134b51a483a Author: Matthias Clasen Date: Fri Jan 8 14:51:36 2016 -0500 3.19.6 NEWS | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 78 insertions(+), 1 deletion(-) commit 375619f9f4a04808bb186cdff3fa84a703446e1c Author: Matthias Clasen Date: Fri Jan 8 17:51:53 2016 -0500 Fix make dist I've forgotten another place when renaming HighContrast inverse. gtk/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1eaf035a78bc0c804f203062c731ff6fe63878d5 Author: Matthias Clasen Date: Fri Jan 8 15:56:27 2016 -0500 reftests: Drop deprecated style properties testsuite/reftests/reset-to-defaults.css | 4 ---- 1 file changed, 4 deletions(-) commit fe35836168e75bc8f83a58d6599b7eb920697cd9 Author: Matthias Clasen Date: Fri Jan 8 15:45:32 2016 -0500 Update expect output of a11y tests testsuite/a11y/menu.txt | 8 -------- testsuite/a11y/menubutton.txt | 8 -------- testsuite/a11y/menubutton2.txt | 34 +++++++++++++--------------------- testsuite/a11y/menubutton3.txt | 34 +++++++++++++--------------------- testsuite/a11y/menus.txt | 8 -------- testsuite/a11y/scale-drawvalue.txt | 8 -------- testsuite/a11y/tooltips.txt | 8 -------- 7 files changed, 26 insertions(+), 82 deletions(-) commit e84f1ae3bbc9ebab345e3858e7f3ad28b5cbe737 Author: Matthias Clasen Date: Fri Jan 8 15:38:38 2016 -0500 Update the list of required cursors We're now using standard cursor names for DND, so check for these. testsuite/gtk/check-cursor-names.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 771149e19a81fce3ff7a820412376cd8cfe5c069 Author: Matthias Clasen Date: Fri Jan 8 15:38:02 2016 -0500 wayland: Ensure we have a dnd-ask cursor We use this for DND, so make sure that we fall back to some other cursor if this one isn't present. gdk/wayland/gdkcursor-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 04a9b5b5f84cabc214efd585f3a2c7c7e90a9b88 Author: Matthias Clasen Date: Fri Jan 8 15:37:10 2016 -0500 x11: Ensure we have a dnd-ask cursor We use this for DND, so make sure that we fall back to some other cursor if this one isn't present. gdk/x11/gdkcursor-x11.c | 1 + 1 file changed, 1 insertion(+) commit 4b7c8218fb5aef3aa25c9ca65fd919f9024dad54 Author: Matthias Clasen Date: Fri Jan 8 15:36:32 2016 -0500 Use standard cursor names for DND At least as far as we have them. CSS has on equivalent of dnd-ask, so we keep using that name as-is. gtk/gtkdnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f2685ddf5e0bdaaaf28d7b4abd49b8d9c29a031b Author: Cosimo Cecchi Date: Fri Jan 8 14:58:25 2016 -0800 colorswatch: don't apply padding twice Instead of taking the border and manually removing it from the allocation, render our background over all the border allocation box, as that's more correct and does not take padding into account twice. gtk/gtkcolorswatch.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit e62f1604f97a6ca26aab4780fb9504c4b06a921e Author: Carlos Garnacho Date: Thu Dec 24 19:03:02 2015 +0100 paned: Use GtkGestureDrag for anything else than touch The GtkGesturePan behavior of locking onto certain orientations may come across as confusing, and is not strictly necessary for mice and other pointing devices. As GtkGesturePan is also a GtkGestureDrag, we just use the same callbacks on both gestures. https://bugzilla.gnome.org/show_bug.cgi?id=759670 gtk/gtkpaned.c | 67 ++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 23 deletions(-) commit ad0fc8ae7e24f47120520072cd6089a2ad8d3b5f Author: Carlos Garnacho Date: Fri Jan 8 21:45:03 2016 +0100 wayland: Force the grab cursor while a grab is active When a cursor is specified in gdk_seat_grab(), the cursor is reverted as soon as the pointer enters or leaves another window. To avoid this issue, store the grab cursor separately, so we force-apply it in ::set_window_cursor(). Also, unset early the seat info from the window on gdk_seat_ungrab(), so the next time switch_to_pointer_grab() happens we end up picking the cursor set for the window underneath the pointer window. Based on a patch by Olivier Fourdan . https://bugzilla.gnome.org/show_bug.cgi?id=760213 gdk/wayland/gdkdevice-wayland.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit 23b629e27cd1449b0af708e69af94d532a577270 Author: Carlos Garnacho Date: Thu Jan 7 18:55:04 2016 +0100 x11: Initialize GdkWindowAttr struct memory Valgrind complains about jumps based on uninitialized values otherwise. gdk/x11/gdkdnd-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 48fbe5137e98e82dbff40d8b56584c39466fb06a Author: Lapo Calamandrei Date: Fri Jan 8 20:56:40 2016 +0100 Adwaita: avoid too tall headerbars the vertical padding from the headerbar has been removed, now the sizing is done with min-height, this avoids title and subtitle labels making the headbar. gtk/theme/Adwaita/_common.scss | 11 ++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 9 ++++++--- gtk/theme/Adwaita/gtk-contained.css | 9 ++++++--- 3 files changed, 20 insertions(+), 9 deletions(-) commit b94f30bb64bd84ad62b4451c88aeca1f06a1959a Author: Matthias Clasen Date: Fri Jan 8 13:48:10 2016 -0500 Avoid an X error We are getting the mime data destroy notify called when we destroy the surface in finalize. Trying to set the XSync counters at this time is a) pointless and b) yielding an X error because the counters have already been destroyed. To avoid this, unhook the damage tracking before destroying the surface. https://bugzilla.gnome.org/show_bug.cgi?id=760188 gdk/x11/gdkwindow-x11.c | 2 ++ 1 file changed, 2 insertions(+) commit 4d60b5b10c472fb3b37465cede661288708e16e6 Author: Matthias Clasen Date: Fri Jan 8 13:44:36 2016 -0500 x11: Fix damage tracking hack We are setting mime data with a destroy notify on the cairo surface to get notified when cairo registers damage for the surface (in that case, it clears the mime data, calling the destroy notify). Unfortunately, the destroy notify is also called when we remove the mime data ourselves, which was not intentional. Use a flag in the window impl struct to ignore the callback when we are clearing the hook. gdk/x11/gdkwindow-x11.c | 30 +++++++++++++++++++----------- gdk/x11/gdkwindow-x11.h | 1 + 2 files changed, 20 insertions(+), 11 deletions(-) commit 3f56c530b3b5c77f2b9194c479afd1cdd25e9a42 Author: Matthias Clasen Date: Fri Jan 8 13:17:58 2016 -0500 Be more careful with floating point divisions The assumption that MIN() takes care of all infinities here turns out to be wrong. We were getting inf and -nan for some combinations of 0 width/height and corners, leading to invalid matrices and cairo errors. https://bugzilla.gnome.org/show_bug.cgi?id=759668 gtk/gtkroundedbox.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 709cc0860351a2f77fcdf76396aab61a1e2899a0 Author: Matthias Clasen Date: Fri Jan 8 11:30:44 2016 -0500 x11: Simplify drag cancel animation setup Instead of creating an intermediate pixbuf, just render the window surface onto the new surface. Doing things this way lets us avoid the cairo_surface_mark_dirty() call in gdk_pixbuf_get_from_window(), which is not generally safe to call on 'random' surfaces - it asserts that the surface has no mime data attached, and the X11 backend uses mime data for damage tracking purposes... gdk/x11/gdkdnd-x11.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit ea0084cd995283dee00a327c92d9896994e738e1 Author: Matthias Clasen Date: Fri Jan 8 11:29:58 2016 -0500 x11: Keep the drag window alive longer We destroy the widget that is wrapped around the drag window when the object data on the drag context gets cleared. Destroying the window before that happens leads to unpleasantries. E.g. we may try to access the frame clock, which doesn't exist anymore, and things go downhill from there. So, keep the window alive for a little longer. gdk/x11/gdkdnd-x11.c | 6 ++++++ 1 file changed, 6 insertions(+) commit f9e504d70e90686e32fd0c4b9ceab9f36a05ea53 Author: Matthias Clasen Date: Fri Jan 8 11:22:47 2016 -0500 wayland: Keep the drag window alive longer We destroy the widget that is wrapped around the drag window when the object data on the drag context gets cleared. Destroying the window before that happens leads to unpleasantries. E.g. we may try to access the frame clock, which doesn't exist anymore, and things go downhill from there. So, keep the window alive for a little longer. gdk/wayland/gdkdnd-wayland.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit d3aea5c4989b96f09e75f995ea55fc80a936c785 Author: Matthias Clasen Date: Fri Jan 8 11:12:55 2016 -0500 Forgotten file One was forgotten in the dark -> inverse rename. gtk/theme/HighContrast/gtk-inverse.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 000b5b90559c0faa9fbc2ddbc9359211cda203c5 Author: Matthias Clasen Date: Fri Jan 8 11:08:37 2016 -0500 color editor: Set a name on the color sample This can be used to tweak the style from CSS, via #editor-color-sample. gtk/ui/gtkcoloreditor.ui | 1 + 1 file changed, 1 insertion(+) commit 91123adba78f3bb7a50079e5d7e107bc5e2dc43e Author: Lapo Calamandrei Date: Fri Jan 8 16:48:01 2016 +0100 Adwaita: remove some now uneeded selectors ...related to image-button sizing which is handled differently now. gtk/theme/Adwaita/_common.scss | 10 ---------- gtk/theme/Adwaita/gtk-contained-dark.css | 29 +++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 29 +++++++++-------------------- 3 files changed, 18 insertions(+), 50 deletions(-) commit 5de71413fe5a24aedcd0e39dce84b9b3385ea593 Author: Lapo Calamandrei Date: Fri Jan 8 16:31:30 2016 +0100 Adwaita: colorchooser and color button style rewrite fixing https://bugzilla.gnome.org/show_bug.cgi?id=760169 in the process. gtk/theme/Adwaita/_common.scss | 174 +++++++++++++------------------ gtk/theme/Adwaita/gtk-contained-dark.css | 128 +++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 128 ++++++++++------------- 3 files changed, 180 insertions(+), 250 deletions(-) commit d07f00d98f2ae82a927d364a8f140ec881c2dcfe Author: Chun-wei Fan Date: Fri Jan 8 18:44:24 2016 +0800 CJK Windows: Silence gtk_style_context_set_state() warnings We need to update calls to gtk_style_context_set_state() in gtkimcontextime.c, so that the state passed into that function would be in line with what GtkStyleContext expects, due to updates in the CSS machinery, as outlined in this link[1], which is based on information in in Matthias' blog[2]. Doing so will silence the gtk_style_context_set_state() warnings, which is emitted when a widget uses gtkimcontext on Windows with CJK IME, which will in turn call gtkimcontextime. [1]: http://feaneron.com/2016/01/04/quick-guide-to-port-an-app-for-gtk-3-20/ [2]: https://blogs.gnome.org/mclasen/2015/11/20/a-gtk-update/ https://bugzilla.gnome.org/show_bug.cgi?id=760314 modules/input/gtkimcontextime.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 4eb333801b517c58b896d82dcd129768e76d0e0e Author: Matthias Clasen Date: Fri Jan 8 08:59:02 2016 -0500 Revert "Translate GDK_KEY_KP_Decimal according to locale" This reverts commit 7c7fde136e1fd1197df1881a3bbd975c4cb1c01a. Too much controversy for this minor improvement. See https://bugzilla.gnome.org/show_bug.cgi?id=756751 gdk/gdkkeyuni.c | 21 --------------------- 1 file changed, 21 deletions(-) commit d72e061bb99b2b7aac8908858041d329aa19890e Author: Matthias Clasen Date: Fri Jan 8 07:39:17 2016 -0500 Rename the HighContastInverse css files Renaming the files from -dark to -inverse makes it more obvious that this is not a dark variant in the sense of the 'prefer-dark' setting, but rather a separate theme (sharing the same CSS). gtk/Makefile.am | 4 +- gtk/theme/HighContrast/gtk-contained-dark.css | 3030 --------------------- gtk/theme/HighContrast/gtk-contained-dark.scss | 11 - gtk/theme/HighContrast/gtk-contained-inverse.css | 3030 +++++++++++++++++++++ gtk/theme/HighContrast/gtk-contained-inverse.scss | 11 + gtk/theme/HighContrast/gtk-dark.css | 1 - gtk/theme/HighContrast/gtk-inverse.css | 1 + 7 files changed, 3044 insertions(+), 3044 deletions(-) commit 0dd013d3722b04439b8c7df95d78f4cde3d554b9 Author: Matthias Clasen Date: Thu Jan 7 23:56:03 2016 -0500 Document caret CSS properties docs/reference/gtk/css.xml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit 9f247e112bc34011f45addf14e6d1ba5df1e05c7 Author: Matthias Clasen Date: Wed Jan 6 22:12:35 2016 -0500 Deprecate cursor-color style properties These have been replaced by CSS properties. gtk/gtkwidget.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 9b86d6da2cb26893223e64be29d2d016d18af77a Author: Matthias Clasen Date: Wed Jan 6 22:07:09 2016 -0500 Use the caret-color properties for drawing carets Replace the cursor-color and secondary-cursor-color style properties with the caret-color and -gtk-secondary-caret-color CSS properties. For the 'auto' value of these properties, we keep the same behavior that we used to have when the style properties are not explicitly set. gtk/gtkstylecontext.c | 61 +++++++++++---------------------------------------- 1 file changed, 13 insertions(+), 48 deletions(-) commit fdba244c387d941279ed61ebc658c91f4f3d6025 Author: Matthias Clasen Date: Wed Jan 6 22:05:29 2016 -0500 Add the caret-color CSS property This property is defined in http://www.w3.org/TR/css3-ui/#caret-color. We also add a -gtk-secondary-caret-color property, since GTK+ has supported differently colored split cursors in the past. Unlike CSS, we don't support the weakly defined auto keyword, and just use currentColor as the initial value. gtk/gtkcsscolorvalue.c | 2 ++ gtk/gtkcssstylepropertyimpl.c | 20 +++++++++++++++++++- gtk/gtkcsstypesprivate.h | 2 ++ 3 files changed, 23 insertions(+), 1 deletion(-) commit feba047574d2897a35e8cf506002ef86904addfb Author: Timm Bäder Date: Fri Jan 8 13:23:56 2016 +0100 gtk3-demo: Remove unused GtkCellView demos/gtk-demo/combobox.c | 5 ----- 1 file changed, 5 deletions(-) commit 496f0892fcfcd14715b85258f155b65d2ab54ab6 Author: Alberto Ruiz Date: Mon Dec 28 20:14:08 2015 +0000 introspection: This patch fixes nullable return values fixes for the following symbols in gtk gtk_accel_group_query gtk_accel_group_from_accel_closure gtk_accel_label_get_accel_widget gtk_accessible_get_widget gtk_actionable_get_action_name gtk_app_chooser_get_app_info gtk_app_chooser_button_get_heading gtk_app_chooser_dialog_get_heading gtk_application_get_window_by_id gtk_assistant_get_nth_page gtk_binding_set_find gtk_builder_get_object gtk_builder_lookup_callback_symbol gtk_builder_get_application gtk_button_get_image gtk_cell_area_get_focus_from_sibling gtk_cell_renderer_start_editing gtk_cell_view_get_model gtk_cell_view_get_displayed_row gtk_clipboard_get_owner gtk_container_get_focus_child gtk_container_get_focus_vadjustment gtk_container_get_focus_hadjustment gtk_dialog_get_widget_for_response gtk_drag_get_source_widget gtk_drag_dest_get_target_list gtk_drag_source_get_target_list gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_expander_get_label_widget gtk_file_chooser_get_filename gtk_file_chooser_get_current_folder gtk_file_chooser_get_uri gtk_file_chooser_get_current_folder_uri gtk_file_chooser_get_preview_widget gtk_file_chooser_get_preview_file gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_uri gtk_file_chooser_get_extra_widget gtk_file_chooser_get_filter gtk_file_chooser_native_get_accept_label gtk_file_chooser_native_get_cancel_label gtk_file_filter_get_name gtk_font_chooser_get_font_family gtk_font_chooser_get_font_face gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_chooser_get_font_map gtk_frame_get_label gtk_gesture_get_device gtk_gesture_get_window gtk_gl_area_get_error gtk_header_bar_get_title gtk_header_bar_get_subtitle gtk_header_bar_get_custom_title gtk_icon_info_get_filename gtk_icon_view_get_path_at_pos gtk_icon_view_get_model gtk_image_get_pixbuf gtk_image_get_animation gtk_label_get_mnemonic_widget gtk_label_get_attributes gtk_check_version gtk_menu_button_get_popup gtk_menu_button_get_menu_model gtk_menu_button_get_align_widget gtk_menu_button_get_popover gtk_menu_item_get_submenu gtk_menu_item_get_accel_path gtk_native_dialog_get_title gtk_native_dialog_get_transient_for gtk_notebook_get_nth_page gtk_notebook_get_tab_label_text gtk_notebook_get_menu_label gtk_notebook_get_menu_label_text gtk_notebook_get_group_name gtk_notebook_get_action_widget gtk_offscreen_window_get_surface gtk_offscreen_window_get_pixbuf gtk_paned_get_child1 gtk_paned_get_child2 gtk_places_sidebar_get_location gtk_places_sidebar_get_nth_bookmark gtk_plug_get_socket_window gtk_popover_get_default_widget gtk_progress_bar_get_text gtk_recent_filter_get_name gtk_recent_manager_lookup_item gtk_settings_get_default gtk_socket_get_plug_window gtk_stack_sidebar_get_stack gtk_stack_switcher_get_stack gtk_style_context_get_section gtk_style_context_get_parent gtk_style_context_get_frame_clock gtk_test_find_widget gtk_text_buffer_get_mark gtk_text_tag_table_lookup gtk_text_view_get_tabs gtk_text_view_toggle_cursor_visible gtk_text_view_get_window gtk_toolbar_get_nth_item gtk_tool_button_get_label gtk_tool_button_get_icon_name gtk_tool_button_get_label_widget gtk_tool_button_get_icon_widget gtk_tool_palette_get_drop_item gtk_tool_palette_get_drop_group gtk_tree_model_filter_convert_child_path_to_path gtk_tree_model_filter_convert_path_to_child_path gtk_tree_model_sort_convert_child_path_to_path gtk_tree_model_sort_convert_path_to_child_path gtk_tree_view_get_column gtk_tree_view_get_bin_window gtk_tree_view_column_get_widget gtk_tree_view_column_get_tree_view gtk_widget_get_frame_clock gtk_window_group_get_current_device_grab GtkTextBufferSerializeFunc gtk/gtkaccelgroup.c | 6 +++--- gtk/gtkaccellabel.c | 2 +- gtk/gtkaccessible.c | 2 +- gtk/gtkactionable.c | 3 ++- gtk/gtkappchooser.c | 2 +- gtk/gtkappchooserbutton.c | 2 +- gtk/gtkappchooserdialog.c | 2 +- gtk/gtkapplication.c | 2 +- gtk/gtkassistant.c | 2 +- gtk/gtkbindings.c | 2 +- gtk/gtkbuilder.c | 6 +++--- gtk/gtkbutton.c | 3 ++- gtk/gtkcalendar.h | 4 ++-- gtk/gtkcellarea.c | 2 +- gtk/gtkcellrenderer.c | 2 +- gtk/gtkcellview.c | 4 ++-- gtk/gtkclipboard.c | 2 +- gtk/gtkcontainer.c | 8 ++++---- gtk/gtkdialog.c | 2 +- gtk/gtkdnd.c | 4 ++-- gtk/gtkdragsource.c | 2 +- gtk/gtkentrycompletion.c | 6 +++--- gtk/gtkexpander.c | 2 +- gtk/gtkfilechooser.c | 39 ++++++++++++++++++++------------------- gtk/gtkfilechoosernative.c | 8 ++++---- gtk/gtkfilefilter.c | 2 +- gtk/gtkfontchooser.c | 10 +++++----- gtk/gtkframe.c | 2 +- gtk/gtkgesture.c | 4 ++-- gtk/gtkglarea.c | 2 +- gtk/gtkheaderbar.c | 6 +++--- gtk/gtkicontheme.c | 2 +- gtk/gtkiconview.c | 6 +++--- gtk/gtkimage.c | 4 ++-- gtk/gtklabel.c | 4 ++-- gtk/gtkmain.c | 2 +- gtk/gtkmenubutton.c | 8 ++++---- gtk/gtkmenuitem.c | 6 +++--- gtk/gtknativedialog.c | 6 +++--- gtk/gtknotebook.c | 31 +++++++++++++++---------------- gtk/gtkoffscreenwindow.c | 4 ++-- gtk/gtkpaned.c | 4 ++-- gtk/gtkplacessidebar.c | 10 +++++----- gtk/gtkplug.c | 2 +- gtk/gtkpopover.c | 3 ++- gtk/gtkprogressbar.c | 2 +- gtk/gtkrecentfilter.c | 2 +- gtk/gtkrecentmanager.c | 2 +- gtk/gtksettings.c | 4 ++-- gtk/gtksocket.c | 3 ++- gtk/gtkstacksidebar.c | 2 +- gtk/gtkstackswitcher.c | 2 +- gtk/gtkstylecontext.c | 7 ++++--- gtk/gtktestutils.c | 2 +- gtk/gtktextbuffer.c | 2 +- gtk/gtktextbufferrichtext.h | 4 ++-- gtk/gtktexttagtable.c | 3 ++- gtk/gtktextview.c | 6 +++--- gtk/gtktoolbar.c | 2 +- gtk/gtktoolbutton.c | 8 ++++---- gtk/gtktoolpalette.c | 6 +++--- gtk/gtktreemodelfilter.c | 4 ++-- gtk/gtktreemodelsort.c | 4 ++-- gtk/gtktreeview.c | 8 ++++---- gtk/gtktreeviewcolumn.c | 4 ++-- gtk/gtkwidget.c | 3 ++- gtk/gtkwindowgroup.c | 2 +- 67 files changed, 163 insertions(+), 156 deletions(-) commit 120088b15f082c2da62a8cea25ba7da53ddb69d6 Author: Olivier Fourdan Date: Tue Dec 8 16:33:45 2015 +0100 wayland: Update parent of dialogs without transient X11 has the notions of "transient for group", and while it's an ICCCM violation, it's commonly used and documented that a window manager would treat a window with transient_for set to None to transient for all windows of its group. gtk uses this when an application sets a dialog type window but does not specify an explicit transient. While this works on X11, there is no such thing as groups in Wayland and the closest equivalent which is set_parent() in xdg-shell takes only one parent. This is what is used for modal dialogs. To get something similar in behavior to what is available on X11, a solution is to update the parent() of the dialogs without transient when the active surface changes. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759161 gdk/wayland/gdkwindow-wayland.c | 69 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 63 insertions(+), 6 deletions(-) commit 28f011eb055673d8944cd6e012bc5d84bae41a26 Author: Olivier Fourdan Date: Mon Dec 21 14:35:53 2015 +0100 wayland: prefer subsurface when possible Quite a few applications use GTK_WINDOW_POPUP to create various temporary windows and place then on screen. That works fine on X11 but on Wayland there is no global coordinate system for regular surfaces. If the application is using a gdk temp window and set a parent with gtk_window_transient_for(), the gdk wayland backend has all it needs to create a subsurface that can be placed at will by the application. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759738 gdk/wayland/gdkwindow-wayland.c | 57 +++++++++++++++++++++++----------- gtk/gtkwindow.c | 6 ++++ tests/Makefile.am | 1 + tests/testpopup.c | 68 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+), 17 deletions(-) commit d85b3fc60dcf09d4703b30bef676af93ef6ed6cd Author: Timm Bäder Date: Fri Jan 8 09:38:32 2016 +0100 revealer: Propagate draw event gtk/gtkrevealer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 711ffd648ed191bad9f0a956cf05905a73a9e4bd Author: Timm Bäder Date: Tue Jan 5 19:05:43 2016 +0100 GtkPopover: Protect against transparent backgrounds If the background is transparent, we can't use it for the input shape, since that will be empty. Draw a box with rounded corners irectly instead, in fully opaque black. https://bugzilla.gnome.org/show_bug.cgi?id=759905 gtk/gtkpopover.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit fa66b271f8c96d86bcb7eb7f315628ea3674aafd Author: Ben Gamari Date: Wed Jan 6 00:36:21 2016 +0100 gdkwindow-x11: Ensure that extended update counter is freed I believe this lead to rampant leakage of SyncCounters by gnome-terminal. https://bugzilla.gnome.org/show_bug.cgi?id=760188 gdk/x11/gdkwindow-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit a45b1d1e3c414d2b2735c9ed096b6abe1b45a7ea Author: Matthias Clasen Date: Thu Jan 7 19:49:17 2016 -0500 inspector: Sort themes in the various theme combos It is nicer if the themes show up in a predictable order, so sort them alphabetically. gtk/inspector/visual.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) commit ec02f055ed6d91cf8ff53dd5b62cac643da8ae08 Author: Matthias Clasen Date: Thu Jan 7 19:50:15 2016 -0500 inspector: Add HighContrastInverse to list of themes gtk/inspector/visual.c | 1 + 1 file changed, 1 insertion(+) commit 0e473a5f1c4d4598cf73e570c0bb1777341aa81d Author: Matthias Clasen Date: Thu Jan 7 19:47:58 2016 -0500 Rename HighContrast-dark to HighContrastInverse For accessibility purposes, it is better to have this as a separate theme than as a dark variant of the HighContrast theme. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4925493e494d72c7eeb35c12d7461102edb973df Author: Lapo Calamandrei Date: Fri Jan 8 01:38:42 2016 +0100 Adwaita: rounded corners on iconview selection gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 5 insertions(+) commit c0275b508dab401f2464ec2beb26d9dde1779cf4 Author: Lapo Calamandrei Date: Fri Jan 8 01:37:20 2016 +0100 Adwaita: fix calendar invisible selection gtk/theme/Adwaita/_common.scss | 5 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 14 ++++++++------ gtk/theme/Adwaita/gtk-contained.css | 14 ++++++++------ 3 files changed, 19 insertions(+), 14 deletions(-) commit 5b3001b6d53b137d32dd7b9ab8996be224859d6d Author: Matthias Clasen Date: Thu Jan 7 19:20:55 2016 -0500 colorswatch: Fix the overlay I misunderstood what the overlay is good for: We need to allocate it the full size of the widget. since we are using it to render a background gradient *over* the application-rendered color. At the same time, save some 100 lines of code by using an icon helper as gadget, instead of handling the icon manually. gtk/gtkcolorswatch.c | 155 ++++++++++----------------------------------------- 1 file changed, 30 insertions(+), 125 deletions(-) commit 1b3bb244b6b584fbee69e120fe3cbcdb19069ce0 Author: Matthias Clasen Date: Thu Jan 7 18:38:31 2016 -0500 color swatch: Fix up rendering gtk_render_content_path is expecting the full box dimensions, not just the content area. So, add the border before calling it. Note it is still possible to have some separation between the color and the border, by setting padding. gtk/gtkcolorswatch.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit f9e6ccd59256ef86bdfa3bfe9810df35f7ee00fe Author: Daiki Ueno Date: Wed Jan 6 18:09:04 2016 +0900 gtkbuilder: Install gettext ITS files Recent gettext has a feature to allow consumer projects to supply their own string extraction rules for XML files, in ITS format. Gettext still ships the rule for *.ui, but it would be better maintained in the upstream project. https://bugzilla.gnome.org/show_bug.cgi?id=760202 gtk/Makefile.am | 5 +++++ gtk/gtkbuilder.its | 23 +++++++++++++++++++++++ gtk/gtkbuilder.loc | 6 ++++++ 3 files changed, 34 insertions(+) commit b1f692572747b2ef39135361bb83624ec38d04d6 Author: Daniel Mustieles Date: Thu Jan 7 23:15:11 2016 +0100 Updated Spanish translation po-properties/es.po | 1502 ++++++++++++++++++++++++++------------------------- 1 file changed, 758 insertions(+), 744 deletions(-) commit c9ee47333f458e4edde29c372bd7700756a04544 Author: Daniel Mustieles Date: Thu Jan 7 23:14:58 2016 +0100 Updated Spanish translation po/es.po | 185 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 96 insertions(+), 89 deletions(-) commit 9e63e61b165da6ce5159e6e84e4e98f79c266026 Author: Matthias Clasen Date: Thu Jan 7 16:30:19 2016 -0500 Implement transitions for radial gradients This was missing in the initial implementation. gtk/gtkcssimageradial.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit a7e2a9d8d3268c851aa1c22da2cbf22ab380e12e Author: Matthias Clasen Date: Thu Jan 7 16:10:10 2016 -0500 Don't interpolate between keywords Transitioning between linear gradients like linear-gradient(to top, yellow, green) and linear-gradient(to left, yellow, green) was yielding nonsensical results, with the gradient line jumping around wildly. Fix this by falling back to stupid image interpolation for these cases. gtk/gtkcssimagelinear.c | 4 ++++ 1 file changed, 4 insertions(+) commit cd6ca291bdc10c8ae7c9379d7c2b892c129785cc Author: Kjartan Maraas Date: Thu Jan 7 21:54:51 2016 +0100 Updated Norwegian bokmål translation. po/nb.po | 3335 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 2156 insertions(+), 1179 deletions(-) commit ca6d01a678c6eab9dcbb6719e5d5365008aceac5 Author: Timm Bäder Date: Thu Jan 7 20:33:25 2016 +0100 GtkCssGadget: Set valid clip values for invisible gadgets gtk/gtkcssgadget.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 8ecba899916aab7956ca9850c89d346fab24ae55 Author: Matthias Clasen Date: Thu Jan 7 13:24:32 2016 -0500 color swatch: Remove a stray frame When using a gadget, the border is free, no need to call gtk_render_frame ourselves. gtk/gtkcolorswatch.c | 2 -- 1 file changed, 2 deletions(-) commit 0b96b8a1eef68a6110ceac10208a2c29b807cd56 Author: Timm Bäder Date: Thu Jan 7 18:27:11 2016 +0100 GtkModelButton: Remove some margins Now that we can use margins from css for this, remove the margins we set in code and use css instead. gtk/gtkmenusectionbox.c | 12 ------------ gtk/gtkmodelbutton.c | 5 ----- gtk/theme/Adwaita/_common.scss | 20 +++++++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++++++++----- 5 files changed, 49 insertions(+), 32 deletions(-) commit 2f61bc18661c83769968e9cc47ca762d45cf0117 Author: Timm Bäder Date: Thu Jan 7 18:25:22 2016 +0100 GtkModelButton: Remove always-zero variable gtk/gtkmodelbutton.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit bbfec07e067c0d0175b7ac9e858a85674600b8bd Author: Eric Williams Date: Wed Jan 6 15:27:53 2016 -0500 Clarified the function docs for gtk_css_provider_load_from_data(). https://bugzilla.gnome.org/show_bug.cgi?id=760238 gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 10cc35405e9e51754546a6e49be77fb8df37e39a Author: Matthias Clasen Date: Wed Jan 6 14:56:06 2016 -0500 wayland: Only do cursor name fallback for standard names Always returning a left_ptr if we can't find anything better broke firefox application-specific fallback for missing cursors. Keep that working by only doing the fallback for the CSS cursor names, not for things like hashes. https://bugzilla.gnome.org/show_bug.cgi?id=760141 gdk/wayland/gdkcursor-wayland.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) commit d9befb9086ba7882b5c2813518ab3c3e02c0ed7f Author: Matthias Clasen Date: Wed Jan 6 14:54:33 2016 -0500 x11: Only do cursor name fallback for standard names Always returning a left_ptr if we can't find anything better broke firefox application-specific fallback for missing cursors. Keep that working by only doing the fallback for the CSS cursor names, not for things like hashes. https://bugzilla.gnome.org/show_bug.cgi?id=760141 gdk/x11/gdkcursor-x11.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit b6e11d087c951b01e70d7bae926e3f6323374fd6 Author: Matthias Clasen Date: Wed Jan 6 14:53:45 2016 -0500 Add context-menu to the list of standard cursor names Adwaita doesn't have this one, but we are falling to the default cursor anyway. gdk/gdkcursor.c | 1 + 1 file changed, 1 insertion(+) commit d76fb63ba87e45c24ce916275d85a37b07fb3fc7 Author: Matthias Clasen Date: Tue Jan 5 23:24:51 2016 -0500 Add a test for ltr vs rtl boxes. This tests that horizontal boxes flip their child nodes according to text direction to maintain the left-to-right ordering of child nodes for both text directions. testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/box.ltr.nodes | 6 ++++++ testsuite/css/nodes/box.ltr.ui | 32 ++++++++++++++++++++++++++++++++ testsuite/css/nodes/box.rtl.nodes | 6 ++++++ testsuite/css/nodes/box.rtl.ui | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+) commit a519a1a9284d749356a46ec249c5fdb9dd2f641c Author: Matthias Clasen Date: Tue Jan 5 23:22:28 2016 -0500 CSS node tests: Add a way to test rtl vs ltr CSS nodes have a linear sibling relationship; this is supposed to correspond to left-to-right placement in horizontal arrangements. This commit explicitly sets the text direction to rtl if the filename ends in .rtl.ui, so we can test differences in node tree layout between text directions. testsuite/css/nodes/test-css-nodes.c | 5 +++++ 1 file changed, 5 insertions(+) commit 47afccb41bc5258b15b3b14148ffcc50fb3a0933 Author: Timm Bäder Date: Wed Jan 6 10:58:08 2016 +0100 GtkListBox: Optimize _get_row_at_y a bit Use g_sequence_lookup for a binary search over the rows. gtk/gtklistbox.c | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) commit a9d5fa4cfe7f377d14273e038ee6eae980f5e9e7 Author: Timm Bäder Date: Wed Jan 6 10:46:29 2016 +0100 GtkListBox: get_row_at_y can return NULL gtk/gtklistbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 83fc4d591a918d1bafa1cb12f89ac0044a9e0d91 Author: Rico Tzschichholz Date: Wed Jan 6 15:17:52 2016 +0100 HighContrast: Fix make dist gtk/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 98080e0289e311998fdc9f2ee61d2a3922e55c81 Author: Felipe Borges Date: Wed Jan 6 14:47:48 2016 +0100 printing: always propagate Collate value https://bugzilla.gnome.org/show_bug.cgi?id=728344 modules/printbackends/cups/gtkprintbackendcups.c | 2 ++ 1 file changed, 2 insertions(+) commit 1fec39ef0b858a392b4dec4f3ff76a592cfd0de9 Author: Chun-wei Fan Date: Wed Jan 6 21:12:19 2016 +0800 Visual Studio builds: Use _USE_MATH_DEFINES ... to fix the build as some C99 math constant macros are being used, such as M_SQRT2. build/win32/vs10/gtk3-build-defines.props | 2 +- build/win32/vs9/gtk3-build-defines.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 215c28df28cd643ef5cea35ca34a12a695a02b5f Author: Wonchul Lee Date: Tue Jan 5 16:48:48 2016 +0900 docs: cleanup duplication of words https://bugzilla.gnome.org/show_bug.cgi?id=760148 docs/reference/gtk/getting_started.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f32362e82ccf90c8a38f89ae83619b11665be0d5 Author: Matthias Clasen Date: Tue Jan 5 22:33:20 2016 -0500 HighContrast: Improve search bar appearance Follow the generally white background we use everywhere else. This is not perfect, we get double borders when the search bar is shown, as can be seen in gtk3-widget-factory. gtk/theme/HighContrast/_common.scss | 4 +++- gtk/theme/HighContrast/gtk-contained-dark.css | 30 ++++++++++++++------------- gtk/theme/HighContrast/gtk-contained.css | 30 ++++++++++++++------------- 3 files changed, 35 insertions(+), 29 deletions(-) commit aa9095ff7283dc5fcd493d5e9e68a9e3a88bfd4c Author: Matthias Clasen Date: Tue Jan 5 22:22:47 2016 -0500 HighContrast: Fix up action bar styling Since HighContrast is not using different background colors as much as Adwaita, we need to add borders to prevent things from running into each other. gtk/theme/HighContrast/_common.scss | 13 ++++++++----- gtk/theme/HighContrast/gtk-contained-dark.css | 12 +++++++----- gtk/theme/HighContrast/gtk-contained.css | 12 +++++++----- 3 files changed, 22 insertions(+), 15 deletions(-) commit 643454147c306c6d175bb12e3c2af4a6fdaa0db9 Author: Matthias Clasen Date: Tue Jan 5 20:39:16 2016 -0500 HighContrast: Drop deprecated style properties gtk/theme/HighContrast/_common.scss | 72 +++++++++++---------------- gtk/theme/HighContrast/gtk-contained-dark.css | 37 ++++---------- gtk/theme/HighContrast/gtk-contained.css | 37 ++++---------- 3 files changed, 52 insertions(+), 94 deletions(-) commit 56ca40996dc4deec1169f582090e8c78ff71536b Author: Matthias Clasen Date: Tue Jan 5 19:25:06 2016 -0500 HighContrast: Add a dark variant This is just a quick experiment, and so I have another theme with a dark variant to play with. gtk/Makefile.am | 3 + gtk/theme/HighContrast/_colors.scss | 13 +- gtk/theme/HighContrast/gtk-contained-dark.css | 3041 +++++++++++++++++++++++ gtk/theme/HighContrast/gtk-contained-dark.scss | 11 + gtk/theme/HighContrast/gtk-contained.css | 3041 +++++++++++++++++++++++ gtk/theme/HighContrast/gtk-contained.scss | 11 + gtk/theme/HighContrast/gtk-dark.css | 1 + gtk/theme/HighContrast/gtk.css | 3042 +----------------------- gtk/theme/HighContrast/gtk.scss | 9 - 9 files changed, 6115 insertions(+), 3057 deletions(-) commit 474d6bec85afb986e7e7e1110f8a0fd09c04e46a Author: Matthias Clasen Date: Tue Jan 5 16:54:40 2016 -0500 HighContrast: Add a missing unit gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 907fade7d02dad8b6aea120c20e92019fb26cebe Author: Matthias Clasen Date: Tue Jan 5 16:53:03 2016 -0500 HighContrast: Fix sidebar borders gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 39b76ec0822e70f2dad736ee3d87f51c225d416f Author: Matthias Clasen Date: Tue Jan 5 14:37:22 2016 -0500 HighContrast: Fix checkboxes in selected context Set a proper color so checks and radios don't disappear on the black selection background. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 9ebb63c71f6a7ae4b0fd1e6b6e42b489e3fba269 Author: Matthias Clasen Date: Tue Jan 5 14:19:58 2016 -0500 HighConstast: Some fixes for treeview headers gtk/theme/HighContrast/_common.scss | 18 ++++++++++-------- gtk/theme/HighContrast/gtk.css | 17 +++++++++-------- 2 files changed, 19 insertions(+), 16 deletions(-) commit d60fe93937387b0d2151ab8a02dcf56c711781d9 Author: Matthias Clasen Date: Tue Jan 5 10:55:34 2016 -0500 HighContrast: Keep spinbuttons from resizing on hover gtk/theme/HighContrast/_common.scss | 16 ++++++++++------ gtk/theme/HighContrast/gtk.css | 29 ++++++++++++++++++++--------- 2 files changed, 30 insertions(+), 15 deletions(-) commit 37ab99d1d21c1d6b3880dfb6fd11dcadb97e5c48 Author: Matthias Clasen Date: Tue Jan 5 07:48:54 2016 -0500 HighContrast: Fix checks and radios gtk/theme/HighContrast/_common.scss | 12 ++++++++- gtk/theme/HighContrast/gtk.css | 53 ++++++++++++++++++++++--------------- 2 files changed, 42 insertions(+), 23 deletions(-) commit c25b8e25f524ae33bce84d791a42f8e5621963de Author: Matthias Clasen Date: Tue Jan 5 07:40:39 2016 -0500 HighContrast: Some menu fixes gtk/theme/HighContrast/_common.scss | 34 ++++++++++++------- gtk/theme/HighContrast/gtk.css | 68 +++++++++++++++++++++---------------- 2 files changed, 60 insertions(+), 42 deletions(-) commit fd57a552cf626004eb48a825b205df2c27f04943 Author: Matthias Clasen Date: Tue Jan 5 07:17:16 2016 -0500 HighContrast: paned fixes Mostly copied from Adwaita. gtk/theme/HighContrast/_common.scss | 33 +++++++++++++++++++++------- gtk/theme/HighContrast/gtk.css | 43 +++++++++++++++++++++++++++---------- 2 files changed, 57 insertions(+), 19 deletions(-) commit 0f3f2e7f9c7563826cde54c29b55743809e1f1ea Author: Cosimo Cecchi Date: Tue Jan 5 10:01:33 2016 -0800 HighContrast: more combobox fixes Taken from Adwaita. gtk/theme/HighContrast/_common.scss | 14 ++++++++------ gtk/theme/HighContrast/gtk.css | 13 +++++++------ 2 files changed, 15 insertions(+), 12 deletions(-) commit c4996873dc2814ca53767dbaa1ffe08b3f6063d1 Author: Paolo Borelli Date: Tue Jan 5 18:40:25 2016 +0100 docs: try to clarify widget_get_state_flags vs context_get_state gtk/gtkstylecontext.c | 7 ++++++- gtk/gtkwidget.c | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) commit 4a9c6777a778d1d7b88f9d10d15807690ab8acc0 Author: Matthias Clasen Date: Mon Jan 4 23:52:28 2016 -0500 HighContrast: Some combobox fixes Mostly copied from Adwaita. gtk/theme/HighContrast/_common.scss | 37 ++++++++++++++++++----------------- gtk/theme/HighContrast/gtk.css | 39 ++++++++++++++++++++----------------- 2 files changed, 40 insertions(+), 36 deletions(-) commit d17f89f6bfacc0b5c30ee2977bf1d4d1803d0dc2 Author: Matthias Clasen Date: Mon Jan 4 23:45:13 2016 -0500 HighContrast: Fix frame styling gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit a11c30d0dfdac88f9954bf11ca43738c9c23fbda Author: Matthias Clasen Date: Mon Jan 4 23:28:32 2016 -0500 HighContrast: fix up color chooser theming Mostly copied from Adwaita. gtk/theme/HighContrast/_common.scss | 55 +++++++++++++++++++++++-------------- gtk/theme/HighContrast/gtk.css | 55 ++++++++++++++++++++++--------------- 2 files changed, 68 insertions(+), 42 deletions(-) commit 32177aa03bb4be191ad29e7bfc51aeaade83f317 Author: Matthias Clasen Date: Mon Jan 4 22:08:53 2016 -0500 HighContrast: Fix up stackswitcher Copy Some of the more recent additions from Adwaita. gtk/theme/HighContrast/_common.scss | 32 ++++++++++++++++++++++++++++++++ gtk/theme/HighContrast/gtk.css | 25 +++++++++++++++++++++++++ 2 files changed, 57 insertions(+) commit c110ffcb1a599fc4600bfa11e905369c3796c7b9 Author: Matthias Clasen Date: Mon Jan 4 21:35:55 2016 -0500 HighContrast: No blue spinners Spinners are drawing backgrounds now, so setting a blue background color is pretty distracting. gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk.css | 1 - 2 files changed, 2 deletions(-) commit f63e8edec68a158910f5f971b5f47cb9b51825cb Author: Matthias Clasen Date: Mon Jan 4 21:22:11 2016 -0500 Make sure icons update on theme change Gadgets don't connect to style-changed for widget nodes, and GtkImage uses its widget node for the icon helper. The visible effect of this is that symbolic icons don't change color when switching to the dark variant of Adwaita. Fix this by manually invalidating the icon helper. gtk/gtkiconhelper.c | 2 +- gtk/gtkiconhelperprivate.h | 1 + gtk/gtkimage.c | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) commit b387a966ce0dd7e1815735e75494c73be0ea92de Author: Matthias Clasen Date: Mon Jan 4 16:58:10 2016 -0500 widget-factory: Make the notebook action truly circular The sidebar-button class doesn't work out so well for this since it has horizontal padding. demos/widget-factory/widget-factory.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 637ade656aac2a9ed0e211477bb9ccf77529e908 Author: Cosimo Cecchi Date: Mon Jan 4 18:14:33 2016 -0800 levelbar: loop over all block gadgets to determine min size Instead of just picking the first. This is because the theme might set a border on only one of them, like the HighContrast theme does. gtk/gtklevelbar.c | 46 +++++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 17 deletions(-) commit 183bcb41ecae92f73b07c4eca6f120e177f20735 Author: Cosimo Cecchi Date: Mon Jan 4 17:55:26 2016 -0800 levelbar: fix parameter confusion We're always interested in the minimum size. gtk/gtklevelbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit beeefa1629f342ecbdaee9655b5e2d3a95295011 Author: Cosimo Cecchi Date: Mon Jan 4 17:50:24 2016 -0800 HighContrast: update to use -gtk-outline-radius gtk/theme/HighContrast/_common.scss | 8 ++++---- gtk/theme/HighContrast/gtk.css | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit bc66c0c31e96ed6bc71b917f0001b28be3b6df63 Author: Cosimo Cecchi Date: Mon Jan 4 17:49:41 2016 -0800 HighContrast: update to use :hover gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk.css | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 2780865534042ea7e5ab2836dcd1637c92a73746 Author: Cosimo Cecchi Date: Mon Jan 4 17:48:59 2016 -0800 HighContrast: update to use :indeterminate gtk/theme/HighContrast/_common.scss | 12 ++++++------ gtk/theme/HighContrast/gtk.css | 22 +++++++++++----------- 2 files changed, 17 insertions(+), 17 deletions(-) commit b2b1b0e238259cb0df148c2b4d42d90e965fe60b Author: Cosimo Cecchi Date: Mon Jan 4 17:46:43 2016 -0800 HighContrast: update to use :disabled gtk/theme/HighContrast/_common.scss | 130 +++++++++---------- gtk/theme/HighContrast/gtk.css | 244 ++++++++++++++++++------------------ 2 files changed, 187 insertions(+), 187 deletions(-) commit bc020fdeb73f6a906a867e1ad28a0886ea5361e7 Author: Matthias Clasen Date: Mon Jan 4 15:34:50 2016 -0500 tests: Rework the way foreigndrawing works Instead of the weird PathElt struct, generate a quick-n-dirty parser that parses CSS selectors into GtkWidgetPath elements. Based on a patch by Benjamin Otte. tests/foreigndrawing.c | 160 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 124 insertions(+), 36 deletions(-) commit c5437125518cf04f3f25c3e2f4ca3593467a21a9 Author: Matthias Clasen Date: Mon Jan 4 13:54:20 2016 -0500 Document radial gradient syntax docs/reference/gtk/css.xml | 50 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 9 deletions(-) commit d9a70bc56adff5b616d0f5a760507f9ad5b8c08f Author: Matthias Clasen Date: Sun Jan 3 21:49:13 2016 -0500 Add a CSS style test for gradients This mainly just tests that gradients are properly reproduced by gtk_style_context_to_string. testsuite/css/style/Makefile.am | 9 +++++---- testsuite/css/style/gradient.css | 11 +++++++++++ testsuite/css/style/gradient.nodes | 9 +++++++++ testsuite/css/style/gradient.ui | 18 ++++++++++++++++++ 4 files changed, 43 insertions(+), 4 deletions(-) commit fcea12f790ad20ab79f24abf46faa7993fbd49c7 Author: Matthias Clasen Date: Sun Dec 27 02:04:20 2015 -0500 Add some tests for radial gradient parsing These are the examples from the CSS spec. testsuite/css/parser/Makefile.am | 2 ++ testsuite/css/parser/radial.css | 39 +++++++++++++++++++++++++++++++++++++ testsuite/css/parser/radial.ref.css | 39 +++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) commit f727ee568763c544fe4d28824b9c171b3ef2db7c Author: Matthias Clasen Date: Sun Dec 27 02:03:35 2015 -0500 Implement CSS radial gradients Implement parsing and drawing of radial gradients according to http://www.w3.org/TR/css3-images/#radial-gradients. Transitions are not implemented yet. gtk/Makefile.am | 2 + gtk/gtkcssimage.c | 3 + gtk/gtkcssimageradial.c | 588 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssimageradialprivate.h | 73 +++++ 4 files changed, 666 insertions(+) commit f66191346c997e9f45843f6d8f087aa555bde811 Author: Christoph Reiter Date: Sat Oct 31 13:38:24 2015 +0100 Mention GtkIconSize in all docs where the argument/return is annotated as taking an int instead of GtkIconSize In https://bugzilla.gnome.org/show_bug.cgi?id=601425 the annotations were changed to int as they not only take the predefined enum values but also user defined values registered through gtk_icon_size_register() As a result the typelib doesn't contain any information about GtkIconSize for those arguments and the Python docstring only shows the corresponding Python type "int". This changes the argument docs to mention the type explicitly so the Python doc generator can add a link to Gtk.IconSize which contains the most useful predefined values. https://bugzilla.gnome.org/show_bug.cgi?id=757411 gtk/deprecated/gtkaction.c | 3 ++- gtk/deprecated/gtkiconfactory.c | 22 +++++++++++----------- gtk/deprecated/gtkstyle.c | 8 ++++---- gtk/gtkbutton.c | 2 +- gtk/gtkimage.c | 28 ++++++++++++++-------------- gtk/gtkrender.c | 5 +++-- gtk/gtkscalebutton.c | 2 +- gtk/gtktoolshell.c | 2 +- gtk/gtktooltip.c | 6 +++--- gtk/gtkwidget.c | 4 ++-- 10 files changed, 42 insertions(+), 40 deletions(-) commit 10f71dd98c2ef007b25de597b2523870e22fd594 Author: Marek Černocký Date: Mon Jan 4 11:52:10 2016 +0100 Updated Czech translation po/cs.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 77d9248e2a4f619d85aa55046d0aa5e701f4a7c0 Author: Marek Černocký Date: Mon Jan 4 11:51:20 2016 +0100 Updated Czech translation po/cs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e213ec9e365da323a00c3a9c8e77d28945e8ec61 Author: Rico Tzschichholz Date: Mon Jan 4 10:16:45 2016 +0100 docs/gtk: Include css.xml docs/reference/gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 2e0a3ec57a87a9ac3b282f5d5a9b45907b06fa46 Author: Rico Tzschichholz Date: Mon Jan 4 09:53:24 2016 +0100 docs/gtk: Sort content_files/expand_content_files alphabetically docs/reference/gtk/Makefile.am | 50 +++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit d29bfb3c7de1bfd45df705a7b6d4eb29206a4e50 Author: Piotr Drąg Date: Mon Jan 4 08:27:02 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 7 +++++++ po/POTFILES.skip | 7 +++++++ 2 files changed, 14 insertions(+) commit aa352168c9815a604b2130c48bb857bf322fe17d Author: Chun-wei Fan Date: Mon Jan 4 15:09:14 2016 +0800 config.h.win32.in: Update for _lock_file() The Visual Studio versions that we support supports locking functions in their CRT, so support that to optimize things a bit. Also update the config.h.win32.in so that its entries are more in line with the ones in the autootols builds, and make sure that we use UNIX line endings. config.h.win32.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit a009a50239520f1227721e3b9399adbecda04784 Author: Cosimo Cecchi Date: Sun Jan 3 17:20:06 2016 -0800 cssstyle: fix a compiler warning gtk/gtkcssstyle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d8e1fd6079ab2b93d48dda09cbefa316210cde3f Author: Matthias Clasen Date: Sun Jan 3 17:23:59 2016 -0500 Update expected output The previous commit changed the format of the output generated by the CSS style tests. testsuite/css/style/currentcolor.nodes | 1 + testsuite/css/style/inherit.nodes | 1 + testsuite/css/style/label.nodes | 1 + 3 files changed, 3 insertions(+) commit cfa0884165d306e64cca74213c6fbc20ad071c7e Author: Matthias Clasen Date: Sun Jan 3 17:05:16 2016 -0500 Improve formatting of CSS style prints Add a newline after CSS properties, so things don't run into each other. gtk/gtkcssnode.c | 9 +++++++-- gtk/gtkcssstyle.c | 21 ++++++++++++++++++++- gtk/gtkcssstyleprivate.h | 2 +- 3 files changed, 28 insertions(+), 4 deletions(-) commit 12be432df7c40473ea8bfa8e1c738f7dec1433ff Author: Matthias Clasen Date: Sun Jan 3 16:14:43 2016 -0500 Skip GdkX11DeviceManagerCore in default value tests We already skip the XI2 implementation, and the core one needs the same treatment. testsuite/gtk/defaultvalue.c | 1 + 1 file changed, 1 insertion(+) commit e1634d18de6a9a09aa85388035d6d675269d2cfe Author: Matthias Clasen Date: Sun Jan 3 15:41:09 2016 -0500 Update expected output for CSS style tests The format for CSS values changed slightly in one of the previous commits. testsuite/css/style/currentcolor.nodes | 5 ++--- testsuite/css/style/inherit.nodes | 8 ++++---- testsuite/css/style/label.nodes | 8 ++++++-- testsuite/css/style/nth-child.nodes | 8 ++++---- 4 files changed, 16 insertions(+), 13 deletions(-) commit 3c26aef826f9272d3ab00d25ffec3e8000d97a1b Author: Matthias Clasen Date: Sun Jan 3 15:37:40 2016 -0500 Use a custom theme for CSS style tests Use a custom, empty theme and stop importing reset-to-defaults.css. This avoids overwriting initial values, so our initial value filtering works better. testsuite/css/style/Empty.css | 0 testsuite/css/style/Makefile.am | 25 +++++++++++++++++++----- testsuite/css/style/currentcolor.css | 2 -- testsuite/css/style/inherit.css | 2 -- testsuite/css/style/label.css | 2 -- testsuite/css/style/nth-child.css | 2 -- testsuite/css/style/reset-to-defaults.css | 3 --- testsuite/css/style/test-css-style.c | 1 + testsuite/css/style/test-css-style.gresource.xml | 6 ++++++ 9 files changed, 27 insertions(+), 16 deletions(-) commit 2e921691d97c203e172cddd18aead9eb90904770 Author: Matthias Clasen Date: Sun Jan 3 15:34:08 2016 -0500 Redo CSS style printing Drop the custom style printing implementation in gtkcssnode.c and instead reuse the existing gtk_css_style_print function, extending it a bit to suit our needs. Instead of computing values, just recognize initial values by having no CSS section. Also do away with the show-initial flag, and just always filter out initial values. The flag can come back when it is needed. gtk/gtkcssnode.c | 87 ++---------------------------------------------- gtk/gtkcssstyle.c | 32 +++++++++++++----- gtk/gtkcssstyleprivate.h | 4 ++- gtk/gtkstylecontext.c | 4 --- gtk/gtkstylecontext.h | 3 +- 5 files changed, 29 insertions(+), 101 deletions(-) commit d0e648d4f67ae485727c0452921c18f7642b80de Author: Matthias Clasen Date: Sun Jan 3 14:04:52 2016 -0500 Update expected output for node and style tests The previous commit changed the format of the output. testsuite/css/nodes/buttons.nodes | 56 ++++++++--------- testsuite/css/nodes/entries.nodes | 32 +++++----- testsuite/css/nodes/levelbar.nodes | 110 ++++++++++++++++----------------- testsuite/css/nodes/notebook.nodes | 30 ++++----- testsuite/css/nodes/progressbar.nodes | 40 ++++++------ testsuite/css/style/currentcolor.nodes | 8 +-- testsuite/css/style/inherit.nodes | 10 +-- testsuite/css/style/label.nodes | 8 +-- testsuite/css/style/nth-child.nodes | 18 +++--- 9 files changed, 156 insertions(+), 156 deletions(-) commit 0c52eca34cd1edeb51b930f756652e359ed6ee10 Author: Matthias Clasen Date: Sun Jan 3 14:02:00 2016 -0500 Move node printing to GtkCssNodeDeclaration The node declaration has all the information we are printing here (except for visibility). At the same time, redo the format to print the information in selector format, and indicate (in)visibility by enclosing the selector in square brackets. gtk/gtkcssnode.c | 91 ++++---------------------------------- gtk/gtkcssnodedeclaration.c | 50 +++++++++++++++++++++ gtk/gtkcssnodedeclarationprivate.h | 4 ++ 3 files changed, 63 insertions(+), 82 deletions(-) commit 28e185dd1b8b5fcf90993e9d698110328c1d497d Author: Cosimo Cecchi Date: Sun Jan 3 11:33:19 2016 -0800 tests: fix Makefile.am syntax It requires a tab character, or the build will fail. testsuite/css/style/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dcaffe369f10b2ec45a57ba61fd49b64f9eb4743 Author: Cosimo Cecchi Date: Sun Jan 3 11:25:45 2016 -0800 cssnode: fix a compiler warning gtk/gtkcssnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 489928cbb482890442b376521ac100247ef97371 Author: Matthias Clasen Date: Sun Jan 3 12:05:57 2016 -0500 Fix the build testsuite/css/nodes/Makefile.am | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) commit f7a93c015cc27834810484ab6b69bbc6734a862b Author: Matthias Clasen Date: Sun Jan 3 11:59:15 2016 -0500 Forgotten file I forgot to add this file to source control when the new tests were initially added. testsuite/css/style/Makefile.am | 5 ++++- testsuite/css/style/reset-to-defaults.css | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) commit daa08862ffae16a78dba297cf796fb577b9d9b08 Author: Felix Riemann Date: Sun Jan 3 15:32:38 2016 +0100 shortcuts: Separate gestures in search results Gestures where shown separately from other shortcuts in the search results before. This restores that behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=760097 gtk/gtkshortcutswindow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit bd4b3091f6e1f900d4a3effcfd93d7c97f46ef1c Author: Felix Riemann Date: Sun Jan 3 15:22:06 2016 +0100 shortcuts: Show icons and subtitles for gestures in search results https://bugzilla.gnome.org/show_bug.cgi?id=760097 gtk/gtkshortcutswindow.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 2dd8d1ad5318c7c09fc4a61afca610f6ed6a080e Author: Matthias Clasen Date: Sun Jan 3 10:56:11 2016 -0500 Update expected results of a11y tests All of these now have a harmless extra "panel". testsuite/a11y/about.txt | 4 ++-- testsuite/a11y/menu.txt | 8 ++++++++ testsuite/a11y/menubutton.txt | 8 ++++++++ testsuite/a11y/menubutton2.txt | 34 +++++++++++++++++++++------------- testsuite/a11y/menubutton3.txt | 34 +++++++++++++++++++++------------- testsuite/a11y/menus.txt | 8 ++++++++ testsuite/a11y/scale-drawvalue.txt | 8 ++++++++ testsuite/a11y/tooltips.txt | 8 ++++++++ 8 files changed, 84 insertions(+), 28 deletions(-) commit 1aeaa33e68ac2e93b3664b873dd2533f52c4e7b8 Author: Matthias Clasen Date: Sun Jan 3 10:42:13 2016 -0500 lockbutton: Fix up the template I forgot to clean this up when switching to a stack. gtk/ui/gtklockbutton.ui | 15 --------------- 1 file changed, 15 deletions(-) commit 7a0174157549faadb21bb6705281fe9344024869 Author: Matthias Clasen Date: Sun Jan 3 10:34:40 2016 -0500 Skip GdkX11DeviceManagerCore in notify tests We already skip the XI2 implementation, and the core one needs to the same treatment. testsuite/gtk/notify.c | 1 + 1 file changed, 1 insertion(+) commit 9c39232ab399eb3138fa4924b6072c3d340c215e Author: Matthias Clasen Date: Sun Jan 3 10:33:54 2016 -0500 assistant: Drop unnecessary frame We can just style the sidebar box itself, no need for an extra frame widget. gtk/gtkassistant.c | 4 +--- gtk/ui/gtkassistant.ui | 11 ++--------- 2 files changed, 3 insertions(+), 12 deletions(-) commit adfb76dc7ee8e78e54c343230091b3b01fa11760 Author: Matthias Clasen Date: Sun Jan 3 09:55:30 2016 -0500 lockbutton: Use a stack The previous way of manually juggling the visibility of the labels doesn't work anymore, now that gadgets of invisible widgets don't allocate space anymore. gtk/gtklockbutton.c | 23 ++++++++--------------- gtk/ui/gtklockbutton.ui | 42 +++++++++++++++++++++++------------------- 2 files changed, 31 insertions(+), 34 deletions(-) commit ed5ebc071179efa449a606b07683b6f8a628ac0d Author: Matthias Clasen Date: Mon Dec 28 23:26:50 2015 -0500 Add a css style test for currentColor testsuite/css/style/Makefile.am | 7 ++++--- testsuite/css/style/currentcolor.css | 9 +++++++++ testsuite/css/style/currentcolor.nodes | 7 +++++++ testsuite/css/style/currentcolor.ui | 19 +++++++++++++++++++ 4 files changed, 39 insertions(+), 3 deletions(-) commit 33be60b0ab53b62d53e10a8334c7ad7d22ad6370 Author: Matthias Clasen Date: Mon Dec 28 23:20:57 2015 -0500 Add a css style test for inherit and initial testsuite/css/style/Makefile.am | 1 + testsuite/css/style/inherit.css | 11 +++++++++++ testsuite/css/style/inherit.nodes | 9 +++++++++ testsuite/css/style/inherit.ui | 27 +++++++++++++++++++++++++++ 4 files changed, 48 insertions(+) commit 1ec34ae0854c5f7cf6eac5ed18115d64b5b52e72 Author: Matthias Clasen Date: Mon Dec 28 13:59:10 2015 -0500 Add a css style test for :first/last/only-child testsuite/css/style/Makefile.am | 1 + testsuite/css/style/nth-child.css | 14 +++++++++++ testsuite/css/style/nth-child.nodes | 13 ++++++++++ testsuite/css/style/nth-child.ui | 48 +++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+) commit 82a571e0ca8e3cd983e475fe31b10b4a776aae3e Author: Matthias Clasen Date: Mon Dec 28 12:39:54 2015 -0500 Add a css style test for font inheritance testsuite/css/style/Makefile.am | 1 + testsuite/css/style/label.css | 5 +++++ testsuite/css/style/label.nodes | 6 ++++++ testsuite/css/style/label.ui | 19 +++++++++++++++++++ 4 files changed, 31 insertions(+) commit 905ab53c71211d0de1d4a028a26b382f8e1e47b6 Author: Matthias Clasen Date: Tue Dec 29 07:44:53 2015 -0500 Add a test framework for CSS styles This uses the same function for dumping CSS nodes and styles as the CSS node test. It can be used to test aspects of inheritance and matching, as well as initial values. No actual tests yet. configure.ac | 1 + testsuite/css/Makefile.am | 2 +- testsuite/css/style/Makefile.am | 55 ++++++ testsuite/css/style/test-css-style.c | 287 +++++++++++++++++++++++++++++ testsuite/css/style/test-css-style.test.in | 3 + 5 files changed, 347 insertions(+), 1 deletion(-) commit 864693e5aa2ff9b752341eaca45d713559a22b65 Author: Matthias Clasen Date: Mon Dec 28 11:00:32 2015 -0500 Add CSS node tests for levelbars testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/levelbar.nodes | 55 +++++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.ui | 66 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 122 insertions(+) commit 0ce5075748625c627497837228bfd9d013d4b48e Author: Matthias Clasen Date: Mon Dec 28 10:52:20 2015 -0500 Add CSS node test for progressbars testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/progressbar.nodes | 20 ++++++++++++++ testsuite/css/nodes/progressbar.ui | 49 +++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) commit 5c4efb09e2adf4efb815ffcf26e7772104214fab Author: Matthias Clasen Date: Mon Dec 28 10:35:58 2015 -0500 Add a CSS node test for buttons testsuite/css/nodes/Makefile.am | 5 +- testsuite/css/nodes/buttons.nodes | 28 ++++++++ testsuite/css/nodes/buttons.ui | 147 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 178 insertions(+), 2 deletions(-) commit 78d715af221709025fd319538e2a4e58fe790c4f Author: Matthias Clasen Date: Mon Dec 28 02:00:58 2015 -0500 Add a CSS node test for entries testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/entries.nodes | 16 +++++++++ testsuite/css/nodes/entries.ui | 74 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) commit 669ced398436e7068c8b71ef5d9faea9cb148d0c Author: Matthias Clasen Date: Mon Dec 28 02:03:29 2015 -0500 Add a CSS node test for notebooks testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/notebook.nodes | 15 +++++++++++++ testsuite/css/nodes/notebook.ui | 43 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) commit d2c1203ef15b9daeb7e653d80ed621e972ebe4b3 Author: Matthias Clasen Date: Mon Dec 28 02:02:57 2015 -0500 Add a test framework for CSS nodes No actual tests yet. configure.ac | 1 + testsuite/css/Makefile.am | 2 +- testsuite/css/nodes/Makefile.am | 55 ++++++ testsuite/css/nodes/test-css-nodes.c | 265 +++++++++++++++++++++++++++++ testsuite/css/nodes/test-css-nodes.test.in | 3 + 5 files changed, 325 insertions(+), 1 deletion(-) commit 68edc47f6a1585c90d8cace2f65c61a2a413b79e Author: Matthias Clasen Date: Mon Dec 28 01:09:54 2015 -0500 Add a function to dump CSS nodes and styles Add a gtk_style_context_to_string function that can serialize a CSS node or tree of nodes, optionally including CSS properties as well. This will be useful in writing tests. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkcssnode.c | 190 ++++++++++++++++++++++++++++++++++- gtk/gtkcssnodeprivate.h | 5 + gtk/gtkstylecontext.c | 50 +++++++++ gtk/gtkstylecontext.h | 11 ++ 5 files changed, 257 insertions(+), 1 deletion(-) commit a6624d803ece178e467230e285cd9d4561b09ca1 Author: Cosimo Cecchi Date: Sun Jan 3 01:02:12 2016 -0800 infobar: remove unneeded gadget It turns out we don't really need to use a separate gadget for the infobar, if all we do is chaining up to the parent GtkBox which already uses a gadget. Just remove all the boilerplate. gtk/gtkinfobar.c | 105 ------------------------------------------------------- 1 file changed, 105 deletions(-) commit ef8a5fc5425445b173ec33035f58ed68d790f137 Author: Cosimo Cecchi Date: Sun Jan 3 00:54:16 2016 -0800 window: remove unused variables gtk/gtkwindow.c | 1 - 1 file changed, 1 deletion(-) commit 424898e071d909d0771713c7456f9460f52d12f9 Author: Cosimo Cecchi Date: Sat Jan 2 17:54:06 2016 -0800 levelbar: consolidate code into single function gtk/gtklevelbar.c | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) commit a6e7e72d53fb1dfb29c3e1c52f42821a1457d8bc Author: Cosimo Cecchi Date: Sat Jan 2 18:03:50 2016 -0800 levelbar: port to use gadgets We now use one gadget for the trough, and one for each block. gtk/gtklevelbar.c | 477 ++++++++++++++----------------- gtk/theme/Adwaita/_common.scss | 12 +- gtk/theme/Adwaita/gtk-contained-dark.css | 13 +- gtk/theme/Adwaita/gtk-contained.css | 13 +- gtk/theme/HighContrast/_common.scss | 19 +- gtk/theme/HighContrast/gtk.css | 14 +- 6 files changed, 254 insertions(+), 294 deletions(-) commit 971f1a9b316ada3ff38f443152a99c3864c1754d Author: Cosimo Cecchi Date: Sat Jan 2 18:03:15 2016 -0800 levelbar: split out a function gtk/gtklevelbar.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit feb741babf66a4d16daf714037b92529fbe379df Author: Cosimo Cecchi Date: Sat Jan 2 15:28:12 2016 -0800 infobar: port to use a gadget gtk/gtkinfobar.c | 103 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 59 insertions(+), 44 deletions(-) commit f246dc1c851af88c7a95c16412e263be95a2364f Author: Cosimo Cecchi Date: Sat Jan 2 15:09:21 2016 -0800 infobar: trivial code cleanups gtk/gtkinfobar.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit d8b6dbd888de8908ffa81d73e00f74ba3143ef66 Author: Cosimo Cecchi Date: Sat Jan 2 14:59:56 2016 -0800 menubar: prefer early return gtk/gtkmenubar.c | 181 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 91 insertions(+), 90 deletions(-) commit 700286c6d8a88d4eb51e418e2675092a7bd232b5 Author: Cosimo Cecchi Date: Fri Jan 1 15:23:27 2016 -0800 menubar: port to use a gadget gtk/gtkmenubar.c | 213 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 128 insertions(+), 85 deletions(-) commit 96f10c0b722d1878e9b3cf9d8ac976cd99c925d9 Author: Cosimo Cecchi Date: Fri Jan 1 15:19:21 2016 -0800 menubar: use gtk_container_class_handle_border_width() gtk/gtkmenubar.c | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) commit 4328a3a24b53bd1f0a86293810c81051ff5a6002 Author: Cosimo Cecchi Date: Wed Dec 30 11:07:26 2015 -0800 HighContrast: remove unused selector There's no header-bar-separator style class. gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk.css | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) commit a9d07b6ec6d51452ed6e14567142240ac06a1e81 Author: Cosimo Cecchi Date: Wed Dec 30 11:06:46 2015 -0800 Adwaita: remove unused selector There's no header-bar-separator style class. gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 4 insertions(+), 9 deletions(-) commit 28911c595b3d76c9704fcd251d1288e6226345a8 Author: Cosimo Cecchi Date: Wed Dec 30 10:59:56 2015 -0800 HighContrast: update for separators deprecations HighContrast still has a long way to go, but let's get at least separators working again. gtk/theme/HighContrast/_common.scss | 24 +++++------------------- gtk/theme/HighContrast/gtk.css | 15 ++++----------- 2 files changed, 9 insertions(+), 30 deletions(-) commit 7dacc7836ffc118f3e55b236de2e63a466919234 Author: Cosimo Cecchi Date: Wed Dec 30 10:54:14 2015 -0800 HighContrast: reparse theme For some reason, this got accidentally changed in a previous commit. This is just the output of running parse-sass.sh again. gtk/theme/HighContrast/gtk.css | 596 ++++++++++++++++++++--------------------- 1 file changed, 298 insertions(+), 298 deletions(-) commit 39beebd2cbd060259c79eb8c887c1d8a461573e1 Author: Cosimo Cecchi Date: Wed Dec 30 10:53:27 2015 -0800 win32: remove ineffective selector That style property is deprecated, but the combobox does not have a separator anymore. gtk/theme/win32/gtk-win32-base.css | 7 ------- 1 file changed, 7 deletions(-) commit 908deb1bdc89065b98ddf6bc1ce3e7192d0b672a Author: Cosimo Cecchi Date: Wed Dec 30 10:51:14 2015 -0800 widget: deprecate separator style properties They're not used in GTK anymore. Also remove them from the default theme. gtk/gtkwidget.c | 15 ++++++++++++--- gtk/theme/Adwaita/_common.scss | 10 ---------- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- 4 files changed, 12 insertions(+), 21 deletions(-) commit 64a06adfc05a9dacb542a7925f375b22be141ad0 Author: Cosimo Cecchi Date: Wed Dec 30 10:36:28 2015 -0800 treeview: don't use wide-separators/separator-height Those style properties are on their way out; instead, use min-height with the separator style class to obtain the height. gtk/gtktreeview.c | 40 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/_common.scss | 7 ++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++-- gtk/theme/Adwaita/gtk-contained.css | 6 +++-- 4 files changed, 43 insertions(+), 16 deletions(-) commit 2eb7e6a85a1a7959c0b26501d8eac5e93ee7eb95 Author: Cosimo Cecchi Date: Tue Dec 29 18:02:21 2015 -0800 treeview: prefer positive polarity in if block gtk/gtktreeview.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 1f690ddbfa62bd3b81a936beda1fd593fe2b0035 Author: Cosimo Cecchi Date: Tue Dec 29 17:44:01 2015 -0800 separator: don't read wide-separators style property The notion of a separator being wide or not does not make sense when a theme can set any CSS property on it, and separator-width/separator-height are on their way out for min-width/min-height. gtk/gtkseparator.c | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) commit 0740f23c77c499810c716f61591818371fa4211e Author: Cosimo Cecchi Date: Tue Dec 29 17:40:30 2015 -0800 menuitem: don't read wide-separators or separator-height Separators inside menus are working completely through CSS since GtkMenuItem has been ported to use a gadget. Remove this unused code from here. gtk/gtkmenuitem.c | 26 -------------------------- 1 file changed, 26 deletions(-) commit eff8865ab1332324bbb486b57e60ebd957e5a661 Author: Cosimo Cecchi Date: Tue Dec 29 12:34:16 2015 -0800 separatortoolitem: don't use custom sizing/rendering Instead, just rely on the CSS gadget; we can stop using wide-separators, separator-height and separator-width, and at the same time deprecate the space-size style property of GtkToolbar. gtk/gtkseparatortoolitem.c | 92 ++-------------------------- gtk/gtktoolbar.c | 102 +++---------------------------- gtk/gtktoolbarprivate.h | 5 -- gtk/theme/Adwaita/_common.scss | 19 ++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 13 ++-- gtk/theme/Adwaita/gtk-contained.css | 13 ++-- 6 files changed, 48 insertions(+), 196 deletions(-) commit 55e80f9379c568e01c66bc4d7e5696f467d66d78 Author: Cosimo Cecchi Date: Tue Dec 29 12:14:02 2015 -0800 separatortoolitem: trivial code cleanups gtk/gtkseparatortoolitem.c | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) commit ea25985b6753cde9e97b6ac3c6b8357523937a4d Author: Cosimo Cecchi Date: Tue Dec 29 17:33:08 2015 -0800 toolbar: deprecate GtkToolbarSpaceStyle and space-style style property This is completely unused already. gtk/gtktoolbar.c | 10 +++++++++- gtk/gtktoolbar.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) commit 48596090af9c903cb752755419dcf041228b1e2f Author: Cosimo Cecchi Date: Tue Dec 29 16:47:04 2015 -0800 toolbar: port to use a gadget gtk/gtktoolbar.c | 268 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 154 insertions(+), 114 deletions(-) commit d64304997f36dabe1e6818050b6db41a821e5e5c Author: Cosimo Cecchi Date: Mon Dec 28 12:51:25 2015 -0800 toolbar: use gtk_container_handle_border_width() gtk/gtktoolbar.c | 75 ++++++++++++++++++++++++-------------------------------- 1 file changed, 32 insertions(+), 43 deletions(-) commit 10c222649eb086d90de9b69ebfe743165c775b78 Author: Cosimo Cecchi Date: Mon Dec 28 12:37:56 2015 -0800 toolbar: trivial code cleanup gtk/gtktoolbar.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 6df8bc2e1a4f7511f4f9a468b321d618ad82cb18 Author: Felix Riemann Date: Sat Jan 2 21:28:51 2016 +0100 GtkBindings: Fix CSS key in example docs gtk-key-bindings was renamed to -gtk-key-bindings in d267b8e0. https://bugzilla.gnome.org/show_bug.cgi?id=760082 gtk/gtkbindings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d83e9539c56e4b90a7113150b98cc5cf104626e8 Author: Matthias Clasen Date: Sun Jan 3 01:25:07 2016 -0500 Fix stylecontext tests to work Some of the tests don't work anymore because they test features of saved style contexts that have changed, and some now trigger deprecation warnings. testsuite/gtk/stylecontext.c | 84 ++++---------------------------------------- 1 file changed, 6 insertions(+), 78 deletions(-) commit 6da57d61d5cf90b78de5bf7fc5290c92441f0f23 Author: Matthias Clasen Date: Sun Jan 3 01:23:35 2016 -0500 Skip GdkX11DeviceManagerCore in finalize tets We already skip the XI2 implementation, and the core one needs to the same treatment. testsuite/gtk/objects-finalize.c | 1 + 1 file changed, 1 insertion(+) commit 6d77b9f3162d9f3d9ea214b765b6f937e4439237 Author: Christoph Reiter Date: Fri Jan 1 12:57:46 2016 +0100 gtkwindow: fix first allocation size 67ab00e01ec06d7b removed the fake configure code in gtk_window_show() and replaced it with a simple gtk_widget_realize(). The initial allocation code in realize() only allocates the natural size or the last requested size which now no longer is set, resulting in a too small first allocation. This builds a configure request to compute the allocation size instead which includes default size, CSD etc.. This problem could be seen in case of a GtkPaned in a GtkWindow with a default size set and the pane position set as well. The first allocation would be the natural size of the GtkPaned which would clamp the pane position if too larg. Only the second allocation would fill the parent window using the now wrong pane position. https://bugzilla.gnome.org/show_bug.cgi?id=759705 gtk/gtkwindow.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit e93d64e4c3cdc71972bc92106763f29bfdc0abbf Author: Matthias Clasen Date: Sat Jan 2 21:08:50 2016 -0500 Revert "Revert "window: Remove suspicious branch"" This reverts commit 2438a06d54636e5074c29bd696e3e81e90288b8d. See https://bugzilla.gnome.org/show_bug.cgi?id=759705 gtk/gtkwindow.c | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) commit 6322b1f647552d9da0d3524731b56b7a1a23c060 Author: Cosimo Cecchi Date: Sat Jan 2 18:14:47 2016 -0800 levelbar: fix a crash We should not try to access a block with an index that exceeds the number of blocks in the widget. gtk/gtklevelbar.c | 2 ++ 1 file changed, 2 insertions(+) commit 8109520d4efda502b0141fa0e8482679fbb12fa7 Author: Matthias Clasen Date: Sat Jan 2 20:53:54 2016 -0500 separator toolitem: Respect ::draw property This was lost when I converted the widget to use a gadget. https://bugzilla.gnome.org/show_bug.cgi?id=760018 gtk/gtkseparatortoolitem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 040114689628b99811fe460b9fb63d06546e2cd1 Author: Cosimo Cecchi Date: Fri Jan 1 14:50:43 2016 -0800 spinbutton: fix a typo gtk/gtkspinbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 664bbe12ba0acc0848ac56e31f09acc3b2a86cb0 Author: Cosimo Cecchi Date: Sat Jan 2 15:28:35 2016 -0800 menuitem: move chaining up to draw inside gadget This is more consistent with what other widgets do. gtk/gtkmenuitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d3bf07594ef4ef94fd90750ed472654b5d4cb86c Author: Marek Černocký Date: Sat Jan 2 21:13:40 2016 +0100 Updated Czech translation po/cs.po | 1043 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 555 insertions(+), 488 deletions(-) commit 2b2a5386293cee011e29408fedae3f9dc5129ecb Author: Timm Bäder Date: Sat Jan 2 15:40:50 2016 +0100 testframe: Pass correct state to GtkStyleContext API tests/testframe.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit 3758762119827a62c93bd071dd6a7e63723d5e10 Author: Timm Bäder Date: Wed Dec 30 15:45:07 2015 +0100 GtkImage: Simplify _set_from_icon_name We don't need to strdup icon_name since that will happen in _gtk_icon_helper_set_icon_name anyway. gtk/gtkimage.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 9704f46b3883fb9618e40dd8631e1174fa4f18bd Author: Andika Triwidada Date: Sat Jan 2 12:27:16 2016 +0000 Updated Indonesian translation (cherry picked from commit 45b3c553a93ed6a9e3eea26e7c8337dcd9fa77b6) po-properties/id.po | 2423 +++++++++++++++++++++++++-------------------------- 1 file changed, 1211 insertions(+), 1212 deletions(-) commit 0a1b746bf8ffcfd051cc2687b44fb0d15ddefe25 Author: Andika Triwidada Date: Sat Jan 2 12:22:34 2016 +0000 Updated Indonesian translation (cherry picked from commit 1aa5f9278423f370d7490d83e8582dae087e2f6a) po/id.po | 872 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 375 insertions(+), 497 deletions(-) commit 420993af0eb04ec08ab6262ddf32d31d094da475 Author: Rafael Fontenelle Date: Sat Jan 2 06:48:23 2016 +0000 Updated Brazilian Portuguese translation (cherry picked from commit e96c689aa1e60e561f4db67725d53fccc44234ec) po-properties/pt_BR.po | 1246 ++++++++++++++++++++++++------------------------ 1 file changed, 624 insertions(+), 622 deletions(-) commit 558fb1ecddc9510eaff2fa0b002ee759ae92ea49 Author: Christoph Reiter Date: Thu Dec 17 18:02:13 2015 +0100 gtkdnd-quartz: fix gtk_drag_begin_internal gtk_drag_begin_internal was changed to take a GtkImageDefinition instead of a GtkIconHelper. This adjusts the quartz variant accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=759607 gtk/gtkdnd-quartz.c | 57 +++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 30 deletions(-) commit a90926c7f02390ac7b671bb7ba23fa4cd38d4fdd Author: Alberts Muktupāvels Date: Mon Dec 28 20:46:23 2015 +0200 gtkheaderbar: update window buttons also on realize After bb34db6 _gtk_header_bar_update_window_buttons function is called before application menu is set. This caused regression - app menu button is initially hidden. https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkheaderbar.c | 1 + 1 file changed, 1 insertion(+) commit 788de42ffa78b466e8731efdbf74cfb800a47e6c Author: Yosef Or Boczko Date: Thu Dec 31 19:39:41 2015 +0200 Updated Hebrew translation po/he.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 7c55841110bc83c9ee86933d28b5564334b9e89d Author: Yosef Or Boczko Date: Thu Dec 31 19:38:23 2015 +0200 Updated Hebrew translation po/he.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 962ff554dc296e20d7b311d7b11cb09c01f95087 Author: Yosef Or Boczko Date: Thu Dec 31 18:49:30 2015 +0200 Updated Hebrew translation po-properties/he.po | 2201 ++++++++++++++++++++++++++------------------------- 1 file changed, 1129 insertions(+), 1072 deletions(-) commit 71c9e391274e02dcb6fc09d0e207d4451050f9b5 Author: Yosef Or Boczko Date: Thu Dec 31 18:47:57 2015 +0200 Updated Hebrew translation po/he.po | 3991 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1902 insertions(+), 2089 deletions(-) commit a8ae549ed08832b37587d6e914affeed60d4966f Author: Руслан Ижбулатов Date: Wed Dec 30 18:05:36 2015 +0000 Fix include path for gtkiconfactoryprivate.h gtk/deprecated/gtkstock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 91bb91dbb9e10691a9f4e3e8f0b1b4dabcd7ee27 Author: Руслан Ижбулатов Date: Wed Dec 30 18:05:05 2015 +0000 Fix to compile for C libraries with no flockfile Also use MS variant of flockfile, if available (requires MSVCRT compatible with MSVCR90 or newer). configure.ac | 2 +- gtk/gtkimmodule.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) commit f357ef5610ff94af14925ac837b31b63a93f01aa Author: Cosimo Cecchi Date: Wed Dec 30 10:44:12 2015 -0800 scrolledwindow: add missing deprecation flag gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 354eb5678b13d101bd097e038245be1a7a4aed9c Author: Cosimo Cecchi Date: Tue Dec 29 18:31:10 2015 -0800 menuitem: fix a crash when reserve_indicator is TRUE In that case, code expects an arrow gadget to be present but we're not creating it in every occurrence. Fix it by ensuring there will be an arrow gadget when reserve_indicator is TRUE. gtk/gtkmenuitem.c | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) commit 3740c7f09265e952e92566045c69edec50ad9b1a Author: Cosimo Cecchi Date: Tue Dec 29 16:33:34 2015 -0800 toolitem: fix a copy/paste typo gtk/gtktoolitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 79c045ed8080e0e91962821593e6d189f7070ca7 Author: Cosimo Cecchi Date: Wed Dec 23 09:54:42 2015 -0800 scrolledwindow: port to use a gadget gtk/gtkscrolledwindow.c | 2007 ++++++++++++++++++++++++----------------------- 1 file changed, 1007 insertions(+), 1000 deletions(-) commit 7c0f0e882ae60911e39aaf7b42fb2d94108f3474 Author: Cosimo Cecchi Date: Tue Dec 22 20:45:33 2015 -0800 scrolledwindow: deprecate scrollbars-within-bevel style property These days all the themes set it to TRUE, and it's not clear what happens with overlay scrollbars... gtk/gtkscrolledwindow.c | 92 +++----------------------------- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/theme/Adwaita/gtk-contained.css | 1 - gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk.css | 1 - gtk/theme/win32/gtk-win32-base.css | 1 - 7 files changed, 8 insertions(+), 90 deletions(-) commit 09835b4c3987d67aafe7ae4ded039beb175121c9 Author: Cosimo Cecchi Date: Mon Dec 28 12:21:27 2015 -0800 viewport: don't render a background over the bin window GtkViewport currently tries to draw a background over the bin window. The feature is a bit broken at the moment, as it does not take into account padding that might have been set on the GtkViewport, but in general it does not seem very useful, and goes somewhat against the CSS box model where every widget/gadget is responsible to draw its own background. For a fix, we could either have the viewport gain a "bin" gadget, or we could stop drawing the background. As it isn't clear that there are any users of this feature, stop drawing the background; a client can achieve the same effect by drawing the background on the widget inside the viewport itself. gtk/gtkviewport.c | 11 ----------- 1 file changed, 11 deletions(-) commit 5daede51f77a6afbfbd636bb7f45a2d1d9c93bf1 Author: Cosimo Cecchi Date: Tue Dec 22 17:55:18 2015 -0800 viewport: port to use a gadget This will get us margin support, among other things, and simplifies the code. gtk/gtkviewport.c | 593 ++++++++++++++++++++++++++---------------------------- 1 file changed, 285 insertions(+), 308 deletions(-) commit 71d7b10dad461c1a1b2cc7b69408bee99c50c3c9 Author: Cosimo Cecchi Date: Tue Dec 22 16:26:28 2015 -0800 viewport: trivial code cleanup gtk/gtkviewport.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit a37129fd6062df7ebf38a428194f1c3993532038 Author: Cosimo Cecchi Date: Tue Dec 22 15:10:23 2015 -0800 viewport: use gtk_container_class_handle_border_width() No need to do this manually. gtk/gtkviewport.c | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) commit acbff854029cc5b308c92024990abeb81355c360 Author: Benjamin Otte Date: Wed Dec 23 01:50:20 2015 +0100 gadget: Handle visibility As GtkCssNode has the visibility concept, it makes sense to mirror it in gadgets. Do what visibility does in widgets: Hidden gadgets can't be drawn or allocated and request a 0x0 size. Note that just like widgets, gadget visibility must not be changed in size request, allocate or draw handlers. GtkWidget::child-visible has no equivalent yet, code will have to emulate that manually. gtk/gtkcssgadget.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 4 ++++ 2 files changed, 56 insertions(+) commit 9950764f1224c61ad482c9ccfb1bf7e7667b10f7 Author: Matthias Clasen Date: Sat May 16 18:54:35 2015 -0400 Drop deprecated pango-utils api Copy the few parsing functions we need. gtk/gtkimmodule.c | 179 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 158 insertions(+), 21 deletions(-) commit 1e1af62beed4f89722a6c88a23a344a6e0828244 Author: Ben Iofel Date: Sun Dec 27 19:13:21 2015 -0800 Raleigh: Don't use deprecated pseudo classes gtk/theme/Raleigh/gtk-default.css | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 31e97b33e123f776dcec4a6d51ec4522f9cb3684 Author: Matthias Clasen Date: Mon Dec 28 23:15:53 2015 -0500 Set ID on css node right away Previously, the ID was only set on the CSS node as a side-effect of calling gtk_widget_get_style_context. This was showing up in CSS style tests as nodes lacking their IDs. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 0042f9b41484ea223ab24b94ffc529c4c5ecc231 Author: Matthias Clasen Date: Mon Dec 28 22:36:29 2015 -0500 Fix a comment gtk/gtkcssvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e71f7d713e652ed0db4828b9c3e841766073922c Author: Matthias Clasen Date: Mon Dec 28 14:41:33 2015 -0500 Add a transfer annotation This was confusing me momentarily, so add an explicit annotation. gtk/gtkcssstyleproperty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ae32adf3c3cef23401dda9e8a0f737ed9f87ac2 Author: Mario Blättermann Date: Mon Dec 28 21:16:11 2015 +0000 Updated German translation po/de.po | 1845 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 843 insertions(+), 1002 deletions(-) commit ba1636be87b9f5d567d8ca5dbd9ae4c7c2476a64 Author: Matthias Clasen Date: Mon Dec 28 10:27:08 2015 -0500 statusicon: Avoid criticals The code handles the possibility of pixbuf being NULL, but after b411c318321fd4de556926119cbc6e3ba14f073a we must be prepared for surface already being NULL. Pointed out by Albert Muktupāvels, https://bugzilla.gnome.org/show_bug.cgi?id=759917 gtk/deprecated/gtkstatusicon.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit e8ba05839665f9cfa87a96f5b2285ed8c783e830 Author: Matthias Clasen Date: Mon Dec 28 10:24:02 2015 -0500 checkbutton: Update state initially Without this, the check node starts out without the :dir(ltr) state, at least. gtk/gtkcheckbutton.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit eb09bee492d7041dbafdc7376c520b8197d30096 Author: Matthias Clasen Date: Sun Dec 27 18:37:19 2015 -0500 css: Deprecate :sorted pseudo class This was used with regions in GtkTreeView, and is not used anymore, so deprecate it. gtk/gtkcssselector.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 2b27096fc37bf2eea30cfa28a8453d9ff08f1460 Author: Matthias Clasen Date: Sun Dec 27 17:31:27 2015 -0500 Fix outline-radius css parser test The outline-radius properties all got a -gtk prefix. testsuite/css/parser/outline-radius.css | 72 ++++++++++++++--------------- testsuite/css/parser/outline-radius.ref.css | 72 ++++++++++++++--------------- 2 files changed, 72 insertions(+), 72 deletions(-) commit ab182126dfb0917a163a70def24be6f7b7f75046 Author: Matthias Clasen Date: Sun Dec 27 17:23:40 2015 -0500 Fix the pseudo-classes-known css test The test needs to be updated for the renamed :dnd pseudo class. We also need to add a .errors file for the deprecation errors that we are now producing. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/pseudo-classes-known.css | 2 +- testsuite/css/parser/pseudo-classes-known.errors | 4 ++++ testsuite/css/parser/pseudo-classes-known.ref.css | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) commit f3069d7e9465ada88033ebbeee7f91276a076d61 Author: Matthias Clasen Date: Sun Dec 27 17:24:25 2015 -0500 css: Redo the pseudo class deprecation warnings Putting the deprecated class behind the official variant does not work for the case of :focus and :focused - we were matching :focus and leave a dangling 'ed'. So, put the deprecated classes before the official variant, and explicitly mark them as deprecated. gtk/gtkcssselector.c | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) commit c4ca671a9ee9f230837476e539ba7c737b3fcfb9 Author: Matthias Clasen Date: Sun Dec 27 17:21:50 2015 -0500 test-css-parser: Add a way to generate output Use test-css-parser --generate foo.css to see the parser output on stdout. This makes it more convenient to add new css files to the testsuite. testsuite/css/parser/test-css-parser.c | 36 +++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) commit 8bfbb2c103907e6b608969aa9002199769cc95a8 Author: Matthias Clasen Date: Sat Dec 26 21:41:59 2015 -0500 Cosmetic change gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 80a91722e5e0a1916f50131fd578d15cbfec4698 Author: Matthias Clasen Date: Sat Dec 26 21:40:19 2015 -0500 inspector: Don't leak weak references These come back to bite us when the inspector is no longer around at the end of the program. https://bugzilla.gnome.org/show_bug.cgi?id=759768 gtk/inspector/object-tree.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit 787f600d3350b311fa74198b5afc0df5c5a665fa Author: Matthias Clasen Date: Sat Dec 26 20:12:04 2015 -0500 inspector: Remove some dead code Since commit bffeae6203ffe5ea91988d4439571568abc95ab7, the tree path is not used for anything useful anymore, so do away with it entirely. gtk/inspector/object-tree.c | 4 ---- 1 file changed, 4 deletions(-) commit f669ccca66e8a59cbdcaeeff58a15e6c9255d843 Author: Matthias Clasen Date: Sat Dec 26 16:04:02 2015 -0500 docs: Add missing value syntax for border-image docs/reference/gtk/css.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f154f576afc30e74da3990e0b6965a1613f9d02 Author: Руслан Ижбулатов Date: Sun Dec 27 02:02:19 2015 +0000 Fix a surface leak Was introduced as part of b79a187d47ee5c45952fab60c141fcaed7e05ef6. Results in memory leaks (and GDI objects leaks on W32). gtk/gtkiconhelper.c | 3 +++ 1 file changed, 3 insertions(+) commit 5404e124b64d879b11931235c0a3874f2d98dc09 Author: Carlos Soriano Date: Sat Dec 26 20:52:53 2015 +0100 gtkframe: format fix gtk/gtkframe.c | 2 -- 1 file changed, 2 deletions(-) commit 79b6d4898339a38ecb67696a110a5b0374521291 Author: Carlos Soriano Date: Sat Dec 26 20:52:31 2015 +0100 gtkframe: remove unused variable And fix the compiler warning gtk/gtkframe.c | 1 - 1 file changed, 1 deletion(-) commit 26d8688cb4992bed6c17213d8832f3137fa24c22 Author: Matthias Clasen Date: Thu Dec 24 18:10:04 2015 -0500 Redo the CSS docs Split the CSS docs off from the GtkCssProvider docs and give them their own chapter. Among other things, this commit introduces more or less complete definitions of the syntax for the supported selectors, a complete list of all supported properties, and definitions for their values. This includes documentation for GTK+-specific properties such as -gtk-icon-source. docs/reference/gtk/css.xml | 2196 ++++++++++++++++++++++++++++++++++++++ docs/reference/gtk/gtk-docs.sgml | 2 +- gtk/gtkcssprovider.c | 1095 +------------------ 3 files changed, 2212 insertions(+), 1081 deletions(-) commit b3dbf3f41c37659f430d36b8a1bfbb8aa92f6607 Author: Matthias Clasen Date: Fri Dec 25 22:24:58 2015 -0500 Drop the :dnd syntax altogether This was only introduced a few weeks ago. We don't need to keep this around, now that we support the proper CSS syntax. gtk/gtkcssselector.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 39b4efb24ec0782b6d2ab0cb625b39238c9bc91d Author: Matthias Clasen Date: Thu Dec 24 18:43:03 2015 -0500 Adwaita: Don't use deprecated pseudo classes gtk/theme/Adwaita/_common.scss | 218 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 842 ++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 922 +++++++++++++++---------------- 3 files changed, 991 insertions(+), 991 deletions(-) commit c998fae5ac68745660e6b984f66c175ff0468d30 Author: Matthias Clasen Date: Thu Dec 24 18:08:20 2015 -0500 Add deprecation warnings for pseudo states Emit a deprecation error in the cases where we have a CSS name for a custom pseudo class. gtk/gtkcssselector.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 158dbbc88f2c2735c417d27bbc96dbecd7a67656 Author: Matthias Clasen Date: Thu Dec 24 18:04:15 2015 -0500 Use CSS syntax for drop highlighting I hadn't noticed the :drop() pseudo state in the CSS4 Selectors spec when I added this a while ago. This commit renames GTK_STATE_FLAG_DND to GTK_STATE_FLAG_DROP_ACTIVE and adds :drop(active) as equivalent to the :dnd pseudo state. gtk/gtkcssselector.c | 4 +++- gtk/gtkdnd.c | 4 ++-- gtk/gtkenums.h | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) commit b3c1454dcc6b1f916390db55dcc9673027b79659 Author: Matthias Clasen Date: Fri Dec 25 22:22:51 2015 -0500 Add docs for GtkCssSection gtk/gtkcsssection.h | 6 ++++++ 1 file changed, 6 insertions(+) commit 9290aa7c46fcfd2dc966d7dee0f8ca7dece06b60 Author: Carlos Garnacho Date: Fri Dec 25 14:23:20 2015 +0100 GdkSeat: Use g_intern_static_string() for signal names https://bugzilla.gnome.org/show_bug.cgi?id=759857 gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9f06474bccb88f9f150d66fd5cafec68689978af Author: Marek Černocký Date: Fri Dec 25 10:50:39 2015 +0100 Updated Czech translation po-properties/cs.po | 3101 ++++++++++++++++++++++++++------------------------- 1 file changed, 1606 insertions(+), 1495 deletions(-) commit 81da0b86f362473498509c546edd6eab0939c0c6 Author: Lapo Calamandrei Date: Thu Dec 24 00:02:12 2015 +0100 Adwaita: fix notebook close button gtk/theme/Adwaita/_common.scss | 7 +++---- gtk/theme/Adwaita/gtk-contained-dark.css | 16 +++++++--------- gtk/theme/Adwaita/gtk-contained.css | 16 +++++++--------- 3 files changed, 17 insertions(+), 22 deletions(-) commit 157276b4554caa834ae154f0fcf6f2983a746535 Author: Lapo Calamandrei Date: Wed Dec 23 20:35:06 2015 +0100 Adwaita: use min-height/width for entry and button sizing gtk/theme/Adwaita/_common.scss | 35 +++++++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 44 ++++++++++++++++---------------- 3 files changed, 66 insertions(+), 57 deletions(-) commit 08f928a4ea78fc256b5cc50582723d200c9aa632 Author: Lapo Calamandrei Date: Wed Dec 23 18:57:04 2015 +0100 Adwata: fix switch slider border clash gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit e20826fe033b0e512c784b83d2236de502ad8430 Author: Florian Müllner Date: Wed Dec 23 01:51:30 2015 +0100 label: Deny drag gesture when not selectable We don't actually do anything when the label is not selectable except for consuming the event, which breaks for instance titlebar drags with labels that contain links. Simply deny the gesture in that case to allow the event to bubble up normally. https://bugzilla.gnome.org/show_bug.cgi?id=759798 gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0bc0a9ac2cee05ef12ecc41b71debecdded8602 Author: Chun-wei Fan Date: Wed Dec 23 18:58:42 2015 +0800 gtkcssnumbervalue.c: Include fallback-c89.c to fix build ... on older Visual Studio versions, where isinf() is not available, and copy the isinf() implementation from gdk/fallback-c89.c to gtk/fallback-c89.c. gtk/fallback-c89.c | 12 ++++++++++++ gtk/gtkcssnumbervalue.c | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) commit d0d8671c02dad52b54867c9ed92f47e1cba17df1 Author: Matthias Clasen Date: Wed Dec 23 01:56:07 2015 -0500 Forgotten files testsuite/css/parser/transition-duration.css | 27 ++++++++++++++++++++++++ testsuite/css/parser/transition-duration.ref.css | 27 ++++++++++++++++++++++++ 2 files changed, 54 insertions(+) commit b6d287aab5606f6cd40f871d16e73fcb0558b55c Author: Matthias Clasen Date: Tue Dec 22 23:46:59 2015 -0500 widget: Be safe against windows losing their frame clock gdk_widget_get_frame_clock can return NULL. In particular, this can happen when the drag window is destroyed at the end of a DND operation. Handle this gracefully when it happens. gtk/gtkwidget.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 8ffa8b3a495ae9fa34eb2139dec066167a8f8daf Author: Alberts Muktupāvels Date: Wed Dec 23 05:30:11 2015 +0200 gtksettings: notify after property reset gtk/gtksettings.c | 1 + 1 file changed, 1 insertion(+) commit ef71eabfc558f90a98c5a959c29e3e5b01e2c3d2 Author: Matthias Clasen Date: Tue Dec 22 21:33:08 2015 -0500 Add parser tests for animation properties This adds tests for animation-name, animation-duration, animation-timing-function, animation-iteration-count, animation-direction, animation-play-state, animation-delay and animation-fill-mode. testsuite/css/parser/Makefile.am | 16 ++++++++++ testsuite/css/parser/animation-delay.css | 23 ++++++++++++++ testsuite/css/parser/animation-delay.ref.css | 23 ++++++++++++++ testsuite/css/parser/animation-direction.css | 19 ++++++++++++ testsuite/css/parser/animation-direction.ref.css | 19 ++++++++++++ testsuite/css/parser/animation-duration.css | 23 ++++++++++++++ testsuite/css/parser/animation-duration.ref.css | 23 ++++++++++++++ testsuite/css/parser/animation-fill-mode.css | 19 ++++++++++++ testsuite/css/parser/animation-fill-mode.ref.css | 19 ++++++++++++ testsuite/css/parser/animation-iteration-count.css | 27 +++++++++++++++++ .../css/parser/animation-iteration-count.ref.css | 27 +++++++++++++++++ testsuite/css/parser/animation-name.css | 23 ++++++++++++++ testsuite/css/parser/animation-name.ref.css | 23 ++++++++++++++ testsuite/css/parser/animation-play-state.css | 19 ++++++++++++ testsuite/css/parser/animation-play-state.ref.css | 19 ++++++++++++ testsuite/css/parser/animation-timing-function.css | 35 ++++++++++++++++++++++ .../css/parser/animation-timing-function.ref.css | 35 ++++++++++++++++++++++ 17 files changed, 392 insertions(+) commit 8f44383253125481c18e9a06b1a6a60b3c4cd4cc Author: Matthias Clasen Date: Mon Dec 21 23:28:48 2015 -0500 Add a parser tests for transition properties This adds tests for transition-property, transition-delay and transition-timing-function. testsuite/css/parser/Makefile.am | 12 ++++++++ testsuite/css/parser/transition-delay.css | 27 +++++++++++++++++ testsuite/css/parser/transition-delay.ref.css | 27 +++++++++++++++++ testsuite/css/parser/transition-property.css | 23 ++++++++++++++ testsuite/css/parser/transition-property.ref.css | 23 ++++++++++++++ .../css/parser/transition-timing-function.css | 35 ++++++++++++++++++++++ .../css/parser/transition-timing-function.ref.css | 35 ++++++++++++++++++++++ 7 files changed, 182 insertions(+) commit 2b6ab1b8bd0739d21ac60be4bf919e1c354f3510 Author: Matthias Clasen Date: Mon Dec 21 23:23:05 2015 -0500 Add parser tests for min-width and min-height testsuite/css/parser/min-height.css | 19 +++++++++++++++++++ testsuite/css/parser/min-height.ref.css | 19 +++++++++++++++++++ testsuite/css/parser/min-width.css | 19 +++++++++++++++++++ testsuite/css/parser/min-width.ref.css | 19 +++++++++++++++++++ 4 files changed, 76 insertions(+) commit a0487f0516babb12a8e20caddca4473e151b0bc4 Author: Matthias Clasen Date: Mon Dec 21 22:14:21 2015 -0500 Add parser tests for border-image properties This adds tests for border-image-source, border-image-repeat, border-image-slice and border-image-width. testsuite/css/parser/Makefile.am | 8 +++ testsuite/css/parser/border-image-repeat.css | 39 +++++++++++++ testsuite/css/parser/border-image-repeat.ref.css | 39 +++++++++++++ testsuite/css/parser/border-image-slice.css | 52 +++++++++++++++++ testsuite/css/parser/border-image-slice.ref.css | 51 +++++++++++++++++ testsuite/css/parser/border-image-source.css | 19 +++++++ testsuite/css/parser/border-image-source.ref.css | 19 +++++++ testsuite/css/parser/border-image-width.css | 71 ++++++++++++++++++++++++ testsuite/css/parser/border-image-width.ref.css | 71 ++++++++++++++++++++++++ 9 files changed, 369 insertions(+) commit d92111256f818b1d2af95916a3cfe4bde16865ba Author: Matthias Clasen Date: Tue Dec 22 21:58:31 2015 -0500 fix printing of numbers We should be printing infinite, not inf. gtk/gtkcssnumbervalue.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 6b497bcf8135541f4ec61e6e72708839dbd3c251 Author: Matthias Clasen Date: Tue Dec 22 21:19:11 2015 -0500 Trivial changes gtk/gtkcssshorthandpropertyimpl.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit efb8e5bd434d5bf0fb77867510a5674ee983838c Author: Cosimo Cecchi Date: Tue Dec 22 15:36:00 2015 -0800 menuitem: don't use content allocation to resize the GdkWindow This is a fallout from the gadget conversion. gtk/gtkmenuitem.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit e9aea98969224513a6a900e9601105b48e1620d5 Author: Matthias Clasen Date: Tue Dec 22 16:20:09 2015 -0500 widget-factory: Rename outline radius in css Rename all outline*radius properties to -gtk-outline*radius. demos/widget-factory/widget-factory.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad87ebb5e708b29ca347167751e8b97948a20d17 Author: Matthias Clasen Date: Tue Dec 22 16:19:18 2015 -0500 Adwaita: Adapt to previous commit Rename all outline*radius properties to -gtk-outline*radius. gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) commit f61b7ba7970870704529627a5127c9d5a7484eeb Author: Matthias Clasen Date: Tue Dec 22 16:18:10 2015 -0500 Prefix outline radius CSS properties These are not in any CSS specifications, so mark them as GTK+ additions by giving them a -gtk prefix. The old names still work. gtk/gtkcssshorthandpropertyimpl.c | 3 ++- gtk/gtkcssstylepropertyimpl.c | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) commit 2d6ce0da0838b416e3693f9ba4320a24dc5fbcbd Author: Matthias Clasen Date: Tue Dec 22 14:22:13 2015 -0500 Add some docs to GtkIcon gtk/gtkicon.c | 4 ++++ 1 file changed, 4 insertions(+) commit 5f330418aeae2bc622bbd57a4e41cb738a5c896f Author: Matthias Clasen Date: Tue Dec 22 14:09:36 2015 -0500 Add some docs to GtkBuiltinIcon gtk/gtkbuiltinicon.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit a5a50915554f6a595bd2769f5cd5e8602a2b703b Author: Cosimo Cecchi Date: Tue Dec 22 11:56:23 2015 -0800 stylecontext: fix gtk-doc comment syntax gtk/gtkstylecontext.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22c91698837ee06587f95dac82c72f3b8f64bc7d Author: Cosimo Cecchi Date: Tue Dec 22 11:52:43 2015 -0800 Adwaita: don't set deprecated style property gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/theme/Adwaita/gtk-contained.css | 1 - 3 files changed, 4 deletions(-) commit c8206ca69843ca7d84d4a062a1710e519bea2819 Author: Matthias Clasen Date: Tue Dec 22 13:48:32 2015 -0500 Adwaita: Fix app-notification theming The way to disable the frame border has changed. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) commit f5f80b40c36b647d5069b16736c08384cce31a11 Author: Matthias Clasen Date: Tue Dec 22 13:33:43 2015 -0500 Fix GtkFrame padding This was showing up in the app-notification in widget-factory. gtk/gtkframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 23d8791a47e9bd5c7a306bbdd53c5e337a3538fe Author: Cosimo Cecchi Date: Tue Dec 22 10:52:42 2015 -0800 combobox: remove unused struct member The box was removed a while ago. gtk/gtkcombobox.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit 8d0ad79238aeeee3b0ca680d2f3ae637927ef369 Author: Cosimo Cecchi Date: Tue Dec 22 10:49:21 2015 -0800 Adwaita: remove combobox separator styling The separator does not exist anymore. gtk/theme/Adwaita/_common.scss | 4 ---- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 8 deletions(-) commit ef41bd7112e392ff5eca153cb676d710384c7ba4 Author: Cosimo Cecchi Date: Mon Dec 21 18:54:41 2015 -0800 combobox: deprecate shadow-type style property It does not add any value to what can be achieved through regular CSS styling. gtk/gtkcombobox.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) commit f5628f0439ce01b1430a51bddeafcb20e854db61 Author: Cosimo Cecchi Date: Mon Dec 21 18:43:19 2015 -0800 combobox: port to use a gadget Wrap the size request and allocate code into a GtkCssCustomGadget. This makes margins work on GtkComboBox. gtk/gtkcombobox.c | 629 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 331 insertions(+), 298 deletions(-) commit a90d928a34c2ba6d3ff5cfa33bc619350c153835 Author: Cosimo Cecchi Date: Mon Dec 21 18:32:14 2015 -0800 combobox: use a private variable when possible Instead of dereferencing the same variable over and over. gtk/gtkcombobox.c | 329 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 182 insertions(+), 147 deletions(-) commit f03268eabecfc9818bcb259ae8abd97e18706579 Author: Cosimo Cecchi Date: Mon Dec 21 17:50:42 2015 -0800 combobox: trivial code cleanup gtk/gtkcombobox.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit ebc7b59b448a0bd6229b794dc81959b219259a7d Author: Cosimo Cecchi Date: Mon Dec 21 17:47:44 2015 -0800 combobox: remove unneeded check The combobox always has a window. gtk/gtkcombobox.c | 7 ------- 1 file changed, 7 deletions(-) commit 5764c09272bc0ba2d80afd8aad3b780af3f7b4b2 Author: Cosimo Cecchi Date: Mon Dec 21 14:45:58 2015 -0800 combobox: use GtkIcon to render button arrow We can now use the newly introduced GtkIcon widget to properly render the arrow in the combobox with CSS. gtk/gtkcombobox.c | 35 ++++++++++---------------------- gtk/theme/Adwaita/_common.scss | 6 +++++- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/theme/Adwaita/gtk-contained.css | 5 ++++- gtk/ui/gtkcombobox.ui | 4 ++-- 5 files changed, 26 insertions(+), 29 deletions(-) commit 9b7473b633833bb90603ed34464351d2ba3de385 Author: Cosimo Cecchi Date: Mon Dec 21 14:46:44 2015 -0800 Introduce GtkIcon private class This is an utility widget that wraps a GtkBuiltinIcon for situations where using a real widget is more convenient than a gadget. gtk/Makefile.am | 2 + gtk/gtkicon.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkiconprivate.h | 56 +++++++++++++ 3 files changed, 281 insertions(+) commit 164e8ed6bd4c37e9a88e26bc5731eeaf2918a652 Author: Matthias Clasen Date: Tue Dec 22 10:30:51 2015 -0500 menuitem: Simplify separators For regular separators, we just rely on standard CSS background rendering nowadays. Do the same for separators in menus. https://bugzilla.gnome.org/show_bug.cgi?id=759765 gtk/gtkmenuitem.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) commit 2438a06d54636e5074c29bd696e3e81e90288b8d Author: Matthias Clasen Date: Mon Dec 21 21:56:10 2015 -0500 Revert "window: Remove suspicious branch" This reverts commit 67ab00e01ec06d7b05a82c3d80b235ac6c4abfd2. See https://bugzilla.gnome.org/show_bug.cgi?id=759705 for a case where this makes a difference. gtk/gtkwindow.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) commit a64bf81a9fdfbfeabe13298becd5e14fd3dfdd8c Author: Lapo Calamandrei Date: Tue Dec 22 11:53:27 2015 +0100 Adwaita: fix bogus rounded corners on split headerbars we have to do some assumptions for css selectors limits for this particular case, so for split headerbars to work correctly the actual haderbars need not to have the titlebar class applied. gtk/theme/Adwaita/_common.scss | 20 ++++++++++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 17 ++++++++++++++--- gtk/theme/Adwaita/gtk-contained.css | 17 ++++++++++++++--- 3 files changed, 46 insertions(+), 8 deletions(-) commit 939be8a24b45862731b2ca3192cc82300aed9efd Author: Kjell Ahlstedt Date: Tue Dec 22 09:39:28 2015 +0100 GdkSeat: Add G_BEGIN_DECLS and G_END_DECLS https://bugzilla.gnome.org/show_bug.cgi?id=759771 gdk/gdkseat.h | 4 ++++ 1 file changed, 4 insertions(+) commit 7a054328430cd7ee7fa63b11e7e7d8bb4754776c Author: Chun-wei Fan Date: Tue Dec 22 16:33:32 2015 +0800 gtk/gtkbuiltinicon.c: Fix build The gtk_builtin_icon_get_default_size_property returns a const char *, in a way such that some compilers insist that something that is of a pointer value be returned, so fix that by replacing 0 with NULL. gtk/gtkbuiltinicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f17468afc761ae63f1b5581c7769c9d97453f65 Author: Paolo Borelli Date: Sat Dec 19 10:31:32 2015 +0100 W32: avoid code duplication in gdkdevice-win32|virtual The same get_position function is cut and pasted in the two classes. gdk/win32/gdkdevice-virtual.c | 96 +------------------------------------------ gdk/win32/gdkdevice-win32.c | 19 ++++----- gdk/win32/gdkdevice-win32.h | 6 +++ 3 files changed, 15 insertions(+), 106 deletions(-) commit 75b3eec7a6549f0c2cf56d5b831c83aa939de3c7 Author: Daiki Ueno Date: Tue Dec 22 11:21:56 2015 +0900 inspector: Avoid crash when canceling at startup When clicking "Cancel" on the "Do you want to use GTK+ Inspector?" dialog, unregister the update_debugging idle handler. Also, steal reference to 'inspector_window' while gtk_destroy_widget(), to make further gtk_window_update_debugging() calls as a no-op. https://bugzilla.gnome.org/show_bug.cgi?id=759764 gtk/gtkwindow.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit cc50652db52d7b8ef8119592da6245978f9a0f31 Author: Matthias Clasen Date: Mon Dec 21 20:16:14 2015 -0500 Adwaita: Fix overwrite cursors in entries GtkEntry uses the background color to render the text over the block cursor. A transparent background color makes that not work. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 28 ++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 28 ++++++++++++++-------------- 3 files changed, 29 insertions(+), 29 deletions(-) commit 11ad60d386d4f5bfe6920943603aa4a6bf966bcc Author: Matt Watson Date: Fri Dec 18 17:47:00 2015 -0800 flowbox: remove unused prelight code It was causing needless redraws https://bugzilla.gnome.org/show_bug.cgi?id=759757 gtk/gtkflowbox.c | 20 -------------------- 1 file changed, 20 deletions(-) commit 5c704621ac07122a687b92909c47f627959fa8ac Author: Matthias Clasen Date: Mon Dec 21 16:32:56 2015 -0500 Fix import css parser tests Don't use nonexisting properties here either testsuite/css/parser/import-cyclic-1.css | 2 +- testsuite/css/parser/import-cyclic-1.ref.css | 6 +++--- testsuite/css/parser/import-cyclic-2.css | 2 +- testsuite/css/parser/import-cyclic-2.ref.css | 6 +++--- testsuite/css/parser/import-cyclic-3.css | 2 +- testsuite/css/parser/import-cyclic-3.ref.css | 6 +++--- testsuite/css/parser/import-nonexistant.css | 2 +- testsuite/css/parser/import-nonexistant.ref.css | 2 +- testsuite/css/parser/import-recursive.css | 2 +- testsuite/css/parser/import-recursive.ref.css | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) commit 54c32fae1e589bbee63bc26a188de64beb19714c Author: Alberts Muktupāvels Date: Sat Dec 19 19:21:10 2015 +0200 x11: create GdkSeat also in GdkX11DeviceManagerCore There are at least few cases when GdkX11DeviceManagerXI2 will not be used. Make sure that we have GdkSeat in such cases. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/x11/gdkdevicemanager-core-x11.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 31f319d1c767ce9ea7b5df7e8bb0efa60eeab1be Author: Matthias Clasen Date: Mon Dec 21 14:53:09 2015 -0500 css parser test: Drop remaining made-up properties These are not used anymore in any tests, and the css parser doesn't support parsing custom properties anymore. testsuite/css/parser/test-css-parser.c | 29 ----------------------------- 1 file changed, 29 deletions(-) commit ece3d33858ddba45397526b4fecc51c08b5e36dd Author: Matthias Clasen Date: Mon Dec 21 14:52:06 2015 -0500 Fix css parser integer test Use margin-top instead of a made-up property. testsuite/css/parser/integer.css | 28 ++++++++++++++-------------- testsuite/css/parser/integer.errors | 12 ++++++++---- testsuite/css/parser/integer.ref.css | 28 ++++++++++++++++++++++------ 3 files changed, 44 insertions(+), 24 deletions(-) commit ce859a7c650cd5250e419e28c10df282b3a5affa Author: Matthias Clasen Date: Mon Dec 21 14:44:00 2015 -0500 Update css parser value none test The test is affected by icon-shadow being renamed and by engine being deprecated. testsuite/css/parser/value-none.css | 22 +++++++++++----------- testsuite/css/parser/value-none.errors | 19 ++++++++++--------- testsuite/css/parser/value-none.ref.css | 2 +- 3 files changed, 22 insertions(+), 21 deletions(-) commit 0fb84c5a685404d76d97f79ebd43284c9f0a63a9 Author: Matthias Clasen Date: Mon Dec 21 14:37:09 2015 -0500 Fix the css parser value initial test This was affected by the recent renaming of icon-shadow to -gtk-icon-shadow. Also, it produces an error now because engine is deprecated. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/value-initial.css | 2 +- testsuite/css/parser/value-initial.errors | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit 474f5b7784162e8aca408ddb7c6ef694d4a5384c Author: Matthias Clasen Date: Mon Dec 21 14:35:11 2015 -0500 Fix the css parser value inherit test This was affected by the recent renaming of icon-shadow to -gtk-icon-shadow. Also, it produces an error now because engine is deprecated. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/value-inherit.css | 2 +- testsuite/css/parser/value-inherit.errors | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit db094092ae04150339c5070776b69627af92fe69 Author: Matthias Clasen Date: Mon Dec 21 14:32:01 2015 -0500 Update font-weight css parser test This is affected by the recent fix for parsing font-weight. testsuite/css/parser/font-weight.ref.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ea651dcd317bc6d8d9c88d2b1ee54100cb67b9fd Author: Matthias Clasen Date: Mon Dec 21 14:30:32 2015 -0500 Update font-family css parser test There are no errors here. testsuite/css/parser/Makefile.am | 4 ---- testsuite/css/parser/font-family.errors | 8 -------- 2 files changed, 12 deletions(-) commit b931821f5eaff75c46e709e8d9b18c5a52a6fd32 Author: Matthias Clasen Date: Mon Dec 21 14:29:17 2015 -0500 Update the css parser unknown pseudo-class test Use an existing property instead of a made-up one. testsuite/css/parser/pseudo-classes-unknown.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 8ff127940fdbd43ef3948edc6f1c44ab95df50ab Author: Matthias Clasen Date: Mon Dec 21 14:27:52 2015 -0500 Update the css parser selector test Use an existing property instead of the made-up one, here. testsuite/css/parser/selector.css | 240 +++++++++++++++++----------------- testsuite/css/parser/selector.ref.css | 240 +++++++++++++++++----------------- 2 files changed, 240 insertions(+), 240 deletions(-) commit 1f298c385fc198dc9c5a84c103116d8c76a25ef3 Author: Matthias Clasen Date: Mon Dec 21 14:25:46 2015 -0500 Drop the css parser enum test We are no longer using and non-css properties, and css enums are all parsed with custom code. testsuite/css/parser/enum.css | 32 -------------------------------- testsuite/css/parser/enum.errors | 6 ------ testsuite/css/parser/enum.ref.css | 7 ------- 3 files changed, 45 deletions(-) commit e567f23bcddeb223da1fb8e53c137824676ec9df Author: Matthias Clasen Date: Mon Dec 21 14:17:28 2015 -0500 Update another css parser test This test was using the engine property, which has been deprecated and thus generates an error now. Instead, use the font property. testsuite/css/parser/Makefile.am | 1 - testsuite/css/parser/declarations-valid-18.css | 2 +- testsuite/css/parser/declarations-valid-18.errors | 1 - testsuite/css/parser/declarations-valid-18.ref.css | 8 ++++++++ 4 files changed, 9 insertions(+), 3 deletions(-) commit dcc3dd12119b6a16b440fef7909683169f70c9d6 Author: Matthias Clasen Date: Mon Dec 21 14:14:36 2015 -0500 Update css parser test for declarations Use existing CSS properties instead of made-up ones. testsuite/css/parser/declarations.css | 38 +++++++++++++++---------------- testsuite/css/parser/declarations.ref.css | 16 ++++++------- 2 files changed, 27 insertions(+), 27 deletions(-) commit 0035d526c3c995eeb0a7047d39c3503fc23ee0aa Author: Matthias Clasen Date: Mon Dec 21 14:11:10 2015 -0500 test-css-parser: Drop unused property The rgba-property is no longer used in any tests, drop it. testsuite/css/parser/test-css-parser.c | 6 ------ 1 file changed, 6 deletions(-) commit 6eb4102bf25263f8023e80a72d8da133f9ab5dee Author: Matthias Clasen Date: Mon Dec 21 14:08:58 2015 -0500 Update css parser tests for colors Use the color property instead of a made-up rgba-valued property. testsuite/css/parser/colors-errors.css | 16 ++++++++-------- testsuite/css/parser/colors-red.css | 30 +++++++++++++++--------------- testsuite/css/parser/colors-red.ref.css | 30 +++++++++++++++--------------- 3 files changed, 38 insertions(+), 38 deletions(-) commit a21025e096f3796370ba72b60bfb41f188c223bc Author: Matthias Clasen Date: Mon Dec 21 14:07:08 2015 -0500 test-css-parser: Drop unused property The border-property is no longer used in any tests, drop it. testsuite/css/parser/test-css-parser.c | 6 ------ 1 file changed, 6 deletions(-) commit b56980eba288f22062ad062c1b33705171c39467 Author: Matthias Clasen Date: Mon Dec 21 14:06:07 2015 -0500 Update css parser test for borders Use the border-image-width property instead of a made-up border-valued property. testsuite/css/parser/border.css | 28 ++++++++++++++-------------- testsuite/css/parser/border.ref.css | 14 +++++++------- 2 files changed, 21 insertions(+), 21 deletions(-) commit 0c9c6b882efdccacbf656a1fbe76634552031d8a Author: Matthias Clasen Date: Mon Dec 21 14:01:03 2015 -0500 Update border-radius-shorthand tests The name of the css file is in the error output, so we have to update that after the file was recently renamed. .../css/parser/border-radius-shorthand.errors | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 01f2d4dd0f2ecbdf6d3666156643b9a89989b61c Author: Matthias Clasen Date: Mon Dec 21 13:59:24 2015 -0500 Update pseudo-class test We have some more pseudo-classes now, and some are printed out with their CSS name. testsuite/css/parser/pseudo-classes-known.css | 8 ++++++++ testsuite/css/parser/pseudo-classes-known.ref.css | 12 ++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) commit 6d86ce516da52898b07e613d64e029323b08f7b8 Author: Matthias Clasen Date: Mon Dec 21 13:53:56 2015 -0500 test-css-parser: Drop unused properties We don't have any tests involving these style properties, so don't install those. testsuite/css/parser/test-css-parser.c | 55 ---------------------------------- 1 file changed, 55 deletions(-) commit a5ccef74702e50c8d2978279b53349657e767fd7 Author: Matthias Clasen Date: Mon Dec 21 13:51:23 2015 -0500 Don't test parsing boolean values in css CSS doesn't have any boolean properties. testsuite/css/parser/Makefile.am | 3 --- testsuite/css/parser/boolean.css | 48 ------------------------------------ testsuite/css/parser/boolean.errors | 8 ------ testsuite/css/parser/boolean.ref.css | 31 ----------------------- 4 files changed, 90 deletions(-) commit fc2879108d577ced23b46ca636be72e1883c3666 Author: Carlos Garnacho Date: Mon Dec 21 19:13:41 2015 +0100 wayland: Don't trigger grab on missing capabilities Those might not be currently there in the first place. gdk/wayland/gdkdevice-wayland.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 3075dac106a551591363e3f84026697c41a94a2a Author: Matthias Clasen Date: Mon Dec 21 12:53:05 2015 -0500 image: Don't assume baseline parameters are non-NULL The GetSize callback *can* assume that minimum and natural are non-NULL. Buy minimum_baseline and natural_baseline can and will be NULL, so handle that. This was causing crashes e.g. in pavucontrol. gtk/gtkimage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 485c28d30078089736bb15871b49a2b5f76bd1f4 Author: Cosimo Cecchi Date: Sun Dec 20 17:30:52 2015 -0800 menu: port arrow rendering to use a GtkBuiltinIcon At the same time, remove one spurious background/frame rendering, and simplify the code a great deal. gtk/gtkmenu.c | 289 ++++++++++++------------------- gtk/gtkmenuprivate.h | 5 +- gtk/theme/Adwaita/_common.scss | 12 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +- gtk/theme/Adwaita/gtk-contained.css | 6 +- 5 files changed, 134 insertions(+), 184 deletions(-) commit 729801c2a1bd8844fcb74e08c1543a3a6a6a44a9 Author: Cosimo Cecchi Date: Sun Dec 20 18:48:08 2015 -0800 menuitem: trivial doc improvement gtk/gtkmenuitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 105b45dce0cfa33eb0f60d672ab94d9a1b5ab75d Author: Cosimo Cecchi Date: Sun Dec 20 18:29:48 2015 -0800 cssgadget: print more information when warning gtk/gtkcssgadget.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 5611e81bbc936090875174fe912dd952fc863440 Author: Cosimo Cecchi Date: Sun Dec 20 18:23:46 2015 -0800 cssgadget: fix fallback case We should be resetting the height here, not the width. gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 655132b87c8214d8f9b403d15198afabe688c7d4 Author: Cosimo Cecchi Date: Sun Dec 20 18:44:10 2015 -0800 menu: deprecate double-arrows style property It does not sound like a good idea anymore to have a style property change the layout of the menu this drastically. gtk/gtkmenu.c | 106 +++++++--------------------------------------------------- 1 file changed, 13 insertions(+), 93 deletions(-) commit b664ba50c0db397e4cba0c35fb7936fe8152d9e7 Author: Cosimo Cecchi Date: Sun Dec 20 11:19:23 2015 -0800 menu: deprecate arrow-placement style property It does not sound like a good idea anymore to have a style property change the layout of the menu this drastically. gtk/gtkmenu.c | 152 ++++++++++------------------------------------------------ 1 file changed, 25 insertions(+), 127 deletions(-) commit 8a0a11dae482edb490a6e66d4f06a9dcf653a82c Author: Lapo Calamandrei Date: Mon Dec 21 16:58:03 2015 +0100 Adwaita: set scrollbar style props in a general wildcard trying to make webkit happy. gtk/theme/Adwaita/_common.scss | 20 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 132 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 132 +++++++++++++++---------------- 3 files changed, 143 insertions(+), 141 deletions(-) commit 7c6ca26bfbf35ffa2a9e2e272eefec2242185838 Author: Lapo Calamandrei Date: Mon Dec 21 16:18:04 2015 +0100 Adwaita: fix split headerbar styling applications with split headerbars has a container in the titlebar slot so the .titlebar style there needs to be reset. Since we can't go backward with selectors I assumed that any csd application sports a headerbar hence relying on that styling and resetting the .titlebar styleclass. gtk/theme/Adwaita/_common.scss | 15 +- gtk/theme/Adwaita/gtk-contained-dark.css | 326 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 326 ++++++++++++++++--------------- 3 files changed, 345 insertions(+), 322 deletions(-) commit 6f889e832c2cb02b70f2d5b891938c571a37c7b1 Author: Matthias Clasen Date: Mon Dec 21 08:26:58 2015 -0500 css: Support CSS names for pseudo states What we call :insensitive is called :disabled in CSS, and :inconsistent is :indeterminate. Recognize these names, but still support the old ones. gtk/gtkcssselector.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2599ca4d9f97b55d2ce3c5787e694e29e5949c4d Author: Matthias Clasen Date: Mon Dec 21 07:46:37 2015 -0500 Adwaita: Attempt a fixing split headers Remove decorations from headerbars which are wrapped in some other containers (like boxes, or paneds), to prevent double decorations in those cases. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 214 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 214 +++++++++++++++---------------- 3 files changed, 215 insertions(+), 215 deletions(-) commit 698fe18521504dbfc27562583d8df4a4d1ade7a3 Author: Matthias Clasen Date: Mon Dec 21 06:58:29 2015 -0500 Add missing tests to Makefile.am testsuite/css/parser/Makefile.am | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit 3daeb7018278e1274310111147fd6e090bc7c9be Author: Matthias Clasen Date: Mon Dec 21 06:45:32 2015 -0500 Fix the build testsuite/css/parser/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d081b309d5b87bff1b68e189289de5b3c0ef7dc6 Author: Matthias Clasen Date: Sun Dec 20 17:33:24 2015 -0500 Add some css parser tests These tests exercise many allowed ways to specify various properties. testsuite/css/parser/background-clip.css | 27 +++++ testsuite/css/parser/background-clip.ref.css | 27 +++++ testsuite/css/parser/background-image.css | 88 +++++++++++++++ testsuite/css/parser/background-image.ref.css | 87 +++++++++++++++ testsuite/css/parser/background-origin.css | 27 +++++ testsuite/css/parser/background-origin.ref.css | 27 +++++ testsuite/css/parser/background-repeat.css | 16 +++ testsuite/css/parser/background-repeat.ref.css | 16 +++ testsuite/css/parser/background-size.css | 16 +++ testsuite/css/parser/background-size.ref.css | 16 +++ testsuite/css/parser/border-color.css | 34 ++++++ testsuite/css/parser/border-color.ref.css | 34 ++++++ testsuite/css/parser/border-radius-shorthand.css | 113 +++++++++++++++++++ .../css/parser/border-radius-shorthand.errors | 13 +++ .../css/parser/border-radius-shorthand.ref.css | 104 +++++++++++++++++ testsuite/css/parser/border-radius.css | 123 ++++++--------------- testsuite/css/parser/border-radius.errors | 13 --- testsuite/css/parser/border-radius.ref.css | 114 ++++++------------- testsuite/css/parser/border-style.css | 90 +++++++++++++++ testsuite/css/parser/border-style.ref.css | 90 +++++++++++++++ testsuite/css/parser/border-width.css | 34 ++++++ testsuite/css/parser/border-width.ref.css | 34 ++++++ testsuite/css/parser/box-shadow.css | 35 ++++++ testsuite/css/parser/box-shadow.ref.css | 35 ++++++ testsuite/css/parser/color.css | 65 +++++++++++ testsuite/css/parser/color.ref.css | 65 +++++++++++ testsuite/css/parser/font-family.css | 54 +-------- testsuite/css/parser/font-family.ref.css | 16 +-- testsuite/css/parser/font-size.css | 79 +++++++++++++ testsuite/css/parser/font-size.ref.css | 79 +++++++++++++ testsuite/css/parser/font-stretch.css | 47 ++++++++ testsuite/css/parser/font-stretch.ref.css | 47 ++++++++ testsuite/css/parser/font-style.css | 23 ++++ testsuite/css/parser/font-style.ref.css | 23 ++++ testsuite/css/parser/font-variant.css | 19 ++++ testsuite/css/parser/font-variant.ref.css | 19 ++++ testsuite/css/parser/font-weight.css | 63 +++++++++++ testsuite/css/parser/font-weight.ref.css | 63 +++++++++++ testsuite/css/parser/letter-spacing.css | 23 ++++ testsuite/css/parser/letter-spacing.ref.css | 23 ++++ testsuite/css/parser/margin.css | 34 ++++++ testsuite/css/parser/margin.ref.css | 34 ++++++ testsuite/css/parser/opacity.css | 23 ++++ testsuite/css/parser/opacity.ref.css | 23 ++++ testsuite/css/parser/outline-color.css | 19 ++++ testsuite/css/parser/outline-color.ref.css | 19 ++++ testsuite/css/parser/outline-offset.css | 23 ++++ testsuite/css/parser/outline-offset.ref.css | 23 ++++ testsuite/css/parser/outline-radius.css | 62 +++++++++++ testsuite/css/parser/outline-radius.ref.css | 62 +++++++++++ testsuite/css/parser/outline-style.css | 51 +++++++++ testsuite/css/parser/outline-style.ref.css | 51 +++++++++ testsuite/css/parser/outline-width.css | 19 ++++ testsuite/css/parser/outline-width.ref.css | 19 ++++ testsuite/css/parser/padding.css | 34 ++++++ testsuite/css/parser/padding.ref.css | 34 ++++++ testsuite/css/parser/text-decoration-color.css | 27 +++++ testsuite/css/parser/text-decoration-color.ref.css | 27 +++++ testsuite/css/parser/text-decoration-line.css | 23 ++++ testsuite/css/parser/text-decoration-line.ref.css | 23 ++++ testsuite/css/parser/text-decoration-style.css | 23 ++++ testsuite/css/parser/text-decoration-style.ref.css | 23 ++++ testsuite/css/parser/text-shadow.css | 23 ++++ testsuite/css/parser/text-shadow.ref.css | 23 ++++ 64 files changed, 2407 insertions(+), 236 deletions(-) commit a54fadced69dba4e004fecb97e5e1207cb38df52 Author: Lapo Calamandrei Date: Mon Dec 21 11:50:56 2015 +0100 Adwaita: make progressbars and scales the same size gtk/theme/Adwaita/_common.scss | 24 +++++++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 3 files changed, 33 insertions(+), 35 deletions(-) commit 124923213f0da25fb3bb8e48111ff0f223dbd0a4 Author: Lapo Calamandrei Date: Mon Dec 21 11:28:45 2015 +0100 Adwaita: progressbar sizing and progress component positioning shrinked progressbars a bit and moved the progress component start and end over the trough border. gtk/theme/Adwaita/_common.scss | 16 +++++++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 11 ++++++++++- gtk/theme/Adwaita/gtk-contained.css | 11 ++++++++++- 3 files changed, 35 insertions(+), 3 deletions(-) commit 436a258bb01b393bd61e42ae3b568849b94478b7 Author: Matthias Clasen Date: Sun Dec 20 23:50:40 2015 -0500 Fix a typo gtk/gtkcssimagegradient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 04737364992dff8e6ca555d0b3ddc7bd1a9cf8ea Author: Matthias Clasen Date: Sun Dec 20 17:51:47 2015 -0500 Fix parsing of font-weight The parser was turning a 400 into a 200 and a 700 into a 500. gtk/gtkcssenumvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0520ca3bdff9a8fc16c3a4110a28052051b4602e Author: Matthias Clasen Date: Sun Dec 20 17:03:06 2015 -0500 buttonbox: Fix size request A copy-paste mistake was making us always request too little space, causing the buttons to be jumbled or cut off. https://bugzilla.gnome.org/show_bug.cgi?id=759664 gtk/gtkbbox.c | 1 - 1 file changed, 1 deletion(-) commit 6a67df79a8f40c488f9098170109eacba45ec2cc Author: Matthias Clasen Date: Sun Dec 20 14:40:49 2015 -0500 inspector: Avoid criticals in the css editro We can't keep text iters around after text buffer has been changed. Just clear the list errors when the buffer changes before we've passed it again. gtk/inspector/css-editor.c | 3 +++ 1 file changed, 3 insertions(+) commit c3d611fcf28c572ab4af96ba586020103390f94b Author: Michael Catanzaro Date: Sun Dec 20 11:52:30 2015 -0600 entry: Fix typo gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e37e8670480d830b7af6b92ca72b05f9e1fe0f5c Author: Aurimas Černius Date: Sun Dec 20 15:41:08 2015 +0200 Updated Lithuanian translation po-properties/lt.po | 2062 ++++++++++++++++++++++++++------------------------- po/lt.po | 791 +++++++++++--------- 2 files changed, 1501 insertions(+), 1352 deletions(-) commit ea01921d09e1dc008780e1b1b31da50cd3384672 Author: Matthias Clasen Date: Sun Dec 20 01:04:59 2015 -0500 modelbutton: Stop saving cairo state GtkBuiltinIcon does this now on its own. gtk/gtkmodelbutton.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 9ac80c2510ba0cf8d5ea79624baeb9273183f475 Author: Matthias Clasen Date: Sun Dec 20 01:04:13 2015 -0500 checkbutton: stop saving cairo state GtkBuiltinIcon now does this on its own. gtk/gtkcheckbutton.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit db7f269c0386c99266839cfbba3d43b84695d6c9 Author: Matthias Clasen Date: Sun Dec 20 00:54:47 2015 -0500 Some updates to the CSS docs Remove references to regions and engines, emphasize element names over type names, update the list of pseudo-states. gtk/gtkcssprovider.c | 149 ++++++++++++++++++++++++--------------------------- 1 file changed, 71 insertions(+), 78 deletions(-) commit c9e27636b65f8950bb0cd29318b43ea47792a672 Author: Cosimo Cecchi Date: Sat Dec 19 13:01:53 2015 -0800 checkmenuitem: port indicator gadget to GtkBuiltinIcon Saves a lot of code. gtk/gtkcheckmenuitem.c | 94 ++++++++++++-------------------------------------- 1 file changed, 22 insertions(+), 72 deletions(-) commit ce6cd494753711d8c68b2268d64082be4e0d36d5 Author: Cosimo Cecchi Date: Sat Dec 19 12:29:39 2015 -0800 menuitem: port arrow gadget to GtkBuiltinIcon Saves a lot of code. gtk/gtkmenuitem.c | 97 ++++++-------------------------- gtk/gtkmenuitemprivate.h | 1 - gtk/theme/Adwaita/_common.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +- gtk/theme/Adwaita/gtk-contained.css | 6 +- 5 files changed, 30 insertions(+), 86 deletions(-) commit 22ec899f23d358bca95528a2973eaf9b5943ca4d Author: Cosimo Cecchi Date: Sat Dec 19 12:10:45 2015 -0800 menuitem: simplify code Only cast once. gtk/gtkmenuitem.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit aadc13c4ec1619b7ed31fdf44005f5c81529d092 Author: Cosimo Cecchi Date: Sat Dec 19 12:07:39 2015 -0800 builtinicon: save/restore cairo context when rendering gtk/gtkbuiltinicon.c | 2 ++ gtk/gtkexpander.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4ec99db368e1f7c34a7c182ed28bd6b9a3e210ba Author: Cosimo Cecchi Date: Fri Dec 18 17:59:34 2015 -0800 checkmenuitem: deprecate indicator-size style property We can now use min-width/min-height. gtk/gtkcheckmenuitem.c | 34 +++++++++++--------------------- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++----- gtk/theme/Adwaita/gtk-contained.css | 12 ++++++----- 4 files changed, 27 insertions(+), 35 deletions(-) commit 5a87b5bbce82d3ab89cdb6df589c56e16688bbe1 Author: Cosimo Cecchi Date: Fri Dec 18 17:52:16 2015 -0800 menuitem: deprecate toggle-spacing style property We can move this to just use the actual GtkCssGadget of the menu item. gtk/Makefile.am | 1 + gtk/gtkcheckmenuitem.c | 6 +++++ gtk/gtkcheckmenuitem.h | 6 ----- gtk/gtkcheckmenuitemprivate.h | 32 +++++++++++++++++++++++++ gtk/gtkmenu.c | 41 ++++++++++++++------------------ gtk/gtkmenuitem.c | 10 +++++++- gtk/gtkmodelmenuitem.c | 1 + gtk/gtkradiomenuitem.c | 1 + gtk/theme/Adwaita/_common.scss | 12 ++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++------ 11 files changed, 84 insertions(+), 50 deletions(-) commit 3af5c83cd3f236761ea84b3618057a2aec87f0a2 Author: Cosimo Cecchi Date: Fri Dec 18 14:45:15 2015 -0800 checkmenuitem: use a gadget for the check indicator This will make margins and other CSS properties work correctly on the indicator. gtk/gtkcheckmenuitem.c | 200 ++++++++++++++++++++----------- gtk/gtkmenuitem.c | 6 + gtk/gtkmenuitemprivate.h | 1 + gtk/theme/Adwaita/_common.scss | 2 + gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++ gtk/theme/Adwaita/gtk-contained.css | 8 ++ 6 files changed, 158 insertions(+), 67 deletions(-) commit 0e24d6cd85bd8a0ecab67bec1c611b774948e9e5 Author: Cosimo Cecchi Date: Fri Dec 18 14:20:39 2015 -0800 theme: fix menu check/radio styling This is a leftover from the CssNode port of GtkCheckMenuItem and GtkRadioMenuItem. gtk/theme/Adwaita/_common.scss | 14 ++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 42 ++++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 42 ++++++++++++++++++++------------ 3 files changed, 62 insertions(+), 36 deletions(-) commit b602dc2eed3a01f63dea2ea361f47d60d9311584 Author: Cosimo Cecchi Date: Fri Dec 18 10:10:28 2015 -0800 menuitem: trivial cleanup gtk/gtkmenuitem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 871a8c0e16ec615c1badeb565bb6e4092b459c82 Author: Cosimo Cecchi Date: Fri Dec 18 09:59:23 2015 -0800 checkmenuitem: prefer early return gtk/gtkcheckmenuitem.c | 93 +++++++++++++++++++++++++------------------------- 1 file changed, 46 insertions(+), 47 deletions(-) commit 7959c3fb6ea7f4e7b360a5832b717926c2574fb0 Author: Cosimo Cecchi Date: Thu Dec 17 21:54:46 2015 -0800 menuitem: deprecate arrow-scaling style property With this, we can also remove the custom measure function of the arrow gadget. gtk/gtkmenuitem.c | 48 ++++++++------------------------ gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++- gtk/theme/Adwaita/gtk-contained.css | 4 ++- gtk/theme/HighContrast/_common.scss | 2 ++ gtk/theme/HighContrast/gtk.css | 4 ++- 6 files changed, 24 insertions(+), 40 deletions(-) commit 2d5d7d8cf20878986fc908a51b07dc68c7e564d8 Author: Cosimo Cecchi Date: Thu Dec 17 21:41:40 2015 -0800 menuitem: convert arrow rendering to GtkCssGadget This also deprecates the arrow-spacing style property, which can be now replaced with a simple margin. gtk/gtkmenuitem.c | 178 +++++++++++++++++++++---------- gtk/gtkmenuitemprivate.h | 1 + gtk/theme/Adwaita/_common.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +- gtk/theme/Adwaita/gtk-contained.css | 6 +- gtk/theme/HighContrast/_common.scss | 6 ++ gtk/theme/HighContrast/gtk.css | 6 ++ 7 files changed, 149 insertions(+), 64 deletions(-) commit f49a5bf116376ec9b2522b5fc4e720b8b1aca151 Author: Cosimo Cecchi Date: Thu Dec 17 19:24:24 2015 -0800 menuitem: deprecate width-chars style property Instead, we can just set min-width. gtk/gtkmenuitem.c | 30 ++++-------------------------- gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- gtk/theme/HighContrast/_common.scss | 6 ++++-- gtk/theme/HighContrast/gtk.css | 3 +++ 6 files changed, 16 insertions(+), 30 deletions(-) commit f2adb5779fec92340b1e2968d96a5f580267bd06 Author: Cosimo Cecchi Date: Thu Dec 17 19:12:06 2015 -0800 menuitem: port to gadgets This is not a complete conversion yet - more changes will come in later commits. gtk/gtkmenuitem.c | 1023 +++++++++++++++++++++++----------------------- gtk/gtkmenuitemprivate.h | 2 + 2 files changed, 521 insertions(+), 504 deletions(-) commit 11d9da08a9ca7762698f2588b3078667422a535c Author: Cosimo Cecchi Date: Thu Dec 17 18:50:12 2015 -0800 menuitem: use gtk_container_class_handle_border_width() gtk/gtkmenuitem.c | 55 ++++++++++++++++++++++--------------------------------- 1 file changed, 22 insertions(+), 33 deletions(-) commit 35ed13ac5451838c0f9b0523e099f30d6e182b0f Author: Cosimo Cecchi Date: Thu Dec 17 17:46:31 2015 -0800 menuitem: really ignore horizontal-padding This style property has been documented as been ignored for a long time, but we were still reading it in some cases. gtk/deprecated/gtkimagemenuitem.c | 11 +++++------ gtk/gtkcheckmenuitem.c | 6 ++---- 2 files changed, 7 insertions(+), 10 deletions(-) commit f792d20507b2714c964f11c576dd9a5c5be96a6d Author: Matthias Clasen Date: Sat Dec 19 23:53:31 2015 -0500 statusbar: Deprecate style properties We were not really using the shadow-type style property anyway, so lets just deprecate it. Themes can directly theme the frame. gtk/gtkstatusbar.c | 14 +++++++++----- gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/theme/Adwaita/gtk-contained.css | 1 - 4 files changed, 9 insertions(+), 9 deletions(-) commit 57dd855d103fb8f3c445f9754acbdcc02e40d4c5 Author: Matthias Clasen Date: Sat Dec 19 23:24:27 2015 -0500 Adwaita: Drop some deprecated style properties These can now be replaces with min-width/min-height. gtk/theme/Adwaita/_common.scss | 18 ++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 ++++++++------ gtk/theme/Adwaita/gtk-contained.css | 14 ++++++++------ 3 files changed, 24 insertions(+), 22 deletions(-) commit c0683d9267cb676df3777f9b27a9a89494e319d0 Author: Matthias Clasen Date: Sat Dec 19 23:23:09 2015 -0500 checkbutton: Fix regression from builtin icon The leaking of cairo transforms from builtin icon drawing was causing the label to be drawn at the wrong position. gtk/gtkcheckbutton.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit f7236b261b9d74b311888954349534face432b1c Author: Matthias Clasen Date: Sat Dec 19 21:56:05 2015 -0500 modelbutton: Fix state confusion Checked buttons were getting the wrong image. gtk/gtkmodelbutton.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f0fba02dca17e38146cfcc8b288ecfe0572e2eb9 Author: Matthias Clasen Date: Sat Dec 19 20:46:26 2015 -0500 Adwaita: Try harder to fix arrow rendering Fiddle with specificity to keep hovered modelbutton arrows from rendering background. gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 12 insertions(+), 7 deletions(-) commit 7aeb57cdfd1ee337c34d09f4e82050dbcb91da9b Author: Matthias Clasen Date: Sat Dec 19 20:16:51 2015 -0500 modelbutton: Hide checks initially Manually constructed model buttons were always ending up with a check. Fix that by hiding the indictator node initially. gtk/gtkmodelbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 0b7226e96eb5e52b24330a716287dd15de6047cf Author: Matthias Clasen Date: Sat Dec 19 17:34:21 2015 -0500 Adwaita: Fix treeview headers The borders went missing on these, at some point. https://bugzilla.gnome.org/show_bug.cgi?id=759567 gtk/theme/Adwaita/_common.scss | 4 +--- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) commit bca47552289f7ecdba48dc3994f2d54628ff5209 Author: Matthias Clasen Date: Sat Dec 19 14:53:57 2015 -0500 modelbutton: Use a builtin icon for the arrow No need to do this manually. gtk/gtkmodelbutton.c | 124 ++++++++++--------------------- gtk/theme/Adwaita/_common.scss | 5 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++ gtk/theme/Adwaita/gtk-contained.css | 7 ++ 4 files changed, 60 insertions(+), 83 deletions(-) commit d36c93b91bad5bcb5fe0ac208c308a96e4851764 Author: Matthias Clasen Date: Sat Dec 19 11:22:18 2015 -0500 expander: Fix drawing in rtl GtkBuiltinIcon leaves the cairo context in unclean state when drawing, work around that. gtk/gtkexpander.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d801a4f6987fda1138fef37c2b72c5c77945d0c Author: Matthias Clasen Date: Sat Dec 19 11:11:34 2015 -0500 Fix a case a height/width confusion gtk/gtkexpander.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d51de8cff80ef0b2be5d82f28c3b08868f79875e Author: Matthias Clasen Date: Sat Dec 19 00:48:10 2015 -0500 expander: Use a builtin icon This saves quite a bit of code. gtk/gtkexpander.c | 93 +++++-------------------------------------------------- 1 file changed, 7 insertions(+), 86 deletions(-) commit 22738ad5af630da5f36dc4d701ec054b0573946a Author: Dušan Kazik Date: Sat Dec 19 13:46:14 2015 +0000 Updated Slovak translation po/sk.po | 138 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 75 insertions(+), 63 deletions(-) commit 5da69479271d35bde4c358b33b55bcba36a5845e Author: Pedro Albuquerque Date: Sat Dec 19 07:37:02 2015 +0000 Updated Portuguese translation po/pt.po | 157 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 88 insertions(+), 69 deletions(-) commit bb3e4feee663f5fd685e6f39fa5e3e8c8b34bb95 Author: Pedro Albuquerque Date: Sat Dec 19 07:33:52 2015 +0000 Updated Portuguese translation po-properties/pt.po | 1529 ++++++++++++++++++++++++++------------------------- 1 file changed, 769 insertions(+), 760 deletions(-) commit f54e0a283b614aa6b512b0577a0373f380b3f92a Author: Matthias Clasen Date: Sat Dec 19 00:33:20 2015 -0500 label: Allocate gadget before using it Move the gtk_css_gadget_allocate call before the gtk_label_update_layout_width call. This fixes the statusbar label in widget-factory page 2 coming up fully ellipsized. gtk/gtklabel.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 35e98dce9ba645d35697a9e757437d0e2599de83 Author: Benjamin Otte Date: Sat Dec 19 05:47:48 2015 +0100 notebook: Sync menu labels with page list in visibile_cb It's where it changes. Size requests have nothing to do with that. gtk/gtknotebook.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) commit c3548328f7fa00117dfc1b4caece7471fd28d171 Author: Benjamin Otte Date: Fri Dec 18 01:01:33 2015 +0100 notebook: Don't allocate during size requests wat? gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit dd90e020a2380c284b54094d331436e29c518eac Author: Benjamin Otte Date: Sat Dec 19 06:10:37 2015 +0100 label: Don't use _gtk_mis_get_padding_and_border() The function takes into account CSS padding and border, which these days is handled by the gadget code. Use gtk_misc_get_padding() instead. gtk/gtklabel.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 47325a827bcff0f3155dacdc57ca360afdc89e83 Author: Christoph Reiter Date: Thu Dec 17 19:52:23 2015 +0100 imagedefinition: The storage type is not a boolean gtk/gtkimagedefinition.c | 2 +- gtk/gtkimagedefinitionprivate.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a3fd5a010b59187b5ce739b0eb07d6ccd2b02887 Author: Matthias Clasen Date: Fri Dec 18 22:57:16 2015 -0500 Simplify actionbar We don't need a frame widget here, just render a top border on the box. gtk/gtkactionbar.c | 3 ++- gtk/theme/Adwaita/_common.scss | 5 +---- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/theme/Adwaita/gtk-contained.css | 6 ++---- gtk/ui/gtkactionbar.ui | 12 ++---------- 5 files changed, 9 insertions(+), 23 deletions(-) commit b90fa7dcd18160ed060d0205872bdbe231410e80 Author: Matthias Clasen Date: Fri Dec 18 22:37:57 2015 -0500 Adwaita: fix action bar styling Make action bar buttons have some padding again. gtk/theme/Adwaita/_common.scss | 7 +++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++-- gtk/theme/Adwaita/gtk-contained.css | 8 ++++++-- 3 files changed, 17 insertions(+), 6 deletions(-) commit ac65952f0db0211e0debc760c0fafc9521c02356 Author: Matthias Clasen Date: Fri Dec 18 20:53:02 2015 -0500 icon helper: suppress style_changed when transient Transient nodes should not propagate style-changed signals that can cause widgets to get reallocated. This was causing treeviews and iconviews with pixbuf cells to be constantly resized and redrawn. gtk/gtkiconhelper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7acb670e708bc2931d6f8e1afec423b9d7b3c15c Author: Matthias Clasen Date: Fri Dec 18 19:32:24 2015 -0500 Add more icon entry tests This test shows that changing icon types works. tests/testentryicons.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 18e8842a7e0f458fb1fda2d3ddb8585aa7284324 Author: Matthias Clasen Date: Fri Dec 18 18:10:08 2015 -0500 entry: Don't clear when setting icons Clearing the icon doesn't appear to be necessary with todays code, and it has the unfortunate side-effect of temoorarily hiding the icon's window, which breaks grabs and makes us miss the button release event when the icon is changed from a button press handler. gtk/gtkentry.c | 43 +++++++++++++------------------------------ 1 file changed, 13 insertions(+), 30 deletions(-) commit 6f5b19a0a534764dad7b8bd0f397a46dc06bef9d Author: Matthias Clasen Date: Fri Dec 18 16:55:21 2015 -0500 css node: Use g_set_object Replace unref + assignment + ref combinations by g_set_object_calls. gtk/gtkcssnode.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 51ba8421c3f5189ec21c4ed953befd7ad6507343 Author: Matthias Clasen Date: Fri Dec 18 10:54:49 2015 -0500 entry: Remove some dead code These defines are no longer used. gtk/gtkentry.c | 2 -- 1 file changed, 2 deletions(-) commit e8aa9b0440e03e7002323922f862342db51c5f32 Author: Timm Bäder Date: Thu Dec 17 12:34:30 2015 +0100 Add a way to highlight resizing widgets https://bugzilla.gnome.org/show_bug.cgi?id=759586 docs/reference/gtk/running.sgml | 4 ++++ gtk/gtkdebug.h | 3 ++- gtk/gtkmain.c | 1 + gtk/gtkwidget.c | 22 ++++++++++++++++++++++ gtk/gtkwidgetprivate.h | 4 ++++ gtk/inspector/visual.c | 14 ++++++++++++++ gtk/inspector/visual.ui | 34 ++++++++++++++++++++++++++++++++++ 7 files changed, 81 insertions(+), 1 deletion(-) commit 20a6ee30b7dd3f471b086d206c8cf51ff3341b48 Author: Timm Bäder Date: Fri Dec 18 15:54:46 2015 +0100 GtkWidget: Don't mix code and declarations gtk/gtkwidget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 666e4135e84b0391b4194e4fe3243fbd12eeace1 Author: Matthias Clasen Date: Fri Dec 18 09:26:16 2015 -0500 expander: Deprecate style properties This can all be done with CSS properties now. gtk/gtkexpander.c | 98 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 55 insertions(+), 43 deletions(-) commit 53787d29add024635ae873e0f2085ef3f1ff92a1 Author: Matthias Clasen Date: Fri Dec 18 08:29:49 2015 -0500 expander: Let gadget render focus This lets us drop lots of allocation fiddling, and reduces the code that is consulting the style properties we want to get rid of. gtk/gtkexpander.c | 129 +----------------------------------------------------- 1 file changed, 1 insertion(+), 128 deletions(-) commit d81f8c102566e5806ebe0b8d57e3e508b10b6f60 Author: Matthias Clasen Date: Fri Dec 18 07:37:52 2015 -0500 box: Add a way to get the gadget This will be used in GtkButtonBox. gtk/gtkbox.c | 6 ++++++ gtk/gtkboxprivate.h | 3 +++ 2 files changed, 9 insertions(+) commit acd339a9a55f46e098a1e638f866238b6d78daa1 Author: Matthias Clasen Date: Fri Dec 18 06:48:04 2015 -0500 buttonbox: Convert to gadgets Set a css name and use a gadget for button box allocation and drawing. gtk/gtkbbox.c | 258 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 226 insertions(+), 32 deletions(-) commit 2e254076381d66a9f6cbaa4745ad33791a4f3734 Author: Matthias Clasen Date: Thu Dec 17 15:16:25 2015 -0500 Fix a problem with entry gadgets place_windows is accessing the gadgets allocation, so make sure to allocate the gadget before calling it. gtk/gtkentry.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit fab31e16ed57774f0b6dbd97bab682dd72c6957c Author: Daniel Mustieles Date: Thu Dec 17 19:14:57 2015 +0100 Updated Spanish translation po/es.po | 312 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 164 insertions(+), 148 deletions(-) commit 54fa65f544bef281640d18a4a725005f6199a956 Author: William Hua Date: Thu Dec 17 12:38:35 2015 -0500 gdkborder: change types from gint16 to gint gdk/gdktypes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 5190d010d95010a845715c719c3b85a75e0c513a Author: William Hua Date: Thu Dec 17 12:18:03 2015 -0500 gtkborder: restore original struct definition We're going to add back the original struct definition removed by a6e4de28, because using the typedef breaks all sorts of things like gtkmm and WebKit, and having separate struct definitions allows us to change the types in GdkBorder from gint16s to gints without breaking ABI. gtk/gtkborder.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 8c355d8fe671b5158f45d66d2973d587fa1d8602 Author: Paolo Borelli Date: Tue Dec 15 21:25:25 2015 +0100 Win32: call dnd exit when finalizing the display Since we init dnd when opening the display, call the corresponding exit function (which is unused at the moment) when finalizing the display. gdk/win32/gdkdisplay-win32.c | 1 + 1 file changed, 1 insertion(+) commit 2e5616b27ea72947d9b61cf2be6d61d65a2d1df7 Author: Paolo Borelli Date: Mon Dec 14 19:40:25 2015 +0100 Win32: move CoInitialize to dnd init Functions requiring CoInitialize are called just in two places: - the filechooser thread which calls its own CoInitializeEx - the dnd code Moving CoInitialize in the dnd specific init is cleaner and we can pair it with the corresponding CoUninitialize since CoUninitialize should be called as many times as CoInitialize. Note that it is ok to call this function multiple times, so it will not break if another codepath will need it in the future. The patch also replaces the deprecated CoInitialize with the equivalent call to CoInitializeEx (already used in the filechooser). gdk/win32/gdkdnd-win32.c | 4 ++++ gdk/win32/gdkmain-win32.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) commit f6b0067718471bebaa3beeafc9d0260a53dd7e26 Author: Timm Bäder Date: Thu Dec 17 14:49:59 2015 +0100 GtkSeparator: Don't leak the gadget gtk/gtkseparator.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 35c243b26f851680b276c9604ada01fb0a242b77 Author: Matthias Clasen Date: Sat Dec 5 22:17:51 2015 -0500 entry: use a gadget Use a gadget for the entry. Selection and progress still just use a CSS node. Most things seem to work correctly with non-zero margin or padding. gtk/gtkentry.c | 489 ++++++++++++++++++++++++++++++---------------------- gtk/gtkspinbutton.c | 4 - 2 files changed, 280 insertions(+), 213 deletions(-) commit 776778efc84c13dec2aea26e8ef375f303ce9494 Author: Lionel Landwerlin Date: Thu Dec 17 01:14:31 2015 +0000 inspector: Ensure clip is always shown gtk/inspector/misc-info.c | 1 + 1 file changed, 1 insertion(+) commit 117ab5092294b98a8f0a7385bd377aed5bfdbad3 Author: Matthias Clasen Date: Wed Dec 16 19:24:43 2015 -0500 inspector: Always show clip It is less confusing than hiding it sometimes. gtk/inspector/misc-info.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) commit 0e820765278f2a0dec214cd0398e5e005204002e Author: Matthias Clasen Date: Wed Dec 16 19:14:39 2015 -0500 gadget: Don't warn about unset clip Instead of warning about an unset clip, simply ignore empty content clips. gtk/gtkcssgadget.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) commit 7778c237e65eaebfc0659c1436e3136faca9397b Author: Matthias Clasen Date: Wed Dec 16 19:07:26 2015 -0500 cellview: Convert to gadgets gtk/gtkcellview.c | 364 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 210 insertions(+), 154 deletions(-) commit f3c95e1c63575ec818b65b448de4991a9e158547 Author: Matthias Clasen Date: Wed Dec 16 17:52:47 2015 -0500 gadget: Avoid warning for empty containers Empty boxes end up setting the clip to { 0, 0, 0, 0}, so warning for a width or height of 0 triggers false positives. Instead, initialize the clip to clearly invalid values. gtk/gtkcssgadget.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 09d9674d696c417d23a498c460cb4ad9c5323d02 Author: Matthias Clasen Date: Wed Dec 16 17:41:04 2015 -0500 gadget: Add more information to warnings We have the gadget at hand, so we should print out some information that helps tracking down where it comes from. gtk/gtkcssgadget.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 083a17acd4865acdc954e76cab5b4e8ee92d70b2 Author: Matthias Clasen Date: Wed Dec 16 17:32:24 2015 -0500 gadget: Update docs Make it clear that out_clip must be set. gtk/gtkcsscustomgadget.c | 3 +++ 1 file changed, 3 insertions(+) commit ec5596ce20a7979923d82b432d688578bb311f28 Author: Matthias Clasen Date: Wed Dec 16 17:27:14 2015 -0500 gadget: Warn if clip is not set This leads to hard-to-track-down drawing errors, so better warn explicitly about it. gtk/gtkcssgadget.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 2417184a1f1e95e0c5ac3493a6af8e0ae914c916 Author: Matthias Clasen Date: Wed Dec 16 17:12:12 2015 -0500 frame: Fix gadget conversion The GtkCssAllocateFunc must set the clip to meaningful values. gtk/gtkframe.c | 2 ++ 1 file changed, 2 insertions(+) commit 576028bdec90b27a42e8a65755dc0b2e235cdf5a Author: Matthias Clasen Date: Wed Dec 9 23:00:35 2015 -0500 frame: Convert to gadgets As part of this conversion, remove the hardcoded padding around the label. Unfortunately, we cannot use the main gadget for drawing the frame decoration, since we want to draw a custom border instead of the stock css border that gadgets insist on drawing for us. Therefore, add an extra gadget with name border and use it just for rendering the frame. gtk/gtkframe.c | 511 +++++++++++++++++-------------- gtk/theme/Adwaita/_common.scss | 7 +- gtk/theme/Adwaita/gtk-contained-dark.css | 13 +- gtk/theme/Adwaita/gtk-contained.css | 13 +- 4 files changed, 306 insertions(+), 238 deletions(-) commit 3be4971e05e6aeebeddcd7a38ceebc95330b4f03 Author: Carlos Garnacho Date: Wed Dec 16 20:25:54 2015 +0100 GtkPopover: Ensure we unset modality before unparenting the popover Otherwise the gtk_grab_remove() calls on widget destruction will happen on the default window group, which may leave the real window group of the popover with a dangling pointer if it is not the default one. This could be seen on the inspector, open a popover in the properties list and close the window with alt-F4. gtk/gtkpopover.c | 5 +++++ 1 file changed, 5 insertions(+) commit 197e42efd8a0c6adea9fd49f5469687349e887d4 Author: Benjamin Otte Date: Wed Dec 16 20:39:51 2015 +0100 label: Position the text properly The PangoLayout needs to be positioned according to the content allocation of the gadget, not the widget's allocation. gtk/gtkcssgadget.c | 35 +++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 3 +++ gtk/gtklabel.c | 11 +++++++---- 3 files changed, 45 insertions(+), 4 deletions(-) commit 2e362eafc7a22e007fddb4ee9c76dfffdbbf02b7 Author: Benjamin Otte Date: Wed Dec 16 19:48:30 2015 +0100 cssnode: Redo first/last-child change tracking Invisible nodes don't change the first/last-child status of the nodes after/before them. That means we don't have to just check the state of the adjacent node when modifying this state, but all their siblings until we hit a visible node. The same way, a node is not the first child if it has no previous sibling, it is the first child if it has no previous visible sibling. This is important for caching in the global lookup cache. gtk/gtkcssnode.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 62 insertions(+), 10 deletions(-) commit 36653bea4189221c1b3d391890793f50fde3c758 Author: Benjamin Otte Date: Wed Dec 16 18:44:58 2015 +0100 checkbutton: Use a builtin icon Also, add support to uiltin icons to look up the default size from a style property. gtk/gtkbuiltinicon.c | 72 ++++++++++++++++++++++++++--- gtk/gtkbuiltiniconprivate.h | 3 ++ gtk/gtkcheckbutton.c | 107 +++++++++----------------------------------- 3 files changed, 90 insertions(+), 92 deletions(-) commit abbd6b11f6c01810a2bf3a9fa5a32b2d4224228c Author: Matthias Clasen Date: Wed Dec 16 13:48:08 2015 -0500 switch: Deprecate style properties CSS min-width and min-height on the slider node fit this perfectly. We still fall back to the slider-width and slider-height style properties if the CSS properties are not set. gtk/gtkswitch.c | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) commit 4e05148befb73a253d957ccb0449e7252b470886 Author: Matthias Clasen Date: Wed Dec 16 13:16:16 2015 -0500 Simplify some code Deal with the min-width/min-height fallback the same way as in GtkBuiltinIcon. gtk/gtkprogressbar.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit 3f7eefb922811430c0c04671f15a02c15592fd8c Author: Carlos Garnacho Date: Wed Dec 16 19:28:53 2015 +0100 inspector: Use seat grabs for the "inspect widget" feature And remove some usages of GdkDeviceManager API. gtk/inspector/inspect-button.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) commit 32c9db8600b93deb9bb43e163f90f338512ed424 Author: Carlos Garnacho Date: Wed Dec 16 19:27:34 2015 +0100 GtkTreeView: Add ignore deprecation statements We still need access to floating devices at places. gtk/gtktreeview.c | 2 ++ 1 file changed, 2 insertions(+) commit 4f9f3f04c0eb426cee87f71fe8307f61af3bdf90 Author: Carlos Garnacho Date: Wed Dec 16 19:27:06 2015 +0100 GtkWindow: Add ignore deprecation statements We still need access to floating devices at places gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 4a7589ea1254938536b3c891ddae8c35ff1dfcb1 Author: Carlos Garnacho Date: Wed Dec 16 19:26:21 2015 +0100 GtkWindow: Avoid GdkDeviceManager API We can iterate over the seats' pointers, instead of over master pointers. gtk/gtkwindow.c | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) commit 0f98f225d1b81e0c8bd0bbcf901ef8368bdde096 Author: Carlos Garnacho Date: Wed Dec 16 19:24:51 2015 +0100 GtkWidget: Add some ignore deprecation statements We still need access to floating devices here. gtk/gtkwidget.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 04d7bd49d0ef2af6df12e16d99de7c591c23ebea Author: Carlos Garnacho Date: Wed Dec 16 19:24:20 2015 +0100 GtkMenu: Avoid GdkDeviceManager API We used to pick a master pointer "at random", use the default seat pointer instead. gtk/gtkmenu.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) commit 26f3d02f0354321a13b6608930116b1744f0c549 Author: Carlos Garnacho Date: Wed Dec 16 19:23:25 2015 +0100 GtkComboBox: Avoid GdkDeviceManager API We used to pick a master pointer "at random", use the default seat pointer instead. gtk/gtkcombobox.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit e2c8d3c6808c6cf7e4f625d5d5eb984f924152ee Author: Carlos Garnacho Date: Wed Dec 16 19:22:41 2015 +0100 scrolledwindow: Remove unneeded code We no longer take a grab here, no need to undo it on grab_notify gtk/gtkscrolledwindow.c | 4 ---- 1 file changed, 4 deletions(-) commit 24afce5650b2ed14eb5bc066d0f93a0ae636b200 Author: Carlos Garnacho Date: Wed Dec 16 19:21:33 2015 +0100 x11: Make fallback window dragging use seat grabs Also, gdk_seat_ungrab() will undo the implicit grab when EWMH dragging is used. gdk/x11/gdkwindow-x11.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit 7ead57be8c3d67b00608f67e2c63a796da8e8388 Author: Carlos Garnacho Date: Wed Dec 16 19:20:28 2015 +0100 x11: Add some ignore deprecation statements In those places we still need access to floating devices, or we need to use the GdkDeviceManager as its GdkEventTranslator interface. gdk/x11/gdkdevice-xi2.c | 4 ++++ gdk/x11/gdkdisplay-x11.c | 5 +++++ gdk/x11/gdkmain-x11.c | 4 ++++ 3 files changed, 13 insertions(+) commit c3f1565c18f6798c17091cb9295b8f74caa49755 Author: Carlos Garnacho Date: Wed Dec 16 19:15:08 2015 +0100 x11: Avoid gdk_device_manager_get_client_pointer() We can use the pointer of the default seat instead. gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkdnd-x11.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 1fbf2fe4d70b0f326f3695e47e0bcd4896ff952b Author: Carlos Garnacho Date: Wed Dec 16 19:12:18 2015 +0100 wayland: Avoid GdkDeviceManager APIs In most places, we can do with the pointer/keyboard of the default seat instead of the client pointer. We can also remove some code from gdk_input_init() because we know for sure there's no floating devices to care about here. gdk/wayland/gdkdisplay-wayland.c | 59 ++------------------------------------ gdk/wayland/gdkselection-wayland.c | 8 ++---- gdk/wayland/gdkwindow-wayland.c | 6 ++-- 3 files changed, 7 insertions(+), 66 deletions(-) commit 598dedfe36495e68aeb5c29f7a16271f82c3cfc8 Author: Carlos Garnacho Date: Wed Dec 16 19:08:52 2015 +0100 broadway: Add a few ignore deprecations statements around GdkDeviceManager There's places where we still need to deal with floating devices, which are unseen by seats. Ignore deprecations and keep using GdkDeviceManager until we can forget about floating devices. gdk/broadway/gdkdevice-broadway.c | 4 ++++ gdk/broadway/gdkdisplay-broadway.c | 2 ++ gdk/broadway/gdkeventsource.c | 2 ++ 3 files changed, 8 insertions(+) commit 3e1e02c2bcf542ccdbc7e90e4b213cb5c9e06d26 Author: Carlos Garnacho Date: Wed Dec 16 19:07:20 2015 +0100 GdkDisplay: Add a few ignore deprecations statements around GdkDeviceManager There's places where we still need to deal with floating devices, which are unseen by seats. Ignore deprecations and keep using GdkDeviceManager until we can forget about floating devices. gdk/gdkdisplay.c | 4 ++++ 1 file changed, 4 insertions(+) commit 50859d9efe46db5694e0bb98a101a4c0bcd5762e Author: Carlos Garnacho Date: Wed Dec 16 19:05:49 2015 +0100 GdkWindow: Add a few ignore deprecations statements around GdkDeviceManager There's places where we still need to deal with floating devices, which are unseen by seats. Ignore deprecations and keep using GdkDeviceManager until we can forget about floating devices. gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 644fa138c34db5c60688e650ff7dd54d4dce73f1 Author: Carlos Garnacho Date: Wed Dec 16 19:04:32 2015 +0100 GdkDisplay: Iterate through seats' pointers/keyboards in older grab functions Instead of using the GdkDeviceManager. gdk/gdkdisplay.c | 57 +++++++++++++++++++++----------------------------------- 1 file changed, 21 insertions(+), 36 deletions(-) commit ce7bb7c739601c80464d61579b106f2e6d53e8a3 Author: Carlos Garnacho Date: Wed Dec 16 19:02:31 2015 +0100 GdkWindow: Iterate through seats' pointers/keyboards in older grab functions Instead of using the GdkDeviceManager. gdk/gdkwindow.c | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) commit 7a926cc7e0e12e70c920e28bdce1d2c4ecbf63a0 Author: Carlos Garnacho Date: Wed Dec 16 19:00:39 2015 +0100 gdkevents: Fallback to the event device seat There's places where we don't set a seat yet, plus the places outside GTK+ where events are created, we should warn and fall back to the master device seat with these. gdk/gdkevents.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit b0d72a36d8c81d9035a15136e9d67593baf20989 Author: Carlos Garnacho Date: Wed Dec 16 18:59:57 2015 +0100 gdkevents: Ensure the seat data is copied in events gdk/gdkevents.c | 1 + 1 file changed, 1 insertion(+) commit c70da9b7ae62d26e40e99b521bb1e81e0b677af7 Author: Carlos Garnacho Date: Wed Dec 16 19:35:38 2015 +0100 gdk: Set seat on events generated in common code gdk/gdkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit 13b9515e63a5b9daa4a84d066419415b97523f53 Author: Cosimo Cecchi Date: Wed Dec 16 10:40:18 2015 -0800 border: silence a GIScanner warning gtk/gtkborder.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit ea3df2473588eb2060a181161b51ef9e6efc1623 Author: Cosimo Cecchi Date: Wed Dec 16 10:38:05 2015 -0800 gadget: fix copy/paste error in documentation gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 990dc9961a413975a3c37709b6998a9a9fabd373 Author: Cosimo Cecchi Date: Wed Dec 16 10:35:46 2015 -0800 gdkevents: fix a compiler warning gdk/gdkevents.c | 1 - 1 file changed, 1 deletion(-) commit 0291978acc10a8cc4bcff8dbc2600703facd3a0e Author: Matthias Clasen Date: Wed Dec 16 13:11:24 2015 -0500 check button: Deprecate indicator-size CSS min-width/min-height can do just the same. We still fall back to the indicator-size style property if the CSS properties are not set. gtk/gtkcheckbutton.c | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) commit bb67a06bd6eb200694b41513d1213367364fe7d4 Author: Matthias Clasen Date: Wed Dec 16 12:27:53 2015 -0500 check button: Deprecate and ignore ::indicator-spacing This can be done just as well with CSS margins, so do that instead for Adwaita. gtk/gtkcheckbutton.c | 34 +++++++++++++++----------------- gtk/theme/Adwaita/_common.scss | 8 ++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 4 files changed, 34 insertions(+), 18 deletions(-) commit 86ecdc7a4403c0e0e0355555b71e397f155111d2 Author: Matthias Clasen Date: Wed Dec 16 11:37:49 2015 -0500 model button: Document iconic layout Document how the CSS nodes look if iconic is TRUE. Add a .model style class for this case and use it in Adwaita. gtk/gtkmodelbutton.c | 12 ++++++++++++ gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 4 files changed, 19 insertions(+), 7 deletions(-) commit 2f544655f99361ebe1fee30f5c10ce3212461fea Author: Matthias Clasen Date: Wed Dec 16 10:55:52 2015 -0500 Revise CSS node documentation Clarify the use of brackets in the CSS node diagrams: [] means optional nodes or classes, <> means child widgets. gtk/gtkcheckbutton.c | 6 ++++-- gtk/gtkcheckmenuitem.c | 4 ++-- gtk/gtkexpander.c | 4 ++-- gtk/gtkflowbox.c | 4 ++-- gtk/gtkgrid.c | 2 +- gtk/gtklevelbar.c | 4 ++-- gtk/gtkmenu.c | 4 +++- gtk/gtkmenuitem.c | 2 +- gtk/gtkmodelbutton.c | 6 +++--- gtk/gtknotebook.c | 13 +++++++------ gtk/gtkpaned.c | 4 +++- gtk/gtkradiobutton.c | 6 ++++-- gtk/gtkradiomenuitem.c | 4 ++-- gtk/gtkscale.c | 10 +++++----- gtk/gtktreeview.c | 6 +++--- gtk/gtkwindow.c | 3 ++- 16 files changed, 46 insertions(+), 36 deletions(-) commit fe9301ac1bf272b43ec81dcf7693151d393f5db2 Author: Benjamin Otte Date: Wed Dec 16 16:28:34 2015 +0100 widget-factory: Make things compile again 1e1064398c7607d197c563c42f8901ac67982a9f broke the build. When I run make, I should make sure to run it in the right directory. And not in the gtk/ subdirectory that will never build widget-factory... demos/widget-factory/widget-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e1064398c7607d197c563c42f8901ac67982a9f Author: Benjamin Otte Date: Wed Dec 16 15:43:05 2015 +0100 widget-factory: Disconnect clipboard watcher on close The clipboard emit events after the button we connected it to was already destroyed (on application close for example), so make sure we don't try to use that dead button. demos/widget-factory/widget-factory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b456db8cf4c8c7d52d4a5c90948bd659b0716de6 Author: Olivier Fourdan Date: Mon Dec 14 16:34:00 2015 +0100 wayland: Check transient loop Gdk Wayland backend walks up the transient windows tree, but does not check for cycles when doing so. As a result, if two or more windows are transient to each other, the Wayland gdk backend will enter an infinite loop. While this is clearly a bug in the application, gtk+/gdk should be more robust and handle such errors more gracefully. To avoid looping infinitely at various point in the code, check for a possible loop when setting the transient relationship and deny the request to set a window transient for another if that would create a loop. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759299 gdk/wayland/gdkwindow-wayland.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 0b191974935d7d24b59f9cb4083c1221b36be2bd Author: Emmanuele Bassi Date: Wed Dec 16 12:42:27 2015 +0000 Fix the fix to the last commit I should not push while compilation is still going on gdk/gdkpixbuf-drawable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00102e35ea09c3b6bce7227aaaa1aba37eae11ae Author: Emmanuele Bassi Date: Wed Dec 16 12:41:16 2015 +0000 Fix previous commit The scale parameter was missing. gdk/gdkpixbuf-drawable.c | 2 ++ 1 file changed, 2 insertions(+) commit 1f076257059f15f37c2c93853c3eff2ec2be2aa1 Author: Lars Uebernickel Date: Wed Dec 9 17:48:26 2015 +0100 gdk_pixbuf_get_from_window: honor device scale gdk_pixbuf_get_from_window() paints the given window onto a new cairo surface. Create that new surface with the same device scale as the window so that the result is not scaled down on hidpi screens. This is similar to 657a43e (which was reverted), but doesn't modify the behavior of gdk_pixbuf_get_from_surface(). https://bugzilla.gnome.org/show_bug.cgi?id=757147 gdk/gdkpixbuf-drawable.c | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) commit a56a8a8c0262420bc6acce38686c08257cde537c Author: Bastien Nocera Date: Wed Dec 16 12:20:47 2015 +0100 shortcuts: Make sure that hidden shortcuts stay hidden When doing a gtk_widget_show_all() on the shortcuts window, accelerators for both RTL and LTR directions are being shown. Make sure that no-show-all is set by default on hidden shortcuts, and updated if the widget direction changes. https://bugzilla.gnome.org/show_bug.cgi?id=759541 gtk/gtkshortcutsshortcut.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 6c91f5670caa2f0ec0659e9123a52a93d80152ef Author: Matthias Clasen Date: Tue Dec 15 22:01:46 2015 -0500 3.19.5 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5db1dad869aef7c1a1d1eba20e63b7871d78e11c Author: Matthias Clasen Date: Tue Dec 15 23:55:23 2015 -0500 paned: Initialize clip properly This was causing problems in the case when only one of the paned children is visible - we would use uninitialized memory, leading to invalide clip regions. Concretely, the signal tab in the inspector would sometimes not render at all. gtk/gtkpaned.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 42fdfb6af4ac3a689a4ec173a8eb2e80c2681700 Author: Benjamin Otte Date: Wed Dec 16 05:15:04 2015 +0100 renderborder: Actually draw the path as one element Avoids spurious lines that can sometimes be seen going towards the center of the widget. gtk/gtkrenderborder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fab181fcfa782b19dcc96a1c7f5b47033b4c200b Author: Benjamin Otte Date: Wed Dec 16 04:44:52 2015 +0100 builtinicon: Change the way size is handled Make min-width/height have preference over the set default size. This allows shrinking the widget. The default size is only used if min-width is not set (or explicitly set to 0. gtk/gtkbuiltinicon.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 9d56a076cc562913e20f422aad9bfbb19d393518 Author: Benjamin Otte Date: Wed Dec 16 04:08:08 2015 +0100 gadget: Add builtin icon gadget This is to be used in all the places where we now call gtk_render_activity()/option()/check() etc that in turn call the icon render function. gtk/Makefile.am | 2 + gtk/gtkbuiltinicon.c | 203 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkbuiltiniconprivate.h | 65 ++++++++++++++ gtk/gtkspinner.c | 77 +---------------- 4 files changed, 274 insertions(+), 73 deletions(-) commit d3cf3fd267d676f6c4081d45f4eed74ef7732447 Author: Benjamin Otte Date: Wed Dec 16 02:15:20 2015 +0100 rendericon: Move a function The function is identical if used for builtin icons and regular icons (as per iconhelper). So split it out in a way that doesn't assume either. gtk/gtkrendericon.c | 74 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkrendericonprivate.h | 7 +++++ gtk/gtkstylecontext.c | 77 ++++++++-------------------------------------- 3 files changed, 93 insertions(+), 65 deletions(-) commit 152326bd24432e0e56aaaf6aa769025ea9b2de54 Author: Matthias Clasen Date: Tue Dec 15 21:06:53 2015 -0500 paned: Allocate the handle input area properly Drop the margin misuse and use the border allocation of the handle gadget. We use negative margins to make the border allocation larger without pushing the paned children out. gtk/gtkpaned.c | 27 ++++--------------- gtk/theme/Adwaita/_common.scss | 21 +++++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 45 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 45 +++++++++++++++++--------------- 4 files changed, 66 insertions(+), 72 deletions(-) commit b14dc6b5a4a1fa0f8aafe720eddb7c5f28feaec0 Author: Matthias Clasen Date: Tue Dec 15 21:55:22 2015 -0500 gadget: Add api to get the border allocation This can be useful for giving input windows the right size. gtk/gtkcssgadget.c | 28 ++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 4 ++++ 2 files changed, 32 insertions(+) commit 5aec427c1a45c8932810dc0774194a3a8e37e5ad Author: Matthias Clasen Date: Tue Dec 15 20:18:59 2015 -0500 paned: Fix size allocation We were passing negative widths to height-for-width calls that didn't expect this. gtk/gtkpaned.c | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) commit 26d42771efc66a4224e96bd80d9dc13ce8c10220 Author: Benjamin Otte Date: Wed Dec 16 01:44:07 2015 +0100 progressbar: Change the way the progress gadget gets size Size of the progress element now grows also when it's close to 0 size. Previously the size was clamped to the minimum size, now it starts growing from the minimum size. So for a 100px trough with a 10px min size progress, the sizes of the progress element change like this: old new 0% 10 10 5% 10 14 10% 10 19 20% 20 28 50% 50 55 100% 100 100 gtk/gtkprogressbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bf130da741b63c1cdd92969f513aa74258dc3d62 Author: Benjamin Otte Date: Tue Dec 15 21:23:59 2015 +0100 cssimage: Handle 0x0 images 0x0 images can happen when we fail to load an image - or when we successfully load a 0x0 image. gtk/gtkcssimagesurface.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit a11de0da6b4fcc59c752c981921f268dee78e7db Author: Benjamin Otte Date: Tue Dec 15 16:03:25 2015 +0100 stylecontext: Builtin images can be (and are) transformed So don't special-case them out. gtk/gtkstylecontext.c | 5 ----- 1 file changed, 5 deletions(-) commit 75d7f7e756fa129e6ccb8e8df6b35b1acfec554f Author: Benjamin Otte Date: Tue Dec 15 14:52:17 2015 +0100 css: Move enum I want to use it for a gadget, so it's better in the generic file. gtk/gtkcssimagebuiltinprivate.h | 33 --------------------------------- gtk/gtkcsstypesprivate.h | 33 +++++++++++++++++++++++++++++++++ gtk/gtkrendericon.c | 1 + gtk/gtkrendericonprivate.h | 1 - 4 files changed, 34 insertions(+), 34 deletions(-) commit 65b056142bc5e221ad61a3d118234bbfa4c6c977 Author: Matthias Clasen Date: Tue Dec 15 19:45:35 2015 -0500 Really undo the deprecation of separator style properties I hit the wrong one in the previous commit. For good measure, undo depecation for all separator-related style properties. They are still in use. gtk/gtkwidget.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 9b408d911a51875b9c75641f84a739dfe3e1cccf Author: Matthias Clasen Date: Tue Dec 15 19:39:57 2015 -0500 shortcuts: Fix the circular stack switcher The buttons need to set min-width now, to make this work. gtk/gtkshortcutssection.c | 6 ------ gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 4 files changed, 14 insertions(+), 6 deletions(-) commit db684d853d31d47f505ae888c470637ca7d4bc39 Author: Matthias Clasen Date: Tue Dec 15 18:52:17 2015 -0500 Undo deprecation of the wide-separators style property This was premature, as this style property is still used by GtkTreeView and GtkMenu. gtk/gtkwidget.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 60e8cf743dcb03fcd9a18e44aa53dad994775d66 Author: Piotr Drąg Date: Wed Dec 16 01:09:00 2015 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 1b174a6f1633645e86b57112ebac206e84963312 Author: Matthias Clasen Date: Tue Dec 15 18:40:51 2015 -0500 shortcuts: Fix view filtering When adding invisible groups to the pages/columns, we were mistakenly creating new columns because the row count stayed at zero. https://bugzilla.gnome.org/show_bug.cgi?id=759517 gtk/gtkshortcutssection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d3f28192c4af8261ca467ea09ddd73383d545b5 Author: Matthias Clasen Date: Tue Dec 15 18:39:39 2015 -0500 gtk-demo: Add another shortcuts window example The boxes shortcuts, taken straight from boxes. This demonstrates a problem with view filtering. demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/shortcuts-boxes.ui | 167 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/shortcuts.c | 21 +++++ demos/gtk-demo/shortcuts.ui | 21 +++++ 4 files changed, 210 insertions(+) commit 2bb80a9bb2127bf1d6cd4bd078a3cc03222e924a Author: Matthias Clasen Date: Tue Dec 15 18:14:16 2015 -0500 gadget: Fix a thinko in baseline adjustment We are making the allocation smaller, so the baseline needs to get smaller too, not bigger. gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 47632df9a5e86753ff145ce610930321a63f92b0 Author: Carlos Garnacho Date: Tue Dec 15 23:24:59 2015 +0100 gdkevents: Avoid gdk_device_manager_get_client_pointer() It's now deprecated. gdk/gdkevents.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit ee549c9ded901283e8d7d13e1634b5e9f7780c52 Author: Carlos Garnacho Date: Tue Dec 15 23:22:00 2015 +0100 GdkWindow: Listen to ::seat-removed in order to remove pointer info Our actions on ::device-removed only actually applied to master pointers, so listening to GdkDisplay::seat-removed and operating on the seat pointer is equivalent. gdk/gdkwindow.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit b4aa498fe742ac1d95d484903e8cf4f1e0f65e4b Author: Carlos Garnacho Date: Tue Dec 15 23:20:40 2015 +0100 GdkWindow: Iterate through seats in gdk_window_set_cursor() And set the pointer on all seat pointers, equivalent to the master pointer lookup we were performing with GdkDeviceManager gdk/gdkwindow.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) commit ff686344c917abdd816903195454c96f872fd04e Author: Carlos Garnacho Date: Tue Dec 15 23:19:49 2015 +0100 GdkWindow: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gdk/gdkwindow.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 1349ffa0db0cc18fd3edfac1c872bf55e38788cf Author: Carlos Garnacho Date: Tue Dec 15 23:18:10 2015 +0100 gtkdnd: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtkdnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 56c6c722d1ff75ebb79c4c5378e71a78fcce9f4f Author: Carlos Garnacho Date: Tue Dec 15 23:17:53 2015 +0100 GtkPlug: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtkplug.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 3d516449d401d9109b3e2022f5e1f44c61c5f6d1 Author: Carlos Garnacho Date: Tue Dec 15 23:17:37 2015 +0100 GtkTooltip: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtktooltip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7333d7e8bb8fee1ae9bfc4ff2f455a4e3dc58953 Author: Carlos Garnacho Date: Tue Dec 15 23:17:22 2015 +0100 GtkTreeView: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtktreeview.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 253bf3fd38d3c735f90066d893879c7dfc488142 Author: Carlos Garnacho Date: Tue Dec 15 23:17:07 2015 +0100 GtkWidget: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtkwidget.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 6ac16dc4a6853887f669d8e4090255e61179ac9b Author: Carlos Garnacho Date: Tue Dec 15 23:16:11 2015 +0100 GtkWindow: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtkwindow.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 06b28a610b07c1a30849195e538bc85da3623faf Author: Matthias Clasen Date: Tue Dec 15 15:10:08 2015 -0500 flowbox: Don't render focus erroneously The gadget render function should only return TRUE if the widget has the focus, and wants it rendered. gtk/gtkflowbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8858c3aaa0f1df899b533c61459f4f37e8928442 Author: Carlos Soriano Date: Tue Dec 15 15:56:46 2015 +0100 gtkplacesviewrow: plural form for available space We were not supporting plural form of the available space, which is a problem in some languages. However in this case is kind of a difficult matter, since we use a formatted string from glib with g_format_size. To fix it, use the same behavior as g_format_size to decide when it should be used a plural form or not. https://bugzilla.gnome.org/show_bug.cgi?id=759491 gtk/gtkplacesviewrow.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 4eeeb5811d0b026bd55260666f5fc3236ad00479 Author: Matthias Clasen Date: Tue Dec 15 14:12:30 2015 -0500 listbox: Fix an oversight in the row gadget conversion gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf6523d9f23d116fd5637cbe788591431d4b2627 Author: Matthias Clasen Date: Tue Dec 15 14:06:11 2015 -0500 Add some more updates NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit fdb9625f4ff89c74583856c11b644dba714d62fa Author: Matthias Clasen Date: Tue Dec 15 13:14:49 2015 -0500 modelbutton: Remove debug spew gtk/gtkmodelbutton.c | 1 - 1 file changed, 1 deletion(-) commit af4e7b7a8e14b92ba489d6ffe6ebe0a6543c1164 Author: Matthias Clasen Date: Tue Dec 15 10:55:40 2015 -0500 Updates for 3.19.5 NEWS | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 5 deletions(-) commit a6e4de28842002e7bfdf73def26c4c52d9f9126a Author: William Hua Date: Wed Oct 21 23:36:50 2015 -0400 gdkborder: add GdkBorder to gdktypes.h docs/reference/gdk/gdk3-sections.txt | 3 +++ gdk/gdktypes.h | 20 ++++++++++++++++++++ gtk/gtkborder.h | 10 +--------- 3 files changed, 24 insertions(+), 9 deletions(-) commit c6bd3ddb8ad3f829508ceef1dfcb813ebcb08bfa Author: William Hua Date: Wed Sep 23 13:16:31 2015 -0400 gdkwindow: move GdkWindowTypeHint to gdktypes.h gdk/gdktypes.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkwindow.h | 49 ------------------------------------------------- 2 files changed, 48 insertions(+), 49 deletions(-) commit 03bb75b1cf6e48a1db00e0fe1ff371aaf77ee522 Author: Matthias Clasen Date: Tue Dec 15 10:00:21 2015 -0500 gdk: Add gdk_drag_drop_done to the docs docs/reference/gdk/gdk3-sections.txt | 4 ++++ 1 file changed, 4 insertions(+) commit 246fcd6563066f026a1854465b6102ae76c81771 Author: Matthias Clasen Date: Tue Dec 15 09:48:16 2015 -0500 Complete docs for gtk_stack_get_interpolate_size gtk/gtkstack.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 44baf1933092f8409a19ee614f8549b6e35ab0d3 Author: Matthias Clasen Date: Tue Dec 15 06:49:35 2015 -0500 paned: Add a deprecation note gtk/gtkpaned.c | 7 +++++++ 1 file changed, 7 insertions(+) commit d891bb815b6d1808dd908b585c864a3115f8bbea Author: Matthias Clasen Date: Tue Dec 15 06:29:30 2015 -0500 checkbutton: Remove dead code gtk/gtkcheckbutton.c | 14 -------------- 1 file changed, 14 deletions(-) commit e02c21fdd89df227c856b91307c226a507f47fc6 Author: Matthias Clasen Date: Tue Dec 15 06:27:52 2015 -0500 button box: Deprecate style properties These can all be replaced by standard CSS properties. gtk/gtkbbox.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 49e24b05b58b13004a76f7e0ef0370ef191c59f4 Author: Matthias Clasen Date: Sat Dec 12 19:41:40 2015 -0500 flowbox: convert to gadgets gtk/gtkflowbox.c | 998 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 554 insertions(+), 444 deletions(-) commit 3b264ea55519b260c15e61ff6e59b9c49e7b4fbf Author: Matthias Clasen Date: Thu Dec 10 01:39:26 2015 -0500 flowbox: Convert child to gadgets gtk/gtkflowbox.c | 294 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 149 insertions(+), 145 deletions(-) commit 29accad89a8fc744123e4327aa907417a20ae9fa Author: Matthias Clasen Date: Fri Dec 11 23:48:34 2015 -0500 listbox: Convert to gadgets gtk/gtklistbox.c | 372 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 237 insertions(+), 135 deletions(-) commit 9fb3716259b499d3617e96a44acceff2fa134ea9 Author: Matthias Clasen Date: Thu Dec 10 00:43:58 2015 -0500 listbox: Convert rows to gadgets gtk/gtklistbox.c | 229 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 116 insertions(+), 113 deletions(-) commit c2fc1cff32ba13c2f9f3e8b50df7d7ea0ddfbd0b Author: Matthias Clasen Date: Wed Dec 9 00:17:51 2015 -0500 paned: Convert to gadgets gtk/gtkpaned.c | 423 +++++++++++++++++++++---------- gtk/theme/Adwaita/_common.scss | 15 +- gtk/theme/Adwaita/gtk-contained-dark.css | 15 +- gtk/theme/Adwaita/gtk-contained.css | 15 +- 4 files changed, 308 insertions(+), 160 deletions(-) commit 9c63170e70b94a69ade2c8ddb29957f567acb119 Author: Matthias Clasen Date: Tue Dec 8 23:03:38 2015 -0500 stack: Convert to gadgets gtk/gtkstack.c | 314 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 169 insertions(+), 145 deletions(-) commit 48e543fbc88e753a1a496248eaa7f83b5722de86 Author: Matthias Clasen Date: Tue Dec 8 21:43:16 2015 -0500 Adwaita: Update separator toolitem styling Don't set a background for these, since we now draw background. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 12 insertions(+) commit e480fa38412c2b262eb3476a0469957a112d1d67 Author: Matthias Clasen Date: Tue Dec 8 21:14:00 2015 -0500 separator toolitem: Convert to gadgets gtk/gtkseparatortoolitem.c | 137 +++++++++++++++++++++++++++++++++------------ 1 file changed, 102 insertions(+), 35 deletions(-) commit f2dd4350b2b5250e66b70ef4067e3920551e39cf Author: Matthias Clasen Date: Tue Dec 8 16:51:21 2015 -0500 css node: Warn more gtk_css_node_insert_before/after can easily create cycles which later lead to stack overflows. Even if we're not catching all cycles here, at least we can detect obviously invalid arguments, such as inserting a node next to itself. gtk/gtkcssnode.c | 2 ++ 1 file changed, 2 insertions(+) commit e2bc77b9af76769aba9409555025b6c6beadef26 Author: Matthias Clasen Date: Tue Dec 15 00:10:16 2015 -0500 Adwaita: Remove nonsensical expander theming No red backgrounds, please. gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 5 deletions(-) commit 61fb3f828e392683baf9f36becade9e2b1363e43 Author: Matthias Clasen Date: Tue Dec 8 10:04:03 2015 -0500 expander: Convert to gadgets As part of the conversion, add another CSS node for the title area including the arrow and the label. gtk/gtkexpander.c | 833 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 493 insertions(+), 340 deletions(-) commit f0a2f9ef965f113aafb66f4c702503444816d08a Author: Matthias Clasen Date: Mon Dec 7 22:57:34 2015 -0500 revealer: Add CSS node docs gtk/gtkrevealer.c | 4 ++++ 1 file changed, 4 insertions(+) commit f7466b236a92dd7eb536f80a08e833971cb4566f Author: Matthias Clasen Date: Mon Dec 7 22:11:52 2015 -0500 stackswitcher: Stop hardcoding 100px width We can now set a min-width in the theme, so we don't have to hardcode the size request here anymore. https://bugzilla.gnome.org/show_bug.cgi?id=726371 gtk/gtkstackswitcher.c | 5 ----- gtk/theme/Adwaita/_common.scss | 5 +++++ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 4 files changed, 21 insertions(+), 5 deletions(-) commit ad349caa0013996c65b4263c808b0cc5437accfa Author: Matthias Clasen Date: Sun Dec 6 14:27:40 2015 -0500 gadget: Add some documentation gtk/gtkcsscustomgadget.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadget.c | 98 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 207 insertions(+) commit 9c88256441be6bf47f6f7db7e0f76adaf2d02b92 Author: Matthias Clasen Date: Sun Dec 6 01:53:29 2015 -0500 box: Trivial doc change All the CSS sections are named CSS nodes, so do the same here. gtk/gtkbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3561eaa9b7cd92ccd196087077a28c58f035e89 Author: Matthias Clasen Date: Sun Dec 6 01:52:45 2015 -0500 grid: Convert to gadgets gtk/gtkgrid.c | 215 +++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 136 insertions(+), 79 deletions(-) commit e237c947c7fe54392a5b98b05648031d52f3e643 Author: Matthias Clasen Date: Sat Dec 5 23:59:38 2015 -0500 headerbar: Convert to gadgets gtk/gtkheaderbar.c | 256 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 150 insertions(+), 106 deletions(-) commit 90109cfe4cac14b250dd938544a5e11363e2192c Author: Matthias Clasen Date: Sat Dec 5 23:10:52 2015 -0500 actionbar: Convert to gadgets This is a nice example of a trivial container conversion. gtk/gtkactionbar.c | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) commit 0f7dbc3bbde27d99479d66e958ff11f0c260da4c Author: Matthias Clasen Date: Mon Dec 14 23:35:45 2015 -0500 Adwaita: No padding for image buttons in popovers gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 12 insertions(+) commit 736d864d18fd2168cbf5e446a515293f994df2d0 Author: Matthias Clasen Date: Sat Dec 5 01:42:41 2015 -0500 modelbutton: Port to gadgets gtk/gtkmodelbutton.c | 636 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 392 insertions(+), 244 deletions(-) commit 782c2762bf55fb17402f534267c370cf460869af Author: Matthias Clasen Date: Fri Dec 4 07:52:18 2015 -0500 gadget: Be more forgiving to size inconsistencies Instead of asserting if we hit negative content sizes, warn and continue. This is easier to work with in this transition period. gtk/gtkcssgadget.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit a52c3a3db9e1c5e141fa4385ec27bdaa8d7b9b94 Author: Matthias Clasen Date: Mon Dec 14 21:43:20 2015 -0500 radiobutton: Port radio buttons to gadgets This was already mostly done by inheritance from GtkCheckButton. To complete it, stop using the draw_indicator vfunc for radio buttons, and instead make the indicator gadget draw either a check or radio. gtk/gtkcheckbutton.c | 29 ++++++++++++---------------- gtk/gtkradiobutton.c | 54 ---------------------------------------------------- 2 files changed, 12 insertions(+), 71 deletions(-) commit 233179d37416b69706d19ed8fb486eef720838bc Author: Matthias Clasen Date: Fri Dec 4 00:34:52 2015 -0500 check button: Convert to gadgets Use a gadget for the button, and for the indicator. A complication here is that GtkCheckButton (and GtkRadioButton) have a totally different appearance depending on the ::draw-indicator property. If an indicator is not required, we just reuse the GtkButton gadget. This mostly works; some minor sizing issues left, e.g. cranking up the indicator-size causes the checkbutton grid in testgtk to overlap. gtk/gtkcheckbutton.c | 674 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 420 insertions(+), 254 deletions(-) commit 37e9d926329b8d9fd91f8022bff7c5e2c75dc7e5 Author: Matthias Clasen Date: Thu Dec 3 21:56:25 2015 -0500 button: Convert to gadgets gtk/gtkbutton.c | 340 +++++++++++++++++++------------------------------ gtk/gtkbuttonprivate.h | 2 + 2 files changed, 131 insertions(+), 211 deletions(-) commit a81267c28e4e0368cd0e23b661e1c8c53f8194fb Author: Matthias Clasen Date: Thu Dec 3 14:22:50 2015 -0500 label: Convert to gadgets This removes some hairy code handling with borders and padding, which may or may not be correct. The examples in testheightforwidth all continue to work, and min-width now works for labels. gtk/gtklabel.c | 306 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 152 insertions(+), 154 deletions(-) commit ff9f3c108f954dfa382ab6623b5fa7bf4434a77a Author: Matthias Clasen Date: Mon Dec 14 16:10:54 2015 -0500 Adwaita: Update color swatch styling The adjustments here are provisional and need an artistic eye. gtk/theme/Adwaita/_common.scss | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 25 ++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 25 ++++++++++++++----------- 3 files changed, 36 insertions(+), 30 deletions(-) commit c376e82702170ce188271b6b518ebb46495f56ad Author: Matthias Clasen Date: Mon Dec 14 16:10:28 2015 -0500 colorswatch: Convert to gadgets Use gadgets for the widget and the overlay. gtk/gtkcolorswatch.c | 306 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 200 insertions(+), 106 deletions(-) commit fcca496734a3dffa13e5d8d95f7ab6cb2c1136e0 Author: Matthias Clasen Date: Mon Dec 14 15:57:38 2015 -0500 widget: Deprecate some style properties Deprecate the ::wide-separators and ::separator-width/height style properties. gtk/gtkwidget.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 20e1ff44e8d7142ac2b7bec70e38078505cd0150 Author: Matthias Clasen Date: Mon Dec 14 15:56:56 2015 -0500 Adwaita: Update separator styling Separators no longer draw a line with the foreground color, but instead just draw background. gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit 17be791b0b8533e08dcff6a395dbee26851e7518 Author: Matthias Clasen Date: Mon Dec 14 15:56:29 2015 -0500 separator: port to gadgets As part of this, stop using custom rendering code for wide and non-wide separators. gtk/gtkseparator.c | 115 ++++++++++++++++++++++++++--------------------------- 1 file changed, 57 insertions(+), 58 deletions(-) commit 9e278293ca98b25649b93abe1bed385bc607eb2d Author: Matthias Clasen Date: Thu Nov 26 14:59:57 2015 -0500 spinner: Use a gadget This gives us min-width/height support. Currently, the spinner still has a hardcoded minimum size of 16 and doesn't grow beyond 32. We may want to revisit that at some point. gtk/gtkspinner.c | 267 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 159 insertions(+), 108 deletions(-) commit fffa84b843c1cd2398945115fad43c911fca99a4 Author: Matthias Clasen Date: Tue Nov 24 07:22:52 2015 -0500 progressbar: Convert to gadgets Use gadgets for the text, the trough and the progress. gtk/gtkprogressbar.c | 1077 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 641 insertions(+), 436 deletions(-) commit 1f6efbf66906350a930fd4766f06bd849a30e96f Author: Benjamin Otte Date: Mon Dec 14 05:29:35 2015 +0100 iconhelper: Queue resize on invalidation When things change in the iconhelper, queue a resize on the owner widget so that it automatically resizes. Only do this for iconhelpers that are used as gadgets though, not for temporary helpers - and to check this, check if the node is transient. gtk/gtkiconhelper.c | 4 ++++ 1 file changed, 4 insertions(+) commit 3a77da9df2d5329a322204f09be4fa6100c85a48 Author: Benjamin Otte Date: Mon De