commit 363df54e54cfae7244bd155e4199af145bc13088 Author: Matthias Clasen Date: Wed Dec 12 12:11:48 2018 -0500 3.24.2 NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 45 insertions(+), 2 deletions(-) commit 38edc38f21951b33daf5cd593f74ffc30ade5d5b Author: Matthias Clasen Date: Wed Dec 12 13:34:32 2018 -0500 Skip GdkPixbuf in default-value tests testsuite/gtk/defaultvalue.c | 4 ++++ 1 file changed, 4 insertions(+) commit b26cdd6d27a8ea7bd808a8861182797de232d174 Author: Matthias Clasen Date: Wed Dec 12 13:34:17 2018 -0500 Update some a11y test results testsuite/a11y/colorchooser.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5aedfe048b0fe07382433f1a78ec5bd26acd82dd Author: Matthias Clasen Date: Wed Dec 12 12:45:37 2018 -0500 Fix deprecation warnings docs/tools/shooter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4c8fcd6a6f2adf9686296f8447895c0e2910075c Author: Szunti Date: Wed Oct 17 21:53:49 2018 +0200 Add gdk_x11_display_get_parent_relative_pattern(). Fixes #1280, tray icons not drawing background. This is a magic pattern only usable for gdk_window_set_background_pattern() that sets the underlying X window's background to ParentRelative. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkwindow.c | 11 +++++------ gdk/x11/gdkmain-x11.c | 22 ++++++++++++++++++++++ gdk/x11/gdkwindow-x11.c | 25 +++++++++++++++++++++++++ gdk/x11/gdkx11utils.h | 3 +++ gtk/deprecated/gtktrayicon-x11.c | 3 ++- 6 files changed, 58 insertions(+), 7 deletions(-) commit 4247fb606a072723d76fdd913e436b547cac470b Author: Jakub Steiner Date: Mon Dec 10 18:53:19 2018 +0100 Adwaita: revert all gnome 3.32 changes - all changes now in wip/jimmac/gnome-3-32 branch gtk/theme/Adwaita/_colors.scss | 18 +- gtk/theme/Adwaita/_common.scss | 84 +-- gtk/theme/Adwaita/_drawing.scss | 42 +- gtk/theme/Adwaita/gtk-contained-dark.css | 955 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 895 ++++++++++++++--------------- 5 files changed, 937 insertions(+), 1057 deletions(-) commit 403f4c9daebcc8e69d5aef6ceb51007ca52ce5be Merge: fcecc761cb ffeacd5ae3 Author: Emmanuele Bassi Date: Mon Dec 10 16:39:12 2018 +0000 Merge branch 'issue1507' into 'gtk-3-24' a11y: Check X11 display at runtime See merge request GNOME/gtk!450 commit ffeacd5ae3bd8037b0671644b56da780d5dc85c8 Author: Olivier Fourdan Date: Mon Dec 10 17:05:53 2018 +0100 a11y: Check X11 display at runtime `gtk_widget_accessible_grab_focus()` code checks that X11 isenabled at build time and uses X11 specific functions such as `gdk_x11_get_server_time()` regardless of the actual backend being used. Check that we are using an X11 display when X11 is backend enabled, so we do not crash when running on Wayland Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1507 gtk/a11y/gtkwidgetaccessible.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit fcecc761cbe0a6ba5282e112de50186453e5ace4 Author: Jakub Steiner Date: Mon Dec 10 12:36:39 2018 +0100 Adwaita: selected borders darker for :dark - switches in particular looked undefined gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 54 ++++++++++++++++---------------- 2 files changed, 28 insertions(+), 28 deletions(-) commit ecfdd186fe00136e93f67d2f5f14a9f8da384586 Author: Jakub Steiner Date: Mon Dec 10 12:29:08 2018 +0100 Adwaita: tone down $base_color saturation gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 230 +++++++++++++++---------------- 2 files changed, 116 insertions(+), 116 deletions(-) commit 720bc7083c178c681dd7ead5e8ef7a983a10b31d Author: Jakub Steiner Date: Mon Dec 10 12:19:09 2018 +0100 Adwaita: special case round buttons - defining gradients outside of _drawing while Lapo isn't looking. Surely this will bite us in the future. gtk/theme/Adwaita/_common.scss | 12 ++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 14 insertions(+), 6 deletions(-) commit ad7eeb7a23e45eb45b6d9ebbfbca59159c5613ef Author: Jakub Steiner Date: Mon Dec 10 11:47:53 2018 +0100 Adwaita: gradient undershoots - based on a patch by frederik.feichtmeier I'm certain this is something we had initially, but can't recall why we got rid of it for the more visually distracting dashed line. We can always revert when Lapo shows up and slams us with that broken use case. I'm guessing non-white bgs. - So far it looks way less distracting than the dashed line gtk/theme/Adwaita/_drawing.scss | 28 +++++++++++++++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 35 insertions(+), 17 deletions(-) commit 15935bb248ff42c89abbd52d2ea9c711d5eea368 Merge: f9a1453b94 8797deb4b2 Author: Chun-wei Fan Date: Mon Dec 10 06:20:34 2018 +0000 Merge branch 'win10-use-system-font' into 'gtk-3-24' GDK W32: Always set gtk-font-name to the active UI font. Fixes #1484 See merge request GNOME/gtk!436 commit f9a1453b94f4ab62e45e62fb900b6fb6e4df09c2 Author: Matej Urbančič Date: Sun Dec 9 21:26:10 2018 +0100 Updated Slovenian translation po/sl.po | 2131 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 1799 insertions(+), 332 deletions(-) commit fcb1da09697ad0ecd64a18bff3ea8b63b9f6990d Author: Charles Monzat Date: Sun Dec 9 15:21:55 2018 +0100 Updated French translation po-properties/fr.po | 214 +++++++++++++------------- po/fr.po | 420 ++++++++++++++++++++++++++-------------------------- 2 files changed, 321 insertions(+), 313 deletions(-) commit 46bee8b9fe51d94bc586396dbf06e7eb094432f3 Merge: 239c95af47 833ddc6e8d Author: John Ralls Date: Sat Dec 8 11:28:32 2018 -0800 Merge branch 'quartz-monitor' into gtk-3-24 commit 8797deb4b2ff19477176b90c92f010fafc6d2210 Author: Christoph Reiter Date: Sat Dec 8 14:16:58 2018 +0100 Visual Studio builds: update for gdk now using pangowin32. See !436 build/win32/vs10/gtk3-build-defines.props | 4 ++-- build/win32/vs9/gtk3-build-defines.vsprops | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 833ddc6e8d12a3591d1b25093e5d2977c815c246 Author: John Ralls Date: Fri Dec 7 16:21:10 2018 -0800 Silence enum type warning in 10.9. gdk/quartz/gdkwindow-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e212cd98194f4baddd821e63a2181ec24863fd3 Author: John Ralls Date: Mon Nov 26 21:38:35 2018 +0900 Prevent crash if display->touch_implicit_grabs is NULL. gdk/gdkdisplay.c | 5 +++++ 1 file changed, 5 insertions(+) commit 5294c4f6f33c8071d9c948752c4e3bd728746890 Author: John Ralls Date: Mon Nov 26 09:51:36 2018 +0900 Fix crash if there are no grabs in place. gdk/gdkdisplay.c | 5 +++++ 1 file changed, 5 insertions(+) commit e786da9ca9bed9db24177369bf4caf66fd50081c Author: John Ralls Date: Sun Nov 25 11:42:34 2018 +0900 Complete GdkQuartzDisplay Implementation. Changing FIXME on unneeded functions to X11-only where appropriate. gdk/quartz/gdkdisplay-quartz.c | 70 +++++++++++++++++++++++++++++------------- gdk/quartz/gdkwindow-quartz.c | 11 ++----- 2 files changed, 51 insertions(+), 30 deletions(-) commit 89c8c55fdaaa573d824450610dc30df97a3f6495 Author: John Ralls Date: Fri Nov 23 17:34:45 2018 +0900 Remove 2 unused functions. gdk/quartz/gdkkeys-quartz.c | 32 -------------------------------- gdk/quartz/gdkproperty-quartz.c | 20 -------------------- 2 files changed, 52 deletions(-) commit eb2799cd7a8c50b358bb1e3b8f1c91f00d810cf6 Author: John Ralls Date: Fri Nov 23 17:12:10 2018 +0900 Make _gdk_quartz_window_flush a no-op for MacOS 10.14 and later. According to Apple's docs it's no longer necessary as Cocoa will notice any changes and call drawRect as needed. gdk/quartz/gdkwindow-quartz.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 1165ab9d27574445489b21ed9beb4b8a7f872907 Author: John Ralls Date: Fri Nov 23 10:23:02 2018 +0900 Replace deprecated gestalt for 10.10 and later. It was deprecated in 10.8 but no replacement until 10.10. gdk/quartz/gdkglobals-quartz.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ca6db9a79da13a7329c1e97e1334421418a58630 Author: John Ralls Date: Fri Nov 23 09:46:28 2018 +0900 Add compile-time check for NSGraphicsContext graphicsPort/CGContext. Runtime check alone doesn't silence warning. gdk/quartz/gdkwindow-quartz.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit f30ed5ddc75ef7fe4d6c1f05cb87fc2b1502aabc Author: John Ralls Date: Mon Dec 3 21:06:41 2018 +0900 Fix Cocoa style and event constants for MacOS X 10.12 and later. gdk/quartz/GdkQuartzNSWindow.c | 27 ++++++- gdk/quartz/gdkeventloop-quartz.c | 18 ++++- gdk/quartz/gdkevents-quartz.c | 165 +++++++++++++++++++++------------------ gdk/quartz/gdkkeys-quartz.c | 24 +++--- gdk/quartz/gdkquartzkeys.h | 73 +++++++++++++++++ gdk/quartz/gdkselection-quartz.c | 28 +++++-- gdk/quartz/gdkwindow-quartz.c | 81 ++++++++++++------- 7 files changed, 285 insertions(+), 131 deletions(-) commit 941f3c3887da63eb5040fc932912ebbb2ca6a7c2 Author: John Ralls Date: Wed Nov 21 21:32:41 2018 +0900 Move the CGDisplayReconfigurationCallback to gdkdisplay-quartz.c. Handling more flags, handling them correctly, and emitting the requisite signals. Change screen layout to use CGGetActiveDisplayList instead of NSScreens, eliminating the latency between updating screens and recomputing the root window. gdk/quartz/gdkdisplay-quartz.c | 167 ++++++++++++++++++++++++++++++----------- gdk/quartz/gdkmonitor-quartz.h | 2 +- gdk/quartz/gdkscreen-quartz.c | 150 ++++++------------------------------ gdk/quartz/gdkscreen-quartz.h | 2 + 4 files changed, 148 insertions(+), 173 deletions(-) commit 9773b1951c4b1cea687343b568e2c119c456fbe4 Author: John Ralls Date: Mon Dec 3 21:26:39 2018 +0900 Clean up some unused variables. gdk/quartz/GdkQuartzNSWindow.c | 10 +++++----- gdk/quartz/GdkQuartzView.c | 3 --- 2 files changed, 5 insertions(+), 8 deletions(-) commit 85f52dceaa8ab71c3d00d2518c819a957cae946f Author: John Ralls Date: Mon Dec 3 21:25:38 2018 +0900 Replace NSInputManager for MacOS 10.6 and later. gdk/quartz/GdkQuartzView.c | 5 +++++ 1 file changed, 5 insertions(+) commit 08b871fa51eae7b73529768e1bcb21587cfb4393 Author: John Ralls Date: Mon Dec 3 21:24:03 2018 +0900 Replace the deprecated GdkDisplayManager with GdkSeat. gdk/quartz/GdkQuartzNSWindow.c | 8 +- gdk/quartz/gdkdevice-core-quartz.c | 2 +- gdk/quartz/gdkdevicemanager-core-quartz.c | 1 + gdk/quartz/gdkdisplaymanager-quartz.c | 1 - gdk/quartz/gdkevents-quartz.c | 121 ++++++++++++------------------ gdk/quartz/gdkwindow-quartz.c | 59 +++------------ 6 files changed, 60 insertions(+), 132 deletions(-) commit 28b8bbda455e8d4dae8349fbdbc324d7f5a6d869 Author: John Ralls Date: Mon Dec 3 21:22:19 2018 +0900 Implement the GdkMonitor/GdkDisplay API. Moving the initialization of the GdkQuartzMonitors to GdkQuartzDisplay from the now-obsolete GdkQuartzScreen. Use QuartzDisplayServices for monitor enumeration and to populate the GdkMonitor properties. This is better aligned with acting on the Quartz Services callbacks for monitor changes and with Cairo which also uses CoreGraphics for drawing. gdk/quartz/gdkdisplay-quartz.c | 83 ++++++++++++++++++++++++++++++++++++------ gdk/quartz/gdkdisplay-quartz.h | 2 +- gdk/quartz/gdkmonitor-quartz.h | 1 - gdk/quartz/gdkscreen-quartz.c | 17 +-------- 4 files changed, 74 insertions(+), 29 deletions(-) commit cf279a14fa454572b43f7e2284712d277dd725bb Author: John Ralls Date: Mon Dec 3 21:14:25 2018 +0900 Don't attempt to dereference icon_theme until after checking it. gtk/gtkicontheme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6ac81545ef9763062a209466c89d1975fae925aa Author: John Ralls Date: Mon Dec 3 21:13:15 2018 +0900 Prevent crash from passing NULL style provider. gtk_internal_return_val_if_fail operates only in debug mode, quartz can call this with a NULL that crashes in GTK_STYLE_PROVIDER_PRIVATE_GET_INTERFACE. gtk/gtkstyleproviderprivate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4d0cae4468e111c29b2a5b393b4188d417e2e270 Author: John Ralls Date: Mon Dec 3 21:03:34 2018 +0900 Replace convertBaseToScreen & convertScreenToBase. With convertPointToScreen & convertPointFromScreen when MacOS version is > =10.7, when the earlier functions were deprecated and replaced. gdk/quartz/GdkQuartzNSWindow.c | 50 +++++++++++++++++++++++++++++++++++++++--- gdk/quartz/GdkQuartzNSWindow.h | 5 ++++- gdk/quartz/gdkevents-quartz.c | 19 +++++++++++----- 3 files changed, 65 insertions(+), 9 deletions(-) commit 74aecac6fe4b69b4a5f53e7f7a843d920a5133fb Author: John Ralls Date: Sat Nov 17 09:46:55 2018 +0900 Remove commented-out code copied from X11 implementation. gdk/quartz/gdkdisplay-quartz.h | 122 ----------------------------------------- 1 file changed, 122 deletions(-) commit 2b1c3fba9688226caa4cb6e8ab1db2efb20af688 Author: John Ralls Date: Sat Nov 17 09:46:21 2018 +0900 Reorder virtual method assignments and fill in missing ones. Makes auditing easier. gdk/quartz/gdkdisplay-quartz.c | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) commit 239c95af476de9ddc910dfc4b2736ee85dc8276f Author: Jakub Steiner Date: Fri Dec 7 18:20:57 2018 +0100 Adwaita: buttons - less dramatic gradient on the buttons gtk/theme/Adwaita/_drawing.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 18 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 36 ++++++++++++++++---------------- 3 files changed, 30 insertions(+), 30 deletions(-) commit 9c6c1641f1812949f1ff09254e70ca7e9209e7cc Author: Iñaki Larrañaga Murgoitio Date: Fri Dec 7 12:45:50 2018 +0000 Update Basque translation po/eu.po | 2908 ++++++++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 2263 insertions(+), 645 deletions(-) commit 0fbb32a6faf626f1ad56742a924355b45ebd1177 Author: Iñaki Larrañaga Murgoitio Date: Fri Dec 7 12:44:34 2018 +0000 Update Basque translation po-properties/eu.po | 1900 +++++++++++++++++++++++++++------------------------ 1 file changed, 992 insertions(+), 908 deletions(-) commit a4f3021693323f3ab29832404a07ac001e2073aa Author: Jakub Steiner Date: Fri Dec 7 12:04:17 2018 +0100 Adwaita: regenerate CSS - for the previous patch gtk/theme/Adwaita/gtk-contained-dark.css | 14 ++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 14 ++++++++++---- 2 files changed, 20 insertions(+), 8 deletions(-) commit f4d2cb0b08681c4dffc49bf8d94302bfa18902c1 Merge: 152b89e812 1d90c72f44 Author: Jakub Steiner Date: Fri Dec 7 10:27:00 2018 +0000 Merge branch 'context_menus_gtk-3-24' into 'gtk-3-24' GtkTheme: Menu border-radius and box-shadow changes See merge request GNOME/gtk!439 commit 9e7cc89f4a2f35fce4fbec3f7e8263bb9cddae36 Author: Christoph Reiter Date: Thu Nov 29 23:19:38 2018 +0100 GDK W32: Always set gtk-font-name to the active UI font. Fixes #1484 This makes apps use "Segoe UI 9" by default instead of whatever matches "Sans 10". It also cleans up the code and uses some new pango API while at it. This was previously disabled in 9e686d1fb5cb20 because it led to a poor glyph coverage on certain versions of Windows which don't default to "Segoe UI 9" (Chinese, Korean, ..) because the font fallback list was missing in pango. This is about to get fixed in https://gitlab.gnome.org/GNOME/pango/merge_requests/34 so enable it again when we detect a new enough pango version. gdk/win32/gdkproperty-win32.c | 94 +++++++++++++++++++++---------------------- 1 file changed, 45 insertions(+), 49 deletions(-) commit 152b89e812e8af2592cd28e47b1eb4e25fe5cf5f Author: Jakub Steiner Date: Fri Dec 7 00:58:58 2018 +0100 Adwaita: lower selection border contrast - to mimic what happened to regular borders gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained.css | 54 ++++++++++++++++++------------------- 2 files changed, 28 insertions(+), 28 deletions(-) commit 1d90c72f4409211097333eb53933668dfd4f87ff Author: frederik.feichtmeier Date: Thu Dec 6 22:49:38 2018 +0100 Menu border-radius and bos-shadow changes - introduce $menu_radius - use it for menus and context-menus - use the popover box-shadow also for menus - use padding for menus to avoid edge overlapping - remove the background for menus to avoid bleeding out of the round edges gtk/theme/Adwaita/_common.scss | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit 5e127cff12ab86c8123c3402e9aa6e2a5746886d Author: Jakub Steiner Date: Wed Dec 5 16:19:46 2018 +0100 Adwaita: buttons & headerbar tweaks - tone down the button z-depth - flatter headerbars gtk/theme/Adwaita/_drawing.scss | 12 ++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 42 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 42 ++++++++++++++++---------------- 3 files changed, 48 insertions(+), 48 deletions(-) commit b0fdaf3bf0060c6f4ef09f56164aeedb7e53530c Author: Daniel Boles Date: Tue Dec 4 20:37:08 2018 +0000 Box, Grid: Improve various bits of documentation Issue #1495 showed that the docs of GtkGrid retain outdated implications that (as was once, but is no longer, the case) it is intended to replace GtkBox, by discussing HfW and widget properties in a way that suggests GtkBox can't handle them. But of course it does, and it's preferable for simple single-row/column cases. Worse, we said GtkGrid “provides exactly the same functionality” for the latter case, but the original point of that Issues was that it doesn’t, at least for CSS positional selectors! Box: • Use an actually meaningful @Short_description. • Remove unhelpful @See_also references to unrelated containers. • Remove references to “rectangular area”: it might be another shape via CSS, or “rectangular” might falsely imply 2 dimensions of children. • Mention Orientable:orientation. • Emphasise usefulness of :[hv]align for allocating in the other axis. • Don’t say that Grid “provides exactly the same functionality” for a single row or column, since (A) it is overkill for that case and (B) said Issue proved that it *doesn’t* for CSS child order, for example. • Note in the child properties that are remove in master that we have better, preferred alternatives available now in GtkWidget/CSS props. There’s no nice way to deprecate these, though they’re gone in GTK+ 4. • Correct a copy-paste-o from the blurb of :expand to :fill. Grid: • Remove references to deprecated widgets: GtkTable and Gtk[HV]Box. • Don’t dwell on widget properties and height-for-width in a way that wrongly implies that Box can’t handle those (or Grid can better). In fact, just get rid of that bit altogether: Box handles them fine, and Table is so old as to be not worth mentioning (in anything except the 2 => 3 migration guide) and points to Grid in its deprecation notice. • Point to GtkBox as being preferred for the simple row/column use case. gtk/gtkbox.c | 41 +++++++++++++++++++++++------------------ gtk/gtkgrid.c | 10 ++++------ 2 files changed, 27 insertions(+), 24 deletions(-) commit b74e3209a5af03678ade12bfe6936171ff204b8c Author: Matthias Clasen Date: Mon Dec 3 21:46:09 2018 -0500 emoji chooser: Actually force Emoji presentation The previous commit was using the text presentation selector instead of the Emoji one. Oops. gtk/gtkemojichooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2de557207656f339230bf5c07608a99f97b637c9 Merge: aac38198a3 5a23c0f038 Author: Christoph Reiter Date: Sat Dec 1 16:02:51 2018 +0000 Merge branch 'win32-fontconfig-defaults' into 'gtk-3-24' GDK W32: set default settings for fontconfig See merge request GNOME/gtk!437 commit 5a23c0f038be973fed7b2e0fe6e0a5bb2cb307ee Author: Christoph Reiter Date: Sat Dec 1 10:38:10 2018 +0100 GDK W32: set default settings for fontconfig Enables hinting, antialiasing and set the subpixel orientation according to the active clear type setting. This ensures that font rendering with the fontconfig backend looks similar to the win32 backend, at least with the default system font. gdk/win32/gdkproperty-win32.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit aac38198a3f5636c84033337c16df374f410b1e9 Author: Matthias Clasen Date: Tue Nov 27 18:16:43 2018 -0500 Force emoji presentation Append a variation selector to the Emoji sequences, to force Emoji presentation. Without this, some Emoji come out with text presentation by default. Closes: Pango #334 gtk/gtkemojichooser.c | 1 + gtk/gtkemojicompletion.c | 1 + 2 files changed, 2 insertions(+) commit be7546091351b4ec933490c6e788feabfc676fa4 Author: Jakub Steiner Date: Fri Nov 30 20:53:13 2018 +0100 Adwaita: updated switch control - might be nasty to hide labels with CSS. We can fix properly later. - the blue border seesm aliased when :checked gtk/theme/Adwaita/_common.scss | 11 +++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 11 insertions(+), 8 deletions(-) commit ea7a7e0425daaa86dea1707534057d9a13a7ff87 Author: Jakub Steiner Date: Thu Nov 29 21:54:56 2018 +0100 Adwaita: shade buttons - it was a bit too flat gtk/theme/Adwaita/_drawing.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 18 +++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 18 +++++++++--------- 3 files changed, 20 insertions(+), 20 deletions(-) commit e68e75c34cea4b5321e4eedada2dbcb7adccf5e8 Author: Jakub Steiner Date: Thu Nov 29 20:48:47 2018 +0100 Adwaita: unbreak icon-shadow again - Somehow I keep messing this one up fixes https://gitlab.gnome.org/GNOME/gtk/issues/1456 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 8e3541b28f76aa48f8b5407195a2b4e365f99124 Author: Jakub Steiner Date: Thu Nov 29 20:21:58 2018 +0100 Adwaita: active state for dark buttons - was a bit too light. Tricky to tell which is pushed when you have two stackswitcher buttons. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) commit 9a8f92f06846879f6b794b991ef82da57472758e Author: Jakub Steiner Date: Thu Nov 29 20:11:39 2018 +0100 Adwaita: button tweaks - step back on toning down the borders. Flatness !> legibility. - darker active state for light - draw gradinets from bottom up, to keep px sized shading regardless of button size. gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_drawing.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 36 ++-- gtk/theme/Adwaita/gtk-contained.css | 272 +++++++++++++++---------------- 4 files changed, 160 insertions(+), 160 deletions(-) commit 4cceccd129067917c2669f3119e88d634995a4fa Author: Jakub Steiner Date: Thu Nov 29 14:34:53 2018 +0100 Adwaita: headerbar backdrop state gtk/theme/Adwaita/_common.scss | 8 +++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 13 insertions(+), 3 deletions(-) commit 96f0b541bbc3a237abfe0ded2872a7333b00dee5 Author: Jakub Steiner Date: Thu Nov 29 13:12:44 2018 +0100 Adwaita: sync headerbar styling for devel mode gtk/theme/Adwaita/_common.scss | 13 +++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 13 insertions(+), 4 deletions(-) commit a386bc98d7200a252fb23039839b790a68c73481 Author: Jakub Steiner Date: Wed Nov 28 20:27:44 2018 +0100 Adwaita: flatten the headerbar again gtk/theme/Adwaita/_drawing.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 9b9b15c1a07faa73efae3ad0cf45c1cc437aea4f Author: Jakub Steiner Date: Wed Nov 28 14:17:37 2018 +0100 Adwaita: tune button & hederbar colors gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/_drawing.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 270 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 4 +- 5 files changed, 142 insertions(+), 142 deletions(-) commit 00556bd6cb0d7dcb1604b414acc67969c4a5dcdb Author: Jakub Steiner Date: Wed Nov 28 00:16:20 2018 +0100 Adwaita: buttons & headerbars - tone down the bottom border contrast (increase bottom lightness, decrease overall lightness) - darken headerbars slightly (might require darkening wm colors when dust settles) gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 34 ++-- gtk/theme/Adwaita/gtk-contained.css | 262 +++++++++++++++---------------- 4 files changed, 151 insertions(+), 151 deletions(-) commit 1dd0b8e6aaacbf3ed62420d9c01618e2df5e714f Merge: 0271471b81 3312d78863 Author: Matthias Clasen Date: Tue Nov 27 18:59:13 2018 +0000 Merge branch 'escape-included-svg' into 'gtk-3-24' (#1471): base64-encode included SVGs to avoid mis-escaped characters See merge request GNOME/gtk!429 commit 3312d78863435282546f031389e69b530851013a Author: Federico Mena Quintero Date: Tue Nov 27 12:13:31 2018 -0600 (#1471): base64-encode included SVGs to avoid mis-escaped characters We wrap SVG data from icons within another SVG with extra styling information. The wrapped SVG may contain characters that cannot be part of a data: URL (https://fetch.spec.whatwg.org/#data-urls). Librsvg 2.45 got more strict in its parsing of data: URLs; whereas previously it ignored '#' characters in them, now it considers them to be the start of a fragment identifier, which is not allowed in data: URLs anyway. To avoid unallowed characters, we now create a data: URL with a base-64 encoded SVG. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1471 gtk/encodesymbolic.c | 4 ++-- gtk/gtkicontheme.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 0271471b817f262981ac085e00e1850d7a39e238 Author: Jakub Steiner Date: Mon Nov 26 17:31:19 2018 +0100 Adwaita: app icon shadow fix - of course I'd miss the _ to - change 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 ffde7d780d6f966c6112a34e1079bc84549f9499 Author: Jakub Steiner Date: Wed Oct 31 18:31:11 2018 +0100 Adwaita: help fullcolor app icons - draw a large dropshadow for aboutboxes - draw an outline for low res See issues #1434 and #1445. 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 insertions(+) commit d48c95a562db322510b0df8054dca00b2bf80fa3 Merge: a139b63304 83204dd882 Author: Christoph Reiter Date: Sat Nov 24 09:33:35 2018 +0000 Merge branch 'win32-remove-scroll-multiplier' into 'gtk-3-24' win32: Don't multiply the scroll event deltas by the Windows scroll lines setting. See #1408 See merge request GNOME/gtk!426 commit 83204dd882db2d74395f9a17207c9c4070f254cd Author: Christoph Reiter Date: Wed Nov 21 20:34:29 2018 +0100 win32: Don't multiply the scroll event deltas by the Windows scroll lines setting. See #1408 GTK widgets expect the scroll deltas to be 1 or -1 and calculate a scroll value from that. Multiplying the delta by the Windows scroll line setting (which defaults to 3) results in a much larger delta and vastly different behaviour for running a GTK app on Windows vs on Linux. For example text view and tree view scroll by 9 lines per scroll wheel tick per default this way while on Linux it is around 3. Remove the multiplication for now. gdk/win32/gdkevents-win32.c | 14 -------------- 1 file changed, 14 deletions(-) commit a139b633044d2c8fb8bac68c5f46e4c405853b58 Author: Jakub Steiner Date: Fri Nov 23 17:32:46 2018 +0100 Adwaita: tone down borders, buttons - very contrasty lines feel dated in today's flat world - tone down the contrast a little gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_drawing.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 282 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 264 ++++++++++++++--------------- 4 files changed, 279 insertions(+), 279 deletions(-) commit f968fdf3a1b0921ce52fb9511403f7a81dda8c7c Author: Jakub Steiner Date: Thu Nov 22 13:20:10 2018 +0100 Adwaita: list buttons - tone down buttons when inside lists Fixes issue #1473 gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++++- gtk/theme/Adwaita/gtk-contained.css | 6 +++++- 3 files changed, 16 insertions(+), 2 deletions(-) commit 91129be95c05726ea1bee23b9425f63d390905dd Merge: 356f1f59ae b150699510 Author: Timm Bäder Date: Wed Nov 21 06:31:23 2018 +0000 Merge branch 'emit-transient-for' into 'gtk-3-24' window: Actually emit notify::transient-for See merge request GNOME/gtk!425 commit b150699510e3a8d88a7ca70497a22bcffa1497c6 Author: Zander Brown Date: Mon Nov 19 21:07:17 2018 +0000 window: Actually emit notify::transient-for Because it seems we weren't doing that gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 356f1f59aeba13192227da96986a7dc31614c06a Author: Benjamin Berg Date: Mon Nov 19 13:48:36 2018 +0100 container: Document that removal from foreach is permissible It is permissable to remove a widget using gtk_container_remove from the gtk_container_foreach callback handler. Document this fact to make it more discoverable. Fixes #1461 gtk/gtkcontainer.c | 2 ++ gtk/gtkcontainer.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 0040b256fe31609f87ed8dbcd5fa42c1f5c7dc20 Merge: 5e78646256 dea9525f68 Author: Timm Bäder Date: Mon Nov 19 08:04:48 2018 +0000 Merge branch 'gdk-cursor-new-deprecated-for' into 'gtk-3-24' gdk: Add deprecated for macro for gdk_cursor_new See merge request GNOME/gtk!416 commit 5e78646256edc89bd0bc33b81140c7c2cf06bb57 Merge: 446cb9a217 31b810abca Author: Timm Bäder Date: Mon Nov 19 07:40:41 2018 +0000 Merge branch 'more-nullable-gtk3' into 'gtk-3-24' g-i: Add some nullable annotations See merge request GNOME/gtk!420 commit 31b810abca06b01727e5aaf1f6bde37172af96da Author: Christoph Reiter Date: Sun Nov 18 13:36:50 2018 +0100 g-i: Add some nullable annotations Based on grepping arg docs for NULL. See https://gitlab.gnome.org/GNOME/pygobject/issues/261 gdk/x11/gdkcursor-x11.c | 2 +- gdk/x11/gdkdisplay-x11.c | 4 ++-- gtk/gtkactionable.c | 2 +- gtk/gtkpagesetup.c | 2 +- gtk/gtkpapersize.c | 2 +- gtk/gtkprintsettings.c | 2 +- gtk/gtktreeselection.c | 2 +- gtk/gtktreeview.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) commit dea9525f689be24b9f68c2f786d16445d1304347 Author: Robert Ancell Date: Sat Nov 17 21:23:40 2018 +1300 gdk: Add deprecated for macro for gdk_cursor_new gdk/gdkcursor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 446cb9a2179e87cf3b61006ba817b2ddffd04e6d Merge: e8a8a534ac 2e24349fc6 Author: Timm Bäder Date: Thu Nov 15 10:03:19 2018 +0000 Merge branch 'fix-issue-1366' into 'gtk-3-24' entry: Handle no-window events in gtk_entry_event See merge request GNOME/gtk!363 commit e8a8a534ac0d2adebedc3af077277c9e9711c854 Merge: 06162a08b6 4f424d0ead Author: Timm Bäder Date: Thu Nov 15 10:01:13 2018 +0000 Merge branch 'bye-app-menu-gtk3' into 'gtk-3-24' widget-factory: move app menu contents to primary menu See merge request GNOME/gtk!364 commit 06162a08b68b73e5604f1595d1ec46c860018c0f Author: Jakub Steiner Date: Wed Nov 14 17:52:37 2018 +0100 Adwaita: tone down purple cast - sync with gtk4 changes gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 630 +++++++++++++++---------------- 2 files changed, 317 insertions(+), 317 deletions(-) commit b57a1a0b9240ac432a771181bb15cbcfcfcd7aec Author: Jakub Steiner Date: Wed Nov 14 17:32:13 2018 +0100 Revert "Adwaita: help fullcolor app icons" - the app icon dropshadow patch was not meant to be part of the color changes This reverts commit a8a545510d78b99edab17d24776672ef10259dd5. 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 bb376222c104aef0ec7e31b40959bc35eecf2253 Author: John Ralls Date: Wed Nov 14 09:02:45 2018 +0900 Reset the Quartz resolution to 72.0 dpi. Further feedback on https://bugzilla.gnome.org/show_bug.cgi?id=787867 indicates that 96.0 dpi scales fonts 4/3 larger than native applications. gdk/quartz/gdkscreen-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3744d4761da5a31936019419241942d4a58c340 Author: Ignacio Casal Quinteiro Date: Tue Nov 13 15:39:17 2018 +0100 gtkclipboard-quartz: remove unused variable gtk/gtkclipboard-quartz.c | 1 - 1 file changed, 1 deletion(-) commit d21832719bf5e2db215a792dca29dfde5a6318e3 Author: Matthias Clasen Date: Mon Nov 12 14:10:13 2018 -0500 wayland: Adapt to settings portal api change ReadAll now accepts an array of patterns. gdk/wayland/gdkscreen-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0d8dcccad2844cd35d0d61e32878ca19fdfabe9b Merge: 6f2b0cfcf3 382ba0ca83 Author: Timm Bäder Date: Mon Nov 12 08:56:49 2018 +0000 Merge branch 'wl-framework' into 'gtk-3-24' Use -Wl for the framework linker argument See merge request GNOME/gtk!405 commit 6f2b0cfcf3d6daca4fc0d9ffc42b79b8d84b4143 Author: Jakub Steiner Date: Fri Nov 9 15:57:06 2018 +0100 Adwaita: use HIG grey for bg_color - refresh with a light bg color, use the new color palette gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained.css | 500 ++++++++++++++++++------------------ 2 files changed, 251 insertions(+), 251 deletions(-) commit 5a12934e9040437a3cadb29838fc872436523955 Author: Jakub Steiner Date: Fri Nov 9 11:19:41 2018 +0100 Adwaita: fix osd bg color - don't try deriving from bg_color, osd should be consistent for light & dark. FIxes issue #1449 gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 64 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 64 ++++++++++++++++---------------- 3 files changed, 65 insertions(+), 65 deletions(-) commit 4902070cad78693ea1120c5179ea3c6591c8585c Author: Cheng-Chia Tseng Date: Fri Nov 9 09:03:56 2018 +0000 Update Chinese (Taiwan) translation po/zh_TW.po | 63 ++++++++++++++++++++++--------------------------------------- 1 file changed, 23 insertions(+), 40 deletions(-) commit f0e5b5bf88129f16312f88392e05f99ffa940500 Author: Adrien Plazas Date: Tue Jul 24 14:37:57 2018 +0200 Adwaita: Propagate bg color to titlebar separator descendants Gives the same background color to all separators descending from a title bar than to its direct childrens. This prevents separators which are in a titlebar but not direct children from the widget with the titlebar style class from being almost transparent and hence it prevent them from revealing the clear color of the window's titlebar (black). https://gitlab.gnome.org/GNOME/gtk/issues/1231 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 f74154d5a1fa3dce4575a64cba45a17dbd84ee7c Author: Matej Urbančič Date: Fri Oct 26 12:43:33 2018 +0200 Updated Slovenian translation po/sl.po | 3530 +++++++++++++++++++------------------------------------------- 1 file changed, 1091 insertions(+), 2439 deletions(-) commit 333f496ad5cdb1b58c3731ca24c3adb6eeb8190d Author: Matej Urbančič Date: Thu Oct 25 21:58:12 2018 +0200 Updated Slovenian translation po/sl.po | 3736 ++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 2671 insertions(+), 1065 deletions(-) commit 4c348e5486dc222619e1ca21e44891401da051c1 Author: Pieter Schalk Schoeman Date: Fri Jun 29 22:27:52 2018 +0000 Update Afrikaans translation po/af.po | 923 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 457 insertions(+), 466 deletions(-) commit 7034ab269ff942509614ffabd2c29e9d2b1b20ed Merge: f972ab8818 39645ab6f0 Author: Jakub Steiner Date: Fri Nov 9 07:23:46 2018 +0000 Merge branch 'wip/jimmac/hig-colors' into 'gtk-3-24' Adwaita: use new HIG colors (gtk3) See merge request GNOME/gtk!408 commit f972ab8818815257739e9cc55043a9f0fa0fffc7 Merge: ec1786fdbc 9ca38c4647 Author: Timm Bäder Date: Thu Nov 8 04:49:25 2018 +0000 Merge branch 'plug_race' into 'gtk-3-24' Fix race in GtkPlug window creation See merge request GNOME/gtk!387 commit ec1786fdbc65bd21a6a7ecb23fd51a2577169965 Author: Daniel Boles Date: Mon Nov 5 23:36:54 2018 +0000 Popover: Minimally document the ::closed signal This is better than nothing at all. The wording is taken from Carlos's commit message when he added this shortly before 3.12, so add Since too. Skip the bit from his commit message explaining what this replaced; we don't need to say all the less good things our convenience API replaces. gtk/gtkpopover.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 08bafb4a52e300a85d1246e9229d33b0a264c5ec Author: Daniel Boles Date: Sat Oct 20 15:19:11 2018 +0100 TreeMenu: Don't manually reinvent g_list_index() g_list_index() "Gets the position of the element containing the given data (starting from 0)." That is exactly what we were manually doing. gtk/gtktreemenu.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit 009c25699165edbb8b56ca76f5bd3400c6502b1c Merge: 8ef21cb32f 4048a1965a Author: Timm Bäder Date: Tue Nov 6 09:52:23 2018 +0000 Merge branch 'cherry-pick-9946dd2a' into 'gtk-3-24' gtk-autocleanups: add cleanup function for GtkRecentInfo See merge request GNOME/gtk!410 commit 8ef21cb32fb0bbfd7ac1fe6b134c0a3e20e1736a Author: Matthias Clasen Date: Mon Nov 5 18:32:40 2018 -0500 wayland: Fix a thinko in settings portal support When we decide to fall back because the settings portal is not present, adhere to that decision elsewhere. gdk/wayland/gdkscreen-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4048a1965a13e44630a6ca00878eb158e1ae3d6f Author: Marco Trevisan Date: Mon Nov 5 21:37:42 2018 +0000 gtk-autocleanups: add cleanup function for GtkRecentInfo (cherry picked from commit 9946dd2ab7a667f0e5efa285eb1bf32a594b0159) gtk/gtk-autocleanups.h | 1 + 1 file changed, 1 insertion(+) commit 39645ab6f02b835d027dd0993d1cf59726b21465 Author: Jakub Steiner Date: Mon Nov 5 16:10:50 2018 +0100 Adwaita: use new HIG colors - blue selection color, success & destructive colors updates - blueish tint for dark Addresses issue #1443 gtk/theme/Adwaita/_colors.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 858 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 312 +++++------ 3 files changed, 590 insertions(+), 590 deletions(-) commit a8a545510d78b99edab17d24776672ef10259dd5 Author: Jakub Steiner Date: Wed Oct 31 18:31:11 2018 +0100 Adwaita: help fullcolor app icons - draw a large dropshadow for aboutboxes - draw an outline for low res See issues #1434 and #1445. gtk/theme/Adwaita/_common.scss | 16 ++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 9 ++++++++- gtk/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 31 insertions(+), 1 deletion(-) commit 382ba0ca830f10b51223a61f3bc0d672a37f0a00 Author: Simon Wells Date: Mon Nov 5 20:11:30 2018 +1300 Use -Wl for the framework linker argument configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 64427e9878ddff478cc6b26b6e89566951a4c10c Merge: d6dedf5270 41562ab2c6 Author: Matthias Clasen Date: Sun Nov 4 21:13:33 2018 +0000 Merge branch 'settings-portal-for-3' into 'gtk-3-24' Settings portal for 3 See merge request GNOME/gtk!404 commit 41562ab2c6a2e85f3c1c9027c93882d4e8d7690b Author: Matthias Clasen Date: Sun Nov 4 10:21:24 2018 -0500 wayland: Support the settings portal Under Wayland, we are currently directly using GSettings for desktop settings. But in a sandbox, we may not have access to dconf, so this may fail. Use the new settings portal instead. gdk/wayland/gdkscreen-wayland.c | 380 ++++++++++++++++++++++++++++++++++------ 1 file changed, 329 insertions(+), 51 deletions(-) commit 4073d0217bea9485f1da6e917e36e0e6d9a0ff4a Author: Matthias Clasen Date: Sun Nov 4 08:20:52 2018 -0500 Add a gdk_should_use_portal helper We are going to use this in the following commits. gdk/gdk-private.h | 1 + gdk/gdk.c | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) commit fb709e96f1b6fedd8cdc1ecf80963a83bf845702 Author: Matthias Clasen Date: Thu Nov 1 13:31:10 2018 -0400 Use a simpler sandbox check No need to use the runtime dir and allocate a string. We can just check in /. gdk/gdk.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit d6dedf52700228d3dcdd715654114591c548cbab Author: Dušan Kazik Date: Fri Nov 2 08:54:03 2018 +0000 Update Slovak translation po-properties/sk.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 40400373e178c4398ccfdb7085e98096a4123221 Author: Dušan Kazik Date: Fri Nov 2 08:51:12 2018 +0000 Update Slovak translation po-properties/sk.po | 674 ++++++++++++++++++++++++++++------------------------ 1 file changed, 365 insertions(+), 309 deletions(-) commit 1837ae88f7d63b555b49f1f1fef12ca844e24777 Author: Dušan Kazik Date: Thu Nov 1 17:51:10 2018 +0000 Update Slovak translation po/sk.po | 2315 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1922 insertions(+), 393 deletions(-) commit 8c5158a54e45b0f1b3b539f668bd05e96f942ddd Author: Daniel Mustieles Date: Wed Oct 31 13:50:01 2018 +0100 Updated Spanish translation po/es.po | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit d45537a743d56509948a3cac20af31fb09ba897f Merge: 336f382728 885672520a Author: LRN Date: Wed Oct 31 05:13:18 2018 +0000 Merge branch 'win32-honest-clipboard' into 'gtk-3-24' GDK W32: be more honest about clipboard format support See merge request GNOME/gtk!382 commit 336f3827285f37600fa504dc201dd83e487de27b Author: Carlos Garnacho Date: Tue Oct 30 21:57:09 2018 +0100 imwayland: Plug leaks The various strings (pending/current preedit, surrounding, and commit buffer) are being leaked in the case of GtkIMContext destruction. modules/input/imwayland.c | 4 ++++ 1 file changed, 4 insertions(+) commit 9c6cf4acabb8f944e526872956dd5dff0da85761 Author: John Ralls Date: Mon Oct 29 14:25:31 2018 -0700 Fix indentation. gdk/quartz/gdkwindow-quartz.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 60dafa38c735fe91a2904dc26b6b97d4e01533a7 Merge: d483c0a05b 7e4cda6c1c Author: John Ralls Date: Mon Oct 29 11:29:10 2018 -0700 Merge branch '1411-handle-null-from-nsgraphicscontex' into gtk-3-24. commit d483c0a05b8e812cc3bd7d53f7f9600e47467a2d Author: Matej Urbančič Date: Thu Oct 25 22:07:50 2018 +0200 Updated Slovenian translation po-properties/sl.po | 713 ++++++++++++++++++++++++++++------------------------ 1 file changed, 383 insertions(+), 330 deletions(-) commit 041ac5b45a75f6829b849cd59a14d0ef3ba06c8d Author: Carmen Bianca BAKKER Date: Wed Oct 24 08:12:34 2018 +0000 Update Esperanto translation po/eo.po | 2651 +++++++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 2015 insertions(+), 636 deletions(-) commit c1dbf9641373cfb8dfdbaa27e61c3284bf855a20 Author: Jakub Steiner Date: Mon Oct 22 10:41:41 2018 +0200 Adwaita: prevent devel styling break selection mode - Selection mode does not get the special devel styling. - removed teh last-child() selector for it doesn't work anymore. Better style all section of the headerbar than none. Proper fix pending. 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 7e4cda6c1cecec004fb09a13b42829335166fdba Author: John Ralls Date: Sat Oct 20 12:27:46 2018 -0700 GdkQuartz: Handle NULL from [NSGraphicsContext currentContext]. By returning a default surface. The situation where there's no currentContext arises when GtkCSS is trying to determine the layout sizes so no actual display is necessary. Closes: #1411 gdk/quartz/gdkwindow-quartz.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 7600c4e3f7ad6333885821ae0571da869ef926ce Author: John Ralls Date: Sat Oct 20 12:26:13 2018 -0700 Modify Quartz gtk_drag_begin_internal to match 4172138. gtk/gtkdnd-quartz.c | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) commit 35d798dd3145b8dc1572ae25fd1da66fb3d9406f Author: John Ralls Date: Mon Oct 15 10:45:57 2018 -0700 Use [NSGraphicsContext CGContext] instead of graphicsPort after Yosemite. gdk/quartz/gdkwindow-quartz.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 0e831b774c16ac5b92927f513f02b754bc22f977 Author: John Ralls Date: Mon Oct 15 10:41:15 2018 -0700 Update GDK_OSX versions to current MacOS release. gdk/quartz/gdkquartz.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 615fa7cfb6660b02e6c4e9dfded8ead327e89f5b Merge: 00034c00be df0e5cc8e6 Author: Ignacio Casal Quinteiro Date: Fri Oct 19 06:11:51 2018 +0000 Merge branch '379-fix-quartz-offscreen-window-crash' into 'gtk-3-24' Resolve "gtkdnd-quartz crash when realizing a GtkOffscreenWindow" See merge request GNOME/gtk!145 commit df0e5cc8e67ac012bce366d04cca8e5b5266f64e Author: Philip Chimento Date: Sun May 21 20:40:40 2017 -0700 quartz: Fix crash when realizing GtkOffscreenWindow GtkOffscreenWindow doesn't have a NSView or NSWindow, so return NULL if passed one of those. Closes: #379 gtk/gtkdnd-quartz.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 00034c00be1247b713f51857f89affbded8414d3 Merge: c0b5d66069 9b7d886b72 Author: Matthias Clasen Date: Tue Oct 16 23:20:25 2018 +0000 Merge branch '1371-flickering-tooltips-if-no-mouse-cursor-theme-loaded-gtk3' into 'gtk-3-24' Tooltip: Fix the used cursor size if 0 in Settings See merge request GNOME/gtk!374 commit c0b5d66069dc5ab8633c5240dbac79b6b145c8d5 Merge: 2453e71fd3 80a3d7090a Author: Matthias Clasen Date: Tue Oct 16 20:52:04 2018 +0000 Merge branch '1397-gtknotebook-built-in-popup-menu-listing-tabs-doesn-t-use-tab-label-text-for-the-last-tab' into 'gtk-3-24' Notebook: Ensure menu label updates with tab_label See merge request GNOME/gtk!385 commit 2453e71fd3731d27d92f2d5d358bf84704ee8acb Merge: 05b11e9a5b 4172138154 Author: Benjamin Otte Date: Tue Oct 16 19:41:03 2018 +0000 Merge branch 'win32-fix-dnd-info-disposal' into 'gtk-3-24' Fix DND info disposal See merge request GNOME/gtk!390 commit 41721381548124e72c8a291a8f0d14b33788a8b1 Author: Руслан Ижбулатов Date: Tue Oct 16 19:04:54 2018 +0000 DnD: fix setting icon in drag-begin Commit 1c96b703 changed the way icon information is given to DnD. Previously an icon helper was kept at the drag source site. Now an image definition is stored there. The difference is that icon helper is an object that changes its state in response to an icon being set, thus the object survived multiple icon changes. Whereas image definition is destroyed and re-created from scratch every time a drag icon is changed. This created a problem where gtk_drag_begin_internal() would receive the value of site->image_def when a drag just began, then it emits "drag-begin" signal, in response to which an application can set drag icon, changing the value of site->image_def. However, gtk_drag_begin_internal() is unable to know about that change and continues to use the old value it received from up the stack. Not only does it prevent drag icon from being set from "drag-begin", it also can induce a crash, since the old image_def value used by gtk_drag_begin_internal() points to a freed memory region. Fix this by only setting a default icon (which is created in-place) in gtk_drag_begin_internal() if the caller does not care about icons. Otherwise gtk_drag_begin_internal() will return a boolean that indicates whether an icon needs to be set. Then the caller can invoke gtk_drag_set_icon_definition() to set the icon, if needed. Fixes #1407. gtk/gtkdnd.c | 40 +++++++++++++++++++--------------------- gtk/gtkdndprivate.h | 2 +- gtk/gtkdragsource.c | 11 ++++++++--- 3 files changed, 28 insertions(+), 25 deletions(-) commit 5e00fd25da3014a3f8bb7698623abfbb55fda993 Author: Руслан Ижбулатов Date: Tue Oct 16 03:03:33 2018 +0000 Fix GtkDragSourceInfo disposal gtk_drag_clear_source_info() immediately unrefs the info attached to the context (the very same info we're in the process of destroying in gtk_drag_source_info_free()). If that reference was the last one, then accessing the info object after that is a use-after-free error. Also, change the order a bit to first free the event, and only then unref the context. Fix this by copying all the fields of the info that we need, and then working with these copies. gtk/gtkdnd.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 05b11e9a5bc91a7681f25106f9d2f198bde3d025 Merge: dbbc7b3859 fc2008f240 Author: LRN Date: Mon Oct 15 22:36:30 2018 +0000 Merge branch 'lrn/zorder-324' into 'gtk-3-24' Don't let the OS maintain relative Z-order for windows See merge request GNOME/gtk!196 commit 9ca38c464723668bc017cab2563af2a0c23f9bff Author: Uli Schlachter Date: Sun Oct 14 13:59:12 2018 +0200 Fix race in GtkPlug window creation According to the XEmbed specification, a window should be created "elsewhere" and then reparented into the target parent window. Instead, GTK+ creates the window directly in desired target parent window. This allows some races to occur. Another program that does not follow XEmbed is tabbed. XEmbed requires an _XEMBED_INFO property on the to-be-embedded window, but tabbed does not check for this property. Thus, as soon as GTK+ creates its window, tabbed starts managing this window and now GTK+ setting up the window races with tabbed starting to manage the window. If tabbed is fast enough to map the window, GTK+ never sees a MapNotify event, because it did not yet select StructureNotifyMask on its window. This results in a black window inside of tabbed. Note that this cannot really be fixed in tabbed, since XEmbed says that the _XEMBED_INFO property must be already present when the window appears. Thus, patching tabbed to wait for _XEMBED_INFO to appear is not something that the spec requires/allows. Instead, this commit changes GTK+ so that it directly sets the right event mask when the window is created. This means that there is no more race between tabbed mapping the window and GTK+ selecting StructureNotifyMask. Note that the proper fix would be to do as XEmbed requires: Create the window elsewhere and then reparent it into the target window. However, that would require a more invasive patch, so this commit only takes the "easy approach" of fixing this one race. Hopefully, all the other races that can occur during window setup are harmless, because the embedder/socket will hopefully watch for PropertyNotify events as needed. Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/757 See-also: https://github.com/awesomeWM/awesome/issues/2385 Signed-off-by: Uli Schlachter gdk/x11/gdkwindow-x11.c | 6 ++++++ 1 file changed, 6 insertions(+) commit dbbc7b3859f4b5d504cc12a54b2eba40e040c7e8 Author: Timm Bäder Date: Thu Oct 11 12:27:17 2018 +0200 emojichooser: Pass chooser to add_emoji https://gitlab.gnome.org/GNOME/gtk/issues/1398 gtk/gtkemojichooser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2856fb86a93e1ba5cac3d4dddd29b2f2e4101964 Author: Daniel Boles Date: Fri Oct 12 23:55:02 2018 +0100 Adwaita: Regenerate CSS for new window.devel style Commit 955aa8d54b1ef6b9252e06b19d1d42a971c2b409 forgot this, again. gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 2 files changed, 8 insertions(+) commit 80a3d7090a3dadef15f9c320373758429226525d Author: Daniel Boles Date: Fri Oct 12 23:12:53 2018 +0100 Notebook: Ensure menu_label updates with tab_label This was noticed in Firefox and demonstrated using a GtkBuilder ui file. buildable_add_child() calls set_tab_label(), but the latter did nothing to update the menu_label corresponding to that tab with the new text. Using Builder to populate the tab child, only tabs other than last got the right non-default labels, and even that was mostly coincidental, as adding the main child called update_labels() via real_insert_page(), so it took effect when the 2nd last main child is added, updating the rest but leaving the last with the default label, not that given in Builder. Fix by factoring out the code from child_reordered() to a new helper menu_item_recreate() and calling that in set_tab_label(), so that whenever the tab_label is updated, so is its corresponding menu_label. This fixes the reported case and presumably others that we could write. fixes https://gitlab.gnome.org/GNOME/gtk/issues/1397 gtk/gtknotebook.c | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) commit 82c530894755c701b5f0da8394a20fd02d76268b Author: Daniel Boles Date: Fri Oct 12 23:38:52 2018 +0100 Notebook: Don't notify 2x from set_tab_label_text It calls set_tab_label(), which already does that. gtk/gtknotebook.c | 1 - 1 file changed, 1 deletion(-) commit d9f08c85f40758f31934560abfd2af3b29a8c722 Author: Daniel Boles Date: Fri Oct 12 22:09:42 2018 +0100 gtk-demo/main: Suppress implicit fallthru warning Comments matched to reassure the compiler that fallthrough is intentional are supposed to precede the case or default keywords, at least in GCC, so the one here did not suppress the warning with GCC. We can just the if condition and put the comment at the end to solve that. https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/ demos/gtk-demo/main.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 247b38eb4233802dd33f5372282bf21847020ea3 Merge: 955aa8d54b 2a392c220d Author: Ignacio Casal Quinteiro Date: Thu Oct 11 20:45:49 2018 +0000 Merge branch 'fix-crash-osx' into 'gtk-3-24' quartz: do not cache the screen in the gdkmonitor See merge request GNOME/gtk!375 commit 2a392c220d992ba21b1e250be2497248658cfcdb Author: Ignacio Casal Quinteiro Date: Sun Oct 7 21:51:35 2018 +0200 quartz: do not cache the screen in the gdkmonitor Instead we just cache the monitor number and get out of it the nsscreen when it is needed. This is a requirement since it nsscreen it is not supposed to be cached. Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1312 gdk/quartz/gdkmonitor-quartz.c | 17 ++++++++++++----- gdk/quartz/gdkmonitor-quartz.h | 2 +- gdk/quartz/gdkscreen-quartz.c | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) commit 955aa8d54b1ef6b9252e06b19d1d42a971c2b409 Author: Jakub Steiner Date: Wed Oct 10 09:38:50 2018 +0200 Adwaita: backport nightly styling - nightly apps get a headerbar styling gtk/theme/Adwaita/_common.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) commit caa5ba46ad45c091ca133a4b5ab0dcd00c7c82ae Merge: adbaee796d 1ece556200 Author: LRN Date: Mon Oct 8 20:04:08 2018 +0000 Merge branch 'gtk-3-24.win.updated' into 'gtk-3-24' gtkimcontextime.c: Fix Korean input See merge request GNOME/gtk!356 commit 1ece55620036b41ce1b0fcf434fde78f27af1af1 Author: Chun-wei Fan Date: Tue Sep 25 16:50:36 2018 +0800 gtkimcontextime.c: Fix Korean input Commit c255ba68 inadvertently introduced a regression that broke Korean text input because the changes there resulted that only the last input string that we have from ImmGetCompositionStringW() for each time the commit signal is emitted is kept, and also as a result the final Korean character that is input by hitting space is also lost as a result, as we didn't check for whether we are done with preediting. Fix these issues by doing the following when we receive the WM_IME_COMPOSITION message with GCS_RESULTSTR from Windows: -Do not emit the commit signal during WM_IME_ENDCOMPOSITION, and... -Emit the commit signal anyways, as we did before, c255ba68, however... -We still save up the string to commit, because we need to re-compute the cursor position when we do ->get_preedit_string(), which needs to take the GCS_RESULTSTR string we get from WM_IME_COMPOSITION into account as well, so that we avoid getting the Pango criticals that occur during Chinese (and most likely Japanese) input as the cursor position is out-of-range. Fixes issue #1350. modules/input/gtkimcontextime.c | 90 +++++++++++++++++++++++++---------------- 1 file changed, 56 insertions(+), 34 deletions(-) commit adbaee796de3ccb9b0a95b298fb0bfd00c2fcdd4 Author: Hugo Lefeuvre Date: Wed Sep 26 16:59:59 2018 -0400 gtkstack: fix null pointer dereference The gtk_stack_snapshot_slide() function dereferences the last_visible_child pointer without proper != NULL ckeck. This might result in NULL pointer dereference and crash if last_visible_child is invalid. Add a != NULL check before dereferencing the pointer. cherry-picked from https://gitlab.gnome.org/GNOME/gtk/merge_requests/361 gtk/gtkstack.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 9b7d886b723132eade2e76f3fd179cf81b7601f2 Author: Daniel Boles Date: Sun Oct 7 18:15:09 2018 +0100 Tooltip: Fix the used cursor size if 0 in Settings Before the recent rework of positioning in GtkTooltip, the widget always used the cursor_size of the GdkDisplay. That work redid this to instead take GtkSettings::gtk-cursor-theme-size. But that property's doc says: > Size to use for cursors, or 0 to use the default size. and has 0 as its default. This is quite a likely scenario for anyone whose desktop or settings.ini does not explicitly provide a cursor size, which is the case for XFCE and win32, to name just two common platforms. Then, it seems getting a cursor_size of 0 causes GtkTooltip to freak out and hide/show itself at a very rapid speed, thus making it unusable. So, we should check whether the Settings return 0 and, if so, still use gdk_display_get_default_cursor_size (display) to ensure we get a size. https://gitlab.gnome.org/GNOME/gtk/issues/1371 gtk/gtktooltip.c | 3 +++ 1 file changed, 3 insertions(+) commit b10cde7bdc058a5b6cfd9cf75195fef654bbd2d8 Author: Aurimas Černius Date: Sun Oct 7 16:56:11 2018 +0300 Updated Lithuanian translation po-properties/lt.po | 87 ++++++++++++++++++++++++++--------------------------- 1 file changed, 43 insertions(+), 44 deletions(-) commit 885672520ac9aab234ae4b166c2674d86685027e Author: Руслан Ижбулатов Date: Sun Oct 7 12:23:16 2018 +0000 gtkselection: add a W32 tip about image/bmp support gtk/gtkselection.c | 7 +++++++ 1 file changed, 7 insertions(+) commit f0959c9c8d6c866f61a4632fdd05b6a208b98dc4 Author: Руслан Ижбулатов Date: Sun Oct 7 12:15:41 2018 +0000 GDK W32: Be honest about supported clipboard formats Do not lie to W32 about the formats that we provide or accept. Originally the logic behind such lies was that GdkPixbuf allows us to convert any supported image to BMP or PNG, and therefore we should announce that we always provide/accept BMP and PNG along with other formats. But that's not how it works. The conversion between formats happens at GTK level in GtkClipboard or, if GtkClipboard is not used, with gtk_target_list_add_image_targets() to announce all supported image formats, and with gtk_selection_data_set_pixbuf() to convert from any GdkPixbuf formats to the format requested by the selection, and with gtk_selection_data_get_pixbuf() to convert from the selection format to GdkPixbuf, if supported. GDK simply does not play any role in this. Therefore W32 GDK backend should only offer formats that it can actually do conversion for by itself (such as image/bmp <-> CF_DIB, or text/uri-list <-> CFSTR_SHELLIDLIST). gdk/win32/gdkselection-win32.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) commit 259c8e637318caa2104871aa995d24306764e255 Merge: 220f77d8c1 d26c11f099 Author: LRN Date: Sat Oct 6 15:52:52 2018 +0000 Merge branch 'win32-runtime-immodule-swap' into 'gtk-3-24' GDK W32: Support switching input modules at runtime See merge request GNOME/gtk!366 commit d26c11f0991f18eaba389decefd2c964480ed963 Author: Руслан Ижбулатов Date: Tue Oct 2 09:34:22 2018 +0000 GDK W32: Support switching input modules at runtime This leverages the normal input module switching mechanism in GTK by making it think that the gtk-im-module setting changed. The backend returns gtk-im-module value as "ime" if W32 IME API says that an IME is in use. Otherwise it returns and empty string - this still triggers an input module loading code, which, not being able to load the desired module (which is and empty string), falls back to looking at current keyboard layout. Paired with the code that signals gtk-im-module change on keyboard layout switches, this is sufficient to make GTK capable of loading appropriate input modules at runtime. At least, the kinds of modules that specify languages for which they are loaded automatically by default, and the IME module. Loading other kinds of input modules might still work via specifying the gtk-im-module setting in gtk ini file, but doing so will likely make GTK incapable of loading the IME input module that is used for Korean, Chinese and Japanese (and some other languages). Until someone figures out a way to actually change gtk-im-module setting on Windows at runtime with meaningful values, the behaviour introduced by this commit seems like a sufficient workaround. gdk/win32/gdkevents-win32.c | 20 ++++++++++++++++++++ gdk/win32/gdkproperty-win32.c | 9 +++++++++ 2 files changed, 29 insertions(+) commit 220f77d8c1d9619b897df8bd6595169fd67e0d08 Author: Yi-Jyun Pan Date: Wed Oct 3 14:24:30 2018 +0000 Update Chinese (Taiwan) translation po-properties/zh_TW.po | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 4f424d0eada7c1771bb91c5504722944a22d4269 Author: Jeremy Bicha Date: Sun Sep 30 20:40:11 2018 -0400 widget-factory: Add Keyboard Shortcuts menu item Closes: https://gitlab.gnome.org/GNOME/gtk/issues/916 demos/widget-factory/widget-factory.ui | 4 ++++ 1 file changed, 4 insertions(+) commit 5a78039ab3adc354b1515d77ff51cedd6836d6ec Author: Jeremy Bicha Date: Sun Sep 30 20:27:29 2018 -0400 widget-factory: Rename About menu item to About Widget Factory This follows the recommendation in https://gitlab.gnome.org/GNOME/Initiatives/wikis/App-Menu-Retirement demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9882bc96387391a6cbb40a1579234c74ee190ad1 Author: Jeremy Bicha Date: Sun Sep 30 20:21:45 2018 -0400 widget-factory: Move app menu contents to primary menu GNOME Shell 3.32 will remove support for the app menu so we need to move its contents to the primary (hamburger) menu. widget-factory already had a primary menu. The only item in the app menu was About. https://gitlab.gnome.org/GNOME/Initiatives/issues/4 demos/widget-factory/Makefile.am | 1 - demos/widget-factory/menus.ui | 19 ------------------- demos/widget-factory/widget-factory.gresource.xml | 3 --- demos/widget-factory/widget-factory.ui | 6 ++++++ 4 files changed, 6 insertions(+), 23 deletions(-) commit c8d47b0c8427e8feab06b2441f9cb7da12d8a868 Author: Carlos Garnacho Date: Fri Sep 28 17:47:56 2018 +0200 imwayland: Collect return value from ::delete-surrounding signal There's not much we can do about the signal not being handled, but we should fetch the return value anyway. modules/input/imwayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2e24349fc6aa2ae75b3952233efb2781a9fcc76a Author: Andrea Azzarone Date: Thu Sep 27 14:19:34 2018 +0200 entry: Handle no-window events in gtk_entry_event gtk_entry_event's goal is to detect if a specific event concerns one of the two entry icons. It can happen that this function is called during initialization and/or before the entry is realized. In this case the entry icons (and the event) will not yet have an associated window. The code should consider the aforementioned situation and avoid matching a icon and an event with no associated windows. Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1366 gtk/gtkentry.c | 1 + 1 file changed, 1 insertion(+) commit b4464e12742767a3dc08317371d665854286355f Author: Michael Catanzaro Date: Mon Sep 24 20:19:26 2018 +0000 wayland: Avoid crashes inside wl_proxy_marshal() Suggested by Garnacho. Hopefully fixes #1349. Note: I'm riskily committing this via web UI not because I'm lazy (though I am :) but because I'm seeing a weird host key when I try to push or pull from GitLab. gdk/wayland/gdkwindow-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 41f2815e20cbba0cccd789c629dedbbe05f023eb Author: Rafael Fontenelle Date: Mon Sep 24 19:48:20 2018 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 4ef082d2edcc5163ff3a6dd34484de9b96605cc3 Merge: ed57e564a9 0feebcf145 Author: Benjamin Otte Date: Mon Sep 24 18:21:02 2018 +0000 Merge branch 'wip/arnaudb/fix-dashed-border' into 'gtk-3-24' Make dashed border-style work correctly See merge request GNOME/gtk!349 commit ed57e564a97bf12590333e2c6ac8c979ea0d8b1f Author: Daniel Boles Date: Sat Sep 22 19:57:59 2018 +0100 SidebarRow: Set ::no-show-all on end_icon_widget All the other conditionally visible child widgets have this. Without it, it seems some cases can wrongly reveal it, with a nonsensical home icon. https://gitlab.gnome.org/GNOME/gtk/issues/1345 gtk/ui/gtksidebarrow.ui | 1 + 1 file changed, 1 insertion(+) commit 0feebcf1456abbb722128aedbcbbd5d9e68cadf0 Author: Arnaud B Date: Fri Sep 21 12:25:23 2018 +0000 Make dashed border-style work correctly There’s a short-path done for focus rectangles, but it can be taken in other conditions, and then fail occasionally to render a dashed line if the border-width is too big. gtk/gtkrenderborder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 36656ea13a735377e59376276727edf63b0e035b Author: Emin Tufan Çetin Date: Wed Sep 19 11:09:51 2018 +0000 Update Turkish translation po/tr.po | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit f5ad1786e8b2b80408d8df6d2ac2c0748926b20c Author: Matthias Clasen Date: Tue Sep 18 21:42:55 2018 -0400 3.24.1 NEWS | 21 +++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) commit ac41c3895fba36507ab4cc22079fede9397c62b7 Author: Stas Solovey Date: Tue Sep 18 20:09:23 2018 +0000 Update Russian translation po/ru.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit d7cf221d8a7c65ae3474febd9c8127e74e874895 Merge: 6183f48ab3 46dfd139ef Author: LRN Date: Tue Sep 18 13:50:29 2018 +0000 Merge branch 'win32-scroll-both' into 'gtk-3-24' GDK W32: send both smooth and discrete scrolling events See merge request GNOME/gtk!335 commit 6183f48ab31263ce1f3c9e6b7f6b32a83e9746c7 Merge: 8fd2d461fc af46ba27cc Author: Carlos Garnacho Date: Mon Sep 17 13:19:58 2018 +0000 Merge branch 'imwayland_serial' into 'gtk-3-24' imwayland: Don't reset serial while text-input is alive See merge request GNOME/gtk!339 commit af46ba27cca239e80ae340d205a602fcb0ba7893 Author: Dorota Czaplejewicz Date: Fri Sep 14 20:31:55 2018 +0000 imwayland: Don't reset serial while text-input is alive The serial number is a persistent property of the text-input object. modules/input/imwayland.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 8fd2d461fce6da655060880fdb183a9f1e0b957c Author: Matthias Clasen Date: Thu Sep 13 23:28:16 2018 -0400 gtk_application_inihit: allow no reason We document this argument as nullable, so treat it as such. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1327 gtk/gtkapplication-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46dfd139ef263efbd2630756f4175ad57b67402c Author: Eduard Braun Date: Thu Sep 13 16:17:51 2018 +0200 GDK W32: fix direction of horizontal smooth scrolling events Commit 359df028be7b1dae76a1abb9bad8a3b86a648765 changed the code to send GDK_SCROLL_SMOOTH with deltas instead of GDK_SCROLL_(UP|DOWN|LEFT|RIGHT). Windows defines deltas inversed for vertical direction (positive values mean the wheel was turned forward) but not for horizontal direction (positive values mean the wheel was turned towards the right). This commit fixes behavior as both axes were inverted previously. gdk/win32/gdkevents-win32.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 86751c4a25b46803f92cbf801e331b4c4e300bee Author: Rūdolfs Mazurs Date: Thu Sep 13 15:30:28 2018 +0000 Update Latvian translation po/lv.po | 2224 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 1872 insertions(+), 352 deletions(-) commit b1d3beedc3cbabc5050a4292ec398978ca873071 Author: Matthias Clasen Date: Wed Sep 12 23:02:26 2018 -0400 Add a missing include Closes https://gitlab.gnome.org/GNOME/gtk/issues/1325 gtk/gtkprintoperation-portal.c | 1 + 1 file changed, 1 insertion(+) commit f393d371e56c7c2ef5261396b2f690b7e9886aeb Merge: 7d1d5119de 88dc784256 Author: Matthias Clasen Date: Thu Sep 13 01:40:58 2018 +0000 Merge branch 'wip/carlosg/issue-1317' into 'gtk-3-24' modules: Check current context before retrieving surrounding See merge request GNOME/gtk!326 commit 7d1d5119de3b633e9e86cdfe5a65ca5fc3a0c0a6 Merge: 7a404c32b5 99669503fb Author: Matthias Clasen Date: Thu Sep 13 01:32:11 2018 +0000 Merge branch 'clear_preedit_fix' into 'gtk-3-24' imwayland: Fix clearing of preedit text See merge request GNOME/gtk!329 commit 7a404c32b52064a3d6ba2c1596ae61a0c681d0ef Merge: 5d903cb094 9b563b9daa Author: Matthias Clasen Date: Thu Sep 13 01:26:35 2018 +0000 Merge branch 'gtk-3-24-fix-glib-dep' into 'gtk-3-24' gtk-3-24: build: Raise glib dependency for unicode 10.0 script names See merge request GNOME/gtk!336 commit db2c9a6ec8f856abd1a7c7c74d65371d68c609cc Author: Руслан Ижбулатов Date: Wed Sep 12 06:55:49 2018 +0000 GDK W32: send both smooth and discrete scrolling events Commit 359df028be7b1dae76a1abb9bad8a3b86a648765 changed the code to send GDK_SCROLL_SMOOTH with deltas instead of GDK_SCROLL_(UP|DOWN|LEFT|RIGHT). Change it again, to send both the GDK_SCROLL_SMOOTH and the GDK_SCROLL_(UP|DOWN|LEFT|RIGHT) event separately (with the discrete event marked as emulated), as this is what other backends (such as wayland) do. gdk/win32/gdkevents-win32.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 9b563b9daa9b6f858961022692187fc062d54334 Author: Mart Raudsepp Date: Wed Sep 12 13:10:41 2018 +0300 build: Raise glib dependency for unicode 10.0 script names Unicode 10.0 script name enums are used in gtk/script-names.c, which aren't defined before glib-2.53.4. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99669503fbc228fcca0edcf9a739354808c46ddb Author: Dorota Czaplejewicz Date: Tue Sep 11 12:12:28 2018 +0000 imwayland: Fix clearing of preedit text in webkitgtk Fixes webkitgtk misbehaviour as outlined in https://gitlab.gnome.org/GNOME/gtk/issues/1316#note_312942 , which was introduced in 49b17e6c. The preedit will be cleared on exit only if it is already present. modules/input/imwayland.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit c22d5ab9f6ae0782c2a472feb58f3b3acd5a03bc Author: Dorota Czaplejewicz Date: Mon Sep 10 08:32:23 2018 +0000 imwayland: Fix clearing of preedit text Fixes terminal emulator misbehaviour as outlined in https://gitlab.gnome.org/GNOME/gtk/issues/1316, which was introduced in 49b17e6c. The original commit cleared preedit text by setting it to an empty string, which still counted as existing preedit. The fix sets preedit string to null, which is correctly understood as not present. modules/input/imwayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d903cb094505d653585fcc9b3ec46d313858d3f Author: Chun-wei Fan Date: Tue Sep 11 18:13:10 2018 +0800 builds: Fix introspection with MSVC builds For building the introspection dumper program on Visual Studio, leave out the G_LOG_DOMAIN as g-ir-scanner does not like it when it constructs the compiler command line for Visual Studio. Also ensure that we are looking for the freshly-built libraries by looking for the .lib's from the output directories of the Visual Studio project files. build/Makefile.msvc-introspection | 1 + gdk/Makefile.am | 2 +- gtk/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 416feacfe3e7a3ae4477ee10adefcf4c3811c66f Merge: 6ab9a85ac9 f893e668c8 Author: Jakub Steiner Date: Mon Sep 10 19:07:26 2018 +0000 Merge branch 'adwaita-fixes-3' into 'gtk-3-24' Adwaita: Fix errors in two recent MRs See merge request GNOME/gtk!330 commit f893e668c87dfbdae45dfbeaa1774dbb217bc860 Author: Adrien Plazas Date: Mon Sep 10 14:40:13 2018 +0200 Adwaita: Fix sidebar separator styling Simplify the styling of sidebar separators by not setting their borders and margins rather than trying to drop it afterward, which was actually not working anyway. gtk/theme/Adwaita/_common.scss | 30 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 23 insertions(+), 23 deletions(-) commit a0acdcd08c6b2ea133cc355a7cc07e3c9c4a4ccc Author: Adrien Plazas Date: Mon Sep 10 12:45:26 2018 +0200 Adwaita: Fix dropping the backgroud on nested headerbars Make the selector less greedy to not remove the background on non-titlebar headerbars contained in non-headerbar titlebars and only to the ones contained in headerbar titlebars. This avoid issues in some applications. Also make dropping the background more agressive to actually remove it. gtk/theme/Adwaita/_common.scss | 21 ++++++++++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 14 insertions(+), 15 deletions(-) commit 6ab9a85ac9de69936f0593c795989ac08d3cdbc7 Merge: 7e0aba77ff e33b93a97e Author: Jakub Steiner Date: Mon Sep 10 10:46:03 2018 +0000 Merge branch 'wip/adwaita/linked-entry-error-state-fix-3-24' into 'gtk-3-24' Adwaita: Fix linked elements in error state See merge request GNOME/gtk!316 commit 7e0aba77ff18424d19935af3a0ba001f7ceb3569 Merge: cbf76d4693 43c458f45f Author: Jakub Steiner Date: Mon Sep 10 08:59:37 2018 +0000 Merge branch 'selection-mode-ancestor-3' into 'gtk-3-24' Adwaita: Set selection mode to headerbars if it's on ancestors See merge request GNOME/gtk!325 commit cbf76d46939f2c699e01381c2759ffb9c266b810 Merge: 85a98d5d7c f9ba306116 Author: Jakub Steiner Date: Mon Sep 10 08:59:04 2018 +0000 Merge branch 'separator-sidebar-3' into 'gtk-3-24' Adwaita: Style separator.sidebar See merge request GNOME/gtk!323 commit 85a98d5d7c07ca75909fc1c5dad0674c0e88e033 Merge: 87fa847b64 f0696dfae0 Author: Jakub Steiner Date: Mon Sep 10 08:57:54 2018 +0000 Merge branch 'nested-headerbar-3' into 'gtk-3-24' Adwaita: Drop the background of nested headerbars See merge request GNOME/gtk!322 commit 87fa847b64e35d85ce0c7e2ec5f53958a50edc78 Author: Stas Solovey Date: Sun Sep 9 20:44:39 2018 +0000 Update Russian translation po/ru.po | 1928 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 1722 insertions(+), 206 deletions(-) commit 44fd2702da06a011a0a88d8984b0302692145ec5 Author: Stas Solovey Date: Sun Sep 9 20:06:36 2018 +0000 Update Russian translation po-properties/ru.po | 590 ++++++++++++++++++++++++++++------------------------ 1 file changed, 323 insertions(+), 267 deletions(-) commit 4858f4b46ef19db884afb71957fe1d6a67d88915 Author: Fabio Tomat Date: Sat Sep 8 10:47:42 2018 +0000 Update Friulian translation po/fur.po | 2410 +++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 1967 insertions(+), 443 deletions(-) commit 88dc784256289820fac148fc5c23d0ad92419881 Author: Carlos Garnacho Date: Fri Sep 7 16:54:13 2018 +0200 modules: Check current context before retrieving surrounding There may be situations where this might get called while the currently focused context just went away (eg. after setting the text widget unsensitive). Closes: #1317 modules/input/imwayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 43c458f45ff232564bf7920b467a211179af9ac0 Author: Adrien Plazas Date: Fri Sep 7 15:24:24 2018 +0200 Adwaita: Set selection mode to headerbars if it's on ancestors This allows to set the container of the headerbars in selection mode rather than having to set the mode to each element of the title bar. gtk/theme/Adwaita/_common.scss | 3 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 70 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 70 ++++++++++++++++---------------- 3 files changed, 73 insertions(+), 70 deletions(-) commit f0696dfae03ba070f5436877e321f0392596a5b5 Author: Adrien Plazas Date: Fri Sep 7 13:04:59 2018 +0200 Adwaita: Drop the background of nested headerbars This is needed to work around headerbar sliding animation issues without refactoring Adwaita's support of titlebars and headerbars as it may break applications. https://gitlab.gnome.org/GNOME/gtk/issues/1264 gtk/theme/Adwaita/_common.scss | 11 +++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 15 insertions(+) commit f9ba3061167192c79922d28b54438f6dd3b7d47d Author: Adrien Plazas Date: Fri Sep 7 12:32:36 2018 +0200 Adwaita: Style separator.sidebar Let separators be declared as sidebars to have the same style as those drawn by GtkStackSidebar. This also let them handle the selection-mode class, whether they are assigned it or they descend from something in selection mode. This is convenient when building a custom sidebar using a GtkSeparator and to extend a sidebar to the title bar. gtk/theme/Adwaita/_common.scss | 15 +++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++++ gtk/theme/Adwaita/gtk-contained.css | 6 ++++++ 3 files changed, 27 insertions(+) commit 47122288b82e50b88e3185d960e2ba5ee8a27a36 Author: Matthias Clasen Date: Wed Sep 5 19:54:32 2018 -0400 Fix portal path handling This was broken when I recently introduced this helper function. gtk/gtkprivate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6d5279f3c8cd47eb8d3bbc1fc121bd72ac6d4acf Merge: 207e93f09c 3c7d5e749c Author: Matthias Clasen Date: Wed Sep 5 23:24:35 2018 +0000 Merge branch 'gtk-3-24' into 'gtk-3-24' GtkApplication: Fix CRITICAL on shutdown when register_session=FALSE See merge request GNOME/gtk!320 commit 3c7d5e749ccafa75718ef00f1d5f6cdc0defacb3 Author: Jan Alexander Steffens (heftig) Date: Wed Sep 5 21:46:28 2018 +0200 GtkApplication: Fix CRITICAL on shutdown when register_session=FALSE gtk/gtkapplication-dbus.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 207e93f09ca2a272ea795f86f8285319df745f6d Merge: edf0e746ad 003dc26a57 Author: Christoph Reiter Date: Wed Sep 5 18:10:07 2018 +0000 Merge branch 'ci-msys2-gtk-3-24' into 'gtk-3-24' ci: Add an optional Windows build job using autotools and MSYS2 See merge request GNOME/gtk!319 commit edf0e746ad37df4eb072bffda6a25426338d8abb Author: Daniel Mustieles Date: Wed Sep 5 11:28:49 2018 +0200 Updated Spanish translation po-properties/es.po | 79 +++++++++++++++++++++++++++++------------------------ 1 file changed, 44 insertions(+), 35 deletions(-) commit d1c119bc9f26f2a34e90618bcc15523f63a9f25d Author: Daniel Mustieles Date: Wed Sep 5 11:26:10 2018 +0200 Updated Spanish translation po/es.po | 148 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 82 insertions(+), 66 deletions(-) commit ef57e59af6fc7de2d3ab0a58c4cfae830fd8294e Author: Marek Cernocky Date: Tue Sep 4 11:09:06 2018 +0200 Updated Czech translation po-properties/cs.po | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit ef1a1b5cb1010977d631dc1131b0db45a1e1e15f Author: Matthias Clasen Date: Mon Sep 3 12:41:53 2018 -0400 3.24.0 NEWS | 24 ++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) commit 003dc26a575cee372104dae6c1814cea7c1db322 Author: Christoph Reiter Date: Sat Sep 1 12:06:03 2018 +0200 ci: Add an optional Windows build job using autotools and MSYS2 Set to "manual" because it takes 40-60 minutes depending on the ccache hit rate. .gitlab-ci.yml | 17 ++++++++++++----- .gitlab-ci/test-docker.sh | 4 ++++ .gitlab-ci/test-msys2.sh | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 5 deletions(-) commit 51a64c52b7694b148dceebbd829270ed8f33e867 Author: Efstathios Iosifidis Date: Mon Sep 3 10:46:15 2018 +0000 Update Greek translation po/el.po | 7088 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 4358 insertions(+), 2730 deletions(-) commit e357fc8ebbe874652ce7cd823fdd7439d28c0c75 Author: Anders Jonsson Date: Sun Sep 2 23:14:29 2018 +0000 Update Swedish translation po-properties/sv.po | 582 ++++++++++++++++++++++++++++------------------------ 1 file changed, 319 insertions(+), 263 deletions(-) commit f761fcc8ea97b77e417a408dd9ac42d88e1608b9 Author: Ask Hjorth Larsen Date: Sun Sep 2 23:46:11 2018 +0200 Updated Danish translation of gtk-properties po-properties/da.po | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit d673bbce4200b0a0834a1c2c63d2c630264f32ca Author: Ask Hjorth Larsen Date: Sun Sep 2 23:45:24 2018 +0200 Updated Danish translation of gtk po/da.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 88bbc09bcc16679d0453a4b6e5180f5c5bdfff56 Author: Ask Hjorth Larsen Date: Sun Sep 2 23:19:34 2018 +0200 Updated Danish translation of gtk po/da.po | 2218 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 1872 insertions(+), 346 deletions(-) commit eaa8b0c76c986502d14aacb3b17d514acc3b84be Author: gogo Date: Sun Sep 2 21:16:16 2018 +0000 Update Croatian translation po/hr.po | 2241 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1851 insertions(+), 390 deletions(-) commit 01c81360ed162a9b5e46266e249500bef24f4c0c Author: Ask Hjorth Larsen Date: Sun Sep 2 21:42:45 2018 +0200 Updated Danish translation of gtk-properties po-properties/da.po | 602 +++++++++++++++++++++++++++++----------------------- 1 file changed, 331 insertions(+), 271 deletions(-) commit 351d9a75fee2b7e3b05a446e02aa83c8697a71be Author: gogo Date: Sun Sep 2 18:38:45 2018 +0000 Update Croatian translation po-properties/hr.po | 582 ++++++++++++++++++++++++++++------------------------ 1 file changed, 319 insertions(+), 263 deletions(-) commit c7e89d07eb8690fb21df442a7c5e37f686b7ad4b Author: Balázs Meskó Date: Sun Sep 2 17:17:54 2018 +0000 Update Hungarian translation po/hu.po | 206 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 99 insertions(+), 107 deletions(-) commit f8d185d8df4e6b1f267734afacd1a6b409bc79d7 Author: Balázs Meskó Date: Sun Sep 2 17:12:37 2018 +0000 Update Hungarian translation po-properties/hu.po | 589 ++++++++++++++++++++++++++++------------------------ 1 file changed, 323 insertions(+), 266 deletions(-) commit e33b93a97e8ff6aa0ea14f5a4ee38b80e4aa3859 Author: Alex Monday Date: Sat Sep 1 19:25:41 2018 +0500 themes: Fix linked elements in error state Add instructions for color of linked elements border which ajoints entry, when parent linked entry is in error state. gtk/theme/Adwaita/_common.scss | 14 ++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++++ gtk/theme/Adwaita/gtk-contained.css | 6 ++++++ gtk/theme/HighContrast/_common.scss | 14 ++++++++++++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 6 ++++++ gtk/theme/HighContrast/gtk-contained.css | 6 ++++++ 6 files changed, 52 insertions(+) commit 2ea70c03181842327d355316ba91e64d55ab6ee7 Author: Fran Dieguez Date: Sat Sep 1 13:00:28 2018 +0000 Update Galician translation po-properties/gl.po | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) commit db40563ab0b5168d06b2d2ee65a6558a2eb1efe4 Author: Piotr Drąg Date: Fri Aug 31 19:46:22 2018 +0200 Update Polish translation po-properties/pl.po | 76 +++++++++++++++++++++++++++++------------------------ 1 file changed, 42 insertions(+), 34 deletions(-) commit c57e98123fc8e6e656c0e1cd596877c883ff20bb Author: Rūdolfs Mazurs Date: Fri Aug 31 16:58:13 2018 +0000 Update Latvian translation po-properties/lv.po | 568 +++++++++++++++++++++++++++++----------------------- 1 file changed, 317 insertions(+), 251 deletions(-) commit c1ebaf6d8156f5a4edd4b116c31fd4117192eec1 Author: Milo Casagrande Date: Fri Aug 31 14:51:30 2018 +0000 Update Italian translation po-properties/it.po | 78 +++++++++++++++++++++++++++++------------------------ 1 file changed, 43 insertions(+), 35 deletions(-) commit abe3ccf572a16f7acd49341d4496b8dc88f35bdb Author: Mario Blättermann Date: Fri Aug 31 13:03:16 2018 +0000 Update German translation po-properties/de.po | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) commit cc1832ddde5f56b1f7939a2386ba244b11236500 Author: Rafael Fontenelle Date: Fri Aug 31 12:52:14 2018 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) commit d54f3309055ecd47eaa8f4afcdc17bbf31c54a36 Author: Emin Tufan Çetin Date: Fri Aug 31 10:58:24 2018 +0000 Update Turkish translation po-properties/tr.po | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) commit ae2b356e86593c5d04d961f96dc40654c75fc081 Author: Kukuh Syafaat Date: Fri Aug 31 03:23:08 2018 +0000 Update Indonesian translation po-properties/id.po | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 813c7b19ea9cf0c3d309c7961bffc40a3118c6f7 Author: Matthias Clasen Date: Thu Aug 30 01:06:51 2018 -0400 GtkApplication: track screensaver state A number of applications want to track the state of the screensaver. Make this information available as a boolean property. We only listen for state changes when ::register-session is set to TRUE. This is implemented for unsandboxed D-Bus access by talking directly to org.gnome.ScreenSaver or org.freedesktop.ScreenSaver, and for sandboxed D-Bus by using a (new) portal API. A Quartz implementation is missing. gtk/gtkapplication-dbus.c | 126 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkapplication.c | 37 +++++++++++++ gtk/gtkapplicationprivate.h | 6 +++ 3 files changed, 169 insertions(+) commit 3fc319ff1be391430f23701673253e1c0994a0cc Author: Matthias Clasen Date: Thu Aug 30 16:38:03 2018 -0400 GtkApplication: Respect GTK_USE_PORTAL When the environment variable is set, don't connect to the session manager, but instead rely on the inhibit portal. gtk/gtkapplication-dbus.c | 4 ++++ 1 file changed, 4 insertions(+) commit f734c3d3b02741307b46d298449402901ff7e79d Author: Matthias Clasen Date: Thu Aug 30 13:13:45 2018 -0400 file chooser portal: use request path utilities Less code duplication, more sticky toffee! gtk/gtkfilechoosernativeportal.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) commit c3077467d0b370d445ec404e4a0e042d1c879b89 Author: Matthias Clasen Date: Thu Aug 30 13:12:18 2018 -0400 print portal: use request path utilities Less code duplication, more cookies! gtk/gtkprintoperation-portal.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit e2d066a2ecbce545741b574ac388ccc8acba5be2 Author: Matthias Clasen Date: Thu Aug 30 13:11:51 2018 -0400 color picker portal: Add request path utility Less code duplication, more cake! gtk/gtkcolorpickerportal.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit 6829719d6db2136489c2377a7355c4f33ebbd738 Author: Matthias Clasen Date: Thu Aug 30 13:05:55 2018 -0400 Add utility functions for portal paths The paths that we create for requests and sessions need some icky code to create. Keep it in one place. gtk/gtkprivate.c | 36 ++++++++++++++++++++++++++++++++++++ gtk/gtkprivate.h | 4 ++++ 2 files changed, 40 insertions(+) commit 34713490130180d408dba286a9c53c326a503608 Author: Fran Dieguez Date: Thu Aug 30 17:42:44 2018 +0000 Update Galician translation po/gl.po | 99 +++++++++++----------------------------------------------------- 1 file changed, 17 insertions(+), 82 deletions(-) commit 33f77d86ff42e19be16927cde94871bc403c13c8 Author: Marek Cernocky Date: Thu Aug 30 16:49:53 2018 +0200 Updated Czech translation po/cs.po | 2153 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 1807 insertions(+), 346 deletions(-) commit f56a934a3acecd68f00aed1ab6f6769c0aad88c8 Author: Marek Cernocky Date: Thu Aug 30 14:44:13 2018 +0200 Updated Czech translation po-properties/cs.po | 562 ++++++++++++++++++++++++++++------------------------ 1 file changed, 305 insertions(+), 257 deletions(-) commit 2dfed03b73fff6ebb8035447f81fa9a11d4c2d7d Author: Milo Casagrande Date: Thu Aug 30 12:24:38 2018 +0000 Update Italian translation po/it.po | 2101 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 1781 insertions(+), 320 deletions(-) commit 8aa98cda45613cacf04b255a6c6be5eb5547dd06 Author: Tim Sabsch Date: Thu Aug 30 08:31:13 2018 +0000 Update German translation po/de.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 409a6b81e259cd7231a3570f6626ff9b734411f2 Author: Fran Dieguez Date: Wed Aug 29 21:49:56 2018 +0000 Update Galician translation po-properties/gl.po | 736 ++++++++++++++++++++++++++++------------------------ 1 file changed, 397 insertions(+), 339 deletions(-) commit 887b6f61a34abff378d5a47ecc1da3668cf24b30 Author: Claude Paroz Date: Wed Aug 29 23:01:15 2018 +0200 Updated French translation po/fr.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 983739341dd1b621c6caa3c9194be38cd792b895 Author: Aurimas Černius Date: Wed Aug 29 22:22:58 2018 +0300 Updated Lithuanian translation po/lt.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 26f16c821b2e742cc1d94df50dbad5244dd6a422 Author: Emin Tufan Çetin Date: Wed Aug 29 16:35:23 2018 +0000 Update Turkish translation po/tr.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 8234b065f651b26976eee1cd5bade70ac4a6d74e Author: Fran Dieguez Date: Wed Aug 29 11:11:45 2018 +0000 Update Galician translation po/gl.po | 2305 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1915 insertions(+), 390 deletions(-) commit 31354e1c68b0fdef9cb7f9cd1f1be60e125d1d47 Author: Kukuh Syafaat Date: Wed Aug 29 05:28:52 2018 +0000 Update Indonesian translation po/id.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 34c7eba642104e5eded877704b66cf9ba61b2c71 Author: Matthias Clasen Date: Tue Aug 28 16:52:44 2018 -0400 3.23.3 NEWS | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) commit 79c6c944ecf42c259fc0192dbb530efd76048fbc Author: Rafael Fontenelle Date: Tue Aug 28 22:32:57 2018 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 63 +++++-------------------------------------------------------- 1 file changed, 5 insertions(+), 58 deletions(-) commit 3c265e8c1a5115f87aaacc3730d9804e3253c552 Author: Anders Jonsson Date: Tue Aug 28 21:10:24 2018 +0000 Update Swedish translation po/sv.po | 2293 ++++++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 1879 insertions(+), 414 deletions(-) commit ceb69490a92b8b0d3b87af3f9a295c7b4bdb02cf Merge: aa69b3af5a 5111f7af99 Author: Matthias Clasen Date: Tue Aug 28 20:14:16 2018 +0000 Merge branch 'app-private-recent-list' into 'gtk-3-24' FileChooserWidget: Don't show recent items with private hint set See merge request GNOME/gtk!172 commit 5111f7af9929f0c9bbd8751f0f307a53cf680291 Author: Kai Willadsen Date: Tue Aug 28 20:14:16 2018 +0000 FileChooserWidget: Don't show recent items with private hint set gtk/gtkfilechooserwidget.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit aa69b3af5a9e97eb2e105eeb4a821fc7df436046 Merge: 2307f8ec67 608b44a9fa Author: Matthias Clasen Date: Tue Aug 28 20:10:04 2018 +0000 Merge branch 'gtk-3-24.win.updated' into 'gtk-3-24' Fix pre-C99 builds of the gtk-3-24 branch See merge request GNOME/gtk!310 commit 2307f8ec674a490399d637cdc8cbb6a0f61a5c02 Merge: ea2bef06ec aa5d926c84 Author: Matthias Clasen Date: Tue Aug 28 19:27:24 2018 +0000 Merge branch 'fix-warning-combobox-destroy' into 'gtk-3-24' Fix warning on GtkComboBox destroy See merge request GNOME/gtk!311 commit ea2bef06ecd0a187048a7d1f741c13d698600368 Author: Piotr Drąg Date: Tue Aug 28 18:48:15 2018 +0200 Update Polish translation po/pl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit aa5d926c843aca2af576c38cf25ebdb4d3da2c26 Author: Luca Bacci Date: Tue Aug 28 18:39:05 2018 +0200 Check for NULL priv->popup_window in gtk_combo_box_popdown() Fixes issue #125 gtk/gtkcombobox.c | 3 +++ 1 file changed, 3 insertions(+) commit 61921eba578b1febf0877d0dacff71a1e9554082 Author: Matthias Clasen Date: Tue Aug 28 12:24:13 2018 -0400 Fix a typo Its Hieroglyphs! Closes: #1292 gtk/script-names.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ca98179fc83c6729ed3db4439d104b34225635b Author: Changwoo Ryu Date: Tue Aug 28 15:53:18 2018 +0000 Update Korean translation po-properties/ko.po | 596 ++++++++++++++++++++++++++++------------------------ 1 file changed, 326 insertions(+), 270 deletions(-) commit 608b44a9fab9ba8d6469eb7626273b5c600cf604 Author: Chun-wei Fan Date: Tue Aug 28 17:30:12 2018 +0800 demos/gtk-demo/paint.c: Fix build on pre-C99 Use a const GdkRGBA to replace the compound literal use. demos/gtk-demo/paint.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 6cf729765392c94b02aeb0879a8fb0286934ef4d Author: Chun-wei Fan Date: Tue Aug 28 17:28:23 2018 +0800 gtk/gtkeventcontrollerscroll.c: Include fallback-c89.c ... instead of just math.h, as it uses the C99 function trunc(). This is so that the code builds on pre-C99 compilers. gtk/gtkeventcontrollerscroll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 723e50990fe6400bcd94985ae7475f9f0eadfc2f Author: Chun-wei Fan Date: Tue Aug 28 17:22:13 2018 +0800 gtk/fallback-c89.c: Add C89 fallback for trunc() Check for trunc() during configure and provide a fallback implementation for it if it is not found. config.h.win32.in | 5 +++++ configure.ac | 5 +++-- gtk/fallback-c89.c | 8 ++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) commit ab3527672e087e83f0622ee473aed8c66b2ff1e8 Author: Rafael Fontenelle Date: Tue Aug 28 03:39:09 2018 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 116 ++++++++++++++++++++++++------------------------- 1 file changed, 56 insertions(+), 60 deletions(-) commit 5dd2df75c9da49d15c0551a5ce5ffc480e8bb6d1 Author: Rafael Fontenelle Date: Tue Aug 28 02:56:52 2018 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 635 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 303 insertions(+), 332 deletions(-) commit 7f930b5ded6627a72707f6e3ee2c2775c2da1a0d Author: Changwoo Ryu Date: Mon Aug 27 14:12:09 2018 +0000 Update Korean translation po/ko.po | 2247 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1853 insertions(+), 394 deletions(-) commit a9df4a8f1b546be692a5723027373c52746cbad9 Author: Milo Casagrande Date: Mon Aug 27 08:02:19 2018 +0000 Update Italian translation po-properties/it.po | 559 ++++++++++++++++++++++++++++------------------------ 1 file changed, 305 insertions(+), 254 deletions(-) commit 0dc84df59b456bbf597969b591d170d3554bbce0 Merge: ac654740f3 49b17e6c1e Author: Matthias Clasen Date: Sun Aug 26 23:48:26 2018 +0000 Merge branch 'clear_preedit' into 'gtk-3-24' Clear preedit when a text input loses focus See merge request GNOME/gtk!302 commit ac654740f382f9fb685600ff60f3e379d3c7a8e1 Author: Matthias Clasen Date: Sun Aug 26 18:57:39 2018 -0400 Deprecate GtkRange::upper/lower-stepper-sensitivity These properties have been removed in GTK+ 4. Deprecate them here. gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f459bd6c195e3c1e9c15c1a55110aeb09dfcf92d Author: Kukuh Syafaat Date: Sun Aug 26 13:43:56 2018 +0000 Update Indonesian translation po/id.po | 2254 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1858 insertions(+), 396 deletions(-) commit 4e690a3091a106e68d986660526d1031a444e64d Author: Kukuh Syafaat Date: Sun Aug 26 13:43:26 2018 +0000 Update Indonesian translation po-properties/id.po | 554 ++++++++++++++++++++++++++++------------------------ 1 file changed, 301 insertions(+), 253 deletions(-) commit 4dfd44a84f86ddd1c3e09c80833674efbfbad0d5 Author: Baurzhan Muftakhidinov Date: Sat Aug 25 17:27:26 2018 +0000 Update Kazakh translation po/kk.po | 86 ++++++++++++++++++++++++++-------------------------------------- 1 file changed, 35 insertions(+), 51 deletions(-) commit a9ab1b1b391b1913e38efef147fa44cf47b51359 Author: Baurzhan Muftakhidinov Date: Sat Aug 25 17:26:55 2018 +0000 Update Kazakh translation po-properties/kk.po | 17733 ++++++++++++++++++++++++++------------------------ 1 file changed, 9396 insertions(+), 8337 deletions(-) commit 5dd8befca4e8651d1b4e2e89a95aadcf7f81a0ca Author: Baurzhan Muftakhidinov Date: Sat Aug 25 17:26:07 2018 +0000 Update Kazakh translation po-properties/kk.po | 17671 ++++++++++++++++++++++++-------------------------- 1 file changed, 8339 insertions(+), 9332 deletions(-) commit 49242af74c29d37e9f3b55cd895f9350a8464cf9 Author: Christian Kirbach Date: Sat Aug 25 10:48:51 2018 +0000 Update German translation po/de.po | 166 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 91 insertions(+), 75 deletions(-) commit 49b17e6c1e853e81e2087a989524d8e0cad08d05 Author: Dorota Czaplejewicz Date: Thu Aug 23 12:32:11 2018 +0200 imwayland: clear preedit on focus out modules/input/imwayland.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) commit da8994f941460206106255112ebe7dcd36b83065 Author: Benjamin Otte Date: Wed Aug 22 19:48:20 2018 +0200 Don't deprecate gtk_widget_show_all() After discussions on IRC, the conclusion was reached that deprecations only make sense if an action can be taken to not use the deprecated code that makes the code more current and simplifies a later port to a newer GTK version. In this particular case, the suitable action would be adding gtk_widget_show() calls whenever a widget is created, so that a call to show_all() is not necessary. However, in GTK4 these calls would not be necessary and end up just bloating the codebase unnecessarily. So it was decided the better solution would be to not deprecate the API and instead leave this work to be done during potential GTK4 ports of applications. This reverts commit 4d71d2303dafe1c02eb79040e32fe2172d1f295f. Fixes !1282 gtk/gtkwidget.c | 2 +- gtk/gtkwidget.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 2b9f5e9e32c081b068a25a841fa93aeafbf5eb5f Author: Cheng-Chia Tseng Date: Tue Aug 21 16:23:16 2018 +0000 Update Chinese (Taiwan) translation po-properties/zh_TW.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 6fa28bdaac7ffddde14805ab9f8773e9ded1b440 Author: Cheng-Chia Tseng Date: Tue Aug 21 16:15:54 2018 +0000 Update Chinese (Taiwan) translation po/zh_TW.po | 3577 ++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 2574 insertions(+), 1003 deletions(-) commit 2306c82df7b2ae7ec6e60ec53b46643b4fa3dd9f Author: Rico Tzschichholz Date: Mon Aug 20 16:57:54 2018 +0200 gesturestylus: Add missing array g-i annotation for *_get_axes params gtk/gtkgesturestylus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 009b7dcf1ebadc89efeaf6d1286ba8640a6ad958 Author: Bruce Cowan Date: Sun Aug 19 16:50:48 2018 +0000 Update British English translation po/en_GB.po | 2334 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1916 insertions(+), 418 deletions(-) commit 45b434c28cefc7fd57d7fb8d81fbfd9944536a06 Merge: a6a2745a2a 359df028be Author: Matthias Clasen Date: Sat Aug 18 20:44:24 2018 +0000 Merge branch 'win32-scroll-deltas' into 'gtk-3-24' GDK W32: Support smooth scrolling See merge request GNOME/gtk!292 commit a6a2745a2aad0cb9e2b9ed0d80a00b12bb71699a Author: Tim Sabsch Date: Sat Aug 18 15:41:45 2018 +0000 Update German translation po-properties/de.po | 62 ++++++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 29 deletions(-) commit 645ad9fb624ceb5cfab89ba2a397f60c76cef12c Author: Jordi Mas Date: Sat Aug 18 08:29:58 2018 +0200 Update Catalan translation po/ca.po | 501 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 254 insertions(+), 247 deletions(-) commit 3a8056f2d1f64639e2d27e0810aef6d9952307c1 Author: Jordi Mas Date: Sat Aug 18 08:23:10 2018 +0200 Update Catalan translation po-properties/ca.po | 729 ++++++++++++++++++++++++++++------------------------ 1 file changed, 397 insertions(+), 332 deletions(-) commit dce33fa83028559c513aade9c1d5cc7bfef3aec7 Author: Iain Lane Date: Mon Aug 13 13:52:41 2018 +0100 colorpickershell: Unpack the tuple returned from PickColor() When calling PickColor on org.gnome.Shell, we get back an "a{sv}", which GDBus provides to us as "(a{sv})". At the minute we're not unpacking this tuple, and so picking fails with messages like: GLib-CRITICAL **: 13:38:19.439: g_variant_lookup_value: assertion 'g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{s*}")) || g_variant_is_of_type (dictionary, G_VARIANT_TYPE ("a{o*}"))' failed Gtk-WARNING **: 13:38:19.439: Picking color failed: No color received Let's unpack it. gtk/gtkcolorpickershell.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 25d512c18660c2e47b986efebea22a8eb1898645 Author: Ricardo Silva Veloso Date: Fri Aug 17 08:32:13 2018 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 3710 ++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 2634 insertions(+), 1076 deletions(-) commit c9f875bd770bf99ee61ba6b7098e5ca018925f82 Merge: 677627346d 5c6596ad99 Author: Matthias Clasen Date: Wed Aug 15 22:02:45 2018 +0000 Merge branch 'fix-shifted-scrolling-gtk3' into 'gtk-3-24' gtkscrolledwindow: Consider shift key presses when decelerating [gtk3] See merge request GNOME/gtk!287 commit 677627346d0fe14dc75a0f4fc5d4a734d24c6872 Merge: 436c8802a2 14d22cb323 Author: Matthias Clasen Date: Wed Aug 15 22:01:20 2018 +0000 Merge branch 'wip/tooltip-move-to-rect' into 'gtk-3-24' Make tooltips use gdk_window_move_to_rect() See merge request GNOME/gtk!293 commit 436c8802a23e1cbd2fa0bd1ef4641e850979a5fa Merge: c4f2420e9a 935bb5db32 Author: Jonas Ådahl Date: Tue Aug 14 17:52:59 2018 +0000 Merge branch 'wip/carlosg/issue-844' into 'gtk-3-24' gdk/wayland: Avoid idempotent wl_subsurface.set_position calls See merge request GNOME/gtk!294 commit 935bb5db32ec98c6b70ed02cfaeb15706a4359da Author: Carlos Garnacho Date: Fri Oct 6 01:06:03 2017 +0200 gdk/wayland: Avoid idempotent wl_subsurface.set_position calls These may not result on wl_surface.frame callbacks, yet we do trigger a frame clock tick that would get stuck on the lack of such callback. https://bugzilla.gnome.org/show_bug.cgi?id=784314 https://gitlab.gnome.org/GNOME/gtk/issues/844 Closes: #844 gdk/wayland/gdkwindow-wayland.c | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) commit c4f2420e9ac0e0a19fe74f8a982fb44e1b3e67ae Author: Claude Paroz Date: Tue Aug 14 13:41:09 2018 +0200 Updated French translation po-properties/fr.po | 571 ++++++++++++++++++++++++++++------------------------ po/fr.po | 131 ++++++------ 2 files changed, 379 insertions(+), 323 deletions(-) commit 96ea85a99103980c09b92924ce4e5dc60270a9f6 Author: Emin Tufan Çetin Date: Sun Aug 12 11:07:37 2018 +0000 Update Turkish translation po/tr.po | 61 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 31 insertions(+), 30 deletions(-) commit b5333aec999714b5de14fd4386f7faed4b17f756 Author: Emin Tufan Çetin Date: Sun Aug 12 10:27:10 2018 +0000 Update Turkish translation po/tr.po | 523 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 238 insertions(+), 285 deletions(-) commit f2f11a7f4d816e22f938230b5ee6567ebc89aaa2 Author: Emin Tufan Çetin Date: Sun Aug 12 10:21:06 2018 +0000 Update Turkish translation po-properties/tr.po | 563 +++++++++++++++++++++++++++++----------------------- 1 file changed, 310 insertions(+), 253 deletions(-) commit 9c4f684e1c491d91a163e2f091cbc58424953346 Author: Yi-Jyun Pan Date: Sun Aug 12 10:08:50 2018 +0000 Update Chinese (Taiwan) translation po-properties/zh_TW.po | 556 +++++++++++++++++++++++++++---------------------- 1 file changed, 302 insertions(+), 254 deletions(-) commit fbdf100712e68d3278930e402ac6e58cfba076de Author: Piotr Drąg Date: Sat Aug 11 23:57:28 2018 +0200 Update Polish translation po/pl.po | 55 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 25 deletions(-) commit de9b22a137e5a2ca789df026234b70551fb63138 Author: Aurimas Černius Date: Sat Aug 11 18:09:03 2018 +0300 Updated Lithuanian translation po/lt.po | 102 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 53 insertions(+), 49 deletions(-) commit 14d22cb3233efbd7e9f8f6244179eccc2cc8beb8 Author: Jonas Ådahl Date: Fri Aug 10 17:11:46 2018 +0200 tooltip: Implement positioning using gdk_window_move_to_rect() In order to make tooltip positioning portable, make use of the move_to_rect API. Some semantical changes are made, as identical semantics cannot be implemented using the move-to-rect API. Primarily the implemented semantics are: Position the tooltip in the center pixels slightly below (defaults to 4 units below) the tooltipped widget. This is always the case for keyboard driven tooltips; the case where it tries to avoid the pointer cursor is not implemented. For pointer position triggered tooltips, implement the following additional semantics: Use the current cursor size to determine the padding used to enlarge the anchor rectangle. This is to try to avoid the cursor overlapping the tooltip. If the anchor rectangle is too tall (meaning if we'd be constrained and flip on the Y axis, it'd flip too far away from the originally intended position), rely only on the pointer position to position the tooltip. The approximate pointer cursor rectangle is used as a anchor rectangle. Ideally we should use the actual pointer cursor rectangle (image used as well as hotspot coordinate), but we don't have API to get that information. If the anchor rectangle isn't to tall, just make sure the tooltip isn't too far away from the pointer position on the X axis. Closes: #134 Closes: #432 Closes: #574 Closes: #579 Closes: #878 gtk/gtktooltip.c | 280 ++++++++++++++----------------------------------- gtk/gtktooltipwindow.c | 1 - 2 files changed, 80 insertions(+), 201 deletions(-) commit 595f3902c8249d8fff50de7ebc59cce530f3c96c Author: Jonas Ådahl Date: Fri Aug 10 17:10:16 2018 +0200 gdk/wayland: Always map windows 'moved-to-rect' as popups Only popups can make use of the move-to-rect semantics so it makes no sense to try anything other surface type. gdk/wayland/gdkwindow-wayland.c | 5 +++++ 1 file changed, 5 insertions(+) commit 1ed53199c56cf8927efe417c05ab4424f32b30e5 Author: Jonas Ådahl Date: Fri Aug 10 17:07:05 2018 +0200 gdk/wayland: Don't remap non-subsurface as subsurface Let's just use the fact that a window was mapped as a subsurface to remap it above another transient parent instead of relying on the more complicated 'should-map-as-subsurface' helper function. gdk/wayland/gdkwindow-wayland.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 2e9439b017186e2784a49e9396c34c0f40fa88ff Author: Claude Paroz Date: Thu Aug 9 10:37:29 2018 +0000 Update French translation po/fr.po | 2159 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1786 insertions(+), 373 deletions(-) commit 2dde4e2ff896e5d41c5d5836f81e143eea0ae954 Merge: 08f53740a5 138c196e53 Author: Matthias Clasen Date: Wed Aug 8 09:18:32 2018 +0000 Merge branch 'gtk-3-24-improve-error-message' into 'gtk-3-24' gtkplacessidebar: Improve error message when unlocking volume fails See merge request GNOME/gtk!266 commit 359df028be7b1dae76a1abb9bad8a3b86a648765 Author: Руслан Ижбулатов Date: Tue Aug 7 21:29:21 2018 +0000 GDK W32: Support smooth scrolling Set delta_x or delta_y for GdkScrollEvent. HIWORD (wParam) in WM_MOUSE(H)WHEEL is the scroll delta. A delta value of WHEEL_DELTA (which is 120) means scrolling one full unit of something (for example, a line). The delta should also be multiplied by the value that the SystemParametersInfo (SPI_GETWHEELSCROLL(LINES|CHARS), 0, &value, 0) call gives back, unless it gives back 0xffffffff, in which case it indicates that scrolling is page- or screen-based, not line-based (GDK doesn't support that at the moment). Also, all deltas should be inverted, since MS sends negative deltas when scrolling down (rotating the wheel back, in the direction of the user). With deltas set the mode should be set to GDK_SCROLL_SMOOTH. Fixes issue 1263. gdk/win32/gdkevents-win32.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit 08f53740a56fe412f225001a2c5b9f17fed6e917 Author: Baurzhan Muftakhidinov Date: Mon Aug 6 17:16:43 2018 +0000 Update Kazakh translation po/kk.po | 2255 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1866 insertions(+), 389 deletions(-) commit a1f1144ff3595213e68bd3842cddcde852d52915 Author: Piotr Drąg Date: Mon Aug 6 18:55:14 2018 +0200 Update Polish translation po/pl.po | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 290c5b6b8548a3f016d81a62fc46346732e8a2d9 Merge: ac030fd5e1 4c94a76237 Author: Matthias Clasen Date: Mon Aug 6 12:14:29 2018 +0000 Merge branch 'gtk-3-24-fix-link-error' into 'gtk-3-24' font chooser widget: Add missing build flags See merge request GNOME/gtk!290 commit 4c94a76237446f22646a5367bdf48b6b13eeff92 Author: Kouhei Sutou Date: Mon Aug 6 16:15:48 2018 +0900 font chooser widget: Add missing build flags If we detect HarfBuzz and PangoFT2, GtkFontChooserWidget uses them. So we need to add CFLAGS and LIBS of them to GTK_DEP_CFLAGS/LIBS. If we don't add them, MinGW build fails to link. configure.ac | 29 ++++++++++++++++------------- demos/gtk-demo/Makefile.am | 5 ----- 2 files changed, 16 insertions(+), 18 deletions(-) commit ac030fd5e1ecc7942a505611deb97cb07b2b2676 Author: Aurimas Černius Date: Sun Aug 5 16:02:30 2018 +0300 Updated Lithuanian translation po-properties/lt.po | 567 +++++++++++++++++++++++++++++----------------------- po/lt.po | 120 ++++------- 2 files changed, 347 insertions(+), 340 deletions(-) commit 6b6e53fd237ad70376f15fc6ec731da6d93136bd Author: Matthias Clasen Date: Sat Aug 4 21:39:10 2018 -0400 Make color picker circular The need for center alignment was pointed out by Timm Baeder. gtk/ui/gtkcoloreditor.ui | 4 ++++ 1 file changed, 4 insertions(+) commit 926f25aaecc0494a5aa7b1ba79fc11fdbc52c482 Author: Matthias Clasen Date: Thu Aug 2 20:55:07 2018 -0400 color picker: Also try kwin use a kwin color picker when we run under kwin. gtk/gtkcolorpicker.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 7e74beec5b94254cb2bba8137e4e0569780d29ad Author: Matthias Clasen Date: Thu Aug 2 20:54:21 2018 -0400 Only use the portal color picker when appropriate This is just moving this check around. gtk/gtkcolorpickerportal.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit fc44f9755a578c349df396c8b7d8af8cdb3a1a79 Author: Matthias Clasen Date: Thu Aug 2 20:53:37 2018 -0400 Add a kwin color picker This uses the org.kde.kwin.ColorPicker interface. gtk/Makefile.am | 2 + gtk/gtkcolorpickerkwin.c | 187 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcolorpickerkwinprivate.h | 41 +++++++++ 3 files changed, 230 insertions(+) commit e4a31bc9bc8f668a0624501b52f1d117668f0b11 Author: Piotr Drąg Date: Sat Aug 4 19:39:31 2018 +0200 Update Polish translation po/pl.po | 484 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 245 insertions(+), 239 deletions(-) commit 5c6596ad99cf23a7e621b4752c7066571dce3bc2 Author: Sebastian Keller Date: Sat Aug 4 16:36:47 2018 +0200 gtkscrolledwindow: Consider shift key presses when decelerating Otherwise horizontal scrolling using the shift key would decelerate vertically. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/770 gtk/gtkscrolledwindow.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit 6e4da8fbdbcbe8b9c67c5ab5ce9a31a83ce352ee Author: Benjamin Otte Date: Tue Jul 31 22:42:26 2018 +0200 container: Deprecate focus chains gtk/gtkcontainer.c | 9 +++++++++ gtk/gtkcontainer.h | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) commit 4d71d2303dafe1c02eb79040e32fe2172d1f295f Author: Matthias Clasen Date: Tue Jul 31 13:31:57 2018 -0400 Deprecate show_all apis These functions are gone in GTK+ 4, so deprecate them here. gtk/gtkwidget.c | 2 +- gtk/gtkwidget.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 06800b22ff986671794e7d55107da1cf1b9482d7 Author: Andrea Azzarone Date: Thu Jul 26 10:16:32 2018 +0200 window: Fallback to CSD titlebar in focus-chain CSD titlebar are included in the focus-chain. The logic used makes sure that the initial focus avoids the titlebar, but tabbing around will eventually get there. This logic fails in case the window has no other focusable widgets apart from the ones in the header-bar. If this happens keynav focus will be lost. To handle the above scenario, we need to fallback to focus the header-bar (if any). Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/404 gtk/gtkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9417389659c0054195b3e8324c1145cb077a3909 Author: Matthias Clasen Date: Tue Jul 31 01:54:13 2018 +0000 Update a11y test results The color picker shows up here. testsuite/a11y/colorchooser.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 69c85be8b26c1eeab38821d23ddbf54fc02e9a7d Author: Matthias Clasen Date: Mon Jul 30 18:33:13 2018 -0400 3.23.2 NEWS | 12 ++++++++++++ configure.ac | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) commit 9bae0758eb7ef0966ded8c1d16970b0506563e91 Author: Matthias Clasen Date: Mon Jul 30 17:59:16 2018 -0400 color picker: Better debug spew This will help in debugging issues. gtk/gtkcolorpicker.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 7f290426dcb431fcb29dc0c20545be49e9f51b09 Author: Matthias Clasen Date: Thu Jul 26 18:50:03 2018 -0400 Add a color picker implementation for gnome-shell This adds a GtkColorPicker implementation that talks to gnome-shell to get a color. gtk/Makefile.am | 2 + gtk/gtkcolorpicker.c | 3 +- gtk/gtkcolorpickershell.c | 183 +++++++++++++++++++++++++++++++++++++++ gtk/gtkcolorpickershellprivate.h | 41 +++++++++ 4 files changed, 228 insertions(+), 1 deletion(-) commit 740fc3eeffb9caae9f3eba38fadfbae15cc417b0 Author: Matthias Clasen Date: Thu Jul 26 18:48:37 2018 -0400 Add a color picker implementation for portals This adds a GtkColorPicker implementation that talks to the screnshot portal to get a color. gtk/Makefile.am | 2 + gtk/gtkcolorpicker.c | 7 +- gtk/gtkcolorpickerportal.c | 240 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcolorpickerportalprivate.h | 41 +++++++ 4 files changed, 289 insertions(+), 1 deletion(-) commit 6b3272e4b0f1d1c8978a0a386b53582473531ea8 Author: Matthias Clasen Date: Thu Jul 26 18:46:37 2018 -0400 color editor: Add a color picker button The button is shown if we have a GtkColorPicker implementation. Currently, there are none, so the button is never shown. gtk/gtkcoloreditor.c | 42 ++++++++++++++++++++++++++++++++++++++++++ gtk/ui/gtkcoloreditor.ui | 21 +++++++++++++++++++++ 2 files changed, 63 insertions(+) commit 543fb6d7b6714d81aa33d97d122e289d6a113558 Author: Matthias Clasen Date: Thu Jul 26 18:45:49 2018 -0400 Add a color picker interface This will be used in the color chooser, in subsequent commits. gtk/Makefile.am | 2 ++ gtk/gtkcolorpicker.c | 53 ++++++++++++++++++++++++++++++++++ gtk/gtkcolorpickerprivate.h | 69 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) commit ed1617334f7e1eb726cce845cadd7f9417f56d2b Author: Piotr Drąg Date: Mon Jul 30 22:44:10 2018 +0200 Update POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 77b4c4432effe889d3dd7b54c58be7adaae445af Merge: 5f0a14fa2a 8d77256d53 Author: Matthias Clasen Date: Mon Jul 30 19:31:37 2018 +0000 Merge branch 'wl_text_input_clean' into 'gtk-3-24' Replace gtk_text_input with text_input_unstable_v3 support See merge request GNOME/gtk!272 commit 8d77256d53500c16eaf4cf880506e5b720d8623f Author: Dorota Czaplejewicz Date: Thu Mar 29 19:49:10 2018 +0200 imwayland: Add text-input-unstable-v3 support The wayland input module now represents text-input-unstable-v3 support, while the old module supporting gtk-text-input was renamed to gtkwayland. gtk/gtkimmodule.c | 8 + gtk/gtksettings.c | 9 +- modules/input/Makefile.am | 27 +- modules/input/imwayland.c | 322 +++++++++----- modules/input/imwaylandgtk.c | 703 +++++++++++++++++++++++++++++++ modules/input/text-input-unstable-v3.xml | 441 +++++++++++++++++++ po-properties/POTFILES.in | 1 + 7 files changed, 1404 insertions(+), 107 deletions(-) commit 5f0a14fa2a5d1b7bd1fb1368b70a2ceccfedecb6 Merge: 4693fb9461 6348a7d48f Author: Matthias Clasen Date: Mon Jul 30 14:53:48 2018 +0000 Merge branch 'issue1214-tooltips-win32' into 'gtk-3-24' Gdk-Win32: Correct handling of transient state changes See merge request GNOME/gtk!248 commit 4693fb946156fd350a81fd38c2992dac56839029 Author: Piotr Drąg Date: Sun Jul 29 20:24:41 2018 +0200 Update Polish translation po-properties/pl.po | 94 +++++++++++++++++++++++++++++------------------------ 1 file changed, 52 insertions(+), 42 deletions(-) commit 8be955571d24c79d8d484484896e71515127fad6 Author: Matthias Clasen Date: Sun Jul 29 13:08:05 2018 +0000 Updates NEWS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 7fa5c361be128d03a44e07411fc78bec0eda89df Author: Matthias Clasen Date: Fri Jul 27 11:56:56 2018 +0000 Include Emoji category icons as resources too These icons are very new in the Adwaita icon theme, so we can't rely on them being widely available, and will just include them for now. gtk/Makefile.am | 2 +- .../categories/emoji-activities-symbolic.symbolic.png | Bin 0 -> 417 bytes .../16x16/categories/emoji-body-symbolic.symbolic.png | Bin 0 -> 280 bytes .../16x16/categories/emoji-flags-symbolic.symbolic.png | Bin 0 -> 156 bytes .../16x16/categories/emoji-food-symbolic.symbolic.png | Bin 0 -> 248 bytes .../16x16/categories/emoji-nature-symbolic.symbolic.png | Bin 0 -> 262 bytes .../16x16/categories/emoji-objects-symbolic.symbolic.png | Bin 0 -> 155 bytes .../16x16/categories/emoji-people-symbolic.symbolic.png | Bin 0 -> 223 bytes .../16x16/categories/emoji-recent-symbolic.symbolic.png | Bin 0 -> 351 bytes .../16x16/categories/emoji-symbols-symbolic.symbolic.png | Bin 0 -> 230 bytes .../16x16/categories/emoji-travel-symbolic.symbolic.png | Bin 0 -> 235 bytes .../categories/emoji-activities-symbolic.symbolic.png | Bin 0 -> 607 bytes .../24x24/categories/emoji-body-symbolic.symbolic.png | Bin 0 -> 409 bytes .../24x24/categories/emoji-flags-symbolic.symbolic.png | Bin 0 -> 258 bytes .../24x24/categories/emoji-food-symbolic.symbolic.png | Bin 0 -> 374 bytes .../24x24/categories/emoji-nature-symbolic.symbolic.png | Bin 0 -> 438 bytes .../24x24/categories/emoji-objects-symbolic.symbolic.png | Bin 0 -> 267 bytes .../24x24/categories/emoji-people-symbolic.symbolic.png | Bin 0 -> 325 bytes .../24x24/categories/emoji-recent-symbolic.symbolic.png | Bin 0 -> 590 bytes .../24x24/categories/emoji-symbols-symbolic.symbolic.png | Bin 0 -> 329 bytes .../24x24/categories/emoji-travel-symbolic.symbolic.png | Bin 0 -> 357 bytes .../categories/emoji-activities-symbolic.symbolic.png | Bin 0 -> 851 bytes .../32x32/categories/emoji-body-symbolic.symbolic.png | Bin 0 -> 496 bytes .../32x32/categories/emoji-flags-symbolic.symbolic.png | Bin 0 -> 237 bytes .../32x32/categories/emoji-food-symbolic.symbolic.png | Bin 0 -> 388 bytes .../32x32/categories/emoji-nature-symbolic.symbolic.png | Bin 0 -> 462 bytes .../32x32/categories/emoji-objects-symbolic.symbolic.png | Bin 0 -> 236 bytes .../32x32/categories/emoji-people-symbolic.symbolic.png | Bin 0 -> 359 bytes .../32x32/categories/emoji-recent-symbolic.symbolic.png | Bin 0 -> 729 bytes .../32x32/categories/emoji-symbols-symbolic.symbolic.png | Bin 0 -> 430 bytes .../32x32/categories/emoji-travel-symbolic.symbolic.png | Bin 0 -> 422 bytes .../categories/emoji-activities-symbolic.symbolic.png | Bin 0 -> 1282 bytes .../48x48/categories/emoji-body-symbolic.symbolic.png | Bin 0 -> 706 bytes .../48x48/categories/emoji-flags-symbolic.symbolic.png | Bin 0 -> 328 bytes .../48x48/categories/emoji-food-symbolic.symbolic.png | Bin 0 -> 608 bytes .../48x48/categories/emoji-nature-symbolic.symbolic.png | Bin 0 -> 686 bytes .../48x48/categories/emoji-objects-symbolic.symbolic.png | Bin 0 -> 319 bytes .../48x48/categories/emoji-people-symbolic.symbolic.png | Bin 0 -> 566 bytes .../48x48/categories/emoji-recent-symbolic.symbolic.png | Bin 0 -> 1056 bytes .../48x48/categories/emoji-symbols-symbolic.symbolic.png | Bin 0 -> 626 bytes .../48x48/categories/emoji-travel-symbolic.symbolic.png | Bin 0 -> 639 bytes 41 files changed, 1 insertion(+), 1 deletion(-) commit ff24c82dd4ae2230ac62491f5cb58c88c21cd6a7 Author: Matthias Clasen Date: Thu Jul 19 17:24:11 2018 -0400 Emoji chooser: Use icons for sections This is more reliable than using text-style Emoji which may not be present. Based on work by Julian Sparber. gtk/gtkemojichooser.c | 32 +++++++++++++----------------- gtk/ui/gtkemojichooser.ui | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 18 deletions(-) commit 7becabebe188f8009c0473fc4b77c9ce74c11aa9 Author: Aurimas Černius Date: Sat Jul 28 20:31:14 2018 +0300 Updated Lithuanian translation po/lt.po | 2267 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1887 insertions(+), 380 deletions(-) commit ffa4e2308a0a0d258bae42d5e9de92f244f1b800 Merge: e0807fcf54 508e0648b5 Author: Carlos Garnacho Date: Sat Jul 28 10:14:56 2018 +0000 Merge branch 'wip/chergert/imwayland-leak' into 'gtk-3-24' imwayland: fix potential leak of attr list See merge request GNOME/gtk!277 commit 508e0648b5564c315379f61a8cf4c1771928850a Author: Christian Hergert Date: Fri Jul 27 23:46:31 2018 -0700 imwayland: fix potential leak of attr list This fixes a potential leak of a PangoAttrList that is set when chaining up to the parent get_preedit_string(). We check to see if the attr list was created and reuse it instead of leaking the previous value. modules/input/imwayland.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6348a7d48ffb24f95b7fe8dd2cc29a7cd7e6de98 Author: Luca Bacci Date: Tue Jul 17 12:01:54 2018 +0200 Gdk-Win32: Correct handling of transient state changes gdk_win32_window_set_transient_for() behaves incorrectly when called in sequence with the same arguments. This fix ensures it always operates correctly. In some cases this function gets called multiple times with the same arguments, e.g. when tooltips are shown. See issue #1214 gdk/win32/gdkwindow-win32.c | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) commit e0807fcf54c5df00b6f5cc26f035106cd4c33e32 Author: Benjamin Otte Date: Tue Jul 24 19:44:36 2018 +0200 gtk; Deprecate gtk_render_frame_gap() Use gtk_render_frame() instead. gtk/gtkrender.c | 3 +++ gtk/gtkrender.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 8fd5b567dcde6308cbc2674f6136a5cc048913cb Author: Benjamin Otte Date: Tue Jul 24 20:32:06 2018 +0200 gdk: Add GDK_DEPRECATED_IN_3_24() macros gdk/gdkversionmacros.h.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit a6de3ed7b418328b2cdd641fec3fcf75ff3eb4c4 Author: Daniel Mustieles Date: Tue Jul 24 10:13:50 2018 +0200 Updated Spanish translation po-properties/es.po | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) commit 138c196e53752762b8e20a244fb2189460c5ca13 Author: segfault Date: Mon Jul 23 23:35:01 2018 +0200 gtkplacessidebar: Improve error message when unlocking volume fails gtk/gtkplacessidebar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3658b8f7094c8bb42b6d31f791b391333bf71f7a Author: Daniel Mustieles Date: Mon Jul 23 10:07:23 2018 +0000 Update Spanish translation po-properties/es.po | 461 +++++++++++++++++++++++++++++----------------------- 1 file changed, 259 insertions(+), 202 deletions(-) commit c0b03564f5f58886f1a7ee4ec1a23efdd84d6a01 Author: Daniel Mustieles Date: Mon Jul 23 10:02:39 2018 +0000 Update Spanish translation po/es.po | 572 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 256 insertions(+), 316 deletions(-) commit 8535610b1903da8fc4b5ff593079e75667777346 Merge: 5b527d6910 0e7228b267 Author: Matthias Clasen Date: Sun Jul 22 17:14:27 2018 +0000 Merge branch 'gtk-3-24-add-spinner-to-sidebar-row' into 'gtk-3-24' gtkplacessidebar: Show busy spinner in sidebar row during mount ops See merge request GNOME/gtk!260 commit 0e7228b26740244037f0aa8bf7fa8dc89f9554de Author: segfault Date: Sun Jul 22 13:47:46 2018 +0200 gtkplacessidebar: Show busy spinner in sidebar row during mount ops gtk/gtkplacessidebar.c | 38 ++++++++++++++++++++++++++++---------- gtk/gtksidebarrow.c | 12 ++++++++++++ gtk/gtksidebarrowprivate.h | 2 ++ gtk/ui/gtksidebarrow.ui | 9 +++++++++ 4 files changed, 51 insertions(+), 10 deletions(-) commit 5b527d69100a1d275ceea44ffb693a4eaf309d73 Author: Bastien Nocera Date: Sat Jul 21 14:50:37 2018 +0200 test: Fix compile-time warnings testsuite/gtk/notify.c: In function ‘test_type’: testsuite/gtk/notify.c:434:14: warning: assignment to ‘GObject *’ {aka ‘struct _GObject *’} from incompatible pointer type ‘GtkSettings *’ {aka ‘struct _GtkSettings *’} [-Wincompatible-pointer-types] instance = g_object_ref (gtk_settings_get_default ()); ^ testsuite/gtk/notify.c:443:16: warning: assignment to ‘GObject *’ {aka ‘struct _GObject *’} from incompatible pointer type ‘GdkWindow *’ {aka ‘struct _GdkWindow *’} [-Wincompatible-pointer-types] instance = g_object_ref (gdk_window_new (NULL, &attributes, 0)); ^ testsuite/gtk/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit eb3fd5e941ae078d21d130f5f3de33871b4e939e Author: Carlos Garnacho Date: Fri Feb 16 19:25:15 2018 +0100 gtksettings: Remove leftover code The immodule variable is unused gtk/gtksettings.c | 5 ----- 1 file changed, 5 deletions(-) commit ca192a87c256173effb8d54f241e43dd08df57af Author: Tim Sabsch Date: Fri Jul 20 20:31:47 2018 +0000 Update German translation po/de.po | 2174 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1812 insertions(+), 362 deletions(-) commit fa77925da2696b5b5463f62d5ed85913df0499cb Merge: 172dc3e79a db7f085315 Author: Matthias Clasen Date: Fri Jul 20 14:07:44 2018 +0000 Merge branch 'gtk-3-24' into 'gtk-3-24' Remove deprecated functions See merge request GNOME/gtk!255 commit 172dc3e79a05581793413954bb11803c12e41f9c Merge: 577dfb9e2f cb39169ba7 Author: Benjamin Otte Date: Fri Jul 20 14:05:12 2018 +0000 Merge branch 'wip/muktupavels/deprecate-gtk-css-provider-get-default' into 'gtk-3-24' gtkcssprovider: deprecate gtk_css_provider_get_default See merge request GNOME/gtk!257 commit cb39169ba75f2ab9081f8e48a0c207718b10a347 Author: Alberts Muktupāvels Date: Thu Jul 19 19:20:50 2018 +0300 gtkcssprovider: deprecate gtk_css_provider_get_default This function is unused since cdc6e8272020 commit and does not contain fallback style. https://gitlab.gnome.org/GNOME/gtk/issues/1226 gtk/gtkcssprovider.c | 2 ++ gtk/gtkcssprovider.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 577dfb9e2f0cbfa187d08dcf1ca14c56ff0e89c7 Author: Emin Tufan Çetin Date: Fri Jul 20 11:21:46 2018 +0000 Update Turkish translation po/tr.po | 2371 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 2061 insertions(+), 310 deletions(-) commit db7f0853159fdfb639afe4bfdaba6e938e74cc5a Author: Yi-Soo An Date: Fri Jul 20 15:42:26 2018 +0900 tests/animated-resizing: Remove deprecated functions The functions as below are deprecated - gdk_screen_get_monitor_geometry - gdk_screen_get_primary_monitor Instead of them, use functions below - gdk_monitor_get_geometry - gdk_display_get_primary_monitor tests/animated-resizing.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit de188592491b82b201166dd9ac10b0481089a614 Author: Yi-Soo An Date: Fri Jul 20 15:40:37 2018 +0900 demos/gtk-demo/changedisplay: Remove deprecated gdk_flush Use gdk_display_flush instead of it. demos/gtk-demo/changedisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5fb999010c520aa419f21c5d689fcda4202fcbd8 Author: Yi-Soo An Date: Fri Jul 20 15:39:49 2018 +0900 modules/input/gtkimcontextthai: Remove deprecated gdk_beep Use gdk_display_beep instead of it. modules/input/gtkimcontextthai.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2c3a7c63ef7f7c36cac01a0afaaecb08f6bdf86f Merge: 078870f604 4b4ae4464c Author: Timm Bäder Date: Fri Jul 20 06:24:14 2018 +0000 Merge branch '628-text-view-width' into 'gtk-3-24' Resolve #628: "TextView: spaces acting as non-breaking whitespace if :left- or :right-margin is set" See merge request GNOME/gtk!236 commit 078870f604d58352f38eb55d453642a0978ad0af Author: Matthias Clasen Date: Thu Jul 19 17:57:19 2018 -0400 Emoji chooser: Also check for hex boxes We don't want to see those either. gtk/gtkemojichooser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit c52d9cfc14009b1821f99e2c9b30534ae164914f Author: Matthias Clasen Date: Thu Jul 19 17:50:54 2018 -0400 moji chooser: Try harder to avoid fallback We don't want to see any fallback rendering. The current check was still letting some fallback combinations through. Based on work by Julian Sparber. gtk/gtkemojichooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e37e1dfcb0a16a19120b427fce428d59aa3039e3 Merge: cb4ea3fc65 2e5307daea Author: Matthias Clasen Date: Thu Jul 19 20:23:29 2018 +0000 Merge branch 'gtk-3-24-defaultvalues-ignore-more' into 'gtk-3-24' defaultvalue: Ignore more style properties that Adwaita overrides See merge request GNOME/gtk!253 commit 2e5307daea1278f5bdda2a7c04e27d526dcb3f05 Author: Iain Lane Date: Thu Jul 19 15:45:48 2018 +0100 defaultvalue: Ignore more style properties that Adwaita overrides These broke once we switched away from Raleigh testsuite/gtk/defaultvalue.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit cb4ea3fc6527ca14b51303258677240f2233eced Author: Daniel Boles Date: Wed Jul 18 23:09:12 2018 +0100 NEWS: Remove an accidental tab NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56033a8d27065b9ab883fd105e75e14921558939 Author: Timm Bäder Date: Tue Jul 17 17:33:09 2018 +0200 gesturestylus: Clarify a documentation comment Use the proper gtkdoc syntax for signals. gtk/gtkgesturestylus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f7f3939b048720aadc06c45465dea732456d212a Author: Matthias Clasen Date: Wed Jul 18 15:55:30 2018 -0400 3.23.1 NEWS | 30 +++++++++++++++++++++++++++++- configure.ac | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) commit 13a36e81dc7c3a7f8f67fe86618f11c42a3cb20f Author: Piotr Drąg Date: Wed Jul 18 17:00:11 2018 +0200 Update POTFILES.in po-properties/POTFILES.in | 4 ++++ po/POTFILES.in | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) commit affb4ff5f414ee3c4b15d577172558698f5f647f Author: Matthias Clasen Date: Wed Jul 18 07:18:21 2018 -0400 Fix up version annotations The new api here was introduced in 3.24. gtk/gtkeventcontrollerkey.c | 2 +- gtk/gtkeventcontrollermotion.c | 4 ++-- gtk/gtkeventcontrollerscroll.c | 10 +++++----- gtk/gtkeventcontrollerscroll.h | 2 +- gtk/gtkgesturestylus.c | 8 ++++++-- gtk/gtkgesturestylus.h | 10 +++++----- 6 files changed, 20 insertions(+), 16 deletions(-) commit ee22277f18aafa7d6f23de90001fbde42db3c4c7 Author: Matthias Clasen Date: Wed Jul 18 07:12:41 2018 -0400 Add new API to the docs docs/reference/gtk/gtk-docs.sgml | 4 ++ docs/reference/gtk/gtk3-sections.txt | 81 ++++++++++++++++++++++++++++++++++++ docs/reference/gtk/gtk3.types.in | 3 ++ 3 files changed, 88 insertions(+) commit cc73241c7b681f91587b5606d04688356b1b8a29 Merge: ac358d2507 9ee60777e7 Author: Matthias Clasen Date: Wed Jul 18 00:23:37 2018 +0000 Merge branch 'wip/carlosg/controllers-backport' into 'gtk-3-24' Wip/carlosg/controllers backport See merge request GNOME/gtk!246 commit ac358d250795ab7ba0586f0a408a38bba4b0c048 Author: Balázs Meskó Date: Tue Jul 17 23:11:18 2018 +0000 Update Hungarian translation po/hu.po | 2198 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 1833 insertions(+), 365 deletions(-) commit 9ee60777e7e1e0e16641746f741dc68d0412e6b1 Author: Carlos Garnacho Date: Mon Jul 16 15:44:35 2018 +0200 sm scroll gtk/gtkeventcontrollerscroll.c | 2 ++ 1 file changed, 2 insertions(+) commit effdf3af74a15e6f49e8b00279f384529b42cf14 Author: Carlos Garnacho Date: Fri Feb 2 16:04:17 2018 +0100 demos: Add "Paint" demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/paint.c | 255 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 257 insertions(+) commit a8463953a47da79818028d55458ebef726a51537 Author: Carlos Garnacho Date: Thu Feb 1 17:52:40 2018 +0100 gtk: Add GtkGestureStylus This is a GtkGesture done to deal with stylus events from drawing tablets. Those have a special number of characteristics that extend a regular pointer, so it makes sense to wrap that. gtk/Makefile.am | 3 + gtk/gtk.h | 1 + gtk/gtkgesturestylus.c | 269 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturestylus.h | 59 +++++++++ gtk/gtkgesturestylusprivate.h | 51 ++++++++ po/POTFILES.in | 1 + 6 files changed, 384 insertions(+) commit 7793aab5f00ab14a5dbd4a0305d93c95ebee0a11 Author: Carlos Garnacho Date: Thu Mar 22 18:32:19 2018 +0100 gtkeventcontrollerkey: Add ::focus-in/out signals And handle GDK_FOCUS_CHANGE events in order to emit those. gtk/gtkeventcontrollerkey.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit ecf9fa65b8d864f4c815e229783e8d5fa2fccb93 Author: Carlos Garnacho Date: Thu Mar 22 17:54:52 2018 +0100 gtkeventcontrollerkey: Add get_group() call Callers can use this function on a key-pressed/released signal to find out the key event group, useful in a few places. gtk/gtkeventcontrollerkey.c | 9 +++++++++ gtk/gtkeventcontrollerkey.h | 2 ++ 2 files changed, 11 insertions(+) commit a32933b056a81e3b4325949450dd92e6b54c740d Author: Carlos Garnacho Date: Sun Mar 11 13:38:19 2018 +0100 eventcontrollerkey: Add function to forward stuff elsewhere gtk/gtkeventcontrollerkey.c | 21 ++++++++++++++++++++- gtk/gtkeventcontrollerkey.h | 4 ++++ 2 files changed, 24 insertions(+), 1 deletion(-) commit e0f3e8a7e5d898aba11cce1fcffe79fd142b12ae Author: Carlos Garnacho Date: Mon Dec 11 19:21:38 2017 +0100 gtk: Add GtkEventControllerKey This event controller is meant to replace usage from key-press/release-event handlers all through. Optionally it can be set a GtkIMContext, so interaction is carried by the controller. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkeventcontrollerkey.c | 217 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkeventcontrollerkey.h | 57 ++++++++++++ po/POTFILES.in | 3 + 5 files changed, 280 insertions(+) commit 1f9de707f7e1bd6f7241000dbbad464530b23e81 Author: Matthias Clasen Date: Mon Jan 1 20:07:24 2018 -0500 Add x/y to GtkEventControllerMotion::enter We have this information available in enter events, and having it in the controller signal as well makes porting easier. Update existing users. gtk/gtkeventcontrollermotion.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit 8b2c3a8c1a8330e64f5908557900fdd976162e5a Author: Matthias Clasen Date: Mon Dec 11 18:29:33 2017 -0500 Add a simple motion eventcontroller This can serve as a replacement for the legacy event signals for enter/leave/motion notify. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkeventcontrollermotion.c | 160 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkeventcontrollermotion.h | 50 +++++++++++++ 4 files changed, 213 insertions(+) commit e7af3410cfc80375e2aafdb26c6291779473323d Author: Matthias Clasen Date: Tue Dec 26 20:04:07 2017 -0500 Avoid excess notification for GdkEventControllerScroll::flags We have a test that checks this, and it is the right thing to do. gtk/gtkeventcontrollerscroll.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 84d3bfb6fd13959b44ee8d6947d91e03f90fc8e6 Author: Carlos Garnacho Date: Tue Oct 31 12:45:37 2017 +0100 gtk: Remove CONSTRUCT_ONLY flag from GtkEventControllerScroll::flags There is a gtk_event_controller_scroll_set_flags() call that's meant to be called after construction (eg. due to scrolledwindow relayouts hiding/showing scrollbars). The property shouldn't be construct-only for consistence. gtk/gtkeventcontrollerscroll.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 448551f31c0d7323b593d9ac7e293a1df8ba57aa Author: Carlos Garnacho Date: Sat Dec 2 00:18:07 2017 +0100 gtkeventcontrollerscroll: Add some docs docs/reference/gtk/gtk3.types.in | 1 + gtk/gtkeventcontrollerscroll.c | 114 +++++++++++++++++++++++++++++++++++++++ gtk/gtkeventcontrollerscroll.h | 14 +++++ 3 files changed, 129 insertions(+) commit 7b8c036f8fd1c351d6816250283d9651f625c4ef Author: Timm Bäder Date: Wed Oct 11 08:06:33 2017 +0200 eventcontrollerscroll: Emit ::scroll for -1/+1 discrete steps The > 1 meant it only emits the signal for -2/+2 steps. gtk/gtkeventcontrollerscroll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 747be0f4999bc9e855cc1f6a4b98ccd371835d49 Author: Carlos Garnacho Date: Fri Sep 15 13:22:57 2017 +0200 gtk: Add GtkEventControllerScroll This is a GtkEventController implementation to handle mouse scrolling. It handles both smooth and discrete events and offers a way for callers to tell their preference too, so smooth events shall be accumulated and coalesced on request. On capable devices, it can also emit ::scroll-begin and ::scroll-end enclosing all ::scroll events for a scroll operation. It also has builtin kinetic scrolling capabilities, reporting the initial velocity for both axes after ::scroll-end if requested. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkeventcontrollerscroll.c | 401 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkeventcontrollerscroll.h | 66 +++++++ 4 files changed, 470 insertions(+) commit 9008f7702dff689ce48f2cfa7ce42db099e4ef0c Author: Benjamin Otte Date: Fri Jul 13 14:52:43 2018 +0200 window: Update opaque region if background-color changes The opaque region is only set when the background color is opaque. So we need to do something about it when the background color changes. However, in the case where a size allocation is going to happen, we already do this update in size_allocate(), so in that case avoid doing it twice. gtk/gtkwindow.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit df0454236c720406c3c9ecea4fe5c27f34954a97 Author: Bruno Lopes da Silva Date: Tue Jul 10 13:02:08 2018 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 567 +++++++++++++++++++++++++++---------------------- 1 file changed, 312 insertions(+), 255 deletions(-) commit 8373b906d4a035d894f233c1892ac96ce3d37da8 Merge: 0bca6969d4 660087db42 Author: Jakub Steiner Date: Mon Jul 9 15:27:51 2018 +0000 Merge branch 'expander-size-3' into 'gtk-3-24' HighContrast: Restore expander size See merge request GNOME/gtk!210 commit 4b4ae4464c8fca64fec0d6eb60927cc519ffbe92 Author: Peter Bloomfield Date: Sun Jul 8 17:24:07 2018 -0400 text-view: Do not double-allocate borders Reverts part of Commit 25b67af3 The 'width' part of the commit is the cause of #628: requisition->width is first set to priv->layout->width, which already includes priv->left_border + priv->right_border. It's a bit labyrinthine, but essentially: * layout->width is set in update_layout_size() (gtktextlayout.c line 992) as the maximum line width, and * the line width is set to display->width in gtk_text_layout_real_wrap() (gtktextlayout.c line 1183), and * display->width is set to text_pixel_width + h_margin + h_padding in gtk_text_layout_get_line_display() (gtktextlayout.c line 2584), and * h_margin + h_padding is the same as priv->left_border + priv->right_border. Adding it again leads to an increase in the size-request, which results in wider lines; rinse and repeat. gtk/gtktextview.c | 1 - 1 file changed, 1 deletion(-) commit 0bca6969d448addc1499de76249faaf0dce8a734 Author: Mario Blättermann Date: Sat Jul 7 19:48:26 2018 +0000 Update German translation po-properties/de.po | 558 ++++++++++++++++++++++++++++------------------------ 1 file changed, 303 insertions(+), 255 deletions(-) commit 660087db42303bd4738538c93e95ce7fb7a0f34b Author: Samuel Thibault Date: Thu Jun 21 15:58:39 2018 +0200 HighContrast: Restore expander size Expanders used to be 16px high. With the move from the gtk2 rendering to gtk3 rendering they shrunk to 12px, making them hard to see, because it's now the icon which is 16px high and the icon contains transparent borders. This makes the HighContrast theme use 24px icons instead, to restore 16px expanders. This may expander some containers a bit. Closes #1046 gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ++-- gtk/theme/HighContrast/gtk-contained.css | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) commit 927004178f17ffabac42c75009c5ea0d8c601527 Merge: 1b8de2d5fa d49335c59a Author: Jonas Ådahl Date: Tue Jul 3 10:14:57 2018 +0000 Merge branch 'fix_wayland_csd_announce' into 'gtk-3-24' Fix gdk_wayland_window_announce_csd See merge request GNOME/gtk!221 commit 1b8de2d5fa27cd4c8d249c5e176ac0bff154f252 Author: Daniel Boles Date: Mon Jul 2 21:45:06 2018 +0100 Adwaita: Drop some unneeded overrides The pseudoclasses work fine on the subnodes without having to also apply `parent:class subnode`. gtk/theme/Adwaita/_common.scss | 4 ---- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 8 insertions(+), 12 deletions(-) commit 483d25f418a4d298a41c3f0a6dd12a58ba5d2983 Author: Daniel Boles Date: Mon Jul 2 20:31:45 2018 +0100 ModelButton: Add Since annotation on new prop gtk/gtkmodelbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 1d30ada73567d655cf735829e4743c8ed75ab0f4 Author: Daniel Boles Date: Mon Jul 2 20:11:12 2018 +0100 ScrolledWindow: a couple of spelling/grammar fixes (A) Put a space in "scrolled window" like the other doc comments (B) Say "i.e." rather than "ie." (C) Fix grammar from "makes [...] exactly reaches" to "exactly reach" gtk/gtkscrolledwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8a00551871d5d649cd6f79480e79f2fc2943783b Author: Daniel Boles Date: Mon Jul 2 20:09:37 2018 +0100 ScrolledWindow: Fix/improve doc of key bindings Saying 'key + modifiers' is really weird, so reverse that, and explain why there are 2 cited and what the difference between them is. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ed3a77d29174f511d22fad6ece2bb201b67f328 Author: Daniel Boles Date: Mon Jul 2 20:07:23 2018 +0100 ScrolledWindow: Add missing apostrophes gtk/gtkscrolledwindow.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 29b61176bb60c0acd6a0623d460254cead68e5e0 Merge: 174c4fa7ee b6db96cd1a Author: Matthias Clasen Date: Mon Jul 2 17:18:26 2018 +0000 Merge branch 'wip/gtk324.win.egl' into 'gtk-3-24' Add an EGL renderer for GDK-Win32 for GTK+-3.24 (was: merge request !126) See merge request GNOME/gtk!191 commit 174c4fa7ee03f47017320c70814a2bad1600f951 Merge: 08adcb6318 504eb89155 Author: Matthias Clasen Date: Mon Jul 2 17:16:59 2018 +0000 Merge branch 'wip/aplazas/modelbutton-markup' into 'gtk-3-24' ModelButton: Add 'use-markup' property See merge request GNOME/gtk!219 commit 08adcb6318dab1b661fa227b6863519fcbe5d4ba Author: Daniel Boles Date: Sun Jul 1 16:08:06 2018 +0100 PlacesSidebar: Fix warning about signal parameters @open_flags was not documented, and so: jhbuild/checkout/gnome/gtk+-3/gtk/gtkplacessidebar.c:4743: Warning: Gtk: incorrect number of parameters in comment block, parameter annotations will be ignored. gtk/gtkplacessidebar.c | 2 ++ 1 file changed, 2 insertions(+) commit 504eb891559e7cca70b4bf4f3b308ce9829a00d4 Author: Adrien Plazas Date: Mon Apr 23 11:06:17 2018 +0200 ModelButton: Add 'use-markup' property Binds this property to the button's label, allowing a model button to have text with markup. This will be convenient for buttons like 'Online Accounts '. gtk/gtkmodelbutton.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit b75b5e900a2aec70670a1cdca6ac07dd8eb8d7cf Author: Daniel Boles Date: Fri Jun 29 19:02:15 2018 +0100 themes: Remove Raleigh It has been extremely broken since the move to CSS gadgets/nodes, so clearly no one is depending on it; nor does anyone seem to want to resurrect it, and writing a Raleigh-inspired theme from scratch would be faster if they did. So let's drop the dead weight from the build and lib Now that we don't have Raleigh, the defaultvalue test has to be changed to set Adwaita before checking the default values of style properties - some of which Adwaita overrides in its CSS, meaning those would fail. Not that it passed before anyway! But it does now after my other commit. Note that I leave the last reference in gtk-zip.sh.in alone since that hasn't been touched in 8 years and probably has plenty other problems... Close https://gitlab.gnome.org/GNOME/gtk/issues/1187 gtk/Makefile.am | 7 +- gtk/theme/Raleigh/gtk-default.css | 884 -------------------------------------- testsuite/gtk/defaultvalue.c | 8 +- 3 files changed, 8 insertions(+), 891 deletions(-) commit ca4ec52c5403139f2f0c78966e1ad4272153c875 Author: Daniel Boles Date: Fri Jun 29 19:57:06 2018 +0100 defaultvalue: Fix some very broken indentation and while here, use the more typical : to separate the type and property testsuite/gtk/defaultvalue.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 908d4f1d1fe327697f2d9e81a175a3df0b77e6dc Author: Daniel Boles Date: Fri Jun 29 18:53:54 2018 +0100 defaultvalue: Ignore property to actually pass GtkFontChooserWidget:tweak-action gets set in init(), so we have to skip testing that it is the default NULL for a GObject, or the test fails. testsuite/gtk/defaultvalue.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 62573f299c585b89ff4079758753a1458a623692 Author: Daniel Boles Date: Fri Jun 29 18:38:15 2018 +0100 defaultvalue: Stop warnings via new g_object_ref() Now that it can propagate the type, we must explicitly cast to GObject* to assign it, otherwise gcc shouts. testsuite/gtk/defaultvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c0bf48c8ab82a445983bb68479160537700f85dc Author: Daniel Boles Date: Fri Jun 29 18:36:14 2018 +0100 defaultvalue test: Remove obsolete properties testsuite/gtk/defaultvalue.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) commit 26f35fb941ab4faa215af65c4b3185649122c313 Merge: 5afc01d995 3354d91090 Author: Matthias Clasen Date: Fri Jun 29 14:30:51 2018 +0000 Merge branch 'wip/cursor-output-scale-changes-3-24' into 'gtk-3-24' wayland: Update cursor surface scale when output scale changes See merge request GNOME/gtk!223 commit d49335c59a7a5aa397a9740c74e5ee2068394890 Author: David Edmundson Date: Thu Jun 28 18:41:22 2018 +0100 wayland: Use correct enums in server_decoration_request_mode The enum is duplicated in the spec for the manager and the decoration object. We should be using the right ones. In practice they have the same value, so this bug didn't cause any issues. gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f62c92783a604f453228e1fd6287910514401126 Author: David Edmundson Date: Thu Jun 28 18:09:47 2018 +0100 wayland: Respond to server_decoration.mode events gdk/wayland/gdkwindow-wayland.c | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) commit f3f4d40b89c57b6f8c82a4376e5dc0935a6dfb6c Author: David Edmundson Date: Thu Jun 28 11:13:33 2018 +0100 wayland: Fix memory leak in server decoration object The server decoration object becomes invaid when the wl_surface is deleted. We should tidy it up then. gdk/wayland/gdkwindow-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b0bfe606aa9c35bec97b018baf13322c5ac963da Author: David Edmundson Date: Thu Jun 28 11:12:59 2018 +0100 wayland: Reset server decoration interface on window mapping The wl_surface is destroyed and recreated when the window is mapped/unmapped. As we have a new wl_surface we need to create a new server_decoration object for that surface. gdk/wayland/gdkwindow-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 32ae97f13af6651c06ee1e094543f1a96d61cefc Author: David Edmundson Date: Mon Jun 25 17:06:33 2018 +0100 wayland: Explicitly request mode for both CSD and SSD modes According to the spec compositors were to assume surfaces are CSD until told otherwise. This means we need to send org_kde_kwin_server_decoration_request_mode in both cases. This fixes libreoffice under kwin, which would remove it's own headers as per the manager's request but not inform kwin leaving it in the even more broken state of having none. gdk/wayland/gdkwaylandwindow.h | 3 +++ gdk/wayland/gdkwindow-wayland.c | 46 ++++++++++++++++++++++++++++++++++------- gtk/gtkwindow.c | 9 ++++++-- 3 files changed, 49 insertions(+), 9 deletions(-) commit 3354d9109062d12890787bc1f1d23ddc1c3ea77a Author: Jonas Ådahl Date: Thu Jun 28 11:41:09 2018 +0200 wayland: Update cursor surface scale when output scale changes Cursor surfaces didn't listen for output scale changes, meaning they didn't adapt their scale when an output changed scale, which could happen for example when changing the monitor scale via Settings. gdk/wayland/gdkdevice-wayland.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit b6db96cd1a3de19d7b356a657b9330a292772c98 Author: Chun-wei Fan Date: Wed Jun 20 17:27:30 2018 +0800 GDK/Win32: Cleanup and further fix OpenGL/ES glitches We also need to invalidate the OpenGL/ES window when we resize the window via a mouse drag operation, so that we don't get glitches in such situations, because they are not covered in GdkWindow's impl_class->move_resize(). Make sure that we only force the invalidation when necessary (as it is expensive), and clean up the gdkevents-win32.c code so that we include gdkglcontext-win32.h in the right place instead of using an extern, as we need to invalidate the window accordingly. gdk/win32/gdkevents-win32.c | 5 +++-- gdk/win32/gdkwindow-win32.c | 9 ++++----- 2 files changed, 7 insertions(+), 7 deletions(-) commit b2ea707614bea41e81743c05e43b4206c4d2cfa7 Author: Chun-wei Fan Date: Tue May 22 18:05:35 2018 +0800 GDK-Win32: Fix glitches when using EGL/ANGLE We need to force redraws of the whole window when we are using EGL/ANGLE during maximize, restore and Aerosnap ops so that we do not get glitches in the resulting window. gdk/win32/gdkevents-win32.c | 5 ++++ gdk/win32/gdkglcontext-win32.c | 63 ++++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkglcontext-win32.h | 3 ++ gdk/win32/gdkwindow-win32.c | 8 ++++++ gdk/win32/gdkwindow-win32.h | 1 + 5 files changed, 78 insertions(+), 2 deletions(-) commit af66faf6048977c6c27e17c95f6c3c47440904d9 Author: Chun-wei Fan Date: Fri Apr 27 23:30:32 2018 +0800 Add a EGL renderer (via ANGLE) for Windows This is for adding a EGL-based renderer which is done via the ANGLE project, which translate EGL calls to Direct3D 9/11. This is done as a possible solution to issue #105, especially for cases where the needed full GL extensions to map OpenGL to Direc3D is unavailable or unreliable, or when the OpenGL implementation from the graphics drivers are problematic. To enable this, do the following: -Build ANGLE and ensure the ANGLE libEGL.dll and libGLESv2.dll are available. A sufficiently-recent ANGLE is needed for things to work correctly--note that the copy of ANGLE that is included in qtbase-5.10.1 is sufficient. ANGLE is licensed under a BSD 3-clause license. Note also that Visual Studio 2013 or later is required to build ANGLE from QT-5.10.1, but the 2013-built ANGLE DLLs can work without without problems for GTK+ that is built with Visual Studio 2008 or later. -Build libepoxy on Windows with EGL support enabled. -Define GDK_WIN32_ENABLE_EGL when building gdk-win32.lib when building with Visual Studio, or pass in --enable-win32-gles during configure when building with MinGW/mingw-w64. -Prior to running GTK+ programs, the GDK_GL envvar needs to contain gles. Known issues: -Only OpenGL ES 3 is supported, ANGLE's ES 2 does not support the needed extensions, notably GL_OES_vertex_array_object, but its ES 3 support is sufficient. -There is no autodetection or fallback mechanism to enable using EGL/Angle automatically yet. There is no plans to do this in this commit. Thanks to LRN for pointing out that we should #include "win32/gdkwin32.h" instead of #include "gdkwin32.h" for gdkgl.c. LRN also did the autotools portion of this patch. Further notes about the autotools --enable-win32-gles option, fom LRN: This adds --enable-win32-gles option, which enables the code for GLES renderer. This commit also adds tests for WGL and EGL in epoxy. The absence of WGL is highly unlikely (it's enabled by default), but checking for EGL when GLES is enabled is necessary, as EGL is disabled in Windows builds of epoxy by default. build/win32/Makefile.am | 1 + build/win32/README_EGL_MSVC.txt | 29 ++ configure.ac | 37 +++ gdk/gdkgl.c | 13 +- gdk/gdkglcontext.c | 10 +- gdk/win32/Makefile.am | 4 + gdk/win32/gdkdisplay-win32.c | 12 + gdk/win32/gdkdisplay-win32.h | 18 ++ gdk/win32/gdkglcontext-win32.c | 673 +++++++++++++++++++++++++++++++--------- gdk/win32/gdkglcontext-win32.h | 10 + gdk/win32/gdkwindow-win32.c | 49 +++ gdk/win32/gdkwindow-win32.h | 15 + 12 files changed, 728 insertions(+), 143 deletions(-) commit 5afc01d9951e1a5b8906d00fa05173a21c31b9e3 Merge: e7bb83988f f353ba3acb Author: Emmanuele Bassi Date: Wed Jun 27 18:26:02 2018 +0000 Merge branch '324.win32.build' into 'gtk-3-24' GTK+: Fix dist and build on Windows See merge request GNOME/gtk!207 commit f353ba3acb02337b657ad8a7f93e36fd635a0a8a Author: Chun-wei Fan Date: Wed Jun 20 18:21:05 2018 +0800 demos/gtk-demo/gtkfishbowl.c: Include gtk/fallback-c89.c ...in place of math.h, as we are using round(), which is possibly not provided by the compiler since we don't require a C99 compiler in GTK+-3.x and gtk/fallback-c89.c does include math.h anyways. demos/gtk-demo/gtkfishbowl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eebf151f2a0277c12210c0cf73ecc1963cee847d Author: Chun-wei Fan Date: Wed Jun 20 18:13:44 2018 +0800 gtk/: Fix build without PangoFT2 and HarfBuzz On Windows HarfBuzz and PangoFT2 are optional, so we need to ensure that we only build the bits that require HarfBuzz and PangoFT2 when needed. We may need to see later whether we can get the needed functionality in gtkfontchooserwidget.c with the Windows APIs without the need of HarfBuzz nor PangoFT2 (and starting programs on Windows using FontConfig is very slow). gtk/gtkfontchooserwidget.c | 2 ++ gtk/language-names.c | 3 +++ gtk/script-names.c | 3 +++ 3 files changed, 8 insertions(+) commit e8d38994611df4b44c7418279833a8f5ab0d1daa Author: Chun-wei Fan Date: Wed Jun 20 18:10:33 2018 +0800 gtk/Makefile.am: Dist the newly-added private headers We need to dist language-names.h and script-names.h so that we won't be missing headers in a dist tarball. gtk/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e7bb83988f5d8228819e83a023cdb24dc3132fb7 Author: Benjamin Otte Date: Tue Jun 26 04:13:24 2018 +0200 progressbar: Never stop never stopping Reinstate code that was accidentally deleted during the port to GtkProgressTracker in commit d57ebe2de7d. Without that code, pulsing the progressbar will stop doing anything after 3 iterations. gtk/gtkprogressbar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b9b62fca0c4c7cc1f498b712b21ac70180b1eaf9 Author: Matthias Clasen Date: Mon Jun 25 18:51:45 2018 -0400 Don't forget to dist open-type-layout.h This is a private header, but it still needs to end up in the tarball. gtk/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 03c1c604dd64b589fd6c21473b1f8148c763d8dc Merge: 504574b6be e2efc165d1 Author: Matthias Clasen Date: Mon Jun 25 21:13:24 2018 +0000 Merge branch 'issue1170' into 'gtk-3-24' modules: fix gtk-2.0 paths to gtk-3.0 See merge request GNOME/gtk!211 commit 504574b6be56e4ea80ca813825daee6979cdc144 Merge: 69adcc46c9 efb934c07f Author: Matthias Clasen Date: Mon Jun 25 18:57:52 2018 +0000 Merge branch 'mcatanzaro/#1174' into 'gtk-3-24' imwayland: Fix a small leak See merge request GNOME/gtk!218 commit efb934c07fb6e6e09ebc6ec21724a3c70ca44ce3 Author: Michael Catanzaro Date: Sun Jun 24 15:49:46 2018 -0500 imwayland: Fix a small leak If the parent get_preedit_string implementation returns a nonnull zero-length string, then we ignore it, which is almost fine. We have to free it, though. Fixes #1174 modules/input/imwayland.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 69adcc46c9978437e23173dd11bcfff7ed1353ce Merge: 593edacb48 f05865ad3a Author: Timm Bäder Date: Sun Jun 24 06:26:13 2018 +0000 Merge branch 'wip/chergert/no-compressed-ui' into 'gtk-3-24' build: use xml-stripblanks with .ui resources See merge request GNOME/gtk!216 commit 593edacb48849746f5541c72c021b50a12794ca1 Author: Jehan Date: Sat Jun 23 00:16:39 2018 +0200 gtk: also recolor circle and ellipse in symbolic SVG icons. gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f05865ad3a1f61bb847c72845f447e368a33a962 Author: Christian Hergert Date: Sun Nov 12 15:18:21 2017 -0800 build: use xml-stripblanks with .ui resources This adds a preprocess step to the .ui files to strip them of blank characters. It also removes the compressed='true' from the .ui files since that involves creating lots of decompressor objects when creating widgets. Doing so has runtime overhead and slows down the creation of initial application windows. The .ui files are left compressed for the Inspector, since that is not in the core performance path of application startup. gtk/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e2efc165d10ee150d4b50a611d67241384e0deca Author: Roddy Shuler Date: Fri Jun 22 13:53:43 2018 +0100 modules: fix gtk-2.0 paths to gtk-3.0 Both print backends and configuration files for multipress are being installed in the wrong directory, so let's fix that. modules/input/Makefile.am | 2 +- modules/printbackends/papi/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 0997ffbc5b2ab721edd3d23b83d9d5147eb4bada Author: Matthias Clasen Date: Thu Jun 21 18:56:00 2018 -0400 Update NEWS NEWS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 9156908a3adc27774c8f1676680375d5edc1b885 Author: Daniel Boles Date: Wed Jun 20 20:36:19 2018 +0100 EmojiCompletion: Avoid un/signed compare warnings (A) Use gsize to match the result of g_variant_n_children (B) Use guint for n_matches, like the struct (and all other n_matches) gtk/gtkemojicompletion.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 934b40f4f36ef7c10b1451bee7bc1f54fd9da00a Author: Daniel Boles Date: Wed Jun 20 20:33:45 2018 +0100 EmojiCompletion: Use Box:spacing instead of CSS master uses CSS border-spacing, but that is not available in GTK+ 3. Close https://gitlab.gnome.org/GNOME/gtk/issues/1166 gtk/gtkemojicompletion.c | 2 +- gtk/theme/Adwaita/_common.scss | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) commit 7dbd3da2dd1e3986379cf9a24d96bc1e023f2b01 Author: Daniel Boles Date: Wed Jun 20 20:24:19 2018 +0100 Adwaita: Don't use a property that GTK+ 3 lacks border-spacing was not backported (yet?). If it won't be, then a suitable replacement is needed. Until then, avoid the runtime error that can result from using a nonexistent property in our theme. https://gitlab.gnome.org/GNOME/gtk/issues/1166 gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit 848a524d95591c700aeeda783c35504c394820ba Author: Daniel Boles Date: Wed Jun 20 19:37:45 2018 +0100 Adwaita: Regenerate CSS for emoji completion popup Commit 65bb238a3f0075d88f6dd82e76de1e86946db001 forgot this bit. gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++-- gtk/theme/Adwaita/gtk-contained.css | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) commit 7f91af251699f1fc1ad7deece235ce827c725bd7 Author: Daniel Boles Date: Wed Jun 20 19:24:39 2018 +0100 HC: Avoid excessive selectors from prev commit The new rule does not need to affect all those other pseudoclasses. I just put it in the wrong scope. gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) commit 3f48bba79b9a5e87b6a08e827c96766d0a906e9c Author: Daniel Boles Date: Wed Jun 20 19:09:38 2018 +0100 gtk3-sections: Add GtkInfoBar.[gs]et-revealed() https://gitlab.gnome.org/GNOME/gtk/issues/1165 docs/reference/gtk/gtk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit b1997c96ea5e0927c330613580e570cdbdaf3cdf Author: Daniel Boles Date: Wed Jun 20 19:09:23 2018 +0100 InfoBar: Fix wrong type in copy-pasted param doc https://gitlab.gnome.org/GNOME/gtk/issues/1165 gtk/gtkinfobar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4c61ff2a3ad438cfc092105466a2fb0bd5ef745f Author: Daniel Boles Date: Wed Jun 20 18:32:49 2018 +0100 HC: Avoid same BG/FG colors in flat treeview entry Selected rows in tree views in HighContrast have a background colour the same or nearly as the normal text colour, so we cannot let entries in such rows have transparent backgrounds, or the text inside the entry becomes nearly or totally impossible to see. Dodge this by giving entry.flat inside treeview and with :focus the $base_color, which is different from the text & so lets that be seen. https://gitlab.gnome.org/GNOME/gtk/merge_requests/125 gtk/theme/HighContrast/_common.scss | 5 +++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 ++ gtk/theme/HighContrast/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) commit 0a37b564d46d5e0cd5f1e4e7877ab8caf270e3de Author: Benjamin Otte Date: Sat Dec 16 02:24:12 2017 +0100 x11: Add necessary NULL check (Backported from master 3438dcdd4e0) gdk/x11/gdkdevicemanager-xi2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5265514c6680ba2f800d41253138566f85340b50 Merge: 380ec086eb 3ebcc5a7d5 Author: Matthias Clasen Date: Wed Jun 20 16:13:04 2018 +0000 Merge branch 'wip/dboles/searchenginetracker-plug-3' into 'gtk-3-24' searchenginetracker: Don't leak the hits' GFiles See merge request GNOME/gtk!206 commit 3ebcc5a7d58220e1024d370a4d17a68583b94f04 Author: Daniel Boles Date: Wed Jun 20 09:54:16 2018 +0100 searchenginetracker: Don't leak the hits' GFiles gtk/gtksearchenginetracker.c | 4 ++++ 1 file changed, 4 insertions(+) commit 380ec086ebe1d58084a589c35182405f80a3d654 Merge: 70d035ae95 004b24a818 Author: Matthias Clasen Date: Tue Jun 19 19:40:42 2018 +0000 Merge branch '1160-crash-clearing-gtkentry-icon-tooltip' into 'gtk-3-24' Resolve "Crash clearing GtkEntry icon tooltip" See merge request GNOME/gtk!204 commit 004b24a8187ecc05c443a86b0e396867e93972e9 Author: Daniel Boles Date: Tue Jun 19 18:30:34 2018 +0100 a11y/entry: Fix copy-pasteo re 2ndary icon tooltip The else case was wrongly resetting the accessible description on the primary icon, which might not exist and can therefore cause a crash. https://gitlab.gnome.org/GNOME/gtk/issues/1160 gtk/a11y/gtkentryaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 70d035ae951f8fc98a831b3d327c1ac09c599d5a Merge: 01d1bc3c75 055c1b2faa Author: Matthias Clasen Date: Tue Jun 19 15:43:40 2018 +0000 Merge branch 'patch-1' into 'gtk-3-24' wayland: Use shm_open(SHM_ANON) on FreeBSD See merge request GNOME/gtk!203 commit 055c1b2faa2a43a053d80ad3e4aef4a4f4f9ea2e Author: myfreeweb Date: Tue Jun 19 14:49:18 2018 +0000 wayland: Use shm_open(SHM_ANON) on FreeBSD This functionality is similar to Linux's memfd. It creates anonymous shared memory without touching the filesystem, which allows it to work in Capsicum capability mode (sandbox). gdk/wayland/gdkdisplay-wayland.c | 4 ++++ 1 file changed, 4 insertions(+) commit 01d1bc3c75fd0eff5665f5b9c690c5e1e6c65f13 Author: Benjamin Otte Date: Mon Jun 18 16:17:44 2018 +0200 x11: Always set None pixmap for no background None means no background, so it's always the correct thing to use and ParentRelative is always wrong. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1134 gdk/x11/gdkwindow-x11.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit defbbb95e9d201d3f96f9e449f27ea2fd24f9c83 Author: Chun-wei Fan Date: Tue Jun 19 18:30:22 2018 +0800 gtk/gtkemojicompletion.c: Fix build on C89 and non-GCC Declare variables at the top of the clock, and ensure that we don't try to use g_autoptr(), which is a GCCism. gtk/gtkemojicompletion.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit aa76abbbeb8db13ab8b450581110484fa6b4ffae Author: Chun-wei Fan Date: Wed Mar 28 11:59:11 2018 +0800 gtk/language-names.c: Fix build on non-GCC/CLang Remove g_auto*() usage from these sources and use the traditional g_free(), as g_auto*() are GCCisms (or CLangisms). Also, don't include unistd.h unconditionally and stop including langinfo.h and dirent.h, since they seem to be unused. Partially cherry-picked from a4c0395343c3969c330cb37efa45ae952ba74b86 https://bugzilla.gnome.org/show_bug.cgi?id=773299 gtk/language-names.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit a0b0cbe98dbf78a226015c283ab05ce9f2a6ef84 Merge: 61f37b2b0d f23bfc6b69 Author: Matthias Clasen Date: Mon Jun 18 11:24:36 2018 +0000 Merge branch 'window-activate-grab-3-again-24' into 'gtk-3-24' gdk: activate surface on keyboard grabs See merge request GNOME/gtk!176 commit f23bfc6b6966b910aa43a441141ec2b9fec14427 Author: Samuel Thibault Date: Fri Jun 1 16:43:01 2018 +0200 gdk: activate surface on keyboard grabs In 01455399e83a ("gdk: do not deactivate surface on keyboard grabs"), we made gdk avoid deactivating surfaces when another application takes a keyboard grab, by using has_focus_window instead of has_focus. That however broke activating surfaces when the gdk application acquired a grab itself, in which case has_focus_window is false but has_focus is true. We thus actually need to use both: surfaces should be activated either because we have normal keyboard focus, or because we grabbed the keyboard. This also renames HAS_FOCUS to APPEARS_FOCUSED to better reflect its role. Fixes #85 (cherry picked from commit 3287ac96e02ff236d74db10164c5b0c1e7b2b0bf) gdk/x11/gdkdevicemanager-core-x11.c | 8 ++++---- gdk/x11/gdkeventsource.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit fc2008f24073348f97751e2031761b6f388edabe Author: Руслан Ижбулатов Date: Sun Jun 17 10:48:48 2018 +0000 GDK W32: Use SWP_NOOWNERZORDER everywhere it can be applied There is no reason why we shouldn't pass this flag every time Z-order changes. We have separate routines that are used to maintain relative Z-order, so it should be completely OK to pass SWP_NOOWNERZORDER to let the OS know that it shouldn't try to maintain relative Z-order of the windows when raising them. gdk/win32/gdkevents-win32.c | 6 +++--- gdk/win32/gdkwindow-win32.c | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) commit 96be612c48dfb527e5f789fdf6856b7f466900ef Author: Руслан Ижбулатов Date: Sun Jun 17 10:44:04 2018 +0000 GDK W32: Don't let TEMP surfaces cause zorder side-effects Pass SWP_NOOWNERZORDER when rising TEMP surfaces to the top. This ensures that they don't drag anything else to the top with them. The use-case for this is a tooltip (which must be on top) appearing for a non-foreground surface, causing said surface to rise above other surfaces, some of which may be foreground at the moment. https://bugzilla.gnome.org/show_bug.cgi?id=784766 Fixes issue #852 gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61f37b2b0d005f28ab04803b585952af0778cecf Author: Mohammed Sadiq Date: Sat Jun 16 10:35:55 2018 +0530 search-bar: Fix link to search-bar example The master branch is now Gtk4. We should be linking to stable branch here. gtk/gtksearchbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0ba041c73214f82d2c32b2ca1fa8f3c388c6170 Author: Michael Natterer Date: Mon Jun 11 18:36:50 2018 +0200 gtk: fix wheel scrolling for very small adjustment page_size For very small page sizes of < 1.0, the effect of pow() is the opposite of what's intended and the scroll steps become unusably large, make sure we never get a scroll_unit larger than page_size / 2.0, which used to be the default before the pow() magic was introduced. gtk/gtkrange.c | 12 +++++++++++- gtk/gtkscrolledwindow.c | 6 +++++- 2 files changed, 16 insertions(+), 2 deletions(-) commit 2c8b95a518bea2192145efe11219f2e36091b37a Author: Victor Toso Date: Thu May 24 15:42:47 2018 +0200 gdkseatdefault: Don't hide GdkWindow on grab failure Application is not expecting that. Bug found due gdk_seat_grab() failure on Lock Screen. When user Unlock the screen, the application is visible but does not receive enter-event any more on X11/GNOME. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1485968 Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1571422 Signed-off-by: Victor Toso Signed-off-by: Carlos Garnacho gdk/gdkseatdefault.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit f62ee9f74a26e829246c08f9ba45fe30de96a7bb Author: Piotr Drąg Date: Sun Jun 10 15:31:47 2018 +0200 Update Polish translation po-properties/pl.po | 338 +++++++++++++++++++++++++++------------------------- 1 file changed, 173 insertions(+), 165 deletions(-) commit a7eb696314363dcbf567acee06afbb51c7f327f8 Merge: f7cee65268 3200c0390d Author: Matthias Clasen Date: Fri Jun 8 10:54:42 2018 +0000 Merge branch 'lrn/gks_vk_menu' into 'gtk-3-24' GDK W32: Don't forget to check VK_MENU and set MK_ALT See merge request GNOME/gtk!181 commit f7cee652688c92c88ba29d92ceaa9248e1e7f565 Merge: 81878617c7 cbc8d39887 Author: Matthias Clasen Date: Thu Jun 7 19:52:02 2018 +0000 Merge branch 'wip/tchaik/fontconfig-timestamp' into 'gtk-3-24' wayland: Implement 'gtk-fontconfig-timestamp' & 'gtk-modules' See merge request GNOME/gtk!157 commit 81878617c7661efb01c388ef84965cc922ca9b99 Merge: 5591076361 37ec227dc1 Author: Matthias Clasen Date: Thu Jun 7 18:30:48 2018 +0000 Merge branch 'gtk-3-24' into 'gtk-3-24' Fix reference to user styles in gtkstyleprovider.h See merge request GNOME/gtk!183 commit 5591076361210b58592954a394aa55ce3384d758 Author: Mohammed Sadiq Date: Thu Jun 7 15:44:14 2018 +0530 font-button: Suggest non deprecated function in docs gtk_font_button_get_font_name() has been deprecated in 3.22 and its public API is removed from GTK4. gtk/gtkfontbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37ec227dc147acb05d13835f3f712992e97a660d Author: Matijs van Zuijlen Date: Thu Jun 7 08:49:59 2018 +0000 Fix reference to user styles in gtkstyleprovider.h gtk/gtkstyleprovider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3737ca3166dde984f0459540b9a01da7700d543 Author: Jordi Mas Date: Wed Jun 6 18:58:34 2018 +0100 Update Catalan translation po/ca.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit a1ef678ee7f4e899fe10f72c4b39418ad5252865 Author: Jordi Mas Date: Wed Jun 6 08:25:49 2018 +0100 Update Catalan translation po/ca.po | 311 +++++++++++++++------------------------------------------------ 1 file changed, 75 insertions(+), 236 deletions(-) commit 3200c0390d506b1f0c295eed191fd4496efcf1be Author: Руслан Ижбулатов Date: Wed Jun 6 01:06:38 2018 +0000 GDK W32: Don't forget to check VK_MENU and set MK_ALT gdk/win32/gdkdnd-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit 7e0b9704ed59e2886321594e7b26afdd0515a520 Merge: 700d167b9e daecee75b4 Author: Matthias Clasen Date: Tue Jun 5 22:12:45 2018 +0000 Merge branch '1088-getting-css-properties-defined-in-em-etc-in-px-rounds-toward-0-delivering-1-too-few-pixels' into 'gtk-3-24' Resolve "Getting CSS properties defined in em (etc.) in px rounds toward 0, delivering 1 too few pixels" See merge request GNOME/gtk!158 commit daecee75b48b4f26e7c1d5169729aa763505f329 Author: Daniel Boles Date: Mon May 21 21:40:39 2018 +0100 CssGadget: Round px values up for min-width|height Otherwise, requesting a min size in em where the equivalent in px had a fractional part would lead to the gadget getting allocated 1 too few px. You could see this in the CSS property vs. allocation in the Inspector. Note that margin/border/padding are left alone: the rationale is that we do as browsers do, and Benjamin said we already do that for those, whereas his tests on min-(width|height) showed otherwise. My subsequent analysis indicated it to be far less clear-cut than that, but he remains unconvinced that we should ceil() all the things! So just do these ones. https://gitlab.gnome.org/GNOME/gtk/issues/1088 gtk/gtkcssgadget.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 700d167b9e4139a99912f65381836fa229e0594c Author: Matthias Clasen Date: Tue Jun 5 13:07:05 2018 -0400 docs: Add indices for 3.24 api We have some now. docs/reference/gdk/gdk-docs.sgml | 4 ++++ docs/reference/gtk/gtk-docs.sgml | 4 ++++ 2 files changed, 8 insertions(+) commit f6a0dfeb4dfd0eb6b19e5deb774a439b020bb0cc Author: Matthias Clasen Date: Tue Jun 5 13:01:55 2018 -0400 Add new fontchooser api to the docs We have docs. docs/reference/gtk/gtk3-sections.txt | 5 +++++ gtk/gtkfontchooser.c | 10 ++++++++++ 2 files changed, 15 insertions(+) commit 8500b1209a350872fdba2cf00f535cc2c525a6e1 Author: Matthias Clasen Date: Tue Jun 5 13:00:11 2018 -0400 Add gdk_window_move_to_rect to the docs We have docs. docs/reference/gdk/gdk3-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 018be97e305c78c88bf78fe468a70706c29bd626 Merge: 91748d1aa3 9b3c745fc4 Author: Matthias Clasen Date: Tue Jun 5 16:57:46 2018 +0000 Merge branch 'wip/move-to-rect-public-gtk-3-24' into 'gtk-3-24' gdk: Make gdk_window_move_to_rect public (gtk-3-24) See merge request GNOME/gtk!180 commit 9b3c745fc458b3524be300c4e0c5ccb19628b13b Author: Jonas Ådahl Date: Tue Jun 5 15:01:52 2018 +0200 gdk: Make gdk_window_move_to_rect public This is the API used by GtkMenu to properly position menus on the screen without requiring GTK to query the menu window's position or the work area of where the window is positioned. It makes it possible to position popup windows properly when using Wayland. Make this API available to external users so custom popup windows can be positioned properly as well. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/997 gdk/gdk-private.c | 1 - gdk/gdk-private.h | 16 ---------------- gdk/gdkwindow.c | 3 +-- gdk/gdkwindow.h | 9 +++++++++ gtk/gtkmenu.c | 14 +++++++------- 5 files changed, 17 insertions(+), 26 deletions(-) commit 91748d1aa3c2da227c3121bfd7029152b79935aa Author: Matthias Clasen Date: Mon Jun 4 06:53:39 2018 -0400 Update NEWS NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) commit c7168f48d5d0a61998966856736829a1b739e25b Author: Matthias Clasen Date: Mon Jun 4 17:06:30 2018 -0400 Bump version to 3.23.0 Yes, we are adding some api here. configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 51aa16346ef0e17b4f277917bcd9cccd1f81a2b1 Author: Matthias Clasen Date: Mon Jun 4 07:21:27 2018 -0400 Miscellaneous font chooser fixes Fix various oversights in the backports of the font chooser features. gtk/gtkfontbutton.c | 13 ++++++------- gtk/gtkfontchooserwidget.c | 16 +++++++++------- gtk/ui/gtkfontchooserwidget.ui | 37 ++++++++++++++++++++++++++++--------- 3 files changed, 43 insertions(+), 23 deletions(-) commit dfe04d0c9a255b1debf965fdc2e935c989ee59b8 Author: Matthias Clasen Date: Mon Apr 2 13:34:22 2018 -0400 font chooser: Make the language property writable This is meant as an input to the font chooser. We don't want the user to select a language, but rather have fonts presented as they would work for the current language. Therefore, do away with the lang/script combo on the tweak page. gtk/gtkfontbutton.c | 39 +++++--- gtk/gtkfontchooser.c | 94 +++++++++++++++++- gtk/gtkfontchooser.h | 14 ++- gtk/gtkfontchooserdialog.c | 2 +- gtk/gtkfontchooserwidget.c | 210 ++++++++++++---------------------------- gtk/ui/gtkfontchooserwidget.ui | 212 ++++++++++++++++++++--------------------- 6 files changed, 298 insertions(+), 273 deletions(-) commit 71acf2369727356d90a99eecccad6c675ea801f7 Author: Matthias Clasen Date: Sun Apr 1 19:35:55 2018 -0400 font chooser: Add examples for font features For some font features, we can figure out affected glyphs, and show before/after. For some others, we hardcode typical sequences. Still to do: figure out how to find ligatures and show them. gtk/gtkfontchooserwidget.c | 227 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 216 insertions(+), 11 deletions(-) commit 19b9659cce4c767988bda52bcbf8fec4b072cc6b Author: Matthias Clasen Date: Mon Jun 4 07:16:35 2018 -0400 Add a 3.24 version gdk/gdkversionmacros.h.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 83159ffabf3bd9f1e4fa2522d3735ebc3e1e2124 Merge: 7951f0e9a9 d4feb8929e Author: Matthias Clasen Date: Sun Jun 3 23:21:33 2018 +0000 Merge branch 'gtk-3-24' into 'gtk-3-24' GtkWindow: Handle non-square icons with height > width correctly See merge request GNOME/gtk!173 commit d4feb8929ed40f1331060825611599723d2ab3ea Author: Christian Stadelmann Date: Sun Jun 3 21:05:46 2018 +0200 GtkWindow: Handle non-square icons with height > width correctly gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7951f0e9a9afbfdbd7b3b5437b718cfa5f945240 Author: Matthias Clasen Date: Sun Jun 3 09:48:40 2018 -0400 menu: Remove unstable annotations These apis are not going to change in GTK+ 3.x. gtk/gtkmenu.c | 8 -------- 1 file changed, 8 deletions(-) commit 1f37cbfbfdb7e492bbeed479a30e72d1448dcd06 Author: Matthias Clasen Date: Fri Jun 1 11:59:55 2018 -0400 Drop Ctrl-Shift-e support Now that we have Emoji completion, drop the rather limited Ctrl-Shift-e support in GtkIMContextSimple, and leave this sequence to input methods. gtk/gtkimcontextsimple.c | 293 +++++++---------------------------------------- 1 file changed, 41 insertions(+), 252 deletions(-) commit f5957914927f6d54a24df075d05dd63adf8b473c Author: Matthias Clasen Date: Tue Aug 15 17:35:03 2017 -0400 widget-factory: add emoji completion to an entry demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 09e3529d0e2388124981a97365cfa650db527db7 Author: Matthias Clasen Date: Sat Aug 19 14:08:15 2017 -0400 entry: Add emoji completion Pop up completions when the text in the entry matches :word: This functionality has to be enabled using the enable-emoji-completion property. gtk/gtkentry.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 65bb238a3f0075d88f6dd82e76de1e86946db001 Author: Matthias Clasen Date: Sat Aug 19 14:06:47 2017 -0400 Add an emoji completion popup This widget provides entry completion-like functionality for Emoji codes like :grin: or :kiss:. gtk/Makefile.am | 2 + gtk/gtkemojicompletion.c | 699 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkemojicompletion.h | 41 +++ gtk/theme/Adwaita/_common.scss | 16 +- gtk/ui/gtkemojicompletion.ui | 17 + po/POTFILES.in | 2 + 6 files changed, 776 insertions(+), 1 deletion(-) commit 7e9ae85dd4f2ce9b3402b6aac60e424c70194dbc Author: Matthias Clasen Date: Sat Aug 19 14:07:59 2017 -0400 Export some entry functions privately This will be used in the following commits. gtk/gtkentry.c | 9 ++------- gtk/gtkentryprivate.h | 6 ++++++ 2 files changed, 8 insertions(+), 7 deletions(-) commit d0f73642604df41d5eb8a2c1b0872a173d825908 Author: Matthias Clasen Date: Thu May 17 16:48:34 2018 +0100 emoji: Hide recent section when empty This is part of https://gitlab.gnome.org/GNOME/gtk/merge_requests/143 by Julian Sperber. gtk/gtkemojichooser.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit a628e03042a980a2d946e638b67d308a0762943d Author: Matthias Clasen Date: Thu May 17 16:37:26 2018 +0100 emoji: Improve section scrolling Leave some space above the section heading when scrolling. This is a part of https://gitlab.gnome.org/GNOME/gtk/merge_requests/143 by Julian Sperber. gtk/gtkemojichooser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit f1d9ccd6c77b8883319ffb6b410346832c4b4d59 Author: Jordi Mas Date: Sun Jun 3 12:13:19 2018 +0200 Update Catalan translation po/ca.po | 2568 +++++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 2137 insertions(+), 431 deletions(-) commit d6a29e1b8cb815a2dfc00cd17681ef13e0487a27 Author: Christian Hergert Date: Fri May 6 16:12:29 2016 +0300 treeview: respect expander-size style property Without enforcement to the expander-size, we can end up rendering icons rather fuzzy. This uses the expander-size style property to determine the square for the icon, centered on what was the calculated space for the expander. gtk/gtktreeview.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 1918fefbd4ae8c6227beefc761420da32118e043 Author: Mohammed Sadiq Date: Thu May 31 16:24:00 2018 +0530 widget: Fix example code in doc gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cbc8d398879988dbbedad2d4cc63d7df89040646 Author: Martin Blanchard Date: Mon Mar 12 20:16:25 2018 +0000 wayland: Implement'gtk-fontconfig-timestamp' & 'gtk-modules' The 'gtk-fontconfig-timestamp' and 'gtk-modules' settings are currently not available at all on Wayland. On X11, they are implemented through xsettings maintained up-to-date by gnome-settings-daemon. This patch implements both GtkSettings for Wayland using a new dbus interface also provided by gnome-settings-daemon. Closes #886 gdk/wayland/gdkscreen-wayland.c | 150 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 150 insertions(+) commit 866050d0156722d1da0592c8c46aa586cb88e3fa Author: Jason Zaman Date: Fri May 25 11:37:45 2018 +0800 gtksocket: Adjust X sizes by scale-factor X uses unscaled sizes, so they must be scaled properly. Otherwise GtkSockets end up twice as big as they should be. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=765327 Signed-off-by: Jason Zaman Close !165 gtk/gtksocket.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit 9ac7f906aae7f9f252988a5a7f294123b622c8c1 Merge: e0206cafcd c8b0a0dea5 Author: Emmanuele Bassi Date: Wed May 30 10:18:56 2018 +0000 Merge branch 'gtksocket-scale-3-22' into 'gtk-3-22' gtksocket: Adjust X sizes by scale-factor See merge request GNOME/gtk!164 commit e0206cafcdf3c2378c79503f88a156b0a410a9a9 Author: Matthias Clasen Date: Wed May 30 02:13:04 2018 +0000 Merge branch 'gesture-docs' into 'master' Gesture stuff See merge request GNOME/gtk!169 (cherry picked from commit 8b24d59cde9410db28c7b61d323fa8b1f0180300) 334c7911 gesture: Fix get_last_event() docs e9765c04 gesture: Fix code snippet 4d2b39d9 gesturemultipress: Don’t fire ::released after ::cancel gtk/gtkgesture.c | 6 +++--- gtk/gtkgesturemultipress.c | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) commit 7e0db63601f94ddff0fb187e7342d0f3205e91b5 Author: Matthias Clasen Date: Wed May 30 02:13:04 2018 +0000 Merge branch 'gesture-docs' into 'master' Gesture stuff See merge request GNOME/gtk!169 (cherry picked from commit 8b24d59cde9410db28c7b61d323fa8b1f0180300) 334c7911 gesture: Fix get_last_event() docs e9765c04 gesture: Fix code snippet 4d2b39d9 gesturemultipress: Don’t fire ::released after ::cancel gtk/gtkgesture.c | 6 +++--- gtk/gtkgesturemultipress.c | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) commit a73fa04e927ee75ceff7c296282b3055ef637e81 Author: Matthias Clasen Date: Mon May 28 12:09:47 2018 -0400 x11: Don't set NET_WM_PID when sandboxed It is not useful, and some window managers misinterpret it and add some "runs as root" indication to the window decoration. See https://github.com/mate-desktop/marco/issues/301 gdk/x11/gdkdisplay-x11.c | 15 +++++++++------ gdk/x11/gdkwindow-x11.c | 17 ++++++++++------- 2 files changed, 19 insertions(+), 13 deletions(-) commit 929a19ca89a67553b13bee3da574d4499d457b92 Author: Matthias Clasen Date: Mon May 28 12:04:17 2018 -0400 gdk: Add a private api to find sandboxes This will be used in more places in the future. gdk/gdk-private.h | 2 ++ gdk/gdk.c | 14 +++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) commit 83c53369a174aacdb884c453f74a872f1ae610f2 Author: Daniel Mustieles Date: Mon May 28 15:53:58 2018 +0000 Update Spanish translation po/es.po | 2202 ++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 1858 insertions(+), 344 deletions(-) commit f040918ffae57ed58e661828261c876f1a053b01 Author: Daniel Boles Date: Sun May 27 18:10:02 2018 +0100 gdkdnd: Fix 2 typos in docs gdk/gdkdnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f888b4958e0d5d960d00aef3d4dcd6bb4bd99d2a Author: Christoph Reiter Date: Sun May 27 18:38:28 2018 +0200 ci: update the docker image to fedora 28 So we get a newer pango .gitlab-ci.yml | 2 +- .gitlab-ci/Dockerfile | 2 +- .gitlab-ci/run-docker.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 38b796d2c34a31b789fce7eb7714e113802f8fff Merge: 8a9d78ccc5 3bb6670f9c Author: Matthias Clasen Date: Sun May 27 15:50:45 2018 +0000 Merge branch 'gtk-3-24' into 'gtk-3-24' icontheme: Keep dir_mtimes in order See merge request GNOME/gtk!162 commit 8a9d78ccc580a9f855ea225a2da9cad4c750d558 Author: Piotr Drąg Date: Sun May 27 08:16:50 2018 +0200 Update Polish translation po-properties/pl.po | 336 ++++---- po/pl.po | 2136 ++++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 1977 insertions(+), 495 deletions(-) commit eac2f9b622d73b7b89cea37dab581637f1331e41 Author: Piotr Drąg Date: Sun May 27 08:03:18 2018 +0200 Update POTFILES.in and POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.in | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit bd82962e21da6abd096af9806fb682f3c61307f2 Author: Daniel Boles Date: Sat May 26 01:06:00 2018 +0100 SpinButton: Fix an obviously wrong arg description :climb-rate is not about what you get when you single-click on a button, as this implied: it's what happens if you hold down a button or a key. Fix the description of @climb_rate to new(), and while here, mention the key in the blurb of :climb-rate itself. gtk/gtkspinbutton.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6ff7fdfdc44a94c5a21e30f9874ee9b9c1929d76 Author: Daniel Boles Date: Tue May 22 01:16:04 2018 +0100 GdkWin: Avoid leak if bailing from process_updates There is no point creating the list if we don't need to because we are failing out, and even less point in leaking it in that case. gdk/gdkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2d12660916ff50070a6e05a38e7502f9ea1ef4f5 Author: Daniel Boles Date: Tue May 22 00:00:32 2018 +0100 StyleContext: Add a missing apostrophe (or rather, the right single quote dictated by the HIG, which is semantically not an apostrophe at all! I will die on this hill.) gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cc4dd0d343c43441c5ae207aafe5eba758adc1ac Author: Olivier Fourdan Date: Thu Apr 19 14:22:04 2018 +0200 wayland: check native window for crossing events gdk_wayland_*_grab()/ungrab() would emit crossing events which translate as focus_in/focus_out events for keyboard. However, the ungrab() functions compare the native toplevel as this is what gets the Wayland pointer enter/leave events with the grab window, so if the grab is issued on a child gdk window, those won't match and we would emit more focus_out events than focus_in events. This means that a widget such as spice-gtk which issues a keyboard grab whenever the pointer enters the window and releases the grab when it leaves the window would get uneven numbers of focus_in/focus_out events. Also, gdk_wayland_seat_ungrab() would not emit crossing events for keyboard devices, whereas gdk_wayland_device_ungrab() does, which adds even more potential discrepancies between focus_in/focus_out events. To solve this problem, introduce two new helper functions which check the relevant native windows to emit crossing events when needed that get called evenly from both gdk_wayland_seat_grab()/ungrab() and gdk_Wayland _device_grab()/ungrab() APIs. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=780422 Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/792 gdk/wayland/gdkdevice-wayland.c | 116 +++++++++++++++++++--------------------- 1 file changed, 54 insertions(+), 62 deletions(-) commit c8b0a0dea5cd129d8e023443dde5e44319d4631d Author: Jason Zaman Date: Fri May 25 11:37:45 2018 +0800 gtksocket: Adjust X sizes by scale-factor X uses unscaled sizes, so they must be scaled properly. Otherwise GtkSockets end up twice as big as they should be. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=765327 Signed-off-by: Jason Zaman gtk/gtksocket.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit 3bb6670f9c38b945e2055c65d55754bb7687b668 Author: Jan Alexander Steffens (heftig) Date: Wed May 23 20:06:01 2018 +0200 icontheme: Keep dir_mtimes in order Don't reverse the order each time we insert a theme. Reverse it only once, after all themes have been loaded. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1115 gtk/gtkicontheme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d35400068086b89c3841a527824c7da8e663284c Merge: 4c39e06f45 cd5502ddf4 Author: Carlos Garnacho Date: Tue May 22 11:06:35 2018 +0000 Merge branch 'bz780422' into 'gtk-3-22' wayland: check native window for crossing events See merge request GNOME/gtk!147 commit a7cd20823d46fc42621952c472c1d524bb1f6134 Author: Daniel Boles Date: Mon May 21 23:38:23 2018 +0100 StyleContext: Don't advise using invalidate() It's deprecated. Also, set_screen() is not used/needed in the demo cited gtk/gtkstylecontext.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit abcc4773173ed8becb822971edad3f8d14a7a482 Author: Matthias Clasen Date: Mon May 21 17:15:41 2018 -0400 Remove the "without parent" warning We've had it for a long time, and it hasn't really made a difference. And I don't think we are prepared to turn this into a hard error. So just drop it. gtk/gtkdialog.c | 3 --- 1 file changed, 3 deletions(-) commit 6b30de9487bc69ecc8fe1a333e656eda0fb925a6 Author: Daniel Boles Date: Mon May 21 19:42:57 2018 +0100 Range: Up should only mean ++ if we are a GtkScale The last round of patches to get the desired direction of value move in response to scrolls/keypresses on scales had the inadvertent side effect of giving the opposite direction on scrollbars. Seeing as gtkrange.c is already a collection of hacks, add another so that fix only holds if the instance is a GtkScale, since that is what those patches were aimed at. Close https://gitlab.gnome.org/GNOME/gtk/issues/1065 gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f3fa34e8507231d427236c12052d04ff292ce555 Author: Daniel Boles Date: Sun May 20 19:28:13 2018 +0100 ProgressBar: Fix typo in doc comment gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4c39e06f45856661d0a321f42327890a4939e7d3 Author: Daniel Boles Date: Mon May 21 19:42:57 2018 +0100 Range: Up should only mean ++ if we are a GtkScale The last round of patches to get the desired direction of value move in response to scrolls/keypresses on scales had the inadvertent side effect of giving the opposite direction on scrollbars. Seeing as gtkrange.c is already a collection of hacks, add another so that fix only holds if the instance is a GtkScale, since that is what those patches were aimed at. Close https://gitlab.gnome.org/GNOME/gtk/issues/1065 gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 87f454ebd389960694ab4a20319efa6857eadc20 Author: Daniel Boles Date: Sun May 20 19:28:13 2018 +0100 ProgressBar: Fix typo in doc comment gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f30ecaa22ffb50732bdd9e3213809f409e71905f Author: Matthias Clasen Date: Sat Mar 31 14:43:04 2018 -0400 font chooser: Support font variations Add sliders for the axes on the tweak page. gtk/gtkfontchooser.h | 10 +- gtk/gtkfontchooserdialog.c | 2 +- gtk/gtkfontchooserwidget.c | 281 ++++++++++++++++++++++++++++++++++++++++- gtk/ui/gtkfontchooserwidget.ui | 18 ++- 4 files changed, 299 insertions(+), 12 deletions(-) commit 6271326718a46711bc7ebb6a25a7d11b023546ef Author: Matthias Clasen Date: Sat Mar 31 09:57:34 2018 -0400 font chooser: Add properties for font features and language These can't be returned as part of the font description, so we need new api for them. For now, this is just readonly properties. Maybe these should be writable too, eventually. gtk/gtkfontbutton.c | 19 +++++++++++++++++++ gtk/gtkfontchooser.c | 33 +++++++++++++++++++++++++++++++++ gtk/gtkfontchooserutils.c | 6 ++++++ gtk/gtkfontchooserutils.h | 2 ++ gtk/gtkfontchooserwidget.c | 8 ++++++++ 5 files changed, 68 insertions(+) commit d60cd1f49f057067de4968b3d275510fe1089a70 Author: Matthias Clasen Date: Sat Mar 31 09:37:18 2018 -0400 font chooser: Add font features Populate the tweak page with OpenType font features. configure.ac | 6 + gtk/Makefile.am | 5 +- gtk/gtkfontchooser.h | 8 +- gtk/gtkfontchooserdialog.c | 20 +- gtk/gtkfontchooserwidget.c | 563 ++++++++++++++++++++++++++++++++++++++++- gtk/language-names.c | 232 +++++++++++++++++ gtk/language-names.h | 13 + gtk/open-type-layout.h | 155 ++++++++++++ gtk/script-names.c | 184 ++++++++++++++ gtk/script-names.h | 13 + gtk/ui/gtkfontchooserwidget.ui | 1 + 11 files changed, 1194 insertions(+), 6 deletions(-) commit b57e10ad60b41591403322991ad7c34b54bb8942 Author: Matthias Clasen Date: Fri Mar 30 22:49:07 2018 -0400 font chooser: Add a tweak page gtk/gtkfontchooserdialog.c | 62 ++++++- gtk/gtkfontchooserwidget.c | 146 +++++++++++++++++ gtk/gtkfontchooserwidgetprivate.h | 2 + gtk/ui/gtkfontchooserdialog.ui | 4 +- gtk/ui/gtkfontchooserwidget.ui | 334 ++++++++++++++++++++++++-------------- 5 files changed, 421 insertions(+), 127 deletions(-) commit cc35a357526f0845c6f92e4e908ad0eb201cf9bb Author: Matthias Clasen Date: Fri Mar 30 15:02:49 2018 -0400 font chooser: introduce font chooser levels This is a more systematic approach to reducing the level of detail in the font chooser. gtk/gtkfontbutton.c | 39 ++++++++++++++++++++++++++++ gtk/gtkfontchooser.c | 18 +++++++++++++ gtk/gtkfontchooser.h | 20 +++++++++++++++ gtk/gtkfontchooserutils.c | 3 +++ gtk/gtkfontchooserutils.h | 1 + gtk/gtkfontchooserwidget.c | 63 +++++++++++++++++++++++++++++++++++++++++++--- 6 files changed, 140 insertions(+), 4 deletions(-) commit 90c9a4ba059697c40c9181f2c55113ff4408a7b7 Author: Matthias Clasen Date: Sat Mar 31 13:35:16 2018 -0400 Bump the pango requirement We want to use the new font variation api in pango 1.41. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f58c7c060ece45850406e77554ef727cc47f8a4 Author: Matthias Clasen Date: Thu May 17 19:28:28 2018 +0100 Add a flatpak manifest for widget-factory This makes it easier to build GTK+. build-aux/flatpak/org.gtk.WidgetFactory.json | 45 ++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit 08f31f8f4af5c138a03c29d0b63f17a57cc1d69c Merge: f2868f5cf3 133e8fc03f Author: Matthias Clasen Date: Thu May 17 15:19:49 2018 +0000 Merge branch '1053-scroll-cursor-gets-left-behind-if-a-child-widget-steals-the-scroll' into 'gtk-3-22' Resolve "Scroll cursor gets left behind if a child widget steals the scroll" See merge request GNOME/gtk!134 commit f2868f5cf39225d52d27efe2e9c6cdba8a3904d1 Author: Matthias Clasen Date: Mon May 14 13:03:34 2018 +0100 textview: Don't scroll for pastes in another view GtkTextView scrolls to the insertion point when the text buffer signals a paste is done. This is wrong when there are multiple views on the same buffer, and the paste happened in another view. To fix this, flip the handling of the scroll_after_paste boolean to only be TRUE if we know that we want to scroll. gtk/gtktextview.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 0caa3dbccf6d181d093c5dfc4b7bb006174a0ea1 Merge: d219596212 87aed887be Author: Benjamin Otte Date: Wed May 16 12:48:46 2018 +0000 Merge branch '1069-thread-1-glade-received-signal-sigfpe-arithmetic-exception' into 'gtk-3-22' Resolve "Thread 1 "glade" received signal SIGFPE, Arithmetic exception." See merge request GNOME/gtk!151 commit d219596212079d9c5a32805ec58a6efd41cf7e18 Author: Mohammed Sadiq Date: Sun May 13 13:27:07 2018 +0530 appchooserdialog: Fix memory leak gtk/gtkappchooserdialog.c | 1 + 1 file changed, 1 insertion(+) commit 26b6071db83293d8ba041561b0753528c45ed404 Author: Mohammed Sadiq Date: Sun May 13 13:21:06 2018 +0530 appchooserdialog: Don't fire notify::heading twice The gtk_app_chooser_dialog_set_heading() function do emit notify::heading. Since the setter simply calls the function, the setter itself shouldn't emit a notify signal by itself. gtk/gtkappchooserdialog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7886c645c4940b3afa5ebb10b9fb2057f83fdfa4 Author: Mohammed Sadiq Date: Fri May 11 10:19:09 2018 +0530 textview: Always show select-all button in touch popup "Select all" action is possible regardless of the text selection state or if the text is editable or not. gtk/gtktextview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a8363a98879af9e72a6e8faf6d66efa914816fa9 Author: Mohammed Sadiq Date: Fri May 11 08:47:56 2018 +0530 textview: Simplify creating bubble action buttons Buttons can be created simply with gtk_button_new_from_icon_name(). gtk/gtktextview.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 87aed887befdbc537dfadf8d55c775a6bfdd3262 Author: Juan Pablo Ugarte Date: Sat May 12 11:06:37 2018 -0300 GtkBox: do not divide by zero on gtk_box_size_allocate_with_center() https://gitlab.gnome.org/GNOME/gtk/issues/1069 gtk/gtkbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0dde06124e527e57b3abd4869704c64b66168e1e Author: Chun-wei Fan Date: Sat May 12 11:03:55 2018 +0800 Visual Studio 2008 builds: Generate gtk/gtktypefuncs.c This is the updates to the Visual Studio 2008 projects to generate gtk/gtktypefuncs.c using the preprocessor and the gentypefuncs.py that was adapted from master. Unfortunately we could not clean up the projects as we did for the 201x ones due to the differences in project file format. build/win32/vs9/gtk-3.vcprojin | 30 ++++++++++++++++++++++++++++++ build/win32/vs9/gtk3-gen-srcs.vsprops | 20 ++++++++++++++++++++ 2 files changed, 50 insertions(+) commit 1d02739992d12f509f715e05d2970e4a7b559bb4 Author: Chun-wei Fan Date: Sat May 12 10:52:47 2018 +0800 Visual Studio 201x builds: Clean up project files Combine repetitive parts, and unify using $(PythonDir) for all builds, which the paths set in the property sheets are now based on the Visual Studio version and platform combination. build/win32/vs10/gtk-3.vcxprojin | 48 +-- build/win32/vs10/gtk3-gen-srcs.props | 4 - build/win32/vs10/gtk3-install.props | 534 +++++++++++++++++++++++++++ build/win32/vs10/gtk3-install.propsin | 2 +- build/win32/vs10/gtk3-introspect.vcxproj | 12 +- build/win32/vs10/gtk3-version-paths.props.in | 23 +- 6 files changed, 561 insertions(+), 62 deletions(-) commit a8262c75811442371f291299c849c615942422de Author: Chun-wei Fan Date: Sat May 12 10:24:59 2018 +0800 Visual Studio 201x builds: Fix previous commit Not that it will make a difference, but to be consistent with the autotools builds. Include gtkx.h instead of gtk.h when we generate the source to feed to the preprocessor. build/win32/vs10/gtk3-gen-srcs.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1517acee557b0bed2e4efeb047faf4a2b1e15ef2 Author: Chun-wei Fan Date: Sat May 12 01:12:23 2018 +0800 Visual Studio 201x builds: Generate gtk/gtktypefuncs.c We now need to generate gtktypefuncs.c by ourselves, so modify the gentypefuncs.py script from master, and add a custom build step in the projects to generate gtktypefuncs.c. The custom build step for the 2008 projects will be added later. build/win32/Makefile.am | 3 +- build/win32/gentypefuncs.py | 53 ++++++++++++++++++++++++++++++++ build/win32/vs10/gtk-3.vcxproj.filtersin | 1 + build/win32/vs10/gtk-3.vcxprojin | 6 ++++ build/win32/vs10/gtk3-gen-srcs.props | 10 ++++++ 5 files changed, 72 insertions(+), 1 deletion(-) commit 7b3129ad4fecd3f98d81266a74cc460a7173ed4a Merge: 95e6a0650b 7edd465f6d Author: Matthias Clasen Date: Fri May 11 15:24:55 2018 +0000 Merge branch 'wip/restart-cursor-animation-gtk-3' into 'gtk-3-22' wayland: Fix restarting cursor animation See merge request GNOME/gtk!150 commit 95e6a0650b4d0d8faafad0fabf4fa9073e5fee1e Author: Chun-wei Fan Date: Fri May 11 18:05:46 2018 +0800 gtk/Makefile.am: Fix Visual Studio project generation We now need the generated sources to be included explicitly in the list so that they get listed in the project files to be built. gtk/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7edd465f6d86674530a358a759a7f422b579351d Author: Jonas Ådahl Date: Wed May 9 22:13:10 2018 +0200 wayland: Fix restarting cursor animation When an animated cursor was set and the previous cursor animation delay happened to be the same, we wouldn't restart the animation timeout and just return G_SOURCE_CONTINUE assuming the timer would continue. This assumption is however only valid if the function was called from the timeout, which is not the case. Instead also arm the timer also if there is no previous timer active. gdk/wayland/gdkdevice-wayland.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit cd5502ddf4ee27cd37ffdbfb25d344eb486543ec Author: Olivier Fourdan Date: Thu Apr 19 14:22:04 2018 +0200 wayland: check native window for crossing events gdk_wayland_*_grab()/ungrab() would emit crossing events which translate as focus_in/focus_out events for keyboard. However, the ungrab() functions compare the native toplevel as this is what gets the Wayland pointer enter/leave events with the grab window, so if the grab is issued on a child gdk window, those won't match and we would emit more focus_out events than focus_in events. This means that a widget such as spice-gtk which issues a keyboard grab whenever the pointer enters the window and releases the grab when it leaves the window would get uneven numbers of focus_in/focus_out events. Also, gdk_wayland_seat_ungrab() would not emit crossing events for keyboard devices, whereas gdk_wayland_device_ungrab() does, which adds even more potential discrepancies between focus_in/focus_out events. To solve this problem, introduce two new helper functions which check the relevant native windows to emit crossing events when needed that get called evenly from both gdk_wayland_seat_grab()/ungrab() and gdk_Wayland _device_grab()/ungrab() APIs. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=780422 Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/792 gdk/wayland/gdkdevice-wayland.c | 116 +++++++++++++++++++--------------------- 1 file changed, 54 insertions(+), 62 deletions(-) commit 828f634d5c08b9c39626dd1512ec7a1af4800f3d Author: John Ralls Date: Mon Apr 30 20:34:45 2018 -0700 [Quartz] Hardcode screen resolution for text at 96.0. It seems that CoreText is internally calibrated for this, see https://bugzilla.gnome.org/show_bug.cgi?id=787867 for a detailed discussion. gdk/quartz/gdkscreen-quartz.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit 85fa6ba63105e1a857a914bf76798ff1eda9530c Author: Benjamin Otte Date: Tue Apr 10 14:22:16 2018 +0200 gtk: Fix reserved pointers So gcc stops complaining about unnecessary parenthesis. Closes #1059 gtk/deprecated/gtkstatusicon.h | 8 ++++---- gtk/deprecated/gtktrayicon.h | 8 ++++---- gtk/gtkfilechooserbutton.h | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) commit 893fc1dec4d308d91412a33366ef498d6488c62c Author: Björn Lindqvist Date: Mon Mar 24 21:31:22 2008 +0000 Range: Bin pointless check before emitting signal In scroll_event(), there is no need to check whether we are realized before emitting ::change-value, as we must be when receiving an event. Git-formatted/rebased/cleaned up by Daniel Boles Close https://gitlab.gnome.org/GNOME/gtk/issues/292 gtk/gtkrange.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit 96774e8b5c00142b1cf8ce3b5f8afcbaf2b73405 Author: Daniel Boles Date: Sun May 6 11:41:12 2018 +0100 Menu: cleanups for previous commit and nearby • #include for the new uses of floor() • Move the new ints and popdown_data into the scopes where they are used • Don’t pointlessly init other ints to 0 as they always get reassigned • Burninate gint gtk/gtkmenu.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit f443dbe8c1dcaee5ba1c5fc59c36a2ed9255c0d3 Author: Sam Douglas Date: Tue Nov 15 02:57:43 2016 +0000 Menu: Fix broken navigation triangle/hysteresis This issue was caused when mouse coordinates were changed to floating point values in commit e8b38fedbd8961df4aaaa75b122a06ddc68e75f2. This patch floors the event->x_root and event->y_root values when setting the navigation region, so the previous behaviour is restored. https://gitlab.gnome.org/GNOME/gtk/issues/450 gtk/gtkmenu.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 133e8fc03fc64d38f3ea884ed46d76dfe571445c Author: Daniel Boles Date: Sat May 5 11:40:43 2018 +0100 ScrolledWindow: Unset cursor if child takes scroll https://gitlab.gnome.org/GNOME/gtk/issues/1053 gtk/gtkscrolledwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 2ce63a86ba689aa41eb47409c889c469497478b0 Author: Benjamin Otte Date: Fri May 4 11:26:15 2018 +0200 x11: Set a transparent background on windows by default This avoids black flicker on compositing WMs when a window is first shown. gdk/x11/gdkwindow-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit 609cb85f3af89c466f7db50b575cbef6bb9b60f8 Author: Matthias Clasen Date: Thu May 3 20:18:48 2018 -0400 emoji chooser: Match search terms better Use g_str_match_string for better results. cherry-pick of be2853e5deb60274e43352352de74dc458908fe2 https://gitlab.gnome.org/GNOME/gtk/issues/898 gtk/gtkemojichooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb56bbe430307bd8254907d417cb576384f47d19 Merge: 8fc72c902d a9f0704ae1 Author: Matthias Clasen Date: Wed May 2 10:56:25 2018 +0000 Merge branch 'wip/lantw/gtk3-use-dev-evdev-input-h-on-freebsd' into 'gtk-3-22' wayland: Use dev/evdev/input.h on FreeBSD (GTK3) See merge request GNOME/gtk!132 commit 8fc72c902d9c471a27c9fb7128115830d63f055a Author: Jiri Grönroos Date: Tue May 1 19:47:02 2018 +0000 Update Finnish translation po/fi.po | 825 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 419 insertions(+), 406 deletions(-) commit a9f0704ae1a8ac2a5e7086d8bd8c62aa2e93fb27 Author: Ting-Wei Lan Date: Tue May 1 22:00:31 2018 +0800 wayland: Use dev/evdev/input.h on FreeBSD The header linux/input.h used by GDK is specific to Linux. It is possible to get a few Linux headers on FreeBSD by installing v4l_compat, but it is usually better to use the one shipped with FreeBSD. We prefer dev/evdev/input.h to linux/input.h here, so it will always use dev/evdev/input.h on FreeBSD regardless of v4l_compat. https://svnweb.freebsd.org/changeset/ports/465644 configure.ac | 8 +++++++- gdk/wayland/gdkdevice-wayland.c | 6 ++++-- 2 files changed, 11 insertions(+), 3 deletions(-) commit 33bec5a4fbd95509f6e3b7a457325aeb8b0a0608 Merge: 279d7bb2f5 8da5111edd Author: Benjamin Otte Date: Mon Apr 30 11:57:14 2018 +0000 Merge branch '169-gtktextview-accesses-already-disposed-object-3-22' into 'gtk-3-22' Resolve "GtkTextView accesses already disposed object" in 3.22 See merge request GNOME/gtk!110 commit 279d7bb2f501ac4ced717d16fbfacc38bf8123fd Merge: ff47cb0c51 c926b28d96 Author: Benjamin Otte Date: Mon Apr 30 09:55:45 2018 +0000 Merge branch 'window-activate-grab-3-3' into 'gtk-3-22' gdk: do not deactivate window on keyboard grabs See merge request GNOME/gtk!127 commit c926b28d965dbae90b17d404d2c6d1e031a6f006 Author: Samuel Thibault Date: Thu Apr 19 14:10:23 2018 +0200 gdk: do not deactivate surface on keyboard grabs When pressing e.g. a window manager shortcut, which acquires keyboard grab, Xorg would send FocusOut NotifyGrab then FocusIn NotifyUngrab. Currently gdk would then deactivate the current surface, which makes accessibility screen readers think that we have switched to a non-accessible application and came back again, and thus reannounce the application frame etc. which we don't want when e.g. just raising volume. And actually, receiving FocusOut NotifyGrab does not mean losing the X focus, it only means an application aqcuired a grab, i.e. it is temporarily stealing keyboard events. On Wayland, this isn't even notified actually. This commit makes gdk only deactivate surfaces when there was an actual focus switch to another window, as determined by has_focus_window (instead of just has_focus), which happens either normally through FocusOut with NotifyNormal, or during grabs through FocusOut with NotifyWhileGrabbed. Fixes #85 (cherry picked from commit 01455399e83a3dbafb0cdc6e12c7003b2f472a40) gdk/x11/gdkdevicemanager-core-x11.c | 2 +- gdk/x11/gdkeventsource.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ff47cb0c519a0e24bfe2e9d80826ab2954cf3e42 Author: Руслан Ижбулатов Date: Thu Apr 26 19:46:24 2018 +0000 gtkselection: ensure W32 functions used only for W32 displays (v2) Another instance of a check needed for gdk_win32_selection_add_targets(). gtk/gtkselection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b9bb63b1ab0257083bd177a0629c0aa29e541fe9 Author: Руслан Ижбулатов Date: Thu Apr 26 19:36:27 2018 +0000 gtkselection: ensure W32 functions used only for W32 displays gdk_win32_selection_add_targets() is for W32 displays only. gtk/gtkselection.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 9ca3bacddf11381ca49ea9cb3499018feba4dd88 Author: Руслан Ижбулатов Date: Thu Apr 26 17:42:49 2018 +0000 imcontextsimple: ensure W32 code only runs on W32 displays gdk_win32_keymap_check_compose() shouldn't be called for non-W32 displays (i.e. when using broadway or other backends that could be made to run on Windows). gtk/gtkimcontextsimple.c | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) commit f5482e6954cb2aca70d14064ec28a3a38d1fd831 Author: Benjamin Otte Date: Wed Apr 25 23:57:44 2018 +0200 fishbowl: Port version from GTK 4 This version also merges widgetbowl into fishbowl. demos/gtk-demo/Makefile.am | 1 - demos/gtk-demo/demo.gresource.xml | 1 - demos/gtk-demo/fishbowl.c | 307 +++++++++++++++++---------- demos/gtk-demo/fishbowl.ui | 68 +++++- demos/gtk-demo/gtkfishbowl.c | 425 +++++++++++++++++++++++++------------- demos/gtk-demo/gtkfishbowl.h | 13 +- demos/gtk-demo/widgetbowl.c | 365 -------------------------------- 7 files changed, 549 insertions(+), 631 deletions(-) commit fff08fa319dff8542a3f3481a5273523bdfd5dd9 Author: Adrian Johnson Date: Mon Apr 16 13:53:44 2018 +0200 Add _gtk_printer_get_hard_margins_for_paper_size() to retreive paper size specific hard margins and use this to set the hard margins in the print context. (modified by Marek Kasik ) https://bugzilla.gnome.org/show_bug.cgi?id=686109 gtk/gtkprintbackend.c | 18 +++++++++ gtk/gtkprintbackend.h | 8 +++- gtk/gtkprinter-private.h | 6 +++ gtk/gtkprinter.c | 13 +++++++ gtk/gtkprintoperation-unix.c | 4 +- modules/printbackends/cups/gtkprintbackendcups.c | 48 ++++++++++++++++++++++++ 6 files changed, 95 insertions(+), 2 deletions(-) commit d20101e878059abb1e12fa9886d1985b33d3835d Author: Daniel Mustieles Date: Wed Apr 25 11:29:02 2018 +0000 Update Spanish translation po-properties/es.po | 1225 ++++++++++++++++++++++++++------------------------- 1 file changed, 616 insertions(+), 609 deletions(-) commit af350b20b1c396ec55ca6a71eab23fdca6ffb784 Author: Daniel Boles Date: Tue Apr 24 13:40:02 2018 +0100 testentrycompletion: Avoid a compiler cast warning Instead of getting the model again but then forgetting to cast it to a ListStore, just use the other variable store where we already did both. tests/testentrycompletion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8535e2e417f12af3afd03441223211c469b0d972 Author: Stas Solovey Date: Tue Apr 24 10:00:32 2018 +0000 Update Russian translation po/ru.po | 334 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 167 insertions(+), 167 deletions(-) commit 88b08c05c0b93fcdb00f35f91d51745b2e6d667f Author: Emmanuele Bassi Date: Mon Apr 23 10:02:43 2018 +0100 wayland: Allow a NULL inhibitors hash table The shortcuts inhibitors hash table is created when we create a GdkWaylandWindow implementation for a GdkWindow, and it's destroyed once we finalize the instance. The fake "root" window we create for the Wayland display does not have a backing native window, so the shortcuts inhibitors hash table is set to NULL; this causes a critical error message when calling g_hash_table_destroy() on it. The finalization of the root window happens when we close a display connection. We should use g_clear_pointer(), instead, as it's NULL safe. Without this change, the displayclose test fails, as all warnings are considered fatal. gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dad773b1295f571b69c122a7747f7d443ae8ca44 Author: Emmanuele Bassi Date: Mon Apr 23 09:12:13 2018 +0100 build: Do not dist generated files We expect these files to be regenerated even when building GTK+ from a release tarball, so there's no point in distributing them if they are going to be ignored. gtk/Makefile.am | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 07124b5e99a866f34f829d1b629a933f132d4c69 Author: Emmanuele Bassi Date: Thu Feb 16 00:04:50 2017 +0000 x11: Query whether we have GLX support Epoxy 1.4 has new ad hoc API that we can use to check whether GLX is available on the current system. If we didn't use this API, we'd have to manually dlopen libGL (or its equivalent on different OSes) and check if it had GLX symbols; since Epoxy already does all of this internally, we can simply ask it instead. https://bugzilla.gnome.org/show_bug.cgi?id=775279 (cherry picked from commit 02eb344950547c66a9096094f271b98e94614fcb) Signed-off-by: Emmanuele Bassi gdk/x11/gdkglcontext-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit ba883b55ee200e6b0ee041e4d014f880f946512a Author: Emmanuele Bassi Date: Wed Apr 11 16:31:55 2018 +0100 Bump up the dependency of libepoxy We're going to use API introduced in libepoxy 1.4 to check for GLX availability. https://bugzilla.gnome.org/show_bug.cgi?id=775279 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d35ecbb5a4306dee457fb04c5503bcafe9db777a Author: Daniel Boles Date: Sun Apr 22 22:20:57 2018 +0100 themes: Fix a new comment bah. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/HighContrast/_common.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a3cb26cad7e519be2c4cadcce2568e4c28534cec Author: Daniel Boles Date: Sun Apr 22 21:43:20 2018 +0100 themes: Fix swapped borders on RTL PathBar buttons .linked assumes the container is a GtkBox, which is documented as never flipping children in RTL, so :first-child is always the left child, etc. GtkBox does that by reordering its CSS nodes when the direction changes. But most widgets don’t do that, so :first|last-child are 1st/last ADDED and swap sides in RTL. GtkPathBar is so, and ignoring that in our themes meant that in RTL, its left/right buttons got each other’s borders. Yuk! This patch adds the groundwork for supporting widgets like that, via the %linked_flippable placeholder, and applies that to override buttons in filechooser .path-bar.linked > button so that the correct borders get applied to those buttons when using RTL. Note that I select only PathBars within a FileChooser because we also have NautilusPathBar, which also uses widget.path-bar – but *does* flip its nodes for RTL already, so letting that get affected broke it again! https://bugzilla.gnome.org/show_bug.cgi?id=772817 gtk/theme/Adwaita/_common.scss | 50 +++++++++++++++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++-- gtk/theme/Adwaita/gtk-contained.css | 8 ++-- gtk/theme/HighContrast/_common.scss | 48 ++++++++++++++++++++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 8 ++-- gtk/theme/HighContrast/gtk-contained.css | 8 ++-- 6 files changed, 106 insertions(+), 24 deletions(-) commit 1ee80fa4c6f0f88d5134eacf9e7739ae01d3f0bb Author: Daniel Boles Date: Sun Apr 22 16:25:54 2018 +0100 MenuButton: popover connects to menu_deactivate_cb This was missed (even before my recent patches). https://gitlab.gnome.org/GNOME/gtk/issues/199 gtk/gtkmenubutton.c | 3 +++ 1 file changed, 3 insertions(+) commit db85e888c771b358dc53ce66524652d98db32e05 Author: Daniel Boles Date: Sun Apr 22 16:25:07 2018 +0100 MenuButton: Disconnect newly added signal handler Otherwise, we do stuff we shouldn't, as the failing pipeline showed: https://gitlab.gnome.org/GNOME/gtk/pipelines/9431 https://gitlab.gnome.org/GNOME/gtk/issues/199 gtk/gtkmenubutton.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 2ba118c9611141bc19d1151ac996f82625e69c13 Author: Daniel Boles Date: Sun Apr 22 16:02:55 2018 +0100 MenuButton: Clarify NULL popup/over/menu/model doc gtk/gtkmenubutton.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit 476d3ea170cc29ff83f9e7c80f74a4cd40b17daf Author: Daniel Boles Date: Sun Apr 22 14:52:27 2018 +0100 MenuButton: Drop ref to Popover on its ::destroy Otherwise, if the Popover is destroyed before the MenuButton, the latter still had a non-NULL but invalid instance and tried to use it in dispose https://gitlab.gnome.org/GNOME/gtk/issues/199 gtk/gtkmenubutton.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 8cdee69a82fa727a8bc993f9a1b0c3cb9a514c10 Author: Daniel Boles Date: Sat Apr 21 01:34:41 2018 +0100 docs/running: Document the GTK_OVERLAY_SCROLLING env var https://bugzilla.gnome.org/show_bug.cgi?id=786524 docs/reference/gtk/running.sgml | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 2c2ea8333302654c2d0b238fdcda19059e163056 Author: Daniel Boles Date: Sat Apr 21 01:02:59 2018 +0100 Stock: Emphasise deprecation; explain alternatives A user in #gtk+ was confused what to do instead of creating a Button via gtk_button_new_from_stock(). Our docs could stand to be clearer on this point; it only costs a few lines. So, link from that constructor* to the GtkStock doc, and add a banner there telling folk they shouldn’t use it. * not that most [of these][links] even work right now… gtk/deprecated/gtkstock.c | 8 ++++++-- gtk/gtkbutton.c | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) commit c2672b4f05bd92d321e558790ca1d8cba623ba35 Author: Daniel Boles Date: Thu Apr 19 00:50:50 2018 +0100 Entry: Show optional style classes in node diagram gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2d028546857fbfb8ae39e491bb4b10a4a37ffbab Author: Daniel Boles Date: Thu Apr 19 00:13:04 2018 +0100 gdkselection: Clarify that X is only a design base rather than being a requirement for using our selection APIs. https://bugzilla.gnome.org/show_bug.cgi?id=791542 gdk/gdkselection.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 9ae6d092343bdc42ee4ab3fd0d9827c2e95c3d34 Author: Juan Pablo Ugarte Date: Thu Oct 19 15:16:43 2017 -0300 a11y/ScrolledWin|IconView: Connect signals safely Use g_signal_connect_data() instead of g_signal_connect_object() to make sure the callback gets disconnected when the data object is destroyed. This avoids problems in garbage-collected bindings. https://bugzilla.gnome.org/show_bug.cgi?id=789215 gtk/a11y/gtkiconviewaccessible.c | 24 ++++++++++++------------ gtk/a11y/gtkscrolledwindowaccessible.c | 12 ++++++------ 2 files changed, 18 insertions(+), 18 deletions(-) commit 21fddc3994e5405cc914fd427aa8572f652d05aa Author: Matthias Clasen Date: Fri Apr 20 16:56:28 2018 -0400 printing: Be more careful when deserializing The GVariant we are getting here might not be coming from GTK+, but rather from some other source. Best to be forgiving and deal with missing data without crashing. This was causing the GTK+ portal backends to crash on print requests from Qt. gtk/gtkpagesetup.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit ecc612b1a2a0ec9791913cd22b4f94066f0448ae Merge: 1945c7a1a8 2ee5aee4a9 Author: Emmanuele Bassi Date: Thu Apr 19 08:38:09 2018 +0000 Merge branch 'stack-set-name-guard' into 'gtk-3-22' stack: protect set_visible_child_name from NULL stack See merge request GNOME/gtk!117 commit 1945c7a1a8fcc0134a4ccfdbc39394916c983628 Author: Emmanuele Bassi Date: Thu Apr 19 08:24:49 2018 +0000 Merge branch 'gtkplacesview-finalization-fixes-master' into 'master' Gtkplacesview finalization fixes See merge request GNOME/gtk!119 (cherry picked from commit e30176a5228228f28f914d87120b9a650d0073b8) f9452957 gtkplacesview: unset entry_pulse_timeout_id before removing it 4900c3eb gtkplacesview: disconnect from server list monitor changes on destroy gtk/gtkplacesview.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2ee5aee4a9f01cce3dda7dff877070b62c3e2880 Author: Marco Trevisan (Treviño) Date: Wed Apr 18 20:58:57 2018 -0500 stack: protect set_visible_child_name from NULL stack Return with error if gtk_stack_set_visible_child_name is called with NULL parameter gtk/gtkstack.c | 2 ++ 1 file changed, 2 insertions(+) commit cfbbcf5fc4968af4e1b75ca3b20c48a3c543e71f Author: Daniel Boles Date: Wed Apr 18 23:31:47 2018 +0100 UIManager: Document deprecation; link replacements Close https://gitlab.gnome.org/GNOME/gtk/issues/193 gtk/deprecated/gtkuimanager.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 7ff9222600a8ca8b84da8cc5ec7a351ff1689cb8 Author: Daniel Boles Date: Mon Jan 1 14:28:16 2018 +0000 Range: Use should_invert_move() to scroll value This fixes RTL and/or :inverted Ranges responding to a horizontal scroll by moving the value/slider button in the opposite direction... See prev. https://bugzilla.gnome.org/show_bug.cgi?id=791802 gtk/gtkrange.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit 9b011081c53b59241a6aa6bf95c3ac50ae4286f0 Author: Daniel Boles Date: Tue Apr 17 21:44:16 2018 +0100 Range: Add should_invert_move() for scrolls & keys This will be used in subsequent commits to fix the sign by which the value is changed in response to directional scroll or keypress events. The idea is: you have a movement to make – in the form of a delta that follows widget directions, i.e. −1 means left or up, +1 means right or down – and you want to know whether that delta needs to be inverted in order to produce the intuitively expected directional change of :value. The existing should_invert() is not sufficient: it just determines whether to invert visually, but we need more nuance than that for input. To answer that – while not doubling up the work for scrolls and keys – I add a helper should_invert_move(), which considers other relevant state: • A parallel movement on priv->orientation should just use the existing should_invert(), which already worked OK for this case (not others). • Movements on the other orientation now depend on priv->orientation: ◦ For a horizontal Range, always invert, so up (i.e. −ve in terms of widget coords) always means increase value & vice-versa. This was done in get_wheel_delta(), but move it here for use with keys too. ◦ For a vertical Range, ignore :invert as it’s only relevant to the parallel orientation. Do not care about text direction here either as RTL locales do not invert number lines, Cartesian plots, etc. This returns TRUE if the delta should be inverted before applying to the value, and we can now use this function in both scroll and key handlers. https://bugzilla.gnome.org/show_bug.cgi?id=407242 https://bugzilla.gnome.org/show_bug.cgi?id=791802 gtk/gtkrange.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 0c46d94ec3f93c2b43bc8629d7c064d6c9732ac7 Author: Daniel Boles Date: Tue Apr 17 20:03:07 2018 +0100 Menu|Item: Fix FIXME re non-const interned strings These are members of the private struct, so it hurts no one to fix this. gtk/gtkmenu.c | 3 +-- gtk/gtkmenuitem.c | 4 ++-- gtk/gtkmenuitemprivate.h | 2 +- gtk/gtkmenuprivate.h | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) commit a7a4a459ea8ee74efa638ba603616ffa3cffc1b0 Author: Daniel Boles Date: Tue Apr 17 19:56:54 2018 +0100 Menu: Sanitise @torn_off gboolean in public API gtk/gtkmenu.c | 1 + 1 file changed, 1 insertion(+) commit 30405ee68c6659b871d77f93ddaeb2aeed60e7f6 Author: Daniel Boles Date: Tue Apr 17 19:56:13 2018 +0100 Menu: Remove redundant typecheck in private func Everything that calls this already ensured we are a valid GtkMenu. gtk/gtkmenu.c | 1 - 1 file changed, 1 deletion(-) commit b5cc0d8fcd147246f0769eaae2c1ce890be4ad5c Author: Daniel Boles Date: Tue Apr 17 19:53:33 2018 +0100 Menu: Document/annotate nullability of 2 API args .set_accel_path(): Use (nullable) instead of (allow-none), and explain what a NULL means (albeit very briefly) .set_title(): Annotate @title as (nullable), and explain NULL’s meaning gtk/gtkmenu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit a53bdcd222de17f1c656607fd12b134255aa8bd6 Author: Daniel Boles Date: Tue Apr 17 19:52:43 2018 +0100 Menu: Typecheck AccelGroup passed via public API gtk/gtkmenu.c | 1 + 1 file changed, 1 insertion(+) commit 1d1405edd89294804d44a9fa9ff38fb840ac08a6 Author: Daniel Boles Date: Tue Apr 17 19:51:53 2018 +0100 Menu: Typecheck before dereferencing to get ->priv gtk/gtkmenu.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) commit 8e24626c49a7a73cda7d0a91d47a7c2270313e66 Author: Daniel Boles Date: Tue Apr 17 19:48:43 2018 +0100 MenuShell: Sanitise take_focus bool via public API We store in priv then compare it later, so better make sure it’s 0 or 1. gtk/gtkmenushell.c | 1 + 1 file changed, 1 insertion(+) commit bcc539ca0712be30b0d5d5ef05d6c0580ca4ba46 Author: Daniel Boles Date: Tue Apr 17 19:49:24 2018 +0100 MenuShell: Typecheck the instance @ select_first() since this is public API and therefore might get junk passed to it. gtk/gtkmenushell.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 60b4a3869a7e4b23c3d902b410d7a15ed414e334 Merge: b19c524a83 7f846ce7d8 Author: Daniel Boles Date: Tue Apr 17 18:06:33 2018 +0000 Merge branch '154-documentation-lifecycle-of-editables-inside-gtkcellrenderers-is-not-clear' into 'gtk-3-22' Resolve "Documentation: Lifecycle of Editables inside GtkCellRenderers is not clear" See merge request GNOME/gtk!97 commit 7f846ce7d834680f3b3e63638ff64eaf507d037d Author: Daniel Boles Date: Tue Apr 3 20:01:54 2018 +0100 CellRenderer: Link to CellEditable.start_editing() ...from CellRenderer::start-editing, to point people in the direction of info about the lifecycle of the Editable and how to do generic setup. https://gitlab.gnome.org/GNOME/gtk/issues/154 gtk/gtkcellrenderer.c | 3 +++ 1 file changed, 3 insertions(+) commit 2e21a2256e390cb4b6eb6ed175838bddf80934cf Author: Daniel Boles Date: Mon Apr 2 13:18:18 2018 +0100 CellRenderer: Clarify doc of .start_editing() Drop the line copied from .activate(), replace it with a description of what this method actually does, and explain what a NULL result means. https://gitlab.gnome.org/GNOME/gtk/issues/154 gtk/gtkcellrenderer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit bbcfc261e04e7c5e50fa26e639c9d8b768bc04ba Author: Daniel Boles Date: Mon Apr 2 13:01:02 2018 +0100 CellRenderer: Entry is not the only CellEditable so link to GtkCellEditable and note that GtkEntry is just one example. gtk/gtkcellrenderer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4ccbe10571f8cb06bbc3630867230557c1b3621e Author: Daniel Boles Date: Mon Apr 2 12:59:16 2018 +0100 CellRenderer|Editable: Don't @See_also subclasses The documentation knows that from the inheritance hierarchy, without us having to manually duplicate that info here. Link to each other instead. gtk/gtkcelleditable.c | 2 +- gtk/gtkcellrenderer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b48fbcbb7c32484cdca2b7e6d67f959654889051 Author: Daniel Boles Date: Tue Apr 17 18:27:23 2018 +0100 CellEditable: Clarify doc on lifecycle of editable * Note in the intro that we're really thinking about temporary widgets * Mention a gotcha regarding GtkEntry and how ::focus-out stops editing * Give some examples of what you'd want to do in ::editing-done * Be a bit more precise about what ::remove-widget represents * Summarise the lifecycle between Renderer/Editable in .start_editing() * Emphasise again there that this should be viewed as a temporary widget https://gitlab.gnome.org/GNOME/gtk/issues/154 gtk/gtkcelleditable.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit c2da6fc299997039beb3692391968eb2411530f5 Author: Daniel Boles Date: Tue Apr 17 18:27:22 2018 +0100 CellEditable: Move arg description to right place Move it from the body to the argument line, and while there, update the deprecated (allow-none) to (nullable). gtk/gtkcelleditable.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 2ba6dcbce54bfdf1ecd838784b7961fa80532842 Author: Daniel Boles Date: Mon Apr 2 11:49:35 2018 +0100 CellEditable: Fix grammar error in doc synopsis gtk/gtkcelleditable.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b19c524a83641bfbc38e1e98c687892d608e4d90 Author: Christoph Reiter Date: Tue Apr 17 18:26:40 2018 +0200 ci: move docker images to gitlab.gnome.org .gitlab-ci.yml | 2 +- .gitlab-ci/run-docker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 16a6c39a9bbb0f3fa209662776f2b74e7175a4b8 Merge: 2e7ac262be 31cb0fee9c Author: Emmanuele Bassi Date: Tue Apr 17 15:21:17 2018 +0000 Merge branch 'm4macros-gtk3' into 'gtk-3-22' [gtk3] m4macros: Set a serial number See merge request GNOME/gtk!103 commit 8da5111edd810f369711f2c7d3f3210ea87ec325 Author: Marek Kasik Date: Tue Apr 17 15:54:24 2018 +0200 TextView: Don't access already disposed text mark Instead of asking of TextMark for its buffer, let's reference also the buffer in the SelectionData. Closes #169 gtk/gtktextview.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 2e7ac262be15fb402c4103d28533c6c6d955bf65 Author: Matthias Clasen Date: Mon Apr 16 14:06:02 2018 -0400 3.22.30 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 46 insertions(+), 2 deletions(-) commit cb71d083ab07532a77dfbd46c807df160bd84dcc Author: Aron Xu Date: Sat Apr 14 13:10:27 2018 +0800 po: fix zh_CN translation po/zh_CN.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b47bdda2710bd88e510cb90c038b532cf58bce32 Author: Benjamin Otte Date: Wed Apr 11 18:11:39 2018 +0200 widget: Add a frameclock_connected boolean ... and use it to not connect anything to the frameclock if it isn't set. This gets around the problem that the frame clock is disconnected before GtkWidgetClass.unrealize() is called but the widget is still marked as realized and the frame clock is available during the vfunc, which makes calls like gtk_widget_queue_resize() reconnect to the frame clock. Closes #168 gtk/gtkcontainer.c | 3 +++ gtk/gtkwidget.c | 6 +++++- gtk/gtkwidgetprivate.h | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) commit 9e926f9a28e5a99abe27a06f8c33eb428ab555e2 Author: Benjamin Otte Date: Tue Mar 27 02:40:26 2018 +0200 examples: Check for error when loading file People playing with those examples tend to mess up things, so it's really really unhelpful if we don't do error checking. examples/builder.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 5a0759bc1bef956688942b48648f323cdc7d3eec Author: Benjamin Otte Date: Tue Mar 27 02:40:17 2018 +0200 colorutils: Remove unused macro gtk/gtkcolorutils.c | 3 --- 1 file changed, 3 deletions(-) commit d92df4ff2cf2900a4b5cf3b747a4a4b4cb794f91 Merge: 22fd5b5766 8e74e515c7 Author: Benjamin Otte Date: Mon Apr 9 20:17:00 2018 +0000 Merge branch 'gtk-3-22' into 'gtk-3-22' wayland: Fix setting geometry hints See merge request GNOME/gtk!98 commit 22fd5b5766a4f2c0078a7cad0bcd898e572af1a1 Author: Emmanuele Bassi Date: Mon Apr 9 20:10:47 2018 +0100 docs: Link to GResource Since we're referring to GLib's functionality, might as well save some time to the reader, and link to the GResource API reference page. docs/reference/gtk/getting_started.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b685eb177932c021975a4b337e37d5911c537de0 Author: Emmanuele Bassi Date: Mon Apr 9 20:05:57 2018 +0100 docs: Fix the Git links for the example apps The links to the repository's web UI still refer to the old git.gnome.org cgit UI, and to the master branch; we should be using GitLab and the gtk-3-22 branch instead. docs/reference/gtk/getting_started.xml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 5ee381a59633b2daf3748e2201912f0ca7541dd4 Author: Daniel Boles Date: Mon Apr 9 19:43:45 2018 +0100 AccelGroup: Remove @See_also of deleted function gtk_item_factory_new() is not a thing that exists. Also, maybe the lack of space after the colon was what stopped the link from rendering. gtk/gtkaccelgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 59136773b87f7d93ad11d37edd932d68d67b3fff Author: Sébastien Villemot Date: Mon Apr 9 15:36:36 2018 +0200 gdk_x11_display_get_monitor: fix monitor number test logic When asked for a nonexistent (positive) monitor number, gdk_x11_display_get_monitor would (at best) return an uninitialized pointer, instead of returning NULL. https://gitlab.gnome.org/GNOME/gtk/merge_requests/107 gdk/x11/gdkdisplay-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7a75b89efe84460f72876ae58f5b7ef295ddc1cc Author: Daniel Boles Date: Sun Apr 8 18:39:59 2018 +0100 testmodelbutton: Test :centered, :icon, :inverted Test more stuff. tests/testmodelbutton.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit b2caaaa3f9c8d501a9c9e5a1aaefd865eaa918dd Author: Daniel Boles Date: Sun Apr 8 18:32:16 2018 +0100 Revert "ModelButton: Properly update indicator on set_role" This reverts commit ba307aa35ead66d0ab15dc55d148c229f3cd394a. This is not needed; see the previous commit for the explanation. https://gitlab.gnome.org/GNOME/gtk/issues/163#note_94842 gtk/gtkmodelbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b7e5a2dd100f797e5dde9f368c81588277cab374 Author: Daniel Boles Date: Sun Apr 8 18:31:03 2018 +0100 testmodelbutton: Fix wrongly overridding MB child I was setting a GtkButton:label, which resulted in the ModelButton's own custom children getting lost. That doesn't make for a useful test... https://gitlab.gnome.org/GNOME/gtk/issues/163#note_94842 tests/testmodelbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e52aa73b3666c5c053d103861a17b9dddd4ed5a6 Author: Daniel Boles Date: Sun Apr 8 18:13:33 2018 +0100 ModelButton: Use WARN_INVALID_PROPERTY, not assert Do the same thing we do everywhere else for invalid properties. gtk/gtkmodelbutton.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2d415d9354c948a62cdaadcee8e2188bd23663d0 Author: Daniel Boles Date: Sun Apr 8 17:08:11 2018 +0100 ModelButton: Fix type Wether => Whether gtk/gtkmodelbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e6e306ae8e68289b6ed79120d4ccf910cfdff446 Author: Daniel Boles Date: Sun Apr 8 16:07:35 2018 +0100 testmodelbutton: Add explanatory comments to CSS and load at an earlier, more sensible place, before creating any widgets tests/testmodelbutton.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit 79d8c9dff0acb390a4c0e065153b4104344ab833 Author: Mohammed Sadiq Date: Sun Apr 8 10:37:31 2018 +0530 listbox: Fix signal name in documentation gtk/gtklistbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba307aa35ead66d0ab15dc55d148c229f3cd394a Author: Daniel Boles Date: Sun Apr 8 12:56:12 2018 +0100 ModelButton: Properly update indicator on set_role Redrawing is insufficient: when :role changes to/from NORMAL, the indicator gadget reallocates, but we didn't reflect that in the widget. https://gitlab.gnome.org/GNOME/gtk/issues/163 gtk/gtkmodelbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fa520c57699827a880ccbe789950eed11e3b146c Author: Daniel Boles Date: Sun Apr 8 12:43:07 2018 +0100 ModelButton: Protect against nonsensical gbooleans the same way we do normally. gtk/gtkmodelbutton.c | 4 ++++ 1 file changed, 4 insertions(+) commit e193cd1cf1cd4e65063b9f6405b4fc47c1c5fdde Author: Daniel Boles Date: Sun Apr 8 13:07:38 2018 +0100 tests/testmodelbutton: Add this and test whether :action-name, :role, and CSS nodes work as expected https://gitlab.gnome.org/GNOME/gtk/issues/163 tests/Makefile.am | 1 + tests/testmodelbutton.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) commit 1bf354aec8df2299ede4fb05df93c8922916f8f2 Author: Rūdolfs Mazurs Date: Sat Apr 7 16:02:54 2018 +0000 Update Latvian translation po-properties/lv.po | 91 ++++++++++++++++++++++++++++------------------------- 1 file changed, 49 insertions(+), 42 deletions(-) commit 31cb0fee9cdb21e4054f92de9a55d615223b4ca8 Author: Simon McVittie Date: Fri Apr 6 11:29:17 2018 +0100 m4macros: Set a serial number When a project has a bundled copy of our macro included in tarball source releases, typically in a m4/ or aclocal/ directory, aclocal uses the serial number to determine whether the system copy in /usr/share/aclocal is newer or older than the bundled copy. Without a serial number, the bundled copy will always be used and will not be overwritten, even if it is outdated. Signed-off-by: Simon McVittie m4macros/gtk-3.0.m4 | 4 ++++ 1 file changed, 4 insertions(+) commit b0b299216530e6a7e1eeb48b412a7cb14d6f74ff Merge: 48e40762c7 fa6994d033 Author: Benjamin Otte Date: Wed Apr 4 18:19:05 2018 +0000 Merge branch 'textview-delete' into 'gtk-3-22' gtktextviewaccessible: update cursor position after text suppression See merge request GNOME/gtk!101 commit 48e40762c794f12b3bbca64206d19dbac264f6df Merge: 46dac1aba4 209f908a03 Author: Benjamin Otte Date: Wed Apr 4 18:17:26 2018 +0000 Merge branch 'text-changed-delete' into 'gtk-3-22' gtkentryaccessible: Fix text-changed::delete length See merge request GNOME/gtk!99 commit fa6994d0331a219e85dce01007b2d6f3f7fd43c9 Author: Samuel Thibault Date: Wed Apr 4 18:18:29 2018 +0200 gtktextviewaccessible: update cursor position after text suppression delete_range_cb is set to be called before the text suppression done by the gtktextlayout (otherwise it does not work properly). But at that point the cursor position is not yet up to date. We thus need to move the accessibility cursor notification to after the actual text suppression, by using another callback. This fixes cursor position in brltty screen reading. gtk/a11y/gtktextviewaccessible.c | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) commit 209f908a03a9d27508704425a57dcd533fab4c7d Author: Samuel Thibault Date: Wed Apr 4 17:56:38 2018 +0200 gtkentryaccessible: Fix text-changed::delete length The second parameter of the text-changed::delete event is to be the length, not the end position. This fixes spurious text removals in brltty screen reading. gtk/a11y/gtkentryaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8e74e515c724c7ceaba72fb08b706f89057eab40 Author: Jan Alexander Steffens (heftig) Date: Tue Apr 3 20:32:21 2018 +0200 wayland: Fix setting geometry hints The stable xdg_shell port (5c8bb51a) introduced an error in gdk_wayland_window_set_geometry_hints which would set the minimum size to the maximum size, if provided. This resulted in various wxWidgets apps (FileZilla, Audacity, Veracrypt) crashing because they attempted to allocate a ginormous surface. Fixes #157. gdk/wayland/gdkwindow-wayland.c | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) commit 46dac1aba4b8213c5b5dc6ab7845b424a758c582 Author: Daniel Boles Date: Wed Apr 4 12:00:52 2018 +0100 GLArea: Remove wrong transfer annotation on new() Like other widgets, this returns a floating reference, so (transfer full) is wrong. Just omit the annotation as others do, thus implying (transfer none). Close https://gitlab.gnome.org/GNOME/gtk/issues/156 gtk/gtkglarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4b95d7406821196615149fb2527840ff14626a03 Author: Matthias Clasen Date: Mon Mar 26 21:38:28 2018 -0400 wayland: Don't emit signals if nothing changed We were emitting a preedit-changed even if the preedit text did not actually change, causing text views to scroll. https://gitlab.gnome.org/GNOME/gtk/issues/132 https://gitlab.gnome.org/GNOME/gtk/merge_requests/83#note_93411 modules/input/imwayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 34bcc71f4e4795f5b20f5e210270e51910970791 Author: Robert Antoni Buj Gelonch Date: Tue Apr 3 17:56:01 2018 +0000 Update Catalan translation po/ca.po | 353 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 183 insertions(+), 170 deletions(-) commit 7751001ff15e5f05140500082cee724552c1ff62 Merge: e42d8598ca 314531640f Author: Carlos Garnacho Date: Tue Apr 3 16:42:41 2018 +0000 Merge branch 'gtk-3-22' into 'gtk-3-22' Fix imwayland crashes See merge request GNOME/gtk!89 commit e42d8598ca892587a1029c458a19c86fd4867877 Author: Daniel Boles Date: Sat Mar 31 12:27:21 2018 +0100 ProgressBar: Drop leftover "superimposed" mention This was missed from the commit that dropped other mentions to the previous ability to superimpose text. https://bugzilla.gnome.org/show_bug.cgi?id=748784 gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7a11fcf0548e30cbd6daba196cd9c31446714c38 Author: Nelson Benítez León Date: Wed Nov 15 19:46:31 2017 +0500 appchooserwidget: search text using g_str_match_string() so we match on diacritics (eg. accented letters) and also search on text tokens. As a plus we also reduce code size. https://bugzilla.gnome.org/show_bug.cgi?id=745128 gtk/gtkappchooserwidget.c | 47 +++++++---------------------------------------- 1 file changed, 7 insertions(+), 40 deletions(-) commit 154fa9817db40ccb0c44f7911dd1af5a5d41e799 Author: Daniel Boles Date: Thu Mar 29 20:51:48 2018 +0100 themes: Make disabled Expander arrow look disabled If GtkExpander:sensitive was FALSE, the arrow still got the normal fg colour, which made it look clickable, in contrast to the adjacent label. Fix this by adding selectors to catch the applicable :disabled states. Note: Needing these may indicate an oops in generic styles elsewhere, but I couldn’t see any, so let’s just get it looking right for now. https://gitlab.gnome.org/GNOME/gtk/issues/146 gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ gtk/theme/HighContrast/_common.scss | 3 +++ gtk/theme/HighContrast/gtk-contained-inverse.css | 2 ++ gtk/theme/HighContrast/gtk-contained.css | 2 ++ 6 files changed, 17 insertions(+), 1 deletion(-) commit 6e8cc589f2d7c8ffb23047e73a7e007d22b67b12 Author: Daniel Boles Date: Thu Mar 1 20:16:02 2018 +0000 emojichooser.ui: Reuse headings as button tooltips https://bugzilla.gnome.org/show_bug.cgi?id=792632 gtk/ui/gtkemojichooser.ui | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 56d44fd10cf5c4bb121591a56dc69c2c1537f1c8 Author: Tomasz Miąsko Date: Thu Feb 1 00:00:00 2018 +0000 Widget: Fix doc of default ::keynav-failed handler https://bugzilla.gnome.org/show_bug.cgi?id=793089 gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0102e0f91411629b530a9a943cc94881e94a284c Author: Daniel Boles Date: Thu Mar 29 18:16:57 2018 +0100 HighContrast: Honour .monospace set by GtkTextView Copy the line that sets a monospace family from Adwaita (same place too) noticed at https://gitlab.gnome.org/GNOME/gtk/issues/141#note_91610 gtk/theme/HighContrast/_common.scss | 4 ++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 2 ++ gtk/theme/HighContrast/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit f12b44d6976c8f8704aabe50234e5010f3f9b662 Author: Nathan Follens Date: Thu Mar 29 13:02:08 2018 +0000 Update Dutch translation po/nl.po | 173 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 87 insertions(+), 86 deletions(-) commit b5e959b6ffeb266d6ad239d7310b69d72f4d2fae Author: Марко Костић Date: Wed Mar 28 20:50:42 2018 +0000 Update Serbian translation po-properties/sr.po | 66 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 29 deletions(-) commit 314531640fa6e54933dd838f9bae3a8372a2a99e Author: Lionel Landwerlin Date: Tue Mar 27 19:42:43 2018 +0100 imwayland: destroy objects only if it matches our manager object Should fix one of the crash from #129. modules/input/imwayland.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit a0f273465e189321756a083a02de019f9a9857b6 Merge: 3dbeab2b4a a36c564b54 Author: Emmanuele Bassi Date: Mon Mar 26 10:45:36 2018 +0000 Merge branch 'wip/smcv/ac-path-tool-2' into 'gtk-3-22' m4macros: Use PKG_PROG_PKG_CONFIG See merge request GNOME/gtk!81 commit 3dbeab2b4aeff3561880605e34755e506b492818 Author: Milo Casagrande Date: Mon Mar 26 10:34:48 2018 +0000 Update Italian translation po/it.po | 154 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 77 insertions(+), 77 deletions(-) commit f38d8f8c1b04e65f69933a7d6fb3f37782d1a68d Author: Cheng-Chia Tseng Date: Mon Mar 26 09:20:17 2018 +0000 Update Chinese (Taiwan) translation po-properties/zh_TW.po | 1572 ++++++++++++++++++++++++------------------------ 1 file changed, 790 insertions(+), 782 deletions(-) commit a36c564b549a94659ca1d148cfe5f82b85aa3a17 Author: Simon McVittie Date: Mon Mar 26 09:31:31 2018 +0100 m4macros: Use PKG_PROG_PKG_CONFIG Signed-off-by: Simon McVittie m4macros/gtk-3.0.m4 | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) commit 323d86b6e4bb19f252328a78e93fda03e1d9c0df Author: Simon McVittie Date: Mon Mar 26 08:56:56 2018 +0100 m4macros: Fix underquoting in AC_PATH_TOOL While these lines are being changed anyway, they might as well be more correct. Signed-off-by: Simon McVittie m4macros/gtk-3.0.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3a7fbb3b30f6ed8f65f9f5862c2fd30035a1a1ed Author: Helmut Grohne Date: Mon Mar 26 06:28:44 2018 +0200 AM_PATH_GTK_3_0: Use AC_PATH_TOOL to find pkg-config AM_PATH_GTK_3_0 uses AC_PATH_PROG for finding pkg-config. Unfortunately, that will find the build architecture pkg-config which in turn will miss the host architecture gtk+3.0. What must be used here is the host architecture pkg-config and that is found with AC_PATH_TOOL. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=894069 Reviewed-by: Simon McVittie Fixes: #133 m4macros/gtk-3.0.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a09df57a5fd2865847f86ee4beadca043660628c Merge: b0f8426c29 3bd7b379c8 Author: Matthias Clasen Date: Sun Mar 25 20:47:02 2018 +0000 Merge branch 'gtk-3-22-bz773274' into 'gtk-3-22' wayland: Don't paint if the window is unmapped See merge request GNOME/gtk!31 commit b0f8426c2994e0fdfed225a4890f7285cdcfda94 Author: Dz Chen Date: Fri Mar 23 23:55:05 2018 +0800 Update zh_CN po and po-properties translations po-properties/zh_CN.po | 1873 ++++++++++++++++++++++++------------------------ po/zh_CN.po | 1080 +++++++++++++++------------- 2 files changed, 1547 insertions(+), 1406 deletions(-) commit dbaaa701ad0aa2b244347ac54fd5c68cd3dce999 Author: Daniel Boles Date: Thu Mar 22 21:01:08 2018 +0000 HighContrast: Regenerate CSS missing from !50 https://gitlab.gnome.org/GNOME/gtk/merge_requests/50 forgot this. gtk/theme/HighContrast/gtk-contained-inverse.css | 26 ++++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 26 ++++++++++++------------ 2 files changed, 26 insertions(+), 26 deletions(-) commit ef3fe9ead38feb48a834a6024b41190fe7116f96 Author: Nikita Churaev Date: Sun Mar 18 13:33:52 2018 +0300 theme: Be more selective when adding margins to toolbar items Only add margins to direct children of toolbar items, this fixes the gaps between linked buttons inside custom toolbar items. https://gitlab.gnome.org/GNOME/gtk/merge_requests/66 gtk/theme/Adwaita/_common.scss | 9 ++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) commit 6551ddd8e050389f8f768f913a151ffd738c12c3 Author: Matej Urbančič Date: Wed Mar 21 16:01:46 2018 +0100 Updated Slovenian translation ... po-properties/sl.po | 785 ++++++++++++++++++++++++++-------------------------- 1 file changed, 394 insertions(+), 391 deletions(-) commit 332d41792d2557f1fed3dd049f3860fcc0b3500b Author: Matej Urbančič Date: Wed Mar 21 15:58:15 2018 +0100 Updated Slovenian translation ... po/sl.po | 393 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 202 insertions(+), 191 deletions(-) commit 240cb0bb5af6343cf779a23dc83354fec57cdff8 Author: Charles Monzat Date: Wed Mar 21 08:45:43 2018 +0000 Update French translation po-properties/fr.po | 69 +++++++++++++++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 31 deletions(-) commit 5c8bb51a58937bfa2d62bb26ba9f1b94993df4a6 Merge: 68fce76faf 0454a1cace Author: Matthias Clasen Date: Tue Mar 20 16:28:00 2018 +0000 Merge branch 'wip/xdg-shell-gtk-3-22' into 'gtk-3-22' xdg shell (stable; gtk 3 22) See merge request GNOME/gtk!36 commit 68fce76faf94e1b0d7a514b880dbb90f5075fc52 Author: Cheng-Chia Tseng Date: Tue Mar 20 15:53:58 2018 +0000 Update Chinese (Taiwan) translation po/zh_TW.po | 330 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 169 insertions(+), 161 deletions(-) commit b88bffac23051871cd61c41809e88138b2dfe899 Merge: 9781ffae51 4f78abddfc Author: Matthias Clasen Date: Tue Mar 20 15:31:49 2018 +0000 Merge branch 'wip/carlosg/fix-issue-114' into 'gtk-3-22' Fix issue #114 See merge request GNOME/gtk!73 commit 4f78abddfc8a815a7e02f5347d5326412190f66f Author: Carlos Garnacho Date: Tue Mar 20 15:17:31 2018 +0100 imwayland: Avoid TOGGLE_INPUT_PANEL requests if there's no focus Fixes two things: 1) As GTK+ can be coerced into using the wayland IM module despite the compositor not implementing the interface, all paths not checking for global state before sending requests are prone to crashes, this one fell hit this pitfall. And 2) ensures the tap gesture only triggers TOGGLE_INPUT_PANEL if the widget IM is focused. This is a possibility on eg. WebKit pages, where its IM is only focused as long as a form element in the page is focused. Tapping elsewhere shouldn't toggle the OSK. https://gitlab.gnome.org/GNOME/gtk/issues/114 Closes: #114 modules/input/imwayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 6e2d14037cea356638a9bea7b611cbe23bc90b47 Author: Peter Bloomfield Date: Mon Mar 12 17:46:57 2018 -0400 gtkimmodule: make match_backend() query …the wayland registry. Wnen _gtk_im_module_get_default_context_id calls match_backend (context_id) and the default GdkDisplay is wayland, match_backend() should return TRUE only if gdk_wayland_display_query_registry (display, "gtk_text_input_manager") returns TRUE. gtk/gtkimmodule.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 9781ffae5180902ffb972b46c0b1673d14ae3415 Merge: 92bef46b4c d65a4c2e0a Author: Benjamin Otte Date: Tue Mar 20 14:55:57 2018 +0000 Merge branch 'style-context-null-widget-guard' into 'gtk-3-22' gtkstylecontext: guard against gtk_css_widget_node_get_widget() returning NULL in more places See merge request GNOME/gtk!70 commit d65a4c2e0abeefb1e61e32a2da2c1e1ba9987817 Author: Christoph Reiter Date: Mon Mar 19 18:21:25 2018 +0100 gtkstylecontext: guard against gtk_css_widget_node_get_widget() returning NULL in more places When the widget gets finalized it clears the widgetnode and gtk_css_widget_node_get_widget returns NULL. Guard against gtk_css_widget_node_get_widget() returning NULL like in other places. See https://gitlab.gnome.org/GNOME/pygobject/issues/28#note_82862 gtk/gtkstylecontext.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 92bef46b4c9bae9946f46d598ea1d49483038455 Author: Daniel Boles Date: Mon Mar 19 15:13:04 2018 +0000 gdkrgba: Add a missing apostrophe in a doc comment gdk/gdkrgba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4bb394d6057ef5ca0a9b1fb9a301f7d5634cd9f Author: Daniel Boles Date: Mon Mar 19 14:27:28 2018 +0000 _common.scss: Use : for properties in new comments This is cosmetic and unlikely to have confused anyone, but still gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/HighContrast/_common.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e0befe02fa393ba1e790878601b8f66fe8d9d4cd Merge: 3e68abddbc 4e2f59ad23 Author: Daniel Boles Date: Mon Mar 19 14:26:11 2018 +0000 Merge branch 'searchbar-double-border-fix' into 'gtk-3-22' Fix the double border in windows with a search bar. See merge request GNOME/gtk!50 commit 3e68abddbc2f341ba18f5530ad7a7d3de388d63b Merge: 84ff404a17 577f1a992e Author: Руслан Ижбулатов Date: Mon Mar 19 09:40:58 2018 +0000 Merge branch 'lrn/issue-82_3-22' into gtk-3-22 commit 84ff404a173f860e2e54b2dc684481455d328d19 Author: Chun-wei Fan Date: Mon Mar 19 16:53:57 2018 +0800 Visual Studio builds: Fix .pc generation Since the Cairo build files for Visual Studio does not really generate the pkg-config files for us, and we stopped making makeshift ones in gobject-introspection, stop making the .pc files we generate here refer to the Cairo .pc's, and instead make them link directly to cairo-gobject.lib and cairo.lib. build/win32/gtkpc.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 9604eb5c53fa483d7e21f0534f994b06a251e5e6 Author: Milo Casagrande Date: Sat Mar 17 14:51:14 2018 +0000 Update Italian translation po-properties/it.po | 1080 ++++++++++++++++++++++++++------------------------- 1 file changed, 544 insertions(+), 536 deletions(-) commit 9c8e53b9685d74e8114b1bd16b3561b24b2db2d5 Author: Dušan Kazik Date: Sat Mar 17 14:36:47 2018 +0000 Update Slovak translation po-properties/sk.po | 1080 ++++++++++++++++++++++++++------------------------- 1 file changed, 544 insertions(+), 536 deletions(-) commit eb01ba8573bec47e02c8fc4eaf10e2f7cff522dd Author: Timm Bäder Date: Sat Mar 17 13:14:25 2018 +0100 widget: Only print allocation warnings with --enable-debug i.e. if G_ENABLE_CONSISTENCY_CHECKS is defined. This makes sense, considering that this warning is about consistency of internal widget state. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 7fd9f2d31eb623a41cece887bc6b412121001f3d Author: Daniel Boles Date: Fri Mar 16 22:11:58 2018 +0000 Notebook: Don’t show raw underline/markup in popup If @menu_label == NULL, we create a default page->menu_label. This took @tab_label.get_label() and passed that to page->menu_label.set_text(). This is wrong because we set the plain text of the menu_label from the rich text of @tab_label. So, if @tab_label used mnemonics or markup, our menu_label got the raw underline or markup tags shown in it as raw text. As we call set_text() on the menu Label, the fix is to be symmetric: use @tab_label’s get_text() as source, as that strips underlines and markup. It’s not worth making the default Label ‘inherit’ :use-underline/markup; that’s a slippery slope, and users wanting such things can just create a fully fledged GtkLabel to pass as @menu_label to suppress the default. https://bugzilla.gnome.org/show_bug.cgi?id=705509 gtk/gtknotebook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3bd7b379c8d2c7e57ce22501420791c4bfcf24ca Author: Olivier Fourdan Date: Tue Jan 30 13:57:35 2018 +0100 wayland: Drop cairo surfaces when withdrawing If a window is unmapped by the client while gdk is processing updates, (for example Firefox un-mapping its window on Expose events), the windowing backend resources might be lost (for example with Wayland) which can cause a crash in end_paint(). Make sure we drop the cairo surfaces as well when hiding the surface, that will avoid the crash in gdk_window_impl_wayland_end_paint() when trying to attach the staging cairo surface to a released wl_surface, these will be recreated when needed when the surface becomes visible again and there is no need to keep such buffers around for a surface which is not visible anyway. https://bugzilla.gnome.org/show_bug.cgi?id=793062 gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0454a1cacec8850fefa0e7b55fe6f87d44eefb06 Author: Jonas Ådahl Date: Mon Dec 18 20:10:47 2017 +0800 wayland: Minor whitespace cleanups Broke up a long line, added an empty one, and indented another one. https://bugzilla.gnome.org/show_bug.cgi?id=791939 gdk/wayland/gdkwindow-wayland.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit a46bc8b5a3a1bc80f4f1c6d7f7eb64944323346f Author: Jonas Ådahl Date: Mon Dec 18 20:00:36 2017 +0800 wayland: Add support for xdg-shell stable This commit adds support the stable version of the xdg-shell protocol. Support for the last version of the unstable series is left intact, but will not receive new features. The stable version is prioritized above the older version. https://bugzilla.gnome.org/show_bug.cgi?id=791939 configure.ac | 2 +- gdk/wayland/Makefile.am | 4 +- gdk/wayland/gdkdisplay-wayland.c | 69 ++- gdk/wayland/gdkdisplay-wayland.h | 14 +- gdk/wayland/gdkwindow-wayland.c | 995 +++++++++++++++++++++++++++++++-------- 5 files changed, 878 insertions(+), 206 deletions(-) commit 5d27915aa4c404bd99a0c8aef51cccc24bead4d2 Author: Timm Bäder Date: Thu Mar 15 21:04:45 2018 +0100 demo: Add widgetbowl demo Backported from gtk4. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/widgetbowl.c | 365 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 367 insertions(+) commit cac2845bd6d24537bcb3337c8321e74ef9df1aa0 Merge: 3ee7604d6e ba83a2c46b Author: Matthias Clasen Date: Thu Mar 15 17:47:15 2018 +0000 Merge branch 'wip/filechooser-non-default-display-gtk3' into 'gtk-3-22' Fix filechooser dialog using non default display (gtk3) See merge request GNOME/gtk!59 commit 3ee7604d6e6f06d6ac1e4700403f12a82bd5fb49 Author: Kukuh Syafaat Date: Thu Mar 15 14:08:17 2018 +0000 Update Indonesian translation po-properties/id.po | 1080 ++++++++++++++++++++++++++------------------------- 1 file changed, 544 insertions(+), 536 deletions(-) commit 0fa391cc24a8c216c0b4723e12f9db3310182ef7 Author: Balázs Úr Date: Thu Mar 15 13:39:01 2018 +0000 Update Hungarian translation po-properties/hu.po | 241 +++++++++++++++++++++++++++------------------------- 1 file changed, 124 insertions(+), 117 deletions(-) commit 0a0323813e07b5f6f8cfa2e1935dd13da47239e7 Author: Daniel Boles Date: Wed Mar 14 22:56:01 2018 +0000 SpinButton: Redraw +/- buttons after :wrap changes Otherwise, the + or - button might change sensitivity based on whether it can be used to wrap, but without ensuring we update its state, the ability to :wrap isn't reflected until something else triggers a draw. https://gitlab.gnome.org/GNOME/gtk/issues/88 gtk/gtkspinbutton.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fcfabb2fd372a5c2573f626f1e5d74631482e1d1 Author: Daniel Boles Date: Wed Mar 14 22:39:19 2018 +0000 testspinbutton: Add button to toggle wrap on Spins I found myself wanting to test this for something else, so let's test it. It revealed a bug immediately! https://gitlab.gnome.org/GNOME/gtk/issues/88 tests/testspinbutton.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit bb16f1a0ffac77cc5fde855898a3f930f38044b1 Author: Daniel Boles Date: Wed Mar 14 22:37:34 2018 +0000 testspinbutton: Orient box orthogonally to Spins This makes better use of space. tests/testspinbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c179d5eb6e8d1e45a585669903da3f858c5f3a9c Author: Emin Tufan Çetin Date: Wed Mar 14 19:57:40 2018 +0000 Update Turkish translation po/tr.po | 290 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 145 insertions(+), 145 deletions(-) commit ba83a2c46b44d51cec995246f38682f845e4ad69 Author: Jonas Ådahl Date: Wed Mar 14 11:54:02 2018 +0800 entrycompletion: Realize popup after setting screen Realization is done as a side effect of calling _gtk_entry_completion_resize_popup(), but if this is done before the GdkScreen of the GtkWindow is set up correctly, it may result in the widget being unrealized when the screen is updated. This may happen when the file dialog parent window is not using the default GdkDisplay. To avoid this issue, realize the popup after the screen has been properly set up. Fixes #83 in gtk3 gtk/gtkentrycompletion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fc9a71abae776d392961606b40127a65ca8d2dfa Merge: 600003e83f f0bea1ab1d Author: Christoph Reiter Date: Tue Mar 13 20:31:30 2018 +0000 Merge branch 'gtk-3-22' into 'gtk-3-22' Add proper annotation for gdk_frame_clock_get_refresh_info See merge request GNOME/gtk!54 commit 600003e83f074f8c2644808d04c036075fdcc611 Author: Christoph Reiter Date: Tue Mar 13 21:19:30 2018 +0100 run-docker.sh: Disable SELinux for the container On Fedora and similar SELinux by default prevents containers accessing mounted host directories. This script is just used for testing, so disable it. .gitlab-ci/run-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b485cf91b53cd21fad8b4ff35fef53e4d1a9f009 Author: Nathan Follens Date: Tue Mar 13 19:29:02 2018 +0000 Update Dutch translation po-properties/nl.po | 1084 ++++++++++++++++++++++++++------------------------- 1 file changed, 545 insertions(+), 539 deletions(-) commit 577f1a992e9cf2c2ad6a6310b446541c72e991e9 Author: Руслан Ижбулатов Date: Tue Mar 13 18:21:50 2018 +0000 GDK W32: send a DELETE selection when using LOCAL selection protocol This was not needed before, but now it seems to be necessary for some reason. The code is just an adjusted copy of the appropriate piece of the OLE2 protocol code, sending GDK_SELECTION_REQUEST. The rest is just fixing the fallout, allowing LOCAL protocol to pass the functions it wasn't supposed to pass before. Closes #82 gdk/win32/gdkdnd-win32.c | 17 +++++++++++++++++ gdk/win32/gdkproperty-win32.c | 3 ++- gdk/win32/gdkselection-win32.c | 3 ++- 3 files changed, 21 insertions(+), 2 deletions(-) commit a2efd3f3dc3e89e43b16e92dae2eabdd3b24f290 Author: Emin Tufan Çetin Date: Tue Mar 13 17:17:01 2018 +0000 Update Turkish translation po-properties/tr.po | 1585 ++++++++++++++++++++++++++------------------------- 1 file changed, 800 insertions(+), 785 deletions(-) commit 98afaed718e6cea39ddc36ab1043d04348c4e9a4 Author: Tim Sabsch Date: Tue Mar 13 15:03:39 2018 +0000 Update German translation po-properties/de.po | 1083 ++++++++++++++++++++++++++------------------------- 1 file changed, 546 insertions(+), 537 deletions(-) commit 491e6962263f43a23252012689e6a47c58aa7c1b Author: Rafael Fontenelle Date: Tue Mar 13 10:37:16 2018 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 1083 ++++++++++++++++++++++++------------------------ 1 file changed, 545 insertions(+), 538 deletions(-) commit 9f6deab88cfbcfd7ebf5431495453adcab9f0639 Author: Matthias Clasen Date: Mon Mar 12 21:34:03 2018 +0000 3.22.29 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 49 insertions(+), 2 deletions(-) commit 0f3396d7423d9f76506f91ac8a97adc1df5cf50f Author: Daniel Boles Date: Tue Mar 13 00:19:51 2018 +0000 FileChooserWidget: Fix leaks in .get_subtitle() Now that subtitle's default value "Searching" for OPERATION_MODE_SEARCH is duplicated as it should be, we cannot reassign other strings to it anymore, as that resulted in the original dupe of "Searching" leaking. Fix this by only assigning the dup'd "Searching" after trying to get more specific values, not before. We therefore need to set it to NULL during its declaration, and that means we needn't in the final else. gtk/gtkfilechooserwidget.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 9d8fadee976d589645663eade2b83258ed0a005e Author: Daniel Boles Date: Mon Mar 12 22:44:37 2018 +0000 FileChooserWidget: Avoid crash freeing static str Having a FileChooserDialog in location-entry mode then pressing f to move to search mode would crash with an invalid free(). In that case, FileChooserWidget.get_subtitle() returned a static string straight from gettext. This crashed when the GBinding from :subtitle to FileChooserDialog’s HeaderBar:subtitle shortly tried to free the string. Fix by duplicating the string before returning it, like all other paths. https://bugzilla.gnome.org/show_bug.cgi?id=791004 gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e016686838982253b1dc161f4d9df48ce091abd Author: Stas Solovey Date: Mon Mar 12 21:08:05 2018 +0000 Update Russian translation po-properties/ru.po | 780 ++++++++++++++++++++++++++-------------------------- 1 file changed, 394 insertions(+), 386 deletions(-) commit bcd920c288cd93721fdc397373df396adb80fa61 Author: Aurimas Černius Date: Mon Mar 12 23:01:22 2018 +0200 Updated Lithuanian translation po-properties/lt.po | 791 ++++++++++++++++++++++++++-------------------------- 1 file changed, 399 insertions(+), 392 deletions(-) commit 6c4261338a0a96d2b1f071ecf6612a244eac9ede Author: gogo Date: Mon Mar 12 20:57:04 2018 +0000 Update Croatian translation po-properties/hr.po | 162 +++++++++++++++++++++++++++------------------------- 1 file changed, 85 insertions(+), 77 deletions(-) commit a2f81d83bb4fd6d3c1205676e1ed8d770543dfb9 Author: Anders Jonsson Date: Mon Mar 12 20:43:21 2018 +0000 Update Swedish translation po-properties/sv.po | 1084 ++++++++++++++++++++++++++------------------------- 1 file changed, 546 insertions(+), 538 deletions(-) commit cbb22b29168f3e3ffdfe980a67cdd918d6405d05 Author: Daniel Boles Date: Mon Mar 12 18:57:06 2018 +0000 testinfobar: Test more properties, response signal Also test :message-type, :show-close-button, and ::response. tests/testinfobar.c | 107 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 69 insertions(+), 38 deletions(-) commit 41f6c469e3bd013ed43b8b18f8e4858a627a0b27 Author: Marek Černocký Date: Mon Mar 12 19:51:52 2018 +0100 Updated Czech translation po-properties/cs.po | 1090 ++++++++++++++++++++++++++------------------------- 1 file changed, 549 insertions(+), 541 deletions(-) commit e4e2b7687d455566b2102404487fcaa6b1b0077a Author: Mart Raudsepp Date: Mon Mar 12 16:27:50 2018 +0000 Update Estonian translation po-properties/et.po | 5679 ++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 4936 insertions(+), 743 deletions(-) commit f08eeecae61452110115329906714de86675e53d Author: Daniel Boles Date: Mon Mar 12 16:08:29 2018 +0000 ListBox: Avoid ::row-activated/Row::activate ambig …uity, by adding a doc comment to Row::activate explaining what it does and why it is probably not what the user reading that is looking for. https://bugzilla.gnome.org/show_bug.cgi?id=794008 gtk/gtklistbox.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit f7a47a632cf740b9f7f83b93f6f7c1a9821d7aed Author: Daniel Boles Date: Mon Mar 12 15:35:29 2018 +0000 InfoBar: Be most specific in new Since annotations gtk/gtkinfobar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1122508e1ceb0ee808cb8b96b58d461f9ce4d283 Author: Piotr Drąg Date: Mon Mar 12 16:42:03 2018 +0100 Update Polish translation po-properties/pl.po | 1088 ++++++++++++++++++++++++++------------------------- 1 file changed, 548 insertions(+), 540 deletions(-) commit 6b4d95e86dabfcdaa805fbf068a99e19736a39a4 Author: Daniel Boles Date: Mon Mar 12 15:17:03 2018 +0000 testinfobar: Add simple test of :visible/:revealed This exists merely to prove that, having added :revealed, show() and hide() now work reliably, as does set_revealed() for the animated case. https://bugzilla.gnome.org/show_bug.cgi?id=710888 tests/Makefile.am | 1 + tests/testinfobar.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) commit e9d84e26531acb611c8685b1f628cc1fc25c199d Author: Timm Bäder Date: Thu Jan 12 09:09:22 2017 +0100 infobar: Add :revealed property https://bugzilla.gnome.org/show_bug.cgi?id=710888 gtk/gtkinfobar.c | 94 ++++++++++++++++++++++++++++++++++------------------ gtk/gtkinfobar.h | 6 ++++ gtk/ui/gtkinfobar.ui | 1 + 3 files changed, 68 insertions(+), 33 deletions(-) commit 45aa0188394087b68ac1ca8b3e5969c4d7e151a4 Author: Timm Bäder Date: Thu Jan 12 08:42:09 2017 +0100 infobar: Keep GParamSpecs around So we can use them in notify_by_pspec https://bugzilla.gnome.org/show_bug.cgi?id=710888 gtk/gtkinfobar.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) commit f0bea1ab1dcd27258dc1315e2a5a3f06bc24e767 Author: Sander Sweers Date: Mon Mar 12 14:29:09 2018 +0100 Add proper annotation for gdk_frame_clock_get_refresh_info See https://gitlab.gnome.org/GNOME/gtk/issues/77 gdk/gdkframeclock.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 04ff9b58f19e43697666dc5ccbe4faaa96fc29a0 Author: Timm Bäder Date: Tue Feb 27 11:45:34 2018 +0100 emojichooser: Only measure reference emoji once Doing that once for every emoji is pretty slow and unnecessary as the width does not change. gtk/gtkemojichooser.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) commit 72ed0c953906ceafae26a3173b08dc1e5e082d7e Author: Alexandre Franke Date: Sat Mar 10 22:06:23 2018 +0000 Update French translation po/fr.po | 844 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 456 insertions(+), 388 deletions(-) commit 4e2f59ad2308b3877e244809c8fb323092690a88 Author: Nikita Churaev Date: Fri Mar 9 22:13:01 2018 +0300 Tidy up the search bar double border fix Match "box" instead of "*", as already done for the search bar GTK4 and for the action box in GTK3. Also clarify which widget property is causing the margin which needs to be undone. gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 10 +++++----- gtk/theme/Adwaita/gtk-contained.css | 10 +++++----- gtk/theme/HighContrast/_common.scss | 4 +++- 4 files changed, 16 insertions(+), 14 deletions(-) commit cc967849f7653c697c33571a1a6a55e9ffd966ff Author: Pavel Roskin Date: Thu Mar 8 15:58:42 2018 +0100 x11: Avoid a division by zero This is similar to f44baf51d9e8616a but for RandR 1.3 servers like x11rdp and Windows Exceed which don't return a refresh rate. Avoid a crash when that happens. https://bugzilla.gnome.org/show_bug.cgi?id=775546 gdk/x11/gdkscreen-x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit add3592809355d037a1ef7d9ad05547827eb3b79 Author: Ask Hjorth Larsen Date: Thu Mar 8 12:23:42 2018 +0100 Updated Danish translation po/da.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b202c44fd8ca251ac1ea8467ffd15d2b2243ca48 Author: Nikita Churaev Date: Thu Mar 8 00:55:57 2018 +0300 Fix double borders in windows with a search bar in HighContrast gtk/theme/HighContrast/_common.scss | 5 +++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 28 ++++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 28 ++++++++++++------------ 3 files changed, 31 insertions(+), 30 deletions(-) commit 8c09b3994a982d5130da332dcdfc44dabf6fd001 Author: Ask Hjorth Larsen Date: Wed Mar 7 22:37:47 2018 +0100 Updated Danish translation of gtk-properties po-properties/da.po | 1474 ++++++++++++++++++++++++++------------------------- 1 file changed, 740 insertions(+), 734 deletions(-) commit b9b2f7711bee5f3494afef9392a44c067201bc1b Author: Ask Hjorth Larsen Date: Wed Mar 7 22:37:45 2018 +0100 Updated Danish translation of gtk po/da.po | 831 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 443 insertions(+), 388 deletions(-) commit d465d790f0b425a391534df28548ff3fc3b9bb55 Author: Nikita Churaev Date: Wed Mar 7 08:39:05 2018 +0300 Fix the double border in windows with a search bar. Includes applications like GNOME Software and GNOME Documents. The search bar is a composite widget with a revealer inside it, and when the content of the revealer is hidden, the border lingers. Changed the CSS to add style to the content of the revealer instead of the search bar widget itself. gtk/theme/Adwaita/_common.scss | 8 +++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++---- gtk/theme/Adwaita/gtk-contained.css | 10 ++++++---- 3 files changed, 19 insertions(+), 9 deletions(-) commit 46828f8e0aa7b03497706d90f2aacc1a9423939e Author: Timm Bäder Date: Tue Mar 6 17:44:33 2018 +0100 expander: fix sizes in resize_toplevel We can't use gtk_widget_get_allocation for either non-anchored widgets (which happens with the child widget when the expander is unexpanded) nor toplevel windows since that will include the window decorations. Fixes #70 in gtk3 gtk/gtkexpander.c | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) commit 23b91856e17ff4d30339e6ff6f3fb23daf3a875c Merge: fa47667df9 e36b629c36 Author: Christoph Reiter Date: Mon Mar 5 19:58:04 2018 +0000 Merge branch '63-regression-3-22-26-3-22-27-hidpi-checkboxes-and-radiobuttons-pixmaps-are-not-scaled' into 'gtk-3-22' Resolve "[ Regression 3.22.26 -> 3.22.27 ] [HIDPI] Checkboxes and radiobuttons pixmaps are not scaled" See merge request GNOME/gtk!47 commit e36b629c367fa11e6e544ff8b8203bcf29ec73ee Author: Juan Pablo Ugarte Date: Mon Mar 5 14:47:00 2018 -0300 GtkCssImageSurface: set device scale for cache surface Closes #63 gtk/gtkcssimagesurface.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit fa47667df96ed52259ce77e30af05f76a7be3465 Author: Stas Solovey Date: Mon Mar 5 16:25:05 2018 +0000 Update Russian translation po/ru.po | 387 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 199 insertions(+), 188 deletions(-) commit bb498ba55474fb4c5fda3326ed929a758e74ec61 Author: Rūdolfs Mazurs Date: Sun Mar 4 19:22:05 2018 +0000 Update Latvian translation po-properties/lv.po | 1542 ++++++++++++++++++++++++++------------------------- 1 file changed, 775 insertions(+), 767 deletions(-) commit 5fc27126f5bcb0366ef75ac6632898fefd82ff23 Merge: cccb66afb4 5d258bf314 Author: Christoph Reiter Date: Sun Mar 4 19:21:26 2018 +0000 Merge branch 'phase-field' into 'gtk-3-22' Fix introspection for GdkEventTouchpadPinch and GdkEventTouchpadSwipe. See merge request GNOME/gtk!45 commit cccb66afb45bcd207a6e3d975c9c814d3d4d4f7b Author: Rūdolfs Mazurs Date: Sun Mar 4 19:19:38 2018 +0000 Update Latvian translation po/lv.po | 835 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 447 insertions(+), 388 deletions(-) commit 5d258bf31464eb6af5f0ee2f051b7ea2df41033f Author: Tomasz Miąsko Date: Sun Mar 4 00:00:00 2018 +0000 Fix introspection for GdkEventTouchpadPinch and GdkEventTouchpadSwipe. When using type annotations, the ABI of type being annotated and a new type introduced from annotation should match. In case of enumerations, the most common ABI, and probably the only one currently used in practice with gtk, corresponds to -fno-short-enums compiler option. It uses int as the underlying type of enum, bumping it up to unsigned int, long int or unsigned long int, in that order, when necessary. Thus, when annotating a field of integer type with an enum type, it is never correct to annotate field smaller than int, because it changes the ABI from perspective on introspection. The gint8 phase field in GdkEventTouchpadSwipe and GdkEventTouchpadPinch structures have been previously annotated in such a way, and this change removes this annotation to restore ABI compatibility. Size of structures before (which does not match C): ``` >>> Gdk.EventTouchpadPinch.__info__.get_size() 104 >>> Gdk.EventTouchpadSwipe.__info__.get_size() 88 ``` Size of structures after (which does match C): ``` >>> Gdk.EventTouchpadPinch.__info__.get_size() 96 >>> Gdk.EventTouchpadSwipe.__info__.get_size() 80 ``` Fixes issue #57. gdk/gdkevents.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 464888a2da567c9c0c21eca1164ebcc0add16bd3 Merge: 119d8f996f 91498c7db3 Author: Christoph Reiter Date: Sun Mar 4 15:03:24 2018 +0000 Merge branch 'c-includes' into 'gtk-3-22' Include C headers in introspection file. See merge request GNOME/gtk!44 commit 91498c7db34481c9014dd63f235a1679fc4b8bfb Author: Tomasz Miąsko Date: Sun Mar 4 00:00:00 2018 +0000 Include C headers in introspection file. Include gtk/gtk.h and gtk/gtk-a11y.h unconditionally, and gtk/gtkx.h when building with X11. Ensures that introspection data contains complete set required headers, which is useful when generating C code based on introspection data. Diff for generated gir (when using X11): ```diff + + + Date: Sun Mar 4 11:54:24 2018 +0000 Merge branch 'gitlab-ci-gtk-3-22' into 'gtk-3-22' Add gitlab-ci support using a prebuilt docker image See merge request GNOME/gtk!18 commit 81c4fa5d505ecd08018843d46e2c503a62075035 Author: Christoph Reiter Date: Tue Feb 13 17:21:18 2018 +0100 Add gitlab-ci support using a prebuilt docker image This uses autotools and just calls make .gitlab-ci.yml | 18 ++++++++++++++ .gitlab-ci/Dockerfile | 60 +++++++++++++++++++++++++++++++++++++++++++++++ .gitlab-ci/run-docker.sh | 19 +++++++++++++++ .gitlab-ci/test-docker.sh | 6 +++++ 4 files changed, 103 insertions(+) commit 5ca21f6dbba6e4f34eade0d3de51daf4d78537ab Merge: 7a15bf56a0 3000384b90 Author: Christoph Reiter Date: Sun Mar 4 09:40:57 2018 +0000 Merge branch 'include-gtkstackaccessible-gtk-3-22' into 'gtk-3-22' a11y: Include gtkstackaccessible.h in gtk-a11y.h See merge request GNOME/gtk!42 commit 7a15bf56a010141f219c5166f462b31c28bcde0d Author: Kristjan SCHMIDT Date: Sat Mar 3 20:07:27 2018 +0000 Update Esperanto translation po-properties/eo.po | 183 ++++++++++++++++++++++++++-------------------------- 1 file changed, 92 insertions(+), 91 deletions(-) commit 3000384b908d79ebe74f918e4be8a0e566ce6232 Author: Tomasz Miąsko Date: Sat Mar 3 00:00:00 2018 +0000 a11y: Include gtkstackaccessible.h in gtk-a11y.h gtk/gtk-a11y.h | 1 + 1 file changed, 1 insertion(+) commit fd71badf16102c3712133ea80156dadd7c7315d7 Author: Jordi Mas Date: Sat Mar 3 18:12:43 2018 +0100 Fix to Catalan translation po/ca.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ead2c3f38f8fb695aadc9f591aaadfa508bf52c6 Author: Marek Černocký Date: Sat Mar 3 06:53:53 2018 +0100 Updated Czech translation po/cs.po | 445 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 228 insertions(+), 217 deletions(-) commit 3059df0d4deb28875e3bd7c56c06f5c067264505 Author: Bruce Cowan Date: Fri Mar 2 22:09:11 2018 +0000 Update British English translation po/en_GB.po | 1163 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 654 insertions(+), 509 deletions(-) commit f0d5b9561b83599538f70df80d7b6c7abf1a4d04 Author: Timm Bäder Date: Thu Mar 1 19:39:49 2018 +0100 Revert "file chooser: Allow activating without double-click" This reverts commit fb0a13b7f070a14312dafa1e4df6ba03cf33be01. It's already reverted in master via c8a6a1138b4e1772817be661a435dd16941d6445, so let's not leave subtle behavior changes that would make a gtk3->gtk4 migration. And just like the commit message of the revert already mentions: it didn't really make anybody happy anyway. gtk/gtkfilechooserwidget.c | 50 ---------------------------------------------- 1 file changed, 50 deletions(-) commit b13362b369a8a74aab04447699d49d698e321101 Author: Timm Bäder Date: Mon Feb 5 10:38:37 2018 +0100 separatormenuitem: Don't create label widget in get_label Calling gtk_menu_item_get_label on a GtkSeparatorMenuItem would otherwise create a GtkLabel child, increasing the vertical size request to that of the child label. gtk/gtkseparatormenuitem.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit b68256f7a1b9a5091bcbd8c832873400557f19c4 Merge: abc171c93a 342aee304a Author: Christoph Reiter Date: Thu Mar 1 13:46:36 2018 +0000 Merge branch 'quartz-missing-config-include' into 'gtk-3-22' macos: Fix missing gdk symbol exports for gtk dnd See merge request GNOME/gtk!38 commit 342aee304ace1e2161ea7d5cc415d88395adbc34 Author: Christoph Reiter Date: Thu Mar 1 14:31:57 2018 +0100 macos: export gdk_quartz_drag_source_context() It's used in the gtk dnd code but not exported in gdk. Append a "_libgtk_only" suffix as with other internal exports and export the symbol. See #32 gdk/quartz/gdkdnd-quartz.c | 2 +- gdk/quartz/gdkquartzdnd.h | 3 +++ gtk/gtkdnd-quartz.c | 6 ++---- 3 files changed, 6 insertions(+), 5 deletions(-) commit abc171c93aded204a2550940646afbb72c2a8ebe Author: Kukuh Syafaat Date: Thu Mar 1 09:46:57 2018 +0000 Update Indonesian translation po/id.po | 319 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 165 insertions(+), 154 deletions(-) commit 5c0d242ea33ec1be60e6b2ad464dd9087692d7ab Author: Christoph Reiter Date: Tue Feb 27 19:53:43 2018 +0100 macos: Fix gdk_quartz_drag_context_get_dragging_info_libgtk_only symbol export The header got included without config.h being included first which resulted in the wrong _GDK_EXTERN macro being used. As a result some symbols weren't exported and starting a DnD action would crash in the linker. This patch adds config.h includes in all places where clang complained about _GDK_EXTERN redefinitions. See #32 for more info. gdk/quartz/GdkQuartzNSWindow.c | 1 + gdk/quartz/GdkQuartzView.c | 1 + gdk/quartz/gdkdnd-quartz.c | 1 + 3 files changed, 3 insertions(+) commit d76c7c82fcf2f2ac98e1e2e239cd414bf35aa9ef Author: Dušan Kazik Date: Mon Feb 26 11:17:48 2018 +0000 Update Slovak translation po/sk.po | 321 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 167 insertions(+), 154 deletions(-) commit 5d3ccfe21e383549406c988a47ce4ad1c6aba328 Author: Milo Casagrande Date: Mon Feb 26 08:02:38 2018 +0000 Update Italian translation po/it.po | 303 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 157 insertions(+), 146 deletions(-) commit 44e7df2a140e44a177496f1a4d0e8ab030b8645a Author: Sveinn í Felli Date: Mon Feb 26 07:51:26 2018 +0000 Update Icelandic translation po/is.po | 308 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 154 insertions(+), 154 deletions(-) commit 9f84e9a2c5dceb54eb12ab22292c23a158ce3ba7 Merge: 9112ca7f88 2760b020a8 Author: Christoph Reiter Date: Sun Feb 25 21:29:03 2018 +0000 Merge branch 'quartz-symbol-not-found-gtk3' into 'gtk-3-22' gdkquartz.h: export pasteboard functions See merge request GNOME/gtk!20 commit 9112ca7f88272950e5fa930c31e334a0eb471ff2 Author: Kristjan SCHMIDT Date: Sun Feb 25 18:15:28 2018 +0000 Update Esperanto translation po-properties/eo.po | 2972 ++++++++++++++++++++++++++------------------------- 1 file changed, 1540 insertions(+), 1432 deletions(-) commit 4c43e8468a8d199f760ada69bb70fdba6e631d2b Author: Furkan Ahmet Kara Date: Sun Feb 25 15:51:20 2018 +0000 Update Turkish translation po/tr.po | 294 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 151 insertions(+), 143 deletions(-) commit d41dfcab35ed5c0c254f365f4eca2ce3f0b18448 Author: Changwoo Ryu Date: Sun Feb 25 14:49:53 2018 +0000 Update Korean translation po-properties/ko.po | 1538 ++++++++++++++++++++++++++------------------------- 1 file changed, 773 insertions(+), 765 deletions(-) commit 80458ff5860e4106bbea9bd2f2858c45cc4b99bf Author: Changwoo Ryu Date: Sun Feb 25 14:48:59 2018 +0000 Update Korean translation po/ko.po | 864 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 462 insertions(+), 402 deletions(-) commit 4fe6cba27a33a9d0f0e90708c85b71493d308b98 Author: Baurzhan Muftakhidinov Date: Sat Feb 24 15:14:20 2018 +0000 Update Kazakh translation po/kk.po | 718 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 386 insertions(+), 332 deletions(-) commit 5b328804ec6389054e7781bda925228544d8149d Author: Balázs Úr Date: Fri Feb 23 22:17:48 2018 +0000 Update Hungarian translation po/hu.po | 174 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 91 insertions(+), 83 deletions(-) commit f3f75f62e8e419b2e8cc6fcd243f12ee7b281e7d Author: GNOME Translation Robot Date: Fri Feb 23 17:34:56 2018 +0000 Update Scottish Gaelic translation po/gd.po | 1441 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 772 insertions(+), 669 deletions(-) commit 68eb897900b6ca8b5173c9d21ea122db7694069c Author: GNOME Translation Robot Date: Fri Feb 23 17:25:08 2018 +0000 Update Scottish Gaelic translation po-properties/gd.po | 3185 ++++++++++++++++++++++++++------------------------- 1 file changed, 1600 insertions(+), 1585 deletions(-) commit 5cd21e55796fd809649b804fa5d212ab06cb05c4 Author: Fabio Tomat Date: Fri Feb 23 08:56:19 2018 +0000 Update Friulian translation po-properties/fur.po | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) commit bc3a939f9078ad8f3db1f459b634ba6c4111bba0 Author: Fran Dieguez Date: Fri Feb 23 00:26:32 2018 +0000 Update Galician translation po/gl.po | 175 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 91 insertions(+), 84 deletions(-) commit 2246a1e3c9e9f2720d8676c56ef3de322f8edb79 Author: GNOME Translation Robot Date: Thu Feb 22 19:56:58 2018 +0000 Update Dutch translation po/nl.po | 326 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 166 insertions(+), 160 deletions(-) commit af9f458bc92490e510bea3d68d3dbfd9fbad90bf Author: Daniel Mustieles Date: Thu Feb 22 11:23:24 2018 +0100 Updated Spanish translation po/es.po | 311 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 159 insertions(+), 152 deletions(-) commit e3fb265b90c7c998a2f408a9837078db5d6e4304 Author: Милош Поповић Date: Thu Feb 22 10:16:15 2018 +0000 Update Serbian Latin translation po-properties/sr@latin.po | 1558 +++++++++++++++++++++++---------------------- 1 file changed, 783 insertions(+), 775 deletions(-) commit 57f6f8307dc38302796e76cb415c7953bbed7639 Author: Марко Костић Date: Thu Feb 22 10:09:01 2018 +0000 Update Serbian translation po-properties/sr.po | 1558 ++++++++++++++++++++++++++------------------------- 1 file changed, 783 insertions(+), 775 deletions(-) commit ab628e365d083038be5f93938571f71498649104 Author: Милош Поповић Date: Wed Feb 21 14:35:57 2018 +0000 Update Serbian Latin translation po/sr@latin.po | 935 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 496 insertions(+), 439 deletions(-) commit 4107e670d011fccda8ea46204354cd0682b60f47 Author: Марко Костић Date: Wed Feb 21 14:33:06 2018 +0000 Update Serbian translation po/sr.po | 287 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 149 insertions(+), 138 deletions(-) commit 57a45586913080a065f2c06ff78e11e4db853db6 Author: Fabio Tomat Date: Wed Feb 21 09:28:45 2018 +0000 Update Friulian translation po-properties/fur.po | 310 +++++++++++++++++++++++++++------------------------ 1 file changed, 163 insertions(+), 147 deletions(-) commit 796245ca30f9a0d52d135c1bf7fbd134cec1973d Author: Charles Monzat Date: Mon Feb 19 21:28:35 2018 +0000 Update French translation po-properties/fr.po | 3206 ++++++++++++++++++++++++++------------------------- 1 file changed, 1610 insertions(+), 1596 deletions(-) commit 146b1e0d42d46ca39e0e55a4237fc167c414cc77 Merge: c96be5a00b c60ea284c5 Author: Matthias Clasen Date: Mon Feb 19 18:23:11 2018 +0000 Merge branch 'test-fix-a11y-schema' into 'gtk-3-22' testsuite/a11y: Fix missing glib schemas See merge request GNOME/gtk!16 commit c96be5a00b41897bf191823ebe359052d54c625b Merge: 92711d7f79 d2a4febfa7 Author: Matthias Clasen Date: Mon Feb 19 17:57:04 2018 +0000 Merge branch 'gtk-3-22' into 'gtk-3-22' gtkprintbackendcups.c: fix \n at end of a debugging note See merge request GNOME/gtk!24 commit 92711d7f79132374829b7326e7e61a1452594822 Merge: 8f82b06676 8e540f2f62 Author: Matthias Clasen Date: Mon Feb 19 17:55:12 2018 +0000 Merge branch 'gtk-debug-flags-with-open-display' into 'gtk-3-22' gtk_init: Fix debug flags handling when a display is already open See merge request GNOME/gtk!26 commit 8f82b066762269e24e805dea1ae6b0d253b838de Author: Aurimas Černius Date: Sun Feb 18 21:43:14 2018 +0200 Updated Lithuanian translation po/lt.po | 303 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 156 insertions(+), 147 deletions(-) commit 2946ca859cb1287f7b17c997b5ee3bd4081b2885 Author: Mario Blättermann Date: Sun Feb 18 12:48:31 2018 +0000 Update German translation po/de.po | 319 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 165 insertions(+), 154 deletions(-) commit 49e3c10575806b777c393d4d44c0af7fdeb3a5ab Merge: 5aa939dc93 3274f3a6cc Author: Christoph Reiter Date: Sun Feb 18 10:45:52 2018 +0000 Merge branch 'gtk-3-22' into 'gtk-3-22' Fix annotation for gtk_tree_view_is_blank_at_pos() See merge request GNOME/gtk!12 commit 8e540f2f620a68d03a6d40a0d7bc3f8b43f22f92 Author: Christoph Reiter Date: Sun Feb 18 10:34:52 2018 +0100 gtk_init: Fix debug flags handling when a display is already open In PyGObject gdk_init() is called before gtk_init() and thus there is already a default display open when gtk_init() is called. The code assigning the display to the debug_flags struct gets only called when the default display changes, which never happens when there already is one. As a result GTK_DEBUG=interactive doesn't do anyting with Python apps. This makes it call the change callback in case a display is already there. See https://gitlab.gnome.org/GNOME/pygobject/issues/166 gtk/gtkmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5aa939dc93a99736232b3a87511e8b78785c13a9 Author: John Lindgren Date: Sat Feb 17 22:03:27 2018 -0500 Fix incorrect optimization in find_builtin_icon(). When we found an icon with exactly the requested size, we'd stop searching immediately (good), but we'd neglect to set the returned min_difference to 0 (bad). This caused theme_lookup_icon() to prefer other, potentially much worse, matches over the exact one. gtk/gtkicontheme.c | 1 + 1 file changed, 1 insertion(+) commit bd13a5a5ce004496648f3d3463b8b71e2fd9a10c Author: Emmanuele Bassi Date: Tue Feb 13 11:12:26 2018 +0000 docs: Add proper deprecation text for GtkStatusIcon We link to the HowDoI for GNotification in the class description, but we should be more verbose in the deprecation notices for each function of the GtkStatusIcon class. https://bugzilla.gnome.org/show_bug.cgi?id=743975 gtk/deprecated/gtkstatusicon.c | 192 ++++++++++++++++++++++++++++------------- 1 file changed, 132 insertions(+), 60 deletions(-) commit d2a4febfa75182d36ffd48eb05e9054e8bf9cf53 Author: Ivan Zakharyaschev Date: Sat Feb 17 06:19:56 2018 +0300 gtkprintbackendcups.c: fix \n at end of a debugging note (cherry picked from commit 7461ceebe34bfc6f882145e89e1ba2f187d08303) modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 688426f57f30b745b79a822f0fd869e76ecf25f9 Author: Piotr Drąg Date: Sat Feb 17 17:18:59 2018 +0100 Update Polish translation po/pl.po | 112 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 58 insertions(+), 54 deletions(-) commit 9bf8449a2eb74d87a55d6a1170ef8f2af9dbe8ed Author: gogo Date: Fri Feb 16 23:01:50 2018 +0000 Update Croatian translation po-properties/hr.po | 1506 ++++++++++++++++++++++++++------------------------- 1 file changed, 757 insertions(+), 749 deletions(-) commit b6343a1f4d8224c4a90cc184350e7945d02bcd6c Author: gogo Date: Fri Feb 16 22:57:44 2018 +0000 Update Croatian translation po/hr.po | 345 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 182 insertions(+), 163 deletions(-) commit c830834170dd021ca35ec757ad06ea0823cd215b Author: Rafael Fontenelle Date: Fri Feb 16 16:20:06 2018 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 325 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 167 insertions(+), 158 deletions(-) commit 2760b020a83e71405fddf83d3b9d320bb58016dd Author: Tom Schoonjans Date: Fri Feb 16 12:16:02 2018 +0000 gdkquartz.h: export pasteboard functions gdk/quartz/gdkquartz.h | 3 +++ 1 file changed, 3 insertions(+) commit ff402088579ae9c58bae067ce9ed93ba88146596 Author: Piotr Drąg Date: Thu Feb 15 17:12:30 2018 +0100 Update Polish translation po/pl.po | 48 +++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 21 deletions(-) commit c60ea284c5ce485977f7fd924e8542c613694ad4 Author: Christoph Reiter Date: Thu Feb 15 11:44:04 2018 +0100 testsuite/a11y: Fix missing glib schemas The a11y tests complain that org.gtk.Settings schemas are missing and fail. This copies the code to build and include the schemas from the reftests testsuite. testsuite/a11y/Makefile.am | 16 ++++++++++++++++ testsuite/a11y/accessibility-dump.c | 5 +++++ 2 files changed, 21 insertions(+) commit 238239c00d5346fb81cccb1cbd4af38d2da8a130 Author: Anders Jonsson Date: Thu Feb 15 09:47:55 2018 +0000 Update Swedish translation po/sv.po | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) commit fb79115314d4fcae505ca1db76e9e54f58301e38 Author: Carlos Soriano Date: Thu Feb 15 10:10:18 2018 +0100 gtkplacessidebar: Rename favorites to starred To have more consistency in the name. The same was done in Nautilus in commit https://gitlab.gnome.org/GNOME/nautilus/commit/27b039b37c1149fc8abbef6a683dd939e6f2bf1f. gtk/gtkplacessidebar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8cc04e8337aed07610e99d749cdcd292d0d6f6dd Author: Piotr Drąg Date: Thu Feb 15 04:31:13 2018 +0100 Update POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 9f142161e491b4656d5f9b4884643b038cba1eed Merge: 463ee95136 e8bffe0c56 Author: Matthias Clasen Date: Thu Feb 15 03:03:02 2018 +0000 Merge branch 'wip/carlosg/imwayland-3-22' into 'gtk-3-22' modules: Add wayland IM implementation See merge request GNOME/gtk!5 commit 463ee95136d519783e55acbd092bc8ba1dd16832 Author: Matthias Clasen Date: Wed Feb 14 12:48:01 2018 -0500 3.22.28 NEWS | 10 +++++++++- configure.ac | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) commit e8bffe0c56431710299cf68afb575ec578045055 Author: Carlos Garnacho Date: Thu Nov 30 18:53:26 2017 +0100 modules: Add wayland IM implementation This IM context implementation goes through the gtk-text-input protocol, leaving up to the compositor the actual interaction with IM engines. If the protocol is not offered by the compositor, GTK+ will fallback to the IMs as specified through GtkSettings. configure.ac | 2 + gtk/gtkimmodule.c | 3 + gtk/gtksettings.c | 25 ++ modules/input/Makefile.am | 46 +++ modules/input/gtk-text-input.xml | 302 +++++++++++++++++ modules/input/imwayland.c | 686 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 1064 insertions(+) commit 3146f29d3ae3abae33822bcdf3eaf44b5b19cd7e Author: Carlos Garnacho Date: Tue Feb 13 14:28:44 2018 +0100 gdk/wayland: Add GdkDisplay call to query available globals The internal known_globals hashtable is used to carry accounting for interfaces that depend on others (as ordering is not guaranteed), extend its usage so it also keeps track of unimplemented interfaces (here at least). The API call will then use this to allow querying the globals offered by the compositor, it will be useful to determine whether we can use text-input protocols or should fallback to other IMs. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/wayland/gdkdisplay-wayland.c | 42 ++++++++++++++++++++++++++++++------ gdk/wayland/gdkwaylanddisplay.h | 4 ++++ 3 files changed, 41 insertions(+), 6 deletions(-) commit c6901a8b950f156aaddf2ee8f8fb39440b7b9cfd Author: Daniel van Vugt Date: Fri Sep 15 17:49:12 2017 +0800 Fix irregular gdk_frame_clock_get_frame_time This fixes stuttering in animations that rely on the regularity of gdk_frame_clock_get_frame_time. https://bugzilla.gnome.org/show_bug.cgi?id=787665 BEFORE gdkgears: 58 FPS and visibly stuttering gnome-maps on a 59.95Hz monitor: "paint" g_get_monotonic_time +17278μs, gdk_frame_clock_get_frame_time +17278μs "paint" g_get_monotonic_time +17449μs, gdk_frame_clock_get_frame_time +17426μs "paint" g_get_monotonic_time +17620μs, gdk_frame_clock_get_frame_time +17600μs AFTER gdkgears: 60 FPS and smoother gnome-maps on a 59.95Hz monitor: "paint" g_get_monotonic_time +18228μs, gdk_frame_clock_get_frame_time +16680μs "paint" g_get_monotonic_time +15010μs, gdk_frame_clock_get_frame_time +16680μs "paint" g_get_monotonic_time +17134μs, gdk_frame_clock_get_frame_time +16680μs gdk/gdkframeclockidle.c | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) commit 3274f3a6ccb872f2670d051629efb8f0c55e6cd9 Author: Gniourf Date: Wed Feb 14 13:51:22 2018 +0100 Fix annotation for gtk_tree_view_is_blank_at_pos() The annotation (allow-none) is wrong. Since gtk_tree_view_is_blank_at_pos() also calls gtk_tree_view_get_path_at_pos(), the same fields should have the same annotations. gtk/gtktreeview.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit f82a6421f4c4716b50ed13463a3d43d69445638d Author: Emmanuele Bassi Date: Wed Feb 14 10:36:24 2018 +0000 Add missing private header to the build Closes: #26 https://bugzilla.gnome.org/show_bug.cgi?id=793442 gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 97f3a4397a0cc4bb83d50edab9411d5bcfd8eaea Author: Mart Raudsepp Date: Tue Feb 13 22:20:41 2018 +0000 Update Estonian translation po/et.po | 325 ++++++++++++++++----------------------------------------------- 1 file changed, 81 insertions(+), 244 deletions(-) commit 7ea53087ca9e3c5b6246c8c16489cefd71bde394 Author: Matthias Clasen Date: Tue Feb 13 16:09:13 2018 -0500 3.22.27 NEWS | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 75 insertions(+), 2 deletions(-) commit af2d0397171005342ac6f9d42d9febf981145849 Author: Mart Raudsepp Date: Tue Feb 13 20:14:22 2018 +0000 Update Estonian translation po/et.po | 323 +++++++++++++++++---------------------------------------------- 1 file changed, 86 insertions(+), 237 deletions(-) commit af8b247b45626de1c32bb54cb082b665f3af6811 Merge: 4b1c02560f cbf118c285 Author: Matthias Clasen Date: Tue Feb 13 13:27:05 2018 +0000 Merge branch 'gtk-3-22' into 'gtk-3-22' calendar: Use the new "%OB" format if supported See merge request GNOME/gtk!2 commit cbf118c285b2b66d77389fe769a60c59fcdb1269 Author: Rafal Luzynski Date: Sat Feb 10 14:07:56 2018 +0100 calendar: Use the new "%OB" format if supported Due to the recent changes introduced in glibc 2.27 "%OB" is the correct format to obtain a month name as used in the calendar header. The same rule has been working in BSD family (including OS X) since 1990s. This simple hack checks whether "%OB" is supported at runtime and uses it if it is, falls back to the old "%B" otherwise. Closes: #9 gtk/gtkcalendar.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 4b1c02560f0d8097bf5a11932e52fb72f3e9e94b Author: Benjamin Otte Date: Mon Feb 12 21:09:50 2018 +0100 x11: Don't call XInput API for core events Fixes emacs crashing with XMing. https://bugzilla.redhat.com/show_bug.cgi?id=1483942 gdk/x11/gdkdisplay-x11.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 8dc234717efc1f52f6d78ce3c5f9391f45047955 Author: Mart Raudsepp Date: Mon Feb 12 00:38:59 2018 +0000 Update Estonian translation po/et.po | 8360 +++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 6118 insertions(+), 2242 deletions(-) commit 79995748e09638d99eef4b340e393703f96947b9 Author: Efstathios Iosifidis Date: Sun Feb 11 23:38:57 2018 +0000 Update Greek translation po/el.po | 678 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 362 insertions(+), 316 deletions(-) commit 12913d1a3534a01863e0dd02ff92849fb83b8ec0 Author: Emmanuele Bassi Date: Sun Feb 11 16:45:53 2018 +0000 docs: Use the appropriate deprecation for properties The GtkFontButton:font-name property has been deprecated, but it's using a non-standard annotation in its documentation. gtk/gtkfontbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ade22d00f26ee7463a39a8631b9e1271c6b0d09f Author: Emmanuele Bassi Date: Sun Feb 11 16:22:49 2018 +0000 gtk: Cast g_object_ref() to the right type In GLib 2.56, g_object_ref() will check that you're assigning the return value to a variable of the same type you're passing in. gtk/gtkcellrendererspin.c | 2 +- gtk/gtkcolorplane.c | 6 +++--- gtk/gtkcomboboxtext.c | 2 +- gtk/gtkcssimagefallback.c | 2 +- gtk/gtkcssimagegradient.c | 2 +- gtk/gtkcssimagescaled.c | 2 +- gtk/gtklabel.c | 2 +- gtk/gtksidebarrow.c | 4 ++-- gtk/gtktoolpalette.c | 2 +- gtk/gtktreeview.c | 2 +- gtk/gtkwidget.c | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) commit c03ce68c38363b13723b7d25a2b5b560b7e1acdd Author: Emmanuele Bassi Date: Sun Feb 11 16:16:05 2018 +0000 Do not use deprecated error trap API Use the X11-specific API instead. gtk/deprecated/gtktrayicon-x11.c | 44 ++++++++------ gtk/gtkdnd.c | 16 +++-- gtk/gtkmountoperation-x11.c | 125 +++++++++++++++++++-------------------- gtk/gtkplug.c | 9 +-- gtk/gtksocket.c | 65 ++++++++++---------- gtk/gtkxembed.c | 4 +- 6 files changed, 139 insertions(+), 124 deletions(-) commit 4e5ef1a377761bbf9257ca1129c0018710b8c084 Author: Emmanuele Bassi Date: Sun Feb 11 15:38:20 2018 +0000 toolbar: Use gdk_display_flush() Instead of the deprecated gdk_flush(). gtk/gtktoolbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 81c0e7af0ed73898b2dab0868552927910f008e9 Author: Emmanuele Bassi Date: Sun Feb 11 15:37:22 2018 +0000 selection: Disable deprecation warnings We are using a lot of deprecated API, and we know it. Since the selection code is going to be replaced in GTK 4.0, there's no real point in keeping the warnings enabled in 3.22. gtk/gtkselection.c | 3 +++ 1 file changed, 3 insertions(+) commit 3067fb8c24d7cefb49ca6cf1bb89b0fd122a9f7f Author: Emmanuele Bassi Date: Sun Feb 11 15:14:43 2018 +0000 placessidebar: Move declaration inside conditional block The `sidebar` variable is only used by the conditional block for libcloudprovider. gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 382d6c1bcb683291ef7073ea83a95a524cf68b6e Author: Emmanuele Bassi Date: Sun Feb 11 15:13:06 2018 +0000 Ignore deprecations for gdk_flush() When terminating the main loop, we're really trying to flush all GdkDisplay connections, so it's actually a legitimate internal use case. gtk/gtkmain.c | 3 +++ 1 file changed, 3 insertions(+) commit 299a91bd46a1970f33ffcd2f3fad2894b3f762dd Author: Emmanuele Bassi Date: Sun Feb 11 15:07:24 2018 +0000 docs: Properly deprecate gdk_keymap_get_default() We're using a compiler annotation, but there's no deprecation notice in the gtk-doc stanza. gdk/gdkkeys.c | 2 ++ 1 file changed, 2 insertions(+) commit 9c6ae95eceaa018b872cbf3937e66fd06804067b Author: Emmanuele Bassi Date: Sun Feb 11 15:06:04 2018 +0000 accelgroup: Do not use deprecated API Use gdk_keymap_get_for_display() with the default display, instead of the deprecated gdk_keymap_get_default(). gtk/gtkaccelgroup.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 855e4cb88ed98f651b26b1e71518979e6fd18eb3 Author: Emmanuele Bassi Date: Sun Feb 11 15:02:30 2018 +0000 deprecated: Cast g_object_ref() to the right type In GLib 2.56, g_object_ref() will check that you're assigning the return value to a variable of the same type you're passing in. gtk/deprecated/gtkuimanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c229716796b8b2f424a1ada542768e0131b951a2 Author: Emmanuele Bassi Date: Sun Feb 11 15:01:43 2018 +0000 a11y: Cast g_object_ref() to the right type In GLib 2.56, g_object_ref() will check that you're assigning the return value to a variable of the same type you're passing in. gtk/a11y/gtklabelaccessible.c | 2 +- gtk/a11y/gtktreeviewaccessible.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 80e5f28ca0a2e26e9b52c1e119d0ed2860bcd48b Author: Emmanuele Bassi Date: Sun Feb 11 14:58:16 2018 +0000 Remove stray format character We are not using any string in the debug message. gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2de14479b239649504ca4da1729ba926b207e7ab Author: Emmanuele Bassi Date: Sun Feb 11 14:52:22 2018 +0000 broadway: Cast g_object_ref() to the right type In GLib 2.56, g_object_ref() will check that you're assigning the return value to a variable of the same type you're passing in. gdk/broadway/broadway-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d219bd4d5a0282090441736a69971f5af86a050d Author: Emmanuele Bassi Date: Sun Feb 11 14:50:27 2018 +0000 x11: Balance an error trap We are pushing an error trap, and never popping it from the stack. gdk/x11/gdkdnd-x11.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 255e2dd704eed7816278db7e1331fb5cae92c80a Author: Alban Browaeys Date: Sun Jan 20 23:45:17 2013 +0100 Fix overzalous method annotations for drag and drop Functional revert of commit 9c4892f2915. Fixes introspection scanner warnings like: Warning: Gtk: gtk_drag_finish: Methods must belong to the same namespace as the class they belong to That is, the gtk_drag_* functions cannot be methods as they have a "GdkDragContext" as the instance parameter, and that is not a valid type for the Gtk namespace. This is not an introspected ABI change, as the generated introspection data ignores the annotation. Signed-off-by: Emmanuele Bassi https://bugzilla.gnome.org/show_bug.cgi?id=692152 gtk/gtkdnd.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 10d2e44ae23bdb2371495e6a95e8d432ec58c2ca Author: Anders Jonsson Date: Sun Feb 11 19:17:29 2018 +0000 Update Swedish translation po/sv.po | 288 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 146 insertions(+), 142 deletions(-) commit 25afe278e39a3218491bdc6d2772f0c003867b65 Author: Piotr Drąg Date: Sun Feb 11 16:25:35 2018 +0100 Update Polish translation po/pl.po | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) commit 4f962c6dbfabe361bca2f0ff75d1daaf1c7af66c Author: Emmanuele Bassi Date: Sun Jan 28 14:40:58 2018 +0000 Add AGPL3-only licence to GtkAboutDialog https://bugzilla.gnome.org/show_bug.cgi?id=792793 gtk/gtkaboutdialog.c | 5 +++-- gtk/gtkaboutdialog.h | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) commit 6e4c6ce6c392c450e6a37aec5801a3137cf1fbec Author: Fabio Tomat Date: Sun Feb 11 09:43:48 2018 +0000 Update Friulian translation po-properties/fur.po | 1137 +++++++++++++++++++++++++------------------------- 1 file changed, 580 insertions(+), 557 deletions(-) commit 7130656d3731ea89354561680bf45ae51e7cf9e6 Author: Fabio Tomat Date: Sun Feb 11 08:29:56 2018 +0000 Update Friulian translation po/fur.po | 805 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 431 insertions(+), 374 deletions(-) commit 5c85f2cccc9c37e9908a06d4d276a1b2b28c6609 Author: Fran Dieguez Date: Sat Feb 10 18:43:45 2018 +0000 Update Galician translation po/gl.po | 691 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 369 insertions(+), 322 deletions(-) commit 0e5964ce2790e53b7c17d222bdbf36da62f99d38 Author: Fran Dieguez Date: Sat Feb 10 18:41:38 2018 +0000 Update Galician translation po-properties/gl.po | 1511 ++++++++++++++++++++++++++------------------------- 1 file changed, 761 insertions(+), 750 deletions(-) commit ff43627167e90b31972f54408a38dd581e3c5d9d Author: Cheng-Chia Tseng Date: Sat Feb 10 07:08:45 2018 +0000 Update Chinese (Taiwan) translation po/zh_TW.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6c36eaea98ce05c538af780ec34745f6762247a3 Author: Cheng-Chia Tseng Date: Sat Feb 10 06:54:24 2018 +0000 Update Chinese (Taiwan) translation po/zh_TW.po | 674 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 363 insertions(+), 311 deletions(-) commit cacd8e6254a638db744a5bf77d69b09b40123641 Merge: 63f534f4b3 08f60dbcf6 Author: Carlos Garnacho Date: Fri Feb 9 10:23:31 2018 +0000 Merge branch 'wip/carlosg/fix-issue-1' into 'gtk-3-22' wayland: Improve EOF detection when reading selections See merge request GNOME/gtk!1 commit 08f60dbcf6eae0549eb7d3715582f46361a02800 Author: Carlos Garnacho Date: Wed Feb 7 18:30:18 2018 +0100 wayland: Improve EOF detection when reading selections g_input_stream_read_bytes() roughly provides the same guarantees than g_input_stream_read() wrt the number of bytes being possibly read (i.e. it being a best effort, but no real guarantees). Instead, rely on the 0-len read that we'd get at the end of the transfer. Fixes clipboard/DnD transfers possibly being cut short, resulting on "Broken pipe" errors on the other side. https://gitlab.gnome.org/GNOME/gtk/issues/1 Closes: #1 gdk/wayland/gdkselection-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 63f534f4b38f1752c216ee04a16741a8b325658c Author: Benjamin Otte Date: Mon Feb 5 18:58:54 2018 +0100 cssprovider: Only free bytes when they exist gtk/gtkcssprovider.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6ff326a82f1f7f13f8e0822576f19bb53c7b1fd8 Author: Benjamin Otte Date: Tue Nov 14 04:03:57 2017 +0100 css: Add a workaround for gtk_widget_override_font() The problem here is that the CSS machinery expects font sizes to be in pixels, but gtk_widget_override_font() provides a value in point and the CSS machinery has no ability to query the DPI and convert. This patch changes the dconversion DPI we use from a hardcoded 96 to the default screen's DPI, which should work better than before. This will of course not listen to changes in the default screen's DPI, but that shouldn't be a problem. People who want to workaround this should use gtk_widget_override_font() with a font that has an absolute size set via pango_font_description_set_absolute_size (size * PANGO_SCALE * gdk_screen_get_resolution (screen)); https://bugzilla.gnome.org/show_bug.cgi?id=774248 gtk/gtkcssshorthandpropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8af082f3c7da5fb15ab9b95d460dd285376ca17b Author: Jiri Grönroos Date: Sun Feb 4 09:14:54 2018 +0000 Update Finnish translation po/fi.po | 701 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 370 insertions(+), 331 deletions(-) commit 07324131b373eee9f292851fb5fcecd8a892906d Author: Jordi Mas Date: Sat Feb 3 21:31:58 2018 +0100 Update Catalan translation po-properties/ca.po | 1406 ++++++++++++++++++++++++++------------------------- 1 file changed, 708 insertions(+), 698 deletions(-) commit 67274f7d9d419e7f64205b66becbc401cb246154 Author: Jordi Mas Date: Sat Feb 3 21:31:08 2018 +0100 Update Catalan translation po/ca.po | 659 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 351 insertions(+), 308 deletions(-) commit 9b69fe7a7ed73b195cb8f996b3c1e6cfc46402b7 Author: Matthias Clasen Date: Wed Jan 31 17:44:26 2018 +0100 iconview: Fix a problem with the previous change After commit ffef28a7e8d5ffef7de6a3baccb30b0021b6b0ff, gtk-icon-browser was spewing critical warnings when changing sections. Avoid that by respecting the return value of gtk_tree_model_get_iter. gtk/gtkiconview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c94993e29bbc2634f7c9a7b506a206f0403d5bc6 Author: Jason Gerecke Date: Tue Oct 10 09:17:43 2017 -0700 wayland: Add support for BTN_STYLUS3 BTN_STYLUS3 is defined by the Linux 4.15 kernel and is sent when the third button on a stylus is pressed. At the moment, only Wacom's "Pro Pen 3D" has three stylus buttons. Pressing this button triggers a button 8 event to be sent under X11, so we use the same mapping here. https://bugzilla.gnome.org/show_bug.cgi?id=790033 gdk/wayland/gdkdevice-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 60750b3ffda1c27f47cdcd7dc97f863e08391b32 Author: Kalev Lember Date: Sat Jan 27 14:49:34 2018 +0100 tests: Don't add testswitch twice in Makefile.am tests/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 136b88534caaca9200847b049a5ef50b77f86dc5 Author: Timm Bäder Date: Tue Sep 26 07:10:39 2017 +0200 menu: Guard against NULL toplevel This can happen, as indicated by GtkMenu explicitly connecting to ::destroy of its toplevel window. Do the same thing in GtkComboBox. gtk/gtkcombobox.c | 15 +++++++++------ gtk/gtkmenu.c | 13 ++++++++----- 2 files changed, 17 insertions(+), 11 deletions(-) commit 4c8f7c4aca9d9e449e274e83caddcf72a9641bf2 Author: Pieter Schalk Schoeman Date: Wed Jan 24 11:40:40 2018 +0000 Update Afrikaans translation po-properties/af.po | 12106 +++++++++++++++++++++++++++++++------------------- 1 file changed, 7566 insertions(+), 4540 deletions(-) commit 0cbf45a66359812bf4db816285f770293ca132b7 Author: Pieter Schalk Schoeman Date: Wed Jan 24 11:36:50 2018 +0000 Update Afrikaans translation po/af.po | 4845 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 3041 insertions(+), 1804 deletions(-) commit b8e2430486ae3dac4f0c0441608f2d1b032ac794 Author: Daniel Boles Date: Thu Jan 18 00:51:24 2018 +0000 Widget: Don’t call reset() on NULL EventController GtkGesture is a GtkEventController. gtk_event_controller_dispose() calls _gtk_widget_remove_controller(). That NULLs the pointer-to-Controller in our EventControllerData but does not delete said ECData from our GList. Subsequently, if that same Widget gets unparent()ed, that method calls unset_state_flags(), which leads to doing reset_controllers() if we are insensitive. Now, unlike most most other loops over the GList of ECData, reset_controllers() does not skip nodes whose pointer-to-Controller is NULL. So, we call gtk_event_controller_reset(NULL) and get a CRITICAL. This surfaced in a gtkmm program. The Gesture is destroyed before the Widget. The Widget then gets dispose()d, which calls unparent()… boom. I didn’t find an MCVE yet but would hope this logic is correct anyway: The simplest fix is to make the loop in gtk_widget_reset_controllers() skip GList nodes with a NULL Controller pointer, like most other such loops, so we avoid passing the NULL to gtk_event_controller_reset(). In other, live cases, _gtk_widget_run_controllers() loops over the GList and removes/frees nodes having NULL Controllers, so that should suffice. But this clearly was not getting a chance to happen in the failing case. https://bugzilla.gnome.org/show_bug.cgi?id=792624 gtk/gtkwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit 814c55d473c6a7ab9f930421aad5612a351ba68d Author: GNOME Translation Robot Date: Mon Jan 22 18:34:48 2018 +0000 Update Esperanto translation po/eo.po | 2895 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1378 insertions(+), 1517 deletions(-) commit beed1f660eae6667669f6af21509d30279a33f38 Author: Juan Pablo Ugarte Date: Mon Jan 22 11:20:14 2018 -0300 GtkGestureMultiPress: check event state before emiting released signal Fix bug 771986 "Inconsistent 'row-activated' signal emission before \ drag'n'drop, 'activate-on-single-click'=TRUE, 'reorderable'=TRUE" gtk/gtkgesturemultipress.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e6be9a2a4d1b488850dd724f7721bd4729c3f4b9 Author: Balázs Úr Date: Sun Jan 21 22:53:01 2018 +0000 Update Hungarian translation po/hu.po | 294 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 153 insertions(+), 141 deletions(-) commit 51220e3a31bba027a9d6eb077e15dadfb21b7069 Author: Balázs Úr Date: Sun Jan 21 22:49:00 2018 +0000 Update Hungarian translation po-properties/hu.po | 1516 ++++++++++++++++++++++++++------------------------- 1 file changed, 763 insertions(+), 753 deletions(-) commit 5ab5a5166eda774ddabf8d4fe29eda0be03c4af2 Author: Matthias Clasen Date: Fri Jan 19 16:04:18 2018 +0100 iconview: Fix updates with filter models Filter models rely on views taking a ref on every node they care about. GtkIconView was not doing that. Amazingly, this has never shown up in a bug so far, until I spotted the fallout in gnome-font-viewer. gtk/gtkiconview.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5b19d6b1b80a5ae94853a57776d80b8952befab6 Author: Matthias Clasen Date: Fri Jan 19 16:02:42 2018 +0100 Add a test for ::row-changed vs node refs Test that filter models propagate ::row-changed if there is an external reference on the node, and not otherwise. This is showing up in buggy icon view behaviour, where the icon view is not redrawing if the content changes in a model that is below a filter model. testsuite/gtk/filtermodel.c | 71 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) commit ef72f3cbceb77e065ba73662eccb663b2b1ba771 Author: Matthias Clasen Date: Thu Jan 18 19:58:27 2018 -0500 font chooser: Fix property notification We must notify the font and font-desc properties when the list selection changes, and return NULL values for them when there is no selection in the list. gtk/gtkfontchooserwidget.c | 34 +++++++++++++++++++++++++++++++--- gtk/ui/gtkfontchooserwidget.ui | 1 + 2 files changed, 32 insertions(+), 3 deletions(-) commit 5f675181ceec8cc73a48b8caca44d1218194cdc4 Author: Matthias Clasen Date: Thu Jan 18 19:48:12 2018 -0500 font chooser dialog: Improve sensitivity handling Enable the select button when a font is selected, as it should be. gtk/gtkfontchooserdialog.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e10f6160655dd36423e0f7fd5d9c6a8b6e4c774c Author: Matthias Clasen Date: Thu Jan 18 19:36:56 2018 -0500 font chooser: Small revision of the UI Show only the font names in the list, in their own font, in order to make the list less noisy. gtk/gtkfontchooserwidget.c | 43 ++++++++++++------------------------------- 1 file changed, 12 insertions(+), 31 deletions(-) commit 6b85162f4342a0b7e09fa9e3ebd059b948a90cab Author: Chris Lamb Date: Fri Aug 25 16:24:38 2017 +0100 gtk/queryimmodules.c: Make the output deterministic. Whilst working on the Reproducible Builds effort [0], we noticed that queryimmodules generates non-reproducible output as it iterates over the filesystem without sorting. Patch attached. [0] https://reproducible-builds.org/ Signed-off-by: Chris Lamb https://bugzilla.gnome.org/show_bug.cgi?id=786528 gtk/queryimmodules.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 53bc2566b32c978a6fa2f9b7cb2e8c66b9db1748 Author: Matthias Clasen Date: Tue Jan 16 18:16:21 2018 -0500 tree model sort: Fix set_sort_column We were failing to change the sort order for the default sort column in some cases. Fix that, and add a testcase for this issue. https://bugzilla.gnome.org/show_bug.cgi?id=792459 Add a testcase for the previous fix gtk/gtktreemodelsort.c | 14 ++------ testsuite/gtk/sortmodel.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 11 deletions(-) commit e1aeb73a623acc9efccdc4fd3bd2ecab33500261 Author: Matthias Clasen Date: Tue Jan 16 18:15:13 2018 -0500 tree model sort: Fix initial default sort func gtk_tree_sortable_has_default_sort_func should return FALSE initially. gtk/gtktreemodelsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb844e44b69772f6753ba0bb2a639486679ccd4e Author: Piotr Drąg Date: Mon Jan 15 22:16:51 2018 +0100 Update Polish translation po/pl.po | 132 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 66 insertions(+), 66 deletions(-) commit 9e3b8145805d1bfd78a082c73c5e8a162f07db16 Author: Matthias Clasen Date: Sun Dec 17 22:09:08 2017 -0500 emoji: Skip overly wide fallback rendering Some emoji fonts (such as Emoji One), render Emoji sequences such as some of the family variations using multiple individual glyphs. This rendering is too wide and breaks our grid layout. Therefore, we will just skip any sequence whose rendering is more than twice as wide as a simple smiley. gtk/gtkemojichooser.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit bcd3c42b92cc9a584da366434f6f385545d1fa27 Author: Daniel Boles Date: Sat Jan 13 20:03:37 2018 +0000 GdkMonitor: Fix link to nonexistent Display method There is no gdk_display_get_monitors(). Instead, we have to use gdk_display_get_n_monitors() and gdk_display_get_monitor(int). gdk/gdkmonitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b5e4a9d716c9146ac1ef398684a090f0a4743fc7 Author: Daniel Boles Date: Fri Jan 12 22:56:11 2018 +0000 HeaderBar: Explain use in conjunction w/ GtkWindow After hinting how good GtkHeaderBar is for GtkWindow, let’s link to the latter and indicate how users can make the two work together. gtk/gtkheaderbar.c | 4 ++++ 1 file changed, 4 insertions(+) commit fe220402cbc55533d4c95a7d713319c7daac59bd Author: Daniel Boles Date: Fri Jan 12 21:26:36 2018 +0000 Window: Mention GtkHeaderBar in set_titlebar() doc This is the typical thing passed here and what most users want, so we should mention it here, rather than requiring users to figure it out. gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit e75d91e7b11274c48cdb5f0e7f7fc0382c040baf Author: Daniel Boles Date: Fri Jan 12 21:22:11 2018 +0000 Window: Clarify resize() doc about titlebar widget Clarify the reference to HeaderBar, as it applies to any custom title widget; HeaderBar is only the most common one used. Also, fix a typo. gtk/gtkwindow.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit b68e55ecce38dec47c3f9119e603b81773e5294a Author: Ting-Wei Lan Date: Sun Jan 7 02:57:38 2018 +0800 wayland: Use portable sed syntax in gdk/wayland/Makefile.am Replace non-portable \<, \>, \+ with \(, \), \{, \} to avoid build failure on systems not using GNU sed. https://bugzilla.gnome.org/show_bug.cgi?id=792279 gdk/wayland/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2a8e1745cfbf0674160665edb46eadfeee8d8289 Author: Juan Pablo Ugarte Date: Fri Dec 29 15:21:52 2017 -0300 GtkCssImageSurface: add cache for the last drawn size. Keep a copy of the scaled image to speed up rendering multiple times the image at the same size. gtk/gtkcssimagesurface.c | 37 +++++++++++++++++++++++++++++++------ gtk/gtkcssimagesurfaceprivate.h | 3 +++ 2 files changed, 34 insertions(+), 6 deletions(-) commit 8ed4b48b4c315d0486929ff52df24d5dff310367 Author: Daniel Boles Date: Tue Jan 9 09:46:11 2018 +0000 Adwaita: Fix typo lenght => length in SASS gtk/theme/Adwaita/_common.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit d96a7c9e87576850992e1b90af803bd18878103f Author: Sveinn í Felli Date: Mon Jan 8 17:47:11 2018 +0000 Update Icelandic translation po-properties/is.po | 1542 +++++++++++++++++++++++++-------------------------- 1 file changed, 764 insertions(+), 778 deletions(-) commit 856486fea8c190661cc8a56d28bbf9a2cff2fe72 Author: Sveinn í Felli Date: Mon Jan 8 17:39:46 2018 +0000 Update Icelandic translation po/is.po | 1117 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 546 insertions(+), 571 deletions(-) commit a9499dbe48e224a96733e176710b3f9c9d195447 Author: Daniel Boles Date: Sun Jan 7 16:47:24 2018 +0000 ScrolledWindow: add() before remove() in snippet We can't remove() a child widget that wasn't already add()ed, of course. gtk/gtkscrolledwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 081488f8f2ac608dabde22493f18d99b49d4e70a Author: Matthias Clasen Date: Fri Jan 5 11:09:04 2018 -0500 file button: Don't leak rows The file chooser button manually manages the memory of data in its model, so it needs to explicitly free the rows. gtk/gtkfilechooserbutton.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 7de01b31efaf6c1db233b4e778da207d254250ed Author: Matthias Clasen Date: Thu Jan 4 18:23:36 2018 -0500 Remove a dead macro GCs have been dead for a long time. gdk/x11/gdkprivate-x11.h | 1 - 1 file changed, 1 deletion(-) commit d15fbee3539e2ef272296df38f31a634087f82d4 Author: Timm Bäder Date: Wed Jan 3 17:10:21 2018 +0100 Make a few more code samples compile gtk/gtkdialog.c | 10 +++++++--- gtk/gtkinfobar.c | 13 +++++++------ gtk/gtkmain.c | 5 +++-- gtk/gtkprintcontext.c | 2 +- gtk/gtkradiobutton.c | 8 ++++---- gtk/gtktextview.c | 10 +++++++--- gtk/gtktoolpalette.c | 2 +- 7 files changed, 30 insertions(+), 20 deletions(-) commit fda98ba562e20bd2942bd5fc5f06058b0019a41d Author: Timm Bäder Date: Wed Jan 3 16:39:31 2018 +0100 entry: Remove some questionable code examples gtk/gtkentry.c | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) commit c006c2fdbc99ab85da3c0504884232a34b687cba Author: Timm Bäder Date: Wed Jan 3 16:34:49 2018 +0100 widget: Make all code snippets compile gtk/gtkwidget.c | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) commit 6e197ffac975c983456d9ad109e14d0982e300ba Author: Timm Bäder Date: Wed Jan 3 15:01:12 2018 +0100 liststore: Make a code snippet compile gtk/gtkliststore.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit e00de3814e1427a1650494e84c24b2bcd7c6a7e1 Author: Timm Bäder Date: Wed Jan 3 14:37:01 2018 +0100 searchbar: Make a code snippet compile gtk/gtksearchbar.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit a443b525c3fea82a5b5ecdad077554801781b3a8 Author: Timm Bäder Date: Wed Jan 3 14:32:44 2018 +0100 menuitem: Make a code snippet compile gtk/gtkmenuitem.c | 2 ++ 1 file changed, 2 insertions(+) commit 456ca1062b125e746dc1449887ca49f648650481 Author: Timm Bäder Date: Wed Jan 3 14:29:00 2018 +0100 expander: Make a code snippet compile gtk/gtkexpander.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit e5240de5bc1152625c775297bdf96f425944067f Author: Timm Bäder Date: Wed Jan 3 14:10:22 2018 +0100 treeviewcolumn: Make a code snippet compile gtk/gtktreeviewcolumn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a65ae5fb402418032de593ae6b5443db51d8c4ce Author: Timm Bäder Date: Wed Jan 3 14:01:38 2018 +0100 notebook: Make a code snippet compile gtk/gtknotebook.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit af1d5362abbbb0dd40ef25ef34ee2b02f1b67486 Author: Timm Bäder Date: Wed Jan 3 13:51:03 2018 +0100 scrolledwindow: Fix code sample compilation gtk/gtkscrolledwindow.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 9cf48ec3f8f63fdf86776aadc3c7ccfef3331f69 Author: Matthias Clasen Date: Mon Jan 1 13:27:56 2018 -0500 Drop an unused enum value We haven't had a GtkWindow::frame-event since the linux-fb backends demise. gtk/gtkwindow.c | 1 - 1 file changed, 1 deletion(-) commit 6f26d0dc0c18a6a1d851ea340bb826e77dc2b1c0 Author: Rico Tzschichholz Date: Sat Jan 6 09:34:44 2018 +0100 filechooser: Add missing array annotations to add_choice() gtk/gtkfilechooser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 43433f3ccdccacba054b2ce63ab26490d3a781cf Author: Rico Tzschichholz Date: Sat Jan 6 09:40:26 2018 +0100 iconview: Prevent ownership transfer of cell out-param in get_item_at_pos() gtk/gtkiconview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 01c349995cb3a63879aaf8852fb1c3ed3947bd74 Author: Arnaud Bonatti Date: Wed Nov 29 08:52:59 2017 +0100 Add test for GtkActionable GtkListBoxRow. https://bugzilla.gnome.org/show_bug.cgi?id=741633 tests/Makefile.am | 1 + tests/testlist4.c | 222 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 223 insertions(+) commit cb935d947cfd9193d360349a0fd02085f40bbb44 Author: Arnaud Bonatti Date: Fri Nov 24 14:33:42 2017 +0100 Make GtkListBoxRow GtkActionable. https://bugzilla.gnome.org/show_bug.cgi?id=741633 gtk/gtklistbox.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 100 insertions(+), 4 deletions(-) commit 31f7b55306a92f97dbc3a88f42b4a8f8661ad689 Author: Ting-Wei Lan Date: Wed Jan 3 01:25:49 2018 +0800 configure: Don't declare functions in AC_TRY_COMPILE and AC_LANG_PROGRAM Both AC_TRY_COMPILE and AC_LANG_PROGRAM put code passed to their second arguments to the body of the main function. This means that we cannot and should not declare functions there, or we end up checking whether the compiler support nested functions instead of whether a compiler or linker flag is supported. GCC supports nested functions and tests succeed. Clang doesn't support nested functions, so tests fail and -fvisibility=hidden won't be used. This means that functions which are not intended to be used by other programs, such as gtk_menu_tracker*, gtk_action_observ*, gtk_menu_muxer_*, become global symbols with default visibility. GNOME Shell has a private library libgnome-shell-menu.so, which also has symbols gtk_menu_tracker*, gtk_action_observ*, gtk_menu_muxer_* that are intended to be used by GNOME Shell itself. When GNOME Shell still used Autotools build system, the executable gnome-shell explicitly linked to libgnome-shell-menu.so, so the linker loaded libgnome-shell-menu.so before libgtk-3.so.0 and GNOME Shell used correct symbols from its private library. However, after GNOME Shell switched to Meson build system, gnome-shell executable no longer lists libgnome-shell-menu.so as its dependency. Even if we adds it to the build file, it won't be listed in DT_NEEDED of gnome-shell because Meson uses -Wl,--as-needed by default. This causes the runtime linker to load libgtk-3.so.0 before libgnome-shell-menu.so and symbols gtk_menu_tracker*, gtk_action_observ*, gtk_menu_muxer_* are bound to libgtk-3.so.0 instead of libgnome-shell-menu.so. GNOME Shell hangs when opening more than one window because it uses functions from the wrong library. This problem is already fixed in OpenBSD ports. The article describing it can be found on OpenBSD Journal with this link: https://undeadly.org/cgi?action=article;sid=20170930133438 https://bugzilla.gnome.org/show_bug.cgi?id=791943 configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 1e7982212f90a22249b84fffb5788114dcc8b3d2 Author: Arnaud Rebillout Date: Sat Dec 16 23:12:50 2017 +0700 gtk: remove non-breaking space, probably there by mistake Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 gtk/gtktextbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b2e487a7f11d86e3713a342fd3ff72001ffda40 Author: Arnaud Rebillout Date: Sat Dec 16 22:50:12 2017 +0700 css docs: fix some formatting inconsistencies along the way Mostly spaces. Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-overview.xml | 53 ++++++++++++++++++----------------- docs/reference/gtk/css-properties.xml | 32 ++++++++++++--------- 2 files changed, 45 insertions(+), 40 deletions(-) commit 4a371de393f94c6f8f848e990e1acb8a0deb8aea Author: Arnaud Rebillout Date: Sat Dec 16 22:32:08 2017 +0700 css docs: remove useless Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-properties.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 084db132e929d826a3a0a824c6a0d6e861c4e5ce Author: Arnaud Rebillout Date: Sat Dec 16 22:29:30 2017 +0700 css docs: swap border-width and border-left shorthands, to keep going clockwise Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-properties.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 489d0db6d15cfb2d84c4ce593fcf564cfd448e07 Author: Arnaud Rebillout Date: Sat Dec 16 21:37:21 2017 +0700 css docs: Fix refentry and refname Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-overview.xml | 4 ++-- docs/reference/gtk/css-properties.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 352f678ac11ed7bfd7462f83dc0427ad309ce39d Author: Arnaud Rebillout Date: Sat Dec 16 22:02:00 2017 +0700 css docs: Ensure the first column does not break for every table Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-overview.xml | 46 ++++---- docs/reference/gtk/css-properties.xml | 202 +++++++++++++++++----------------- 2 files changed, 124 insertions(+), 124 deletions(-) commit ce79fac68d5b45d0a2291c4353e5603f65140264 Author: Arnaud Rebillout Date: Sat Dec 16 21:47:34 2017 +0700 css docs: Get rid of non-breaking hyphens Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-overview.xml | 17 ++- docs/reference/gtk/css-properties.xml | 197 +++++++++++++++++----------------- 2 files changed, 102 insertions(+), 112 deletions(-) commit ceec7e9cb8056e8243d05946cd52814c0d9b8340 Author: Arnaud Rebillout Date: Sat Dec 16 21:42:13 2017 +0700 css docs: Get rid of non-breaking spaces Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-overview.xml | 1 - docs/reference/gtk/css-properties.xml | 19 +++++++++---------- 2 files changed, 9 insertions(+), 11 deletions(-) commit 46b38c00ad472fc2a961751c18b6cc0661d73d7c Author: Arnaud Rebillout Date: Sat Dec 16 21:33:51 2017 +0700 css docs: Fix some angle brackets for percentage Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-properties.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ad536f333bfba825ad8c9445c70c83b5c05d6c02 Author: Timm Bäder Date: Fri Dec 29 08:52:14 2017 +0100 window: Avoid redundantly getting the GDK window meta-pick of commit c1573a1fda7c3b917b6809795b9668629fe58883: the variable gdk_window is used in a check, but we may as well use it again to avoid calling _gtk_widget_get_window() again unnecessarily. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdb3a4d5052b118a97329a254579aab4e0015ba4 Author: Daniel Boles Date: Mon Jan 1 19:52:47 2018 +0000 themes: Regenerate CSS to reflect recent commits gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- gtk/theme/HighContrast/gtk-contained-inverse.css | 8 ++++---- gtk/theme/HighContrast/gtk-contained.css | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) commit 7dfb99c2cac6b393cb8039216a2ba88a4673717f Author: Daniel Boles Date: Mon Jan 1 18:49:09 2018 +0000 HighContrast: Avoid expander↔combobox interference as per commit b4b9aa1e5fab6a1f8c27b768813ab4ed04f3cd6f gtk/theme/HighContrast/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53eb42338a039d558dcf91bf20f4bc5894886481 Author: Arnaud Rebillout Date: Sat Dec 16 22:26:33 2017 +0700 css docs: Fix duplicate border‑right‑width Signed-off-by: Arnaud Rebillout https://bugzilla.gnome.org/show_bug.cgi?id=791710 docs/reference/gtk/css-properties.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b4b9aa1e5fab6a1f8c27b768813ab4ed04f3cd6f Author: Matthias Clasen Date: Thu Dec 28 08:39:29 2017 -0500 Adwaita: Avoid expander<>combobox interference Putting a combobox in an expander was causing the combo arrow to go sideways. Increase the specificity with which we address the expander arrow to avoid that. gtk/theme/Adwaita/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5fef3ff971c2444983bc28fda2780c3323654ef0 Author: Matej Urbančič Date: Sun Dec 31 12:28:54 2017 +0100 Slovenian update ... po-properties/sl.po | 1128 ++++++++++++++++++++++++++------------------------- 1 file changed, 568 insertions(+), 560 deletions(-) commit 308796628aa4b9cee3ae117987af2113c55a94b5 Author: Matej Urbančič Date: Sun Dec 31 12:28:23 2017 +0100 Slovenian update ... po/sl.po | 316 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 162 insertions(+), 154 deletions(-) commit bd9ed01839d80d605b2e1b38d5c7c88fa565ac1d Author: Matthias Clasen Date: Wed Dec 27 17:21:30 2017 -0500 fontchooser: Add global keynav Starting to type should focus the search entry and start a search. gtk/gtkfontchooserdialog.c | 18 ++++++++++++++++++ gtk/gtkfontchooserwidget.c | 12 ++++++++++++ gtk/gtkfontchooserwidgetprivate.h | 30 ++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) commit 176c1046cb1388f70ea257ac15b7ac537d219545 Author: Matthias Clasen Date: Mon Dec 25 22:42:01 2017 -0500 Add some deprecation annotations These functions have been removed in master, and their replacements are already available here. gdk/gdkkeys.h | 2 +- gdk/gdkmain.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) commit 6fa63bd92cc4d75e9efab8a118dcbf75d32ca547 Author: Matthias Clasen Date: Thu Dec 21 11:32:24 2017 -0500 font button: Some followup cleanups Don't refer to the font-name property in docs either, and don't use deprecated API internally. gtk/gtkfontbutton.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 87e16156105938c5b31b6fc1efc4e113d62238cc Author: Matthias Clasen Date: Thu Dec 21 11:12:23 2017 -0500 font button: Deprecate the font-name property It has long been redundant with the GtkFontChooser::font property. gtk/gtkfontbutton.c | 25 +++++++++++++++++++------ gtk/gtkfontbutton.h | 4 ++-- 2 files changed, 21 insertions(+), 8 deletions(-) commit ed0600e8c014371e6af22fe2ed4d2278d300c76a Author: Matthias Clasen Date: Thu Dec 21 11:10:13 2017 -0500 tests: Stop using gtk_font_button_get_font_name We can instead use the GtkFontChooser::font property. tests/print-editor.c | 3 ++- tests/testcalendar.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit 0e338d31a422fe001e06f9bb1e2831f1297249ea Author: Daniel Boles Date: Tue Dec 19 21:18:41 2017 +0000 Range: Fix inverted vert scrolling on vert Ranges… The change in the previous patch should only be applied when the Range is oriented horizontally. https://bugzilla.gnome.org/show_bug.cgi?id=737175 gtk/gtkrange.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4d18a346c14898db2f0e014eaeaa54932b670ea6 Author: Daniel Boles Date: Tue Dec 19 18:07:02 2017 +0000 Range: Fix inverted vert scrolling on horiz Ranges Users expect, & previous patches have tried to assure, that scrolling up over a horizontal Range will cause the value to increase & vice-versa. But the path using directions was still negating the delta & decreasing the value on scrolling up. This could be seen on Win32 or X without XI2. So, only negate the delta when scrolling down (or left), not up, so that scrolling up (or right) will make the value increase for any event type. https://bugzilla.gnome.org/show_bug.cgi?id=737175#c5 gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 09c94c27e1e9e08c6c9962f915b71253c0c6adce Author: Matthias Clasen Date: Tue Dec 19 11:34:43 2017 -0500 font chooser: Stop listening to style-updated The only time a style-updated indicates we need to reload fonts is when it is synthesized by GtkSettings in response to a fontconfig timestamp change, but we are listening to those already, anyway. gtk/gtkfontchooserwidget.c | 13 ------------- 1 file changed, 13 deletions(-) commit 5f022cbc129771623a612773d975058748f4ea72 Author: Matthias Clasen Date: Tue Nov 28 23:27:57 2017 -0500 Avoid calling unsetenv too late Stash the DESKTOP_AUTOSTART_ID env var in a constructor, before any threads have been created. https://bugzilla.gnome.org/show_bug.cgi?id=790963 gtk/gtkapplication-dbus.c | 40 +++++++++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 13 deletions(-) commit a41e0ce4a4990da9b9ed8bcd7393a4b6e23f8eb0 Author: Matthias Clasen Date: Sun Dec 17 16:41:00 2017 -0500 wayland: Handle scale 3 for cursors This is just a bandaid solution to make scale 3 work. If people seriously want to go for scales larger than that, we need a better solution. gdk/wayland/gdkdisplay-wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b49502c1672e84f02bfbc8052ac9e16fd8b072f0 Author: Matthias Clasen Date: Sun Dec 17 16:40:10 2017 -0500 inspector: Allow to bump scale to 3 Might as well allow this, for 'large scale testing'. gtk/inspector/visual.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0eaa76a032a42b612387cf06d7a12304b95d8ac2 Author: Matthias Clasen Date: Sun Dec 17 17:09:55 2017 -0500 cups: Warn only once if colord is not available No need to keep complaining about this. https://bugzilla.gnome.org/show_bug.cgi?id=791650 modules/printbackends/cups/gtkprintercups.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 32332b3a035d7b5781b6b9eb0f13778ecda3942b Author: Matthias Clasen Date: Sun Dec 17 11:20:50 2017 -0500 Revert "css: Replace _AFFECTS_TEXT with _TEXT_SIZE and _TEXT_CLIP" This reverts commit 492469a94af35c2b102bcf7f07046ef2d09b2b3d. People have been reporting missing invalidations with this change. gtk/gtkbuiltinicon.c | 2 +- gtk/gtkcssstylepropertyimpl.c | 30 +++++++++++++++--------------- gtk/gtkcsstypesprivate.h | 34 ++++++++++++++++------------------ gtk/gtkprogressbar.c | 2 +- gtk/gtkscale.c | 4 ++-- gtk/gtkswitch.c | 2 +- gtk/gtktextview.c | 2 +- gtk/gtkwidget.c | 23 ++++++++--------------- 8 files changed, 45 insertions(+), 54 deletions(-) commit f44af2e6ae0c023b94794f790a62dc490922eba5 Author: Matthias Clasen Date: Sun Dec 17 11:20:15 2017 -0500 Revert "css: Fix segfault when GtkCssStyleChange is NULL on gtk_widget_real_style_updated()" This reverts commit 7e253f4bd3977a67cf7040ce11e24b9d06100f6a. gtk/gtkwidget.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 7d23b33ac51c72eaaf7640f8cb0c31b00bf7deff Author: Matthias Clasen Date: Sun Dec 17 10:52:33 2017 -0500 Don't place dnd cursor in placeholder text That is just misleading - the entire placeholder text is going to be replaced by the drop. gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 11bfce3f36d4c73697e90d3cb1a34099128f0bff Author: Matthias Clasen Date: Fri Dec 15 18:46:21 2017 -0500 listbox: Fix a crash during keynav The code was asserting something that was not always holding true. We can hit row == NULL here on page-up too. Handle that case by moving to the first row. https://bugzilla.gnome.org/show_bug.cgi?id=791549 gtk/gtklistbox.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit e834a2b089085c1c63a4e4b6e06fd84f48cc030e Author: Matthias Clasen Date: Fri Dec 15 16:17:27 2017 -0500 x11: Avoid crash in fallback move emulation Quietly do nothing when there is already an ongoing operation. This matches the behavior of the ewmh code, and is much nicer than a crash. https://bugzilla.gnome.org/show_bug.cgi?id=789054 gdk/x11/gdkwindow-x11.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 7e253f4bd3977a67cf7040ce11e24b9d06100f6a Author: Juan Pablo Ugarte Date: Thu Dec 14 15:35:40 2017 -0300 css: Fix segfault when GtkCssStyleChange is NULL on gtk_widget_real_style_updated() https://bugzilla.gnome.org/show_bug.cgi?id=791281 gtk/gtkwidget.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit c9a54ba1c2c2790bab84e2d6fb9ab7969a1402b2 Author: Chun-wei Fan Date: Fri Dec 15 01:11:17 2017 +0800 gdk/win32/gdkselection-win32.c: Fix build without G_ENABLE_DEBUG _gdk_win32_data_to_string() is only available when G_ENABLE_DEBUG is defined, so as in gdkproperty-win32.c, use GDK_NOTE on the parts where we assemble and output the debug messages. gdk/win32/gdkselection-win32.c | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) commit 4e0adbc8dcf4533b3e5fa3eb008db965ce5acf0d Author: Stas Solovey Date: Thu Dec 14 10:05:27 2017 +0000 Update Russian translation po/ru.po | 621 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 332 insertions(+), 289 deletions(-) commit d69f998c260b677cda7060183649091b080c203e Author: Stas Solovey Date: Thu Dec 14 09:58:07 2017 +0000 Update Russian translation po-properties/ru.po | 1016 ++++++++++++++++++++++++++------------------------- 1 file changed, 513 insertions(+), 503 deletions(-) commit 05e4e7fe879580dc3e468ea27487e563ebdcb9a0 Author: Matthias Clasen Date: Tue Dec 12 13:56:15 2017 -0500 placesview: Make middle click work This does not cost us much, and improves consistency. gtk/gtkplacesview.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit c4ff07025b887e242fc415927370ae2e270c3f01 Author: Matthias Clasen Date: Sun Dec 10 13:58:27 2017 -0500 link button: Set a drag icon It is a bit odd to drag nothing around, so set an icon. gtk/gtklinkbutton.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 75768a4d0097c1892a4cb0f634d76fdc7b400664 Author: Colomban Wendling Date: Mon Feb 20 17:39:40 2017 +0100 Fix updating the widget accessible description when using its tooltip We need to notify ATK the description changed when the tooltip text associated with the widget changes and gtk_widget_accessible_get_description() would use it as the description. https://bugzilla.gnome.org/show_bug.cgi?id=779009 gtk/a11y/gtkwidgetaccessible.c | 3 +++ 1 file changed, 3 insertions(+) commit 492469a94af35c2b102bcf7f07046ef2d09b2b3d Author: Timm Bäder Date: Thu Oct 12 13:18:07 2017 +0200 css: Replace _AFFECTS_TEXT with _TEXT_SIZE and _TEXT_CLIP It was used to mark css properties that affect widgets with text, but it caused unnecessary invalidations. E.g. 'color' was marked as AFFECTS_TEXT but changing just the color of a label should not automatically queue a resize, which is what the code in gtk_widget_real_style_updated does. Replace this flag with GTK_CSS_AFFECTS_TEXT_SIZE and GTK_CSS_AFFECTS_TEXT_CLIP, which GtkWidget can use only if the widget actually has text. https://bugzilla.gnome.org/show_bug.cgi?id=791281 gtk/gtkbuiltinicon.c | 2 +- gtk/gtkcssstylepropertyimpl.c | 30 +++++++++++++++--------------- gtk/gtkcsstypesprivate.h | 34 ++++++++++++++++++---------------- gtk/gtkprogressbar.c | 2 +- gtk/gtkscale.c | 4 ++-- gtk/gtkswitch.c | 2 +- gtk/gtktextview.c | 2 +- gtk/gtkwidget.c | 23 +++++++++++++++-------- 8 files changed, 54 insertions(+), 45 deletions(-) commit ecc9946566a1614cab3126647f130fd169591124 Author: Marco Trevisan (Treviño) Date: Thu Dec 7 17:00:01 2017 -0500 cssshadowvalue: don't apply the y_scale offset twice to the shadow As per commit 942e904 this changed causing a regression that seems to be visible only when scale > 2. https://bugzilla.gnome.org/show_bug.cgi?id=791363 gtk/gtkcssshadowvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25dc32c1a1bb9d0786e0a636659c4c2c5c8d0d0e Author: Jonas Ådahl Date: Fri Dec 1 16:03:34 2017 +0800 wayland: Destroy the xdg_imported after the wl_surface This way the window manager can handle destruction while having the transient-for relationship still valid. https://bugzilla.gnome.org/show_bug.cgi?id=791062 gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dee5142c919fc197cec5a8832f12561c977cb5b5 Author: Jonas Ådahl Date: Fri Dec 1 12:18:30 2017 +0800 wayland: Maybe postpone xdg-foreign state setup until mapping In order to map a window with the correct initial parent-child relationship when a modal dialog is set up to be a child of an imported foreign window, the relationship must be set up before the window is mapped. In order to do this, if a window is not yet mapped, postpone the relationship setup until when the window is eventually mapped. https://bugzilla.gnome.org/show_bug.cgi?id=791062 gdk/wayland/gdkwindow-wayland.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) commit 279b81d20211c301ce5ba6678a398db483a17409 Author: Colin Leroy Date: Tue Sep 12 15:32:36 2017 +0200 placesview: Present FUSE-reachable network shares in Other Locations The documentation about gtk_file_chooser_set_local_only() states that "non-native files may still be available using the native filesystem via a userspace filesystem (FUSE)." The code that made this possible in GTK+2 was missing from GTK+3 and that represented a regression for Linux users in numerous applications (Firefox, Thunderbird, Chromium, ...) https://bugzilla.gnome.org/show_bug.cgi?id=787128 gtk/gtkplacesview.c | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) commit 86dd1e37a70e9bae057a9a11332f7254cda242e8 Author: Christian Hergert Date: Mon Dec 4 19:22:40 2017 -0800 autocleanups: allow g_autoptr() usage with GtkTreePath As the summary says, this allows using g_autoptr(GtkTreePath). This is useful for API that uses out parameters for GtkTreePath that need to be freed. https://bugzilla.gnome.org/show_bug.cgi?id=791234 gtk/gtk-autocleanups.h | 1 + 1 file changed, 1 insertion(+) commit 6d0b0cb99bbe8bf67be7d7450c67095989d8aec5 Author: Руслан Ижбулатов Date: Mon Sep 4 14:42:11 2017 +0000 GDK W32: Plug a resource leak Ensure that surfaces allocated in the impl are destroyed in finalize() https://bugzilla.gnome.org/show_bug.cgi?id=787089 gdk/win32/gdkwindow-win32.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 4c2f3e3105e2aabb95ac6a867e961ef4e8cc4e1c Author: Piotr Drąg Date: Sat Dec 2 18:40:28 2017 +0100 Update Polish translation po/pl.po | 186 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 93 insertions(+), 93 deletions(-) commit 3c40b217b9cf2969ab7cb253d23216c699d2626a Author: Carlos Garnacho Date: Mon Nov 20 18:54:40 2017 +0100 gdk: Always emit motion after enter After a pointer emulating GDK_TOUCH_END event triggering a fake leave notify with GDK_CROSSING_TOUCH_END mode, pointer_under_window will be unset, which will make the next motion/touch_update event to trigger an enter notify event again. Up till there, that's fine, however the motion event is just consumed in favor of the just synthesized enter notify event. This is unexpected to clients like spice-gtk that will only update coordinates from motion events, sending both enter and motion is more consistent with X11 and will make them happy. https://bugzilla.gnome.org/show_bug.cgi?id=791039 gdk/gdkwindow.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit e7e047fc3fa7ae0fc9909e6dff00810973c1d3c2 Author: Carlos Garnacho Date: Thu Oct 26 12:09:44 2017 +0200 gdk/wayland: Restrict shortcut inhibition to keyboard grabs on toplevels It is unlikely that popup windows will contain anything that requires this (popup menus being more interested in redirecting keyboard focus to themselves). OTOH popup implementations that just grab the keyboard are commonplace enough, it makes sense not to trigger inhibition for these. https://bugzilla.gnome.org/show_bug.cgi?id=789268 gdk/wayland/gdkdevice-wayland.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 8df7f88b6697931908d2d11c51ade84325be1b51 Author: Руслан Ижбулатов Date: Sun Nov 26 13:15:53 2017 +0000 GDK W32: Remove an unnecessary type check No idea why it's here, the hash table can store any kind of data, there's no reason why it wouldn't be able to store an old X string type. Might be a holdout from the old days, when strings were handled in a special way (stored directly in the clipboard?). https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkselection-win32.c | 2 -- 1 file changed, 2 deletions(-) commit c329940cf1bfbf260c5aba38e0191a2a37c52c6b Author: Руслан Ижбулатов Date: Sun Nov 26 13:10:44 2017 +0000 GDK W32: Make sure drag source window is not NULL This prevents GTK from throwing a bunch of warnings when it tries to get drag source window -> screen of that window -> ipc widget for that screen, and then tries to attach a signal handler to that widget. Specifically, this happens when we get a DnD move from another application. https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkdnd-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit 3fd23fcfd19f412454cd663322196c991a67cadc Author: Руслан Ижбулатов Date: Sun Nov 26 13:06:24 2017 +0000 GDK W32: Special handling for DELETE requests 1) Ensure that any DELETE requests from the target are sent to GDK, even if both the source and the target are in the same process and it is therefore possible to use a shortcut and call the handler directly in GTK layer 2) Ensure that target GDK doesn't do anything when GTK asks it to send a DELETE request, just report back immediately (the code up the stack does not check for successfullness when request is DELETE, so not giving it any data is OK). The source code already synthesizes a DELETE request, so that side is also taken care of. https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkselection-win32.c | 9 +++++++++ gtk/gtkselection.c | 9 +++++++++ 2 files changed, 18 insertions(+) commit 56074fbf3c3bdf760b444c7196c9c4aac659eeee Author: Руслан Ижбулатов Date: Sun Nov 26 00:21:22 2017 +0000 GDK W32: Preserve the target value for change_property() We need to know the target atom value to know when we need to do something with side-effects (since side-effects are expressed via special target values). Previously, the code side-stepped that by looking at the data type (which was rather unique for the one side-effect target that we supported, signalled by the TARGETS target), but for the DELETE target that seems to be no longer an option, hence the new field to carry this information past the convert_selection() routine. This prevents GDK from throwing a warning when trying to convert a DELETE target, which has no format or data objects set. The side-effects for the DELETE target happen earlier, in GTK layer. By the point it gets to change_property(), it's a no-op. https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkdnd-win32.c | 3 +++ gdk/win32/gdkevents-win32.c | 1 + gdk/win32/gdkselection-win32.c | 22 +++++++++++++++++++--- gdk/win32/gdkselection-win32.h | 2 ++ 4 files changed, 25 insertions(+), 3 deletions(-) commit 6ab1ab9f46f95e6b17405d30af38cf60eeb385c6 Author: Kukuh Syafaat Date: Wed Nov 29 12:05:29 2017 +0000 Update Indonesian translation po/id.po | 244 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 126 insertions(+), 118 deletions(-) commit 706c80be5106473c107b342e16f69096a8649502 Author: Kukuh Syafaat Date: Wed Nov 29 12:04:08 2017 +0000 Update Indonesian translation po-properties/id.po | 1001 ++++++++++++++++++++++++++------------------------- 1 file changed, 505 insertions(+), 496 deletions(-) commit 7d18f2fd3c4d10219cdb86d2d37460cc1ade4d3a Author: Christophe Fergeau Date: Wed Nov 29 12:15:30 2017 +0100 wayland: Fix indentation of previous commit gdk/wayland/gdkselection-wayland.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 8af29e375643fef3f2ba4aa8368050afd86a018e Author: Christophe Fergeau Date: Tue Nov 28 17:44:06 2017 +0100 wayland: emit GDK_SELECTION_CLEAR on owner changes The wayland backend currently never emits GDK_SELECTION_CLEAR events. GtkClipboard uses this signal in order to clear the clipboard owner when the selection is set to something outside the application. This commit ensures the wayland backend emits GDK_SELECTION_CLEAR before setting the clipboard owner to NULL, as this means we lost the selection. Signed-off-by: Christophe Fergeau https://bugzilla.gnome.org/show_bug.cgi?id=790031 gdk/wayland/gdkselection-wayland.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit beb2caacb96661069cb79e9c076f6f6d91527214 Author: Christophe Fergeau Date: Tue Nov 28 17:43:24 2017 +0100 wayland: Remove unused data structure Signed-off-by: Christophe Fergeau https://bugzilla.gnome.org/show_bug.cgi?id=790031 gdk/wayland/gdkselection-wayland.c | 6 ------ 1 file changed, 6 deletions(-) commit 91ef88f77fdf180d7e0cecb0ae19ecb2d13d750f Author: Matthias Clasen Date: Tue Nov 28 22:52:44 2017 -0500 Improve the docs Document that gtk_application_is_inhibited can't be guaranteed to work. gtk/gtkapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 9ce824d3605650a7b0a39b9cc93742e528146c78 Author: Милош Поповић Date: Mon Nov 27 10:29:15 2017 +0000 Update Serbian translation po/sr.po | 90 +++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 44 insertions(+), 46 deletions(-) commit 8397f22762b397de0f8e40b75d4a34f2698f4638 Author: Милош Поповић Date: Mon Nov 27 10:02:46 2017 +0000 Update Serbian translation po/sr.po | 764 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 405 insertions(+), 359 deletions(-) commit 2b6f3f7867d297e44c35688e0407cfa6c91cc222 Author: Alex Ivanov Date: Wed Nov 15 13:08:00 2017 +0000 wayland: Don't provide gsetting if dconf is not available This makes gtk+ fall back to reading ~/.config/gtk-3.0/settings.ini on systems with Wayland, but without dconf (do those exist?). https://bugzilla.gnome.org/show_bug.cgi?id=790201 gdk/wayland/gdkscreen-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit b0fb67eabc9c245d422cbcc7c89427635fc8acab Author: Jan Alexander Steffens (heftig) Date: Sun Nov 26 22:32:36 2017 +0100 entry: Undo ABI breakage from addition of insert_emoji https://bugzilla.gnome.org/show_bug.cgi?id=790862 gtk/gtkentry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 03f2eaf23a7309d1e2b3ddc4d063b3a2d31fcb9e Author: Muhammet Kara Date: Sun Nov 26 18:59:26 2017 +0000 Update Turkish translation po/tr.po | 682 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 324 insertions(+), 358 deletions(-) commit f95cecba2df954d294fbeecd0df577d620e65914 Author: Yosef Or Boczko Date: Sun Nov 26 18:31:59 2017 +0200 Updated Hebrew translation po-properties/he.po | 1237 ++++++++++++++++++++++++++------------------------- 1 file changed, 628 insertions(+), 609 deletions(-) commit f3328330b638597170758a7db38bb58ba7757c9e Author: Yosef Or Boczko Date: Sun Nov 26 18:28:07 2017 +0200 Updated Hebrew translation po/he.po | 886 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 491 insertions(+), 395 deletions(-) commit 3a1a7135a276f2b6336c7566f6342da739a41d39 Author: Aurimas Černius Date: Sat Nov 25 21:33:28 2017 +0200 Updated Lithuanian translation po-properties/lt.po | 1091 ++++++++++++++++++++++++++------------------------- po/lt.po | 197 +++++----- 2 files changed, 653 insertions(+), 635 deletions(-) commit c6c13bd66b5451958f6a52f37fe3064c3478e423 Author: Руслан Ижбулатов Date: Sat Nov 25 17:04:48 2017 +0000 Fix a nefarious typo gdk/win32/gdkdnd-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 934ac3f6ef26d3c842481a6ddc948339a55237ae Author: Руслан Ижбулатов Date: Mon Sep 18 16:49:11 2017 +0000 GDK W32: Ensure that selection request is processed To do that, run the message loop for one second or until the side-effect of running the selection request handler is achieved (as opposed to running it until the event is no longer queued). The disavantage of this method is that if the event handling is somehow missed (due to a variety of reasons - after all, it's not a straight path from an event being queued to property_change() being called), this will loop for one second. Since we do process events during that time, this will not hang the application, but might still restrict some of the functionality. https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkdnd-win32.c | 9 ++++++--- gdk/win32/gdkselection-win32.c | 3 +++ 2 files changed, 9 insertions(+), 3 deletions(-) commit 7b6efc29cc1ec852ef63ad13a1646df06cfb0f25 Author: Руслан Ижбулатов Date: Thu Sep 14 17:43:38 2017 +0000 GDK W32: Refuse to release mouse grab while in DnD mode Handle WM_CANCELMODE and do nothing in response to it when DnD is active. Otherwise pass it to DefWindowProc, which will call ReleaseCapture() on our behalf. This prevents us from losing mouse capture when alt-tabbing during DnD (this includes the feature of Windows Explorer where dragging stuff over a window button in the taskbar causes that window to receive focus, i.e. keyboardless alt-tabbing). https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkevents-win32.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 0ee453a45bbfedfadc262ecf31c336aebff8766f Author: Руслан Ижбулатов Date: Sat Sep 2 15:25:36 2017 +0000 GDK W32: Update layered windows on opacity changes Without this patch layered windows are only updated when they are moved by the user or then their contents changes. This patch adds opacity changes to the list of things that make GDK update a window. Without this windows that don't redraw and are not moved by the used (DnD drag indicator windows, for example) don't change their opacity. https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkwindow-win32.c | 186 ++++++++++++++++++++++++++++---------------- 1 file changed, 118 insertions(+), 68 deletions(-) commit 8caba9536cdccb6657b315c3af852b5febf712fb Author: Руслан Ижбулатов Date: Sat Aug 19 12:06:27 2017 +0000 W32: Massive W32 DnD fix Massive changes to OLE2 DnD protocol, which was completely broken before: * Keep GdkDragContext and OLE2 objects separate (don't ref/unref them together, don't necessarily create them together). * Keep IDataObject formats in the object itself, not in a global variable. * Fix getdata() to look up the request target in its format list, not in the global hash table * Create target GdkDragContext on each drag_enter, destroy it on drag_leave, whereas IDropTarget is created when a window becomes a drag destination and is re-used indefinitely. * Query the source IDataObject for its supported types, cache them in the target (!) context. This is how GTK+ works, honestly. * Remember current_src_object when we initiate a drag, to be able to detect later on that the data object is ours and use a shortcut when querying targets * Make sure GDK_DRAG_MOTION is only sent when something changes * Support GTK drag cursors * Ensure that exotic GTK clipboard formats are registered (but try to avoid registering formats that can't be used between applications). * Don't enumerate internal formats * Ensure that DnD indicator window can't accept drags or receive any kind of input (use WS_EX_TRANSPARENT). * Remove unneeded indentation in _gdk_win32_dnd_do_dragdrop() * Fix indentation in gdk_win32_drag_context_drop_finish() * Remove obsolete comments in _gdk_win32_window_register_dnd() * Check for DnD in progress when processing WM_KILLFOCUS, don't emit a grab break event in such cases (this allows alt-tabbing while DnD is in progress, though there may be lingering issues with focus after dropping...) * Support Shell ID List -> text/uri-list conversion, now it's possible to drop files (dragged from Explorer) on GTK+ applications * Explicitly use RegisterClipboardFormatA() when we know that the string is not in unicode. Otherwise explicitly use RegisterClipboardFormatW() with a UTF8->UTF16 converted string * Fix _gdk_win32_display_get_selection_owner() to correctly bail when selection owner HWND is NULL (looking up GdkWindow for NULL HWND always succeeds and returns the root window - not the intended effect) * More logging * Send DROP_FINISHED event after DnD loop ends * Send STATUS event on feedback * Move GetKeyboardState() and related code into _gdk_win32_window_drag_begin(), so that it's closer to the point where last_pt and start_pt are set * Use & 0x80 to check for the key being pressed. Windows will set low-order bit to 1 for all mouse buttons to indicate that they are toggled, so simply checking for the value not being 0 is not enough anymore. This is probably a new thing in modern W32 that didn't exist before (OLE2 DnD code is old). * Fixed (hopefully) and simplified HiDPI parts of the code. Also adds managed DnD implementation for W32 GDK backend (for both OLE2 and LOCAL protocols). Mostly a copy of the X11 backend code, but there are some minor differences: * doesn't use drag_window field in GdkDragContext, uses the one in GdkWin32DragContext exclusively * subtracts hotspot offset from the window coordinates when showing the dragback animation * tries to consistently support scaling and caches the scale in the context * Some keynav code is removed (places where grabbing/ungrabbing should happen is marked with TODOs), and the rest is probably inert. Also significantly changes the way selection (and clipboard) is handled (as MSDN rightly notes, the handling for DnD and Clipboard formats is virtually the same, so it makes sense to handle both with the same code): * Don't spam GDK_OWNER_CHANGE, send them only when owner actually changes * Open clipboard when our process becomes the clipboard owner (we are doing it anyway, to empty the clipboard and *become* the owner), and then don't close it until a scheduled selection request event (with TARGETS target) is received. Process that event by announcing all of our supported formats (by that time add_targets() should have been called up the stack, thus the formats are known; just in case, add_targets() will also schedule a selection request, if one isn't scheduled already, so that late-coming formats can still be announced). * Allow clipboard opening for selection_convert() to be delayed if it fails initially. * The last two points above should fix all the bugs about GTK+ rising too much ruckus over OpenClipboard() failures, as owner change *is allowed* to fail (though not all callers currently handle that case), and selection_convert() is asynchronous to begin with. Still, this is somewhat risky, as there's a possibility that the code will work in unexpected ways and the clipboard will remain open. There's now logging to track the clipboard being opened and closed, and a number of failsafes that try to ensure that it isn't kept open for no reason. * Added copious notes on the way clipboard works on X11, Windows and GDK-W32, also removed old comments in DnD implementation, replaced some of them with the new ones * A lot of crufty module-global variables are stuffed into a singleton object, GdkWin32Selection. It's technically possible to make it a sub-object of the Display object (the way Wayland backend does), but since Display object on W32 is a singleton anyway... why bother? * Fixed the send_change_events() a bit (was slightly broken in one of the previous iterations) * Ensure that there's no confusion between selection conversion (an artifact term from X11) and selection transmutation (changing the data to be W32-compatible) * Put all the transmutation code and format-target-matching code into gdkselection-win32.c, now this code isn't spread across multiple files. * Consequently, moved some code away from gdkproperty-win32.c and gdkdnd-win32.c * Extensive format transmutation checks for OLE2 DnD and clipboard. We now keep track of which format mappings are for transmutations, and which aren't (for example, when formats are passed as-is, or when a registered name is just an alias) * Put transmutation code into separate functions * Ensure that drop target keeps a format->target map for supported formats, this is useful when selection_convert() is called, as it only receives a single target and no hints on the format from which the data should be transmuted into this target. * Add clear_targets() on W32, to de called by GTK * Use g_set_object() instead of g_ref_object() where it is allowed. * Fix indentation (and convert tabs to spaces), remove unused variables https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/Makefile.am | 2 + gdk/win32/gdkdisplay-win32.c | 54 +- gdk/win32/gdkdnd-win32.c | 1763 +++++++++++++++++------ gdk/win32/gdkevents-win32.c | 99 +- gdk/win32/gdkglobals-win32.c | 34 +- gdk/win32/gdkmain-win32.c | 35 +- gdk/win32/gdkprivate-win32.h | 57 +- gdk/win32/gdkproperty-win32.c | 137 +- gdk/win32/gdkselection-win32.c | 2968 +++++++++++++++++++++++++++++---------- gdk/win32/gdkselection-win32.h | 222 +++ gdk/win32/gdkwin32dnd-private.h | 72 + gdk/win32/gdkwin32misc.h | 7 + gdk/win32/gdkwindow-win32.c | 8 + gtk/gtkdnd.c | 7 + gtk/gtkselection.c | 4 + 15 files changed, 4040 insertions(+), 1429 deletions(-) commit 41026987be0e00b8a1fda7fb2b9b444de297df5b Author: Руслан Ижбулатов Date: Tue Aug 22 14:23:14 2017 +0000 GDK W32: Don't leak the atom name string https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkdisplay-win32.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 022cf4252f290a19fcef8b4cbc76d4fedff409c3 Author: Руслан Ижбулатов Date: Tue Aug 15 13:12:43 2017 +0000 GDK W32: Fix a typo in OLE2 DnD code https://bugzilla.gnome.org/show_bug.cgi?id=786509 gdk/win32/gdkdnd-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2cc7a9c034fe10e2fd9764635ba576e7ca1d7063 Author: Руслан Ижбулатов Date: Tue Aug 15 13:07:01 2017 +0000 Only register application/x-rootwindow-drop on X11 application/x-rootwindow-drop is not useful anywhere else, so put it under #ifdef GDK_WINDOWING_X11 On W32 this prevents toplevels from automatically becoming valid drop targets with a useless drop type. https://bugzilla.gnome.org/show_bug.cgi?id=786509 gtk/gtkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit 87103b9a1401bb9d28ee77c39310833f98d9e836 Author: Руслан Ижбулатов Date: Fri Aug 11 07:00:41 2017 +0000 GDK W32: More flexible modal operation mode Instead of using a boolean to indicate a modal operation being in progress, use a set of flags, and allow these to be set and unset independently. Specifically, this allows WM_CAPTURECHANGED handler to only act when a drag-move or drag-resize modal operation is in progress, and ignore DND (which can also cause WM_CAPTURECHANGED to be posted). This avoids a crash due to assertion failure when OLE2 DND code tries to end a modal operation that was already ended by the WM_CAPTURECHANGED handler. https://bugzilla.gnome.org/show_bug.cgi?id=786121 gdk/win32/gdkdevicemanager-win32.c | 2 +- gdk/win32/gdkdnd-win32.c | 4 +-- gdk/win32/gdkevents-win32.c | 59 +++++++++++++++++++++++--------------- gdk/win32/gdkglobals-win32.c | 2 +- gdk/win32/gdkprivate-win32.h | 24 +++++++++++----- 5 files changed, 57 insertions(+), 34 deletions(-) commit 87673af98ccc805f2e35ae6e40eb6ed6915c3f89 Author: Daniel Boles Date: Thu Nov 23 17:17:08 2017 +0000 Be more specific in ::insert-emoji Since tag I had been unsure whether to include the minor version, but :show-emoji-icon already did, so do the same here to match. gtk/gtkentry.c | 2 +- gtk/gtktextview.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 30ddb3e1a4233ecd6e37c3c26a56f2d413f5d8d7 Author: Руслан Ижбулатов Date: Thu Nov 23 07:15:28 2017 +0000 GDK W32: fix monitor pruning code Decrement the counter for each removed element, otherwise we skip one element every time we remove one. Also, no need for continue here. gdk/win32/gdkmonitor-win32.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 2c9072314a72bf2ebde30d71c1f770697ef78e8f Author: Daniel Boles Date: Wed Nov 22 22:35:25 2017 +0000 Add Since to ::insert-emoji, and some trivialities Document when these keybinding signals were added. gtk/gtkentry.c | 4 +++- gtk/gtktextview.c | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit f922aee5e292688621b1162d775e496edbb7e8fd Author: Matthias Clasen Date: Wed Nov 22 16:47:43 2017 -0500 text view: Support the Emoji chooser Similar to GtkEntry, add an "Insert Emoji" context menu item, and add the same keybindings. We don't add the icon here, since it is not clear where it would go. https://bugzilla.gnome.org/show_bug.cgi?id=790029 gtk/gtktextview.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtktextview.h | 2 +- 2 files changed, 77 insertions(+), 1 deletion(-) commit bd56e0d9188307e3958bb8b34d9982c2617c41bb Author: Matthias Clasen Date: Wed Nov 22 16:46:49 2017 -0500 Fix indentation mishap gtk/gtkentry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 42c3b91fa74b988f78fb04cfb75ece480e2343b3 Author: Daniel Boles Date: Wed Nov 22 20:27:26 2017 +0000 SpinButton: Explain meaning of nullable Adjustment configure() marked the @adj argument as (allow-none) but did not explain what passing NULL would do. Fix that, and move it to (nullable) as well. gtk/gtkspinbutton.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c490ac4ed8c23b34e0c399b1ac9f2c970959465d Author: Daniel Boles Date: Wed Nov 22 19:19:36 2017 +0000 doc: Replace uses of #NULL with %NULL gdk/gdkdevicemanager.c | 2 +- gdk/gdkglcontext.c | 2 +- gtk/gtkdnd.c | 2 +- gtk/gtkgesturemultipress.c | 2 +- gtk/gtkplacessidebar.c | 12 +++++++----- gtk/gtkwidget.c | 2 +- 6 files changed, 12 insertions(+), 10 deletions(-) commit f1b812731dc187e84c587d89e319e1e081285401 Author: Daniel Boles Date: Wed Nov 22 18:57:48 2017 +0000 CellRendererPixbuf: Improve property docs Add Since annotations for the stock-* properties. Add a doc comment for :stock-size in order to link to GtkIconSize. Document :stock-detail as deprecated. It does nothing & is gone in GTK+4 gtk/gtkcellrendererpixbuf.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 260a6aaa71db9c017641feb6c4b64f73bc18a2fb Author: Daniel Boles Date: Tue Nov 21 10:52:35 2017 +0000 doc: TextLayout: Add missing (out) annotations and move from (allow-none) to (optional) gtk/gtktextlayout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 55e8736613e637f2742b78477144aae7117ec9e3 Author: Matthias Clasen Date: Sun Nov 19 22:40:07 2017 -0500 emoji chooser: break out a helper function This is just a small cleanup. gtk/gtkemojichooser.c | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) commit d3eacaf8407166c4e0cec05af67a33d69c4c11c4 Author: Matthias Clasen Date: Sat Nov 18 22:44:12 2017 -0500 entry: Add a key binding for the emoji chooser Make Ctrl-. and Ctrl-; bring up the emoji chooser. https://bugzilla.gnome.org/show_bug.cgi?id=789160 gtk/gtkentry.c | 38 +++++++++++++++++++++++++++++++++----- gtk/gtkentry.h | 2 +- 2 files changed, 34 insertions(+), 6 deletions(-) commit 6b126a70e2d0fb1d0c30d8d49c2e56861d4aeb01 Author: Matthias Clasen Date: Sun Nov 19 18:03:07 2017 -0500 emoji chooser: Make menu key work as expected Whenever we have a right-click action, we should make the menu key work as a keyboard-accessible alternative. gtk/gtkemojichooser.c | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) commit f301b7874e8c95d0ef141906bc482176f636ae3c Author: Matthias Clasen Date: Sun Nov 19 16:18:28 2017 -0500 emoji chooser: handle right-click Whereever we handle long-press for touch, it makes sense to handle right-click as a faster alternative for mouse-based interaction. This commit makes right-click work to bring up the variation selector for Emojis. gtk/gtkemojichooser.c | 84 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 63 insertions(+), 21 deletions(-) commit 19670f9fe6a32ba75a0514aad0702410c918e9e7 Author: Matthias Clasen Date: Sun Nov 19 08:29:37 2017 -0500 Trivial cleanup Better to use G_SOURCE_REMOVE than FALSE, for clarity. gtk/gtkgesturelongpress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65457e6d12b33a8dd26cd04e54fdfd040ca2f835 Author: Matthias Clasen Date: Sun Nov 19 08:28:35 2017 -0500 emoji chooser: Don't leak gestures We were not freeing these gestures as we should. gtk/gtkemojichooser.c | 4 ++++ 1 file changed, 4 insertions(+) commit f8cb3fc3a847f2f106ec5f7b2f3e4a9241ea8f9c Author: Benjamin Otte Date: Sun Nov 5 16:12:35 2017 +0100 emojichooser: animate the adjustment ... instead of doing a dance with the scrolled window to get it to scroll the adjustment. gtk/gtkemojichooser.c | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) commit 38e68815c6fd8dc04341ce4397a5e9a5d1923637 Author: Bastien Nocera Date: Wed Nov 22 15:23:52 2017 +0100 frame-clock: Fix typo in API documentation gdk/gdkframeclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4de0e4b1edbeada94589af61791315c213cdc050 Author: Daniel Mustieles Date: Mon Nov 20 08:39:00 2017 +0000 Update Spanish translation po-properties/es.po | 721 ++++++++++++++++++++++++++-------------------------- 1 file changed, 366 insertions(+), 355 deletions(-) commit 29d2a456411e138759a96c8ec1a64249d12561bb Author: Daniel Mustieles Date: Mon Nov 20 08:38:35 2017 +0000 Update Spanish translation po/es.po | 586 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 316 insertions(+), 270 deletions(-) commit 29a590014d8f0475402b5e76d5a158e003fdd061 Author: Muhammet Kara Date: Sun Nov 19 20:13:03 2017 +0000 Update Turkish translation po-properties/tr.po | 740 ++++++++++++++++++++++++++-------------------------- 1 file changed, 365 insertions(+), 375 deletions(-) commit 6675451cea0e3ab5bddded48bb0e29a1a987b9f0 Author: Milo Casagrande Date: Fri Nov 17 13:33:01 2017 +0000 Update Italian translation po-properties/it.po | 818 ++++++++++++++++++++++++++-------------------------- 1 file changed, 414 insertions(+), 404 deletions(-) commit 47435d0e6b42c917e80558798ab6cc0c301c26f6 Author: Milo Casagrande Date: Fri Nov 17 10:51:13 2017 +0000 Update Italian translation po/it.po | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) commit 2157b69f1f4cc2f6a158cfa6d461ac31ba1d3a5f Author: Milo Casagrande Date: Fri Nov 17 10:49:34 2017 +0000 Update Italian translation po/it.po | 263 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 138 insertions(+), 125 deletions(-) commit 4ffdf917bbdfd4feee2d01c44a04ac47efc6429d Author: Matthias Clasen Date: Mon Nov 13 12:12:52 2017 -0500 icontheme: Add a trailing / when enumerating resources This avoids extra string copies in GResource. gtk/gtkicontheme.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e3f84e9bf447655e804b34079d8a2764456c5f87 Author: Matthias Clasen Date: Mon Nov 13 07:35:18 2017 -0500 application: Append a / to the icon resource path g_resources_enumerate_children expects the path to end in a '/' (even though thats not stated in the docs), and will copy it if that isn't the case. Avoid the copy by putting a '/' there to begin with. gtk/gtkapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20c2d6c9921b13ad3635dfc7624ed667768f7f3f Author: Matthias Clasen Date: Mon Nov 13 07:33:35 2017 -0500 icontheme: Append a / to the resource path g_resources_enumerate_children expects the path to end in a '/' (even though thats not stated in the docs), and will copy it if that isn't the case. Avoid the copy by putting a '/' there to begin with. gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4c44ffda17e9251b99b8cde040eef248ebac8073 Author: Benjamin Otte Date: Mon Nov 13 17:06:34 2017 +0100 gdk: Fix GDK_ALL_EVENTS_MASK This mask was forgotten to update when the last 2 event masks were added, probably because it looks like it's already maxed. gdk/gdktypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7e49a02acf07854886b6d6a705d79359fbdedbd9 Author: Carlos Soriano Date: Mon Oct 30 21:47:07 2017 +0100 gtkplacessidebar: Fix new tab/window handling for cloud accounts It wasn't taking into account whether the sidebar had support for them or not, resulting in a file chooser with open in new tab/window menu items when it's not supported. To fix it, do as with the other menus and check for the availability of new tab/window flags. https://bugzilla.gnome.org/show_bug.cgi?id=786123 gtk/gtkplacessidebar.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit e672c024414bf113da2fc344012e55624d7d8d8e Author: Carlos Soriano Date: Mon Oct 30 21:38:41 2017 +0100 gtkplacessidebar: Adapt to libcloudproviders 0.2.0 And a few improvements on the way. https://bugzilla.gnome.org/show_bug.cgi?id=786123 configure.ac | 2 +- gtk/gtkplacessidebar.c | 266 ++++++++++++++++++++++++++++--------------------- gtk/gtksidebarrow.c | 90 ++++++++++++++--- 3 files changed, 229 insertions(+), 129 deletions(-) commit b654130bd7d392dec5b4775991e59ac0f0990ff2 Author: Christian Hergert Date: Sun Nov 12 19:34:46 2017 -0800 css: avoid copying resource data To avoid copying data from gresources to the heap, we can use the newly added gtk_file_load_bytes(). That function will check for resource:// URIs and access their internal data directly. Other URI schemes will read the contents into memory and return a GBytes as normal. https://bugzilla.gnome.org/show_bug.cgi?id=790270 gtk/gtkcssprovider.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit d46c072c4d5469226fef756e77e097b2adbc71bc Author: Christian Hergert Date: Sun Nov 12 19:26:54 2017 -0800 utils: add gtk_file_load_bytes() helper This helper will load GBytes for a GFile, but try to reuse the embedded data for a gresource to reduce the chances of copying data to the heap. https://bugzilla.gnome.org/show_bug.cgi?id=790270 gtk/gtkutils.c | 35 +++++++++++++++++++++++++++++++++++ gtk/gtkutilsprivate.h | 5 ++++- 2 files changed, 39 insertions(+), 1 deletion(-) commit 15acb4c340eee9eab4698243a89528e78f692cf5 Author: Benjamin Otte Date: Mon Nov 13 03:51:53 2017 +0100 a11y: Handle a treeview with no columns Code was spewing criticals to stderr because of nonexisting columns. So check that there's actually an existing column first. gtk/a11y/gtktreeviewaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit efaa6524acf8a605c0c28d2883afe97f5ac9dc6e Author: Benjamin Otte Date: Sun Nov 12 06:19:00 2017 +0100 progresstracker: Don't hand out NaN When the duration is set to 0, clamp it to 1us. This way we're almost correct: We should really instantly finish, but we don't. But we do respect the delay. Doing this properly would require some refactoring of how the progress tracker actually maintains progress, and this is just a quick fix. gtk/gtkprogresstracker.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b2877605cf9f56d703d5437030b01a24cd473207 Author: Fabio Tomat Date: Fri Nov 10 15:48:06 2017 +0000 Update Friulian translation po-properties/fur.po | 918 ++++++++++++++++++++++++++------------------------- 1 file changed, 468 insertions(+), 450 deletions(-) commit a4e1d0164998a32e86b3c241a3047ef0ba3ce228 Author: Kjartan Maraas Date: Thu Nov 9 20:09:40 2017 +0100 Updated Norwegian bokmål translation. po/nb.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit e09c1031879a5734a82a433fbcbb5aeddb7bdbf3 Author: Daniel Boles Date: Thu Nov 9 09:44:49 2017 +0000 Window: Document get_icon() return as nullable gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5835cb2bc2625366c9cf2fc48966981870e97ba4 Author: Daniel Boles Date: Wed Nov 8 06:48:17 2017 +0000 CssProvider: Use consistent theme name placeholder commit 475d916eb92c0106d09525bcca938f05fd6a81b5 added various paths that use theme-name for this, but the existing path already used THEME, with a subsequent description referring to the latter. So use that everywhere gtk/gtkcssprovider.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 77a4e2ec3759648e85a5172bb9fbdedcd7370023 Author: Matthias Clasen Date: Tue Nov 7 14:52:24 2017 -0500 3.22.26 NEWS | 25 +++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 27 insertions(+), 2 deletions(-) commit 4ac7db34f7059763b32ce6f4e5b1ed461f8c686b Author: Dušan Kazik Date: Tue Nov 7 18:24:11 2017 +0000 Update Slovak translation po-properties/sk.po | 768 ++++++++++++++++++++++++++-------------------------- 1 file changed, 389 insertions(+), 379 deletions(-) commit 8e84eff35564ae0708a31023f3bb8a97a7bba404 Author: Dušan Kazik Date: Tue Nov 7 18:21:41 2017 +0000 Update Slovak translation po/sk.po | 160 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 84 insertions(+), 76 deletions(-) commit d42559bf2f87ac1fc59f1f9a2fddc8df563c19a6 Author: Marek Cernocky Date: Mon Nov 6 21:03:47 2017 +0100 Updated Czech translation po-properties/cs.po | 831 ++++++++++++++++++++++++++-------------------------- po/cs.po | 244 +++++++-------- 2 files changed, 546 insertions(+), 529 deletions(-) commit 4bc58f03b6cdcabdc0cde2b7c1a755ea9b7d7225 Author: Rafael Fontenelle Date: Mon Nov 6 18:19:31 2017 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 255 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 132 insertions(+), 123 deletions(-) commit 0ba60b7703500bfadfbe02b9dc7077236975a383 Author: Rafael Fontenelle Date: Mon Nov 6 17:53:03 2017 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 1140 ++++++++++++++++++++++++------------------------ 1 file changed, 572 insertions(+), 568 deletions(-) commit 5a86b784937e0f188a228547cf2dc135e75c3654 Author: Hannie Dumoleyn Date: Mon Nov 6 16:20:55 2017 +0000 Update Dutch translation po-properties/nl.po | 719 ++++++++++++++++++++++++++-------------------------- 1 file changed, 364 insertions(+), 355 deletions(-) commit 01b29a16ff0a17cd123d6d896208f53d5f7ee9f8 Author: Hannie Dumoleyn Date: Mon Nov 6 16:17:20 2017 +0000 Update Dutch translation po/nl.po | 580 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 303 insertions(+), 277 deletions(-) commit ab4cc2540b6f83cf8dd57113511dc1a8678fd8a2 Author: Mario Blättermann Date: Mon Nov 6 08:35:14 2017 +0000 Update German translation po/de.po | 164 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 86 insertions(+), 78 deletions(-) commit 4c5279c9564ea59bff16b842fc7e42a46ef96fb2 Author: Mario Blättermann Date: Mon Nov 6 08:32:35 2017 +0000 Update German translation po-properties/de.po | 903 ++++++++++++++++++++++++---------------------------- 1 file changed, 413 insertions(+), 490 deletions(-) commit a12ae1411aa713ed597393646b350e07c7be4caa Author: Kjartan Maraas Date: Mon Nov 6 09:09:53 2017 +0100 Updated Norwegian bokmål translation. po/nb.po | 795 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 447 insertions(+), 348 deletions(-) commit e57891fd6bdf29368ce76e3604cbdfec23715dd4 Author: Anders Jonsson Date: Sun Nov 5 21:23:19 2017 +0000 Update Swedish translation po-properties/sv.po | 687 ++++++++++++++++++++++++++-------------------------- 1 file changed, 348 insertions(+), 339 deletions(-) commit bb1e8e47f5ec1e8d6a84266f5e5326f16cd9a91f Author: Anders Jonsson Date: Sun Nov 5 21:19:06 2017 +0000 Update Swedish translation po/sv.po | 244 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 126 insertions(+), 118 deletions(-) commit 14cda4839aa35989b3efd1cdbb24775f9fa77734 Author: Piotr Drąg Date: Sun Nov 5 21:47:10 2017 +0100 Update Polish translation po-properties/pl.po | 1000 ++++++++++++++++++++++++++------------------------- po/pl.po | 244 +++++++------ 2 files changed, 631 insertions(+), 613 deletions(-) commit f7f4ecf006fdb0c0927cf84987ba584ab8945967 Author: Piotr Drąg Date: Sun Nov 5 21:16:59 2017 +0100 placessidebar: correct quotation marks in a new string gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f6365cf9ff6409fcd3750a99d9b0f8800e592f5 Author: Alexandru Pandelea Date: Thu Jul 20 16:29:42 2017 +0100 placessidebar: add starred location item Add an item for showing all files marked as favorite. This item will open all files that have the nao:predefined-tag-favorite tag https://bugzilla.gnome.org/show_bug.cgi?id=785176 gtk/gtkplacessidebar.c | 114 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkplacessidebar.h | 5 ++ gtk/gtkplacessidebarprivate.h | 1 + 3 files changed, 120 insertions(+) commit d38a148f0e76e52bbd8208f3b50b2be65438c987 Author: Chun-wei Fan Date: Mon Oct 30 15:00:28 2017 +0800 gdk/win32: Fix Win32 GL Context switching Since on Windows we need to use a good amount of temporary GL contexts, we need to switch back to the original GL contexts we were using when we are done with the temporary GL contexts, otherwise multi-GL windows will cause confusions causing display artifacts and crashes. Also, use the GdkWin32GLContext::gl_hdc consistently throughout the code and remove the GdkWin32Display::gl_hdc as Lukas K pointed out that GdkWin32Display::gl_hdc becomes out-of-date and so the HDC that the GL context is bound to becomes incorrect in sceanarios using multiple windows with GtkGLArea/GdkGLArea items (which would cause the artifacts in programs that use multiple windows with GtkGLArea/GdkGLArea items, and it turns out that GdkWin32Display::gl_hdc is actually not necessary to help keep track of the HDCs we use for our GL contexts. Partly based on patch from Lukas K https://bugzilla.gnome.org/show_bug.cgi?id=789213 gdk/win32/gdkdisplay-win32.h | 1 - gdk/win32/gdkglcontext-win32.c | 43 ++++++++++++++++++++++++++++-------------- 2 files changed, 29 insertions(+), 15 deletions(-) commit 46459f66f904baf2ba9506d929e69c0bcc8166ad Author: Khaled Hosny Date: Fri Nov 3 11:46:43 2017 +0200 Update Arabic translation po/ar.po | 1066 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 566 insertions(+), 500 deletions(-) commit 40302a52687c203ec4cb2f37a262e2cf398da8e2 Author: Daniel Boles Date: Tue Oct 31 19:43:52 2017 +0000 Adwaita: Fix Entry:has-frame if backdrop/disabled by explicitly including these in the selector removing the border, to avoid other rules on these pseudoclasses overriding the .flat class. https://bugzilla.gnome.org/show_bug.cgi?id=789733 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 a03a3c3af9ba210787370222c95e8d4a23d6ceb5 Author: Daniel Boles Date: Tue Oct 31 19:57:45 2017 +0000 HighContrast: Fix GtkEntry:has-frame not working • Remove the box-shadow at the top when the entry is in the foreground • Bump precedence so that :disabled entries do not have .flat overridden • Also add :backdrop to stop HCInverse getting a lighter BG in :backdrop https://bugzilla.gnome.org/show_bug.cgi?id=789733 gtk/theme/HighContrast/_common.scss | 3 ++- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit 55210ae4646481f27577127e255b61d50e98546f Author: Daniel Boles Date: Thu Oct 12 21:09:58 2017 +0100 Inspector: better default split of CSS nodes/props Move the default pos of the Paned handle to 400px from the left, i.e. 50% of the default width of the window. The previous position at 300px from left meant the node treeview was too narrow & could easily result in the (useful) State column not being visible in the case of many apps. The properties pane doesn't need to be as big as it was anyway. https://bugzilla.gnome.org/show_bug.cgi?id=788898 gtk/inspector/css-node-tree.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3408d89d530f6a5a870c9367d95c62f9604c560 Author: Julian Sparber Date: Tue Oct 31 02:29:59 2017 +0100 AboutDialog: Fix accepting GTK_LICENSE_AGPL_3_0 Add the new GTK_LICENSE_AGPL_3_0 to the allowed enum range checked in gtk_about_dialog_set_license_type(), so this value is not rejected. https://bugzilla.gnome.org/show_bug.cgi?id=789678 gtk/gtkaboutdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0327e521ee4a9549d3cafcf42a0374beebccd0a Author: Julian Sparber Date: Wed Oct 18 13:00:41 2017 +0200 icon-browser: Centre Copy button in dialog again This patch moves the "Copy to Clipboard" button into the same container as the description label, to centre the button regardless of the number of icons shown in the grid. https://bugzilla.gnome.org/show_bug.cgi?id=789134 demos/icon-browser/window.ui | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) commit 58c0418418d464ae40ad66e994adba2ecd4d885a Author: Daniel Boles Date: Tue Oct 31 18:27:34 2017 +0000 gdkmonitor: Fix typo gdk/gdkmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2b509a34d476767710bd3b133e1310340b8db733 Author: Daniel Boles Date: Mon Oct 23 09:20:23 2017 +0100 SpinButton: Fix typo gtk/gtkspinbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b8a3bac707971f3bbfb52fdcfa2096342b7c851 Author: Lukas K Date: Sun Oct 29 00:07:34 2017 +0200 make GDK_DEBUG=opengl work on win32 gdk/win32/gdkglcontext-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c255ba68fc2c918dd84da48a472e7973d3c00b03 Author: Chun-wei Fan Date: Thu Aug 31 18:43:07 2017 +0800 input/IME: Defer the emit of the "commit" signal On Windows, when IME is used, each keystroke results in the WM_IME_COMPOSITION event being sent first. This means that in our case when one decides on to accept the input that is in the preedit buffer, we first get from Windows the WM_IME_COMPOSITION event (where we emit the commit signal), followed by the WM_IME_ENDCOMPOSITION event (where we emit the pair of preedit-changed and preedit-end signals). Since commit f11f989 (GtkEntry: Remove recompute idle), we do the input recomputation directly, this will cause a pair of "Pango-WARNING: Assertion failed: (index >= 0 && index <= layout->length)" being shown, as gtkentry.c's priv->preedit_length and priv->preedit_cursor was unable to be reset to 0 in time as a result of the recomputation triggered by the commit being done before the reset of priv->preedit_length and priv->preedit_cursor (which are no longer valid as we essentially say that we are done with the preedit buffer). As we could only acquire the final string that was entered in this preedit session when we handle the WM_IME_COMPOSITION event, fix this by saving up the final string we acquire from Windows IME in UTF-8 when we handle the WM_IME_COMPOSITION event from Windows, and emit the commit signal with that string after we emit the preedit-changed and preedit-end signals when we handle the WM_IME_ENDCOMPOSITION event from Windows, which comes afterwards. Also fix the formatting of the code around the parts of the files that was changed. https://bugzilla.gnome.org/show_bug.cgi?id=787142 modules/input/gtkimcontextime.c | 27 ++++++++++++++++----------- modules/input/gtkimcontextime.h | 1 + 2 files changed, 17 insertions(+), 11 deletions(-) commit 72a45366e23596a5b8d68d3b2eb072d56b9423bd Author: Simon McVittie Date: Sun Oct 29 17:50:13 2017 +0000 wayland: Distribute protocol/server-decoration.xml in tarballs Otherwise, builds that include the Wayland backend fail. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=789630 Signed-off-by: Simon McVittie Reviewed-by: Emmanuele Bassi gdk/wayland/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6c39e2f2f1a61d925934a60c36af9970281c24b2 Author: Matthias Clasen Date: Sun Oct 29 08:47:41 2017 -0400 3.22.25 NEWS | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 74 insertions(+), 2 deletions(-) commit 74720117c9f12b01099ab55043d80c9fa21f44a5 Author: Matthias Clasen Date: Sat Oct 28 10:22:30 2017 -0400 Revert "gdkscreen-x11: Enable RandR on VirtualBox" This reverts commit f2ba6ca47322a17b37fb92662fc9552b4f106f10. This change was causing problems with several X servers, see https://bugzilla.gnome.org/show_bug.cgi?id=780101 gdk/x11/gdkscreen-x11.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) commit 81d1aaa06283a2fcfba50966f2ab61db15424793 Author: Andrea Azzarone Date: Thu Oct 19 08:36:50 2017 +0000 widget: Typecheck before deref in translate_coords https://bugzilla.gnome.org/show_bug.cgi?id=771279 gtk/gtkwidget.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 3509918e39bc5e2cfcf67d89b626b038ed72a28a Author: Federico Mena Quintero Date: Fri Oct 27 17:04:02 2017 -0500 GtkPathBar: Centralize handling of outstanding cancellables The path bar would crash if we disposed it before all pending I/O operations had finished. Now we remember all the outstanding operations directly in the GtkPathBarPrivate, and deal with them consistently. gtk/gtkpathbar.c | 135 +++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 107 insertions(+), 28 deletions(-) commit 268d150d0f7e38894c7cb7ade353e0cb13754eb9 Author: Matthias Clasen Date: Fri Oct 27 16:12:28 2017 -0400 GdkMonitor: Use 1 as scale fallback value The same value we use in gtk_widget_get_scale_factor. gdk/gdkmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ef20c0e2f4728b8d0f3bede51cc56e1f9b94982 Author: Olivier Fourdan Date: Tue Jun 27 11:12:57 2017 +0200 wayland: scale down reported monitor geometry According to the documentation, gdk_monitor_get_geometry() reports the monitor geometry in ”application pixels”, not in ”device pixels”, meaning that the actual device resolution needs to be scaled down by the scale factor of the output. x11 backend does that downscaling, whereas Wayland backend did not, causing a discrepancy depending on the backend used. https://bugzilla.gnome.org/show_bug.cgi?id=783995 gdk/wayland/gdkscreen-wayland.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 72045a1a2defa82692bac043c5123da7944d76ec Author: Simon McVittie Date: Thu Oct 26 16:02:07 2017 +0100 GtkWindow: Set tiled class on windows that have any tiled edge This has no practical effect on Adwaita, but might fix some third-party themes that were broken by GTK+ 3.22.23. Signed-off-by: Simon McVittie https://bugzilla.gnome.org/show_bug.cgi?id=789357 gtk/gtkwindow.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 8ad40a49ee28928effcbc57cff463e2867564427 Author: Simon McVittie Date: Thu Oct 26 15:57:29 2017 +0100 GtkHeaderBar: Reconsider buttons if any tiling state changes Looking at the 1-bit "tiled or not?" state is not necessarily enough. Signed-off-by: Simon McVittie https://bugzilla.gnome.org/show_bug.cgi?id=789357 gtk/gtkheaderbar.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 465ef5055422531b53934ab6fb5496d3b9b7c540 Author: Simon McVittie Date: Thu Oct 26 15:51:51 2017 +0100 Set GDK_WINDOW_STATE_TILED if any edge is tiled This state flag is used in several places in GTK+, for example to ignore RESIZE_INC hints if tiled. Setting it is also necessary for backwards compatibility with applications that changed their behaviour when tiled, such as GNOME Terminal and its MATE fork. Signed-off-by: Simon McVittie https://bugzilla.gnome.org/show_bug.cgi?id=789357 gdk/wayland/gdkwindow-wayland.c | 8 ++++---- gdk/x11/gdkdisplay-x11.c | 20 +++++++++++++++++--- 2 files changed, 21 insertions(+), 7 deletions(-) commit f2adaba237519642b88ccb42b47a95cf539a2a12 Author: Drew DeVault Date: Fri Apr 28 20:35:51 2017 -0400 Wayland: Implement KDE's SSD protocol If the compositor prefers server-side decorations and the client doesn't customize the title bar, we disable client-side decorations and let the compositor know. Otherwise, we continue to use client-side decorations. Signed-off-by: Drew DeVault https://bugzilla.gnome.org/show_bug.cgi?id=781909 gdk/wayland/Makefile.am | 2 + gdk/wayland/gdkdisplay-wayland.c | 39 +++++++++++++ gdk/wayland/gdkdisplay-wayland.h | 4 ++ gdk/wayland/gdkwaylanddisplay.h | 3 + gdk/wayland/gdkwaylandwindow.h | 3 + gdk/wayland/gdkwindow-wayland.c | 16 +++++ gdk/wayland/protocol/server-decoration.xml | 94 ++++++++++++++++++++++++++++++ gtk/gtkwindow.c | 10 +++- 8 files changed, 170 insertions(+), 1 deletion(-) commit 30e72154066842dc68d02a030aeeb562d8d9ee4f Author: Olivier Fourdan Date: Wed Jun 21 15:02:05 2017 +0200 wayland: Do not constrain saved window size Under Wayland, an xdg_surface.configure with size 0x0 means it's up to the client to set its size. When transitioning from maximized state to un-maximized, the Wayland compositor will send such an 0x0 configure so that the client can restore its original size. However, the original size was already constrained, so re-applying size constrains can lead to a smaller size when using size increments. Avoid this caveat by not applying size constrains when we are restoring the original size. https://bugzilla.gnome.org/show_bug.cgi?id=777072 gdk/wayland/gdkwindow-wayland.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) commit 5ad9ecaff050b3417d330ea9d229679ec2511217 Author: Florian Müllner Date: Mon Oct 23 00:18:19 2017 +0200 appchooserwidget: Don't limit application list unconditionally As documented, GtkAppChooser is "typically [used] for the purpose of opening a file". However given that applications that support neither opening files nor URLs are filtered out, the chooser is not actual useful for any other (atypical) usage. Change that by only applying the filtering if a content-type was set, and use the full unfiltered list otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=789327 gtk/gtkappchooserwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5ee34ec72abe3d3aefe3c62e8a9ef610ad7d18fe Author: Christian Persch Date: Wed Oct 11 20:43:19 2017 +0200 actionable: Allow all detailed action name formats Use g_action_parse_detailed_name() to enable use of this API for actions with non-string parameter. https://bugzilla.gnome.org/show_bug.cgi?id=788841 gtk/gtkactionable.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) commit fc741adbbbe2f83fd047c7607eef471ffc9265fd Author: Matthias Clasen Date: Wed Apr 12 13:56:49 2017 -0400 wayland: Don't spew warnings for blank cursors We were unnecessarily spewing warnings when blank cursors were getting a new scale set. Standardize on "none" as the name for blank cursors, and avoid the warning. https://bugzilla.gnome.org/show_bug.cgi?id=775217 gdk/wayland/gdkcursor-wayland.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 1c3aff5101449fec8d11a2b17eb7f01cb1913cf7 Author: Andrea Azzarone Date: Wed Oct 25 09:34:47 2017 -0400 gdk: Clear GL context when window is withdrawn Some clients (e.g. gnome-online-accounts) quickly unmap and map a window. With some backends the backend surface will be replaced causing the application to crash because the GL context is still using the old surface. Clearing the GL context when a window is withdrawn fixes this. https://bugzilla.gnome.org/show_bug.cgi?id=789141 gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9c1a0b80aec7dd527b3390fcac8fee57a4c6a2af Author: Chun-wei Fan Date: Fri Oct 20 17:01:30 2017 +0800 Visual Studio builds: Improve binary security Ensure that the /DYNAMICBASE linker option (which is actually the default) is enabled for all of our Visual Studio project builds, as the gtk3-demo projects inadvertly disabled it. Also, for x64 builds on MSVC 2012 or later, enable /HIGHENTROPYVA to enhance the security of our binaries as well. Pointed out by Ignacio Casal Quinteiro. build/win32/vs10/gtk3-build-defines.props | 4 ++++ build/win32/vs10/gtk3-demo.vcxprojin | 4 ---- build/win32/vs9/gtk3-demo.vcprojin | 4 ---- 3 files changed, 4 insertions(+), 8 deletions(-) commit d6e011afa6c52592f8ec1db246fa0f12d454f22e Author: Kukuh Syafaat Date: Fri Oct 20 05:53:07 2017 +0000 Update Indonesian translation po/id.po | 489 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 262 insertions(+), 227 deletions(-) commit 26ff667901ddf77ee484556148e46eaeaedeae9d Author: Michael Catanzaro Date: Thu Oct 19 19:47:30 2017 -0500 Revert "gdk/wayland: Avoid idempotent wl_subsurface.set_position calls" This reverts commit 8aa6d59b7a214ba03a83bcae8c43712f8e402927. This caused a regression in totem that still needs to be investigated. https://bugzilla.gnome.org/show_bug.cgi?id=784314 gdk/wayland/gdkwindow-wayland.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 9b874a40ac11d36b9eefb955593281a17b25691a Author: Carlos Garnacho Date: Thu Oct 19 13:55:34 2017 +0200 gtkwidget: Emulate motion before button press on fallback touch handler The code has been shuffled so GDK_TOUCH_BEGIN results in a GDK_MOTION_NOTIFY to the new position and a GDK_BUTTON_PRESS on that same place. This makes pointer emulation consistent with what X11 does. Even though button presses have x/y arguments, there's code out there relying on getting prior motion events. gtk/gtkwidget.c | 56 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 25 deletions(-) commit 29c4d0a3ee410bb6fc2338fa326adf4065db3d78 Author: Debarshi Ray Date: Wed Oct 18 15:35:19 2017 +0200 GtkGestureZoom: Don't leak the list of sequences https://bugzilla.gnome.org/show_bug.cgi?id=789149 gtk/gtkgesturezoom.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 45198d2312d5aaa7c61f6f36a08c21b503931383 Author: Timm Bäder Date: Tue Oct 17 08:49:06 2017 +0200 emojichooser: Plug memory leak gtk/gtkemojichooser.c | 1 + 1 file changed, 1 insertion(+) commit 6a4be7f56bfa7eaa34d04603f0b7fb9c729fc8ac Author: Julian Sparber Date: Mon Aug 7 23:33:42 2017 +0200 icon-browser: Add scalable icons to icon detail modal window When making mockups for GNOME apps in Inkscape, looking for symbolic icons is a common task. Searching for icons in the file system is clumsy, and icon-browser provides a much better interface for finding them. However, currently there is no way to insert the symbolic icons as SVG directly from icon-browser, so right now it is only useful for finding the name. This patch adds a sixth column to the modal window that appears when clicking a symbolic icon. The icon in this column is labeled "scalable", and dragging it onto another window results in the vector icon URI being inserted. This enables a much simpler workflow when designing with symbolic icons. https://bugzilla.gnome.org/show_bug.cgi?id=778930 demos/icon-browser/iconbrowserwin.c | 65 +++++++++++++++++++++++++++++++++++++ demos/icon-browser/window.ui | 43 +++++++++++++++++++----- 2 files changed, 100 insertions(+), 8 deletions(-) commit 8aa6d59b7a214ba03a83bcae8c43712f8e402927 Author: Carlos Garnacho Date: Fri Oct 6 01:06:03 2017 +0200 gdk/wayland: Avoid idempotent wl_subsurface.set_position calls These may not result on wl_surface.frame callbacks, yet we do trigger a frame clock tick that would get stuck on the lack of such callback. https://bugzilla.gnome.org/show_bug.cgi?id=784314 gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ebb67175e278bf0a9ecdbc161015df9efa061cc1 Author: Aurimas Černius Date: Sun Oct 15 21:24:22 2017 +0300 Updated Lithuanian translation po/lt.po | 546 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 291 insertions(+), 255 deletions(-) commit 6018f9098e04bcdd0b512770460ac0356942b4a9 Author: Daniel Boles Date: Sun Oct 15 12:55:22 2017 +0100 a11y/entry: Fixups for previous commit We still declare all variables at the start of the block. Also, we can use the fast private _gtk_widget_get_allocation(). https://bugzilla.gnome.org/show_bug.cgi?id=784509 gtk/a11y/gtkentryaccessible.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit a2d78a2de72b84902a3ca21803ce334eb38743bd Author: Samuel Thibault Date: Thu Oct 5 15:49:00 2017 +0000 a11y/entry: Fix text coords not adjusted for alloc What is missing is the "allocation" part of x/y coordinates. Since gtk_entry_realize doesn't call gtk_widget_set_window(priv->text_area), the coordinates returned by gdk_window_get_origin don't include it. This patch fixes this. https://bugzilla.gnome.org/show_bug.cgi?id=784509 gtk/a11y/gtkentryaccessible.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 8db97768758dc4dc1f30abc849d6a0e9f74d3aaf Author: Timm Bäder Date: Sun Oct 8 20:15:39 2017 +0200 scalebutton: Fix comparison for empty icon list https://bugzilla.gnome.org/show_bug.cgi?id=786220 gtk/gtkscalebutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 91064360037fed243af588807e49e10ab6683dcb Author: Daniel Boles Date: Sat Oct 14 18:45:20 2017 +0100 Range: Fix inverted horizontal scroll wheel events Bug 737175 aimed to ensure that scrolling up on a horizontal range would result in its value increasing, as that’s what users intuitively expect. However, its commit 416c370da1d2eff2458e4a0c5b8e504cd8061559 meant that, if the event gives scroll deltas, we inverted our delta unconditionally. So it broke horizontal scrolling: scrolling left moved the slider right… We must only invert if using dy as delta. dx already has the right sign, so inverting it was wrong. https://bugzilla.gnome.org/show_bug.cgi?id=788905 gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2575a500be43b1b3aaa1bd654f0de0b67f7039be Author: gogo Date: Sat Oct 14 16:37:05 2017 +0000 Update Croatian translation po/hr.po | 525 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 280 insertions(+), 245 deletions(-) commit 841b879aed6efa4c087c7b7ffc8bdb12379d7640 Author: Christian Kirbach Date: Sat Oct 14 12:44:32 2017 +0000 Update German translation po/de.po | 543 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 289 insertions(+), 254 deletions(-) commit 7fe07ea9062e1c3ef1f540239527c869c3d2b69b Author: Emmanuele Bassi Date: Fri Oct 13 10:55:00 2017 +0100 Fix previous commit The _gtk_widget_get_parent() private accessor is defined inside gtkwidgetprivate.h. gtk/gtkfixed.c | 1 + 1 file changed, 1 insertion(+) commit 81b7f76cb825a4bbb59c759b0f117b76155e5df8 Author: Daniel Boles Date: Thu Oct 12 14:05:09 2017 +0100 Fixed: If can’t add child, don’t add to child info If the call to set_parent() failed, we were still adding the child to the internal list of children, despite that it was not really added. That meant we could later try to do invalid stuff with that non-child. Fix that by asserting and giving up if the child that the user is attempting to add is already parented. https://bugzilla.gnome.org/show_bug.cgi?id=701296 gtk/gtkfixed.c | 1 + 1 file changed, 1 insertion(+) commit 567ef528e55bb56be9f10b41f6bae72c30ec5ba8 Author: Daniel Boles Date: Fri Oct 13 09:49:34 2017 +0100 Fixed: Don’t dereference before typechecking gtk/gtkfixed.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c4b75b0fff4d6c473fc74d69b31e5954be39340e Author: Daniel Boles Date: Fri Oct 13 00:24:22 2017 +0100 icon-browser: Stop repeating folder-documents too demos/icon-browser/icon.list | 1 - 1 file changed, 1 deletion(-) commit 1c386461221547751a3f6b1c231a357e24f3ba9e Author: Dušan Kazik Date: Thu Oct 12 20:40:00 2017 +0000 Update Slovak translation po/sk.po | 563 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 299 insertions(+), 264 deletions(-) commit 8281c57d28cc6394e4a5e9d49948984048e41860 Author: Balázs Meskó Date: Thu Oct 12 19:35:05 2017 +0000 Update Hungarian translation po/hu.po | 549 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 291 insertions(+), 258 deletions(-) commit 491eea568011fbafe15b99b6a20a512e76b309e2 Author: Daniel Boles Date: Thu Oct 12 19:40:19 2017 +0100 StyleContext: Fix CSS snippet language, node names The language is useful for parsing tools, such as that of gtkmm, which otherwise assumes these are C snippets and elides them from its generated documentation. The old GtkBlah node names are just plain obsolete. gtk/gtkstylecontext.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit b1cb34cbbbbbd266157f78ab6fce5693147dee2e Author: Daniel Boles Date: Wed Oct 11 22:35:31 2017 +0100 Settings: Mention Shift+primary click on Range too This already existed, and since this doc blurb is already inflating dramatically, what’s another half a line? gtk/gtksettings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 694686d2ed24a6bd9ea85b05a8bf271ed7af2f02 Author: Daniel Boles Date: Wed Oct 11 21:23:20 2017 +0100 Settings: Reflect resurrected middleclick in Range and while here, make the explanation more explicit as to which values do what, & use general Range terminology instead of focussing on scrollbars https://bugzilla.gnome.org/show_bug.cgi?id=787669 gtk/gtksettings.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 5b2cae6703d8a55e047ef2d830dbe80c392feac7 Author: Matthias Clasen Date: Wed Oct 11 14:07:53 2017 -0500 range: Bring back middle clicks It does not hurt us to keep middle clicks doing the same as shift-primary clicks. This makes the transition from gtk2 less painful in terms of muscle memory. https://bugzilla.gnome.org/show_bug.cgi?id=787669 gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ca4efb0080a1321ab77e4070bf6938a3d14712f5 Author: Timm Bäder Date: Wed Oct 11 13:01:27 2017 +0200 bindings: Fix code snippet Just use a more realistic example, adapted from gtklistbox.c gtk/gtkbindings.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 7525a11a30b728bafcfa8ea2773ee1870aa7ca9e Author: Timm Bäder Date: Wed Oct 11 12:56:42 2017 +0200 accellabel: Fix code snippet gtk/gtkaccellabel.c | 2 ++ 1 file changed, 2 insertions(+) commit 8169d6703a328fcb6e738cd4771c62ff6c31b3bd Author: Timm Bäder Date: Wed Oct 11 12:55:01 2017 +0200 aboutdialog: Fix code snippets Define all variables and fix a missing comma in the first gtk_show_about_dialog call. gtk/gtkaboutdialog.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 413d548eddd16b3ba1866a1858498ac6a7b28ca0 Author: Timm Bäder Date: Wed Oct 11 12:41:47 2017 +0200 applicationwindow: Fix code sample Declare all variables, use proper GtkApplication constructor and the right GTK_APPLICATION() cast for gtk_application* API. gtk/gtkapplicationwindow.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit a54550db7b0a07ac66e4c9b130d94d94e0302d77 Author: Daniel Boles Date: Wed Oct 11 21:13:49 2017 +0100 ToggleButton: Actually show buttons in new snippet Also, create a Window, instead of a Dialog without a transient parent, which is (noisily) discouraged. Then s/content_area/box/g to match. gtk/gtktogglebutton.c | 59 ++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 29 deletions(-) commit b0fe89d85ff1c24b8f17a43ac5f62d838bb55393 Author: Timm Bäder Date: Wed Oct 11 12:35:55 2017 +0200 togglebutton: Fix code snippet Remove gtk_box_pack_start usage, gtk_dialog_get_content_area, fix wrong gtk_dialog_new parameters and actually add a output_state callback. gtk/gtktogglebutton.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 3973da4c6504797defc72eb9500e7144bf8227ef Author: Timm Bäder Date: Wed Oct 11 12:18:22 2017 +0200 label: Make all code snippets properly compile gtk/gtklabel.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit 7961e61c3b9e052b0725ccf28665796a7d467e43 Author: Robert Ancell Date: Tue Sep 26 15:31:44 2017 -0400 gdk: Fix gdk_screen_get_monitor_workarea not returning work area This was introcuced in the commit 0611cb4823c (GTK+ 3.22). gdk/gdkscreen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 112a61a78281243cb4d63f01c9527aee80711d47 Author: Robert Ancell Date: Thu Jun 8 12:08:22 2017 +1200 icon-theme: Show filename attempted when icon fails to load gtk/gtkicontheme.c | 1 + 1 file changed, 1 insertion(+) commit b21bb316bde66042fc8437513776913774abbf95 Author: Robert Ancell Date: Thu Jun 8 11:29:09 2017 +1200 iconhelper: Show error if fail to load placeholder icon gtk/gtkiconhelper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ff6b31da2319038bbec843f48879084bf0b96e90 Author: Milo Casagrande Date: Wed Oct 11 14:06:40 2017 +0000 Update Italian translation po/it.po | 465 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 250 insertions(+), 215 deletions(-) commit 8439f06500ba4e6f4a7b52351e67c579509ef903 Author: Benjamin Otte Date: Tue Oct 10 21:00:46 2017 +0200 cssnode: Don't put wrong styles in the style cache ~Company ╡ so TL;DR: we put the static style in the cache, but then ⤷ ╡ compute a child style from the animated style in the cache ⤷ ╡ and we put the child style also in the cache (because ⤷ ╡ it's not animated) ⤷ ╡ then we run the animation, but reuse the cache every time ⤷ ╡ for both child and parent ⤷ ╡ so after the animation is done, we end up with a cache that ⤷ ╡ has the correct static style for the parent but an ⤷ ╡ incorrect static style for the child ⤷ ╡ because that static style was computed from the ⤷ ╡ initial animated style This fixes https://bugzilla.gnome.org/show_bug.cgi?id=763517 gtk/gtkcssnode.c | 4 ++++ 1 file changed, 4 insertions(+) commit f50f3e2a9008b92180dacf1703d1b90dca9a902b Author: Emmanuele Bassi Date: Tue Oct 10 10:19:53 2017 +0100 docs: Clarify the visibility of buttons in GtkStackSwitcher If a page in the GtkStack is not visible, then the GtkStackSwitcher won't show a button for it. gtk/gtkstackswitcher.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit e06bce76315037091cc28a816428bad4f0d70f68 Author: Emmanuele Bassi Date: Thu Sep 7 10:46:45 2017 +0100 docs: Update the deprecation annotation for gtk_paint_spinner() Bring it in line with the deprecation warning in the header. https://bugzilla.gnome.org/show_bug.cgi?id=782396 gtk/deprecated/gtkstyle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit de03dc969e20b61d56fc80e5946f751e02a31b5e Author: Rafael Fontenelle Date: Tue Oct 10 01:37:57 2017 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 470 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 253 insertions(+), 217 deletions(-) commit c832ee7092960e9483116c4519e7322027f7fc0e Author: Anders Jonsson Date: Mon Oct 9 23:16:07 2017 +0000 Update Swedish translation po/sv.po | 465 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 250 insertions(+), 215 deletions(-) commit e0e57191f28cfc813b6b368299cca085570338b4 Author: Marek Cernocky Date: Mon Oct 9 21:31:30 2017 +0200 Updated Czech translation po/cs.po | 463 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 249 insertions(+), 214 deletions(-) commit 030eb106df434cd17db460332040b93eb6910b81 Author: Matej Urbančič Date: Mon Oct 9 20:56:15 2017 +0200 Updated Slovenian translation po/sl.po | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 7f120279def4278a392af9f6476960ee0415d294 Author: Matej Urbančič Date: Mon Oct 9 20:54:12 2017 +0200 Updated Slovenian translation po/sl.po | 628 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 344 insertions(+), 284 deletions(-) commit 38892b634168457cc093ec53676bd59ba8763c58 Author: Piotr Drąg Date: Mon Oct 9 20:39:31 2017 +0200 Update Polish translation po/pl.po | 339 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 187 insertions(+), 152 deletions(-) commit b6829dea0f8d57c668470f03959a14065a828a8e Author: Piotr Drąg Date: Sun Oct 8 01:05:22 2017 +0200 gdk: Translate some more key names These are used in the Keyboard panel of GNOME Settings. https://bugzilla.gnome.org/show_bug.cgi?id=787866 gdk/keyname-table.h | 13 ++++++++++--- gdk/keynames-translate.txt | 7 +++++++ 2 files changed, 17 insertions(+), 3 deletions(-) commit 52e3c095bfdfb697e33509e0cef3bb5bf5ed7625 Author: Marek Kasik Date: Wed Aug 30 17:56:00 2017 +0200 printing: Don't show duplicate printers Check UUID for printers obtained via DNSSD whether they are already installed on local CUPS server. Don't show such printers. Not all printers published via DNSSD have UUID entry though. https://bugzilla.gnome.org/show_bug.cgi?id=786794 modules/printbackends/cups/gtkprintbackendcups.c | 64 +++++++++++++++++++++++- modules/printbackends/cups/gtkprintercups.c | 2 + modules/printbackends/cups/gtkprintercups.h | 1 + 3 files changed, 66 insertions(+), 1 deletion(-) commit f29007c177deb21b197c11f6b4bce83f85dc1c81 Author: Daniel Boles Date: Sun Oct 8 23:32:44 2017 +0100 Popover: Complete depr docs of transitions-enabled Its getter and setter are deprecated, so copy in the blurb from there. gtk/gtkpopover.c | 4 ++++ 1 file changed, 4 insertions(+) commit cbe009fe904ba78d9215b0dda3d79bcf5a1b016e Author: Daniel Boles Date: Sun Oct 8 22:19:13 2017 +0100 Dialog: Clarify that response ID 0 is not reserved I only got so far in math, but it looks to me like zero isn’t positive. We don’t reserve it, so be clear about that. gtk/gtkdialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f805d1bd93ee81b7bd8babfd02bc009e6018b0b Author: Daniel Boles Date: Sun Oct 8 21:07:55 2017 +0100 MenuButton: Document the correct no-direction icon Document open-menu-symbolic, which we use, not view-context-menu, which does not exist. gtk/gtkmenubutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8dfce0eacbc8f8ae7360bf99ee5c7232eb5f7d45 Author: Руслан Ижбулатов Date: Fri Sep 29 12:50:03 2017 +0000 GDK W32: Correctly report window position in HiDPI mode Window position returned by get_frame_extents() should be scaled. Also take this opportunity to apply the same rounding that X11 backend applies. https://bugzilla.gnome.org/show_bug.cgi?id=788053 gdk/win32/gdkwindow-win32.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) commit 233f49ddcb15ee1737cc9fc05300672bb8084bfb Author: Daniel Boles Date: Sun Oct 8 14:07:29 2017 +0100 Adwaita/README: Don’t bother mentioning parse-sass Assume no one wants to make a change without testing it in GTK+… If anyone has a reason to do this, they’ll be able to figure it out. gtk/theme/Adwaita/README | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 4515c727068e0854e6d5594da47949a4a96f13bf Author: Daniel Boles Date: Sun Oct 8 13:59:30 2017 +0100 Adwaita/README: Update to reflect we use sassc now We moved from the Ruby compiler to sassc in commit 67953e9cfb5dec4a509525fd572c3d21c38d8cff, so this copies across the updated info about building from GTK+ 4. Also, explain the purpose of parse-sass.sh, since while that is not mentioned in GTK+ 4 – and perhaps does not need to be, thanks to Meson – we are still on Autotools here, and rebuilding the entirety of GTK+ 3 if you only edited the CSS is a lot of waiting for no good reason. gtk/theme/Adwaita/README | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit 30effaf7fc576bb84688a3978d0c608a6d02e8f4 Author: Daniel Boles Date: Sun Oct 8 13:15:33 2017 +0100 testmenubutton: Fix inverted keynav in the GtkMenu GtkMenu’s own keynav code, which actually bothers to account for the layout of items, only happens if columns > 1. So, adding items to 1 column using a reverse loop meant they were placed in the Menu’s list of children in that order, and because we only have 1 column, Menu passes keynav up to MenuShell, which doesn’t adjust for the items’ positions. ‘Fix’ that here by adding items in the same order they’ll have when laid out in the Menu, so keynav does what you’d expect, not the opposite. For that, it’s simpler just to use gtk_container_add(). Let’s presume users are using add(), attach() with a non-inverted loop, or attach() with arguments that create 2+ columns and so GtkMenu keynav. tests/testmenubutton.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 26046c2afdc6247097f12609e7df393de42b04c8 Author: Daniel Boles Date: Sat Oct 7 01:27:05 2017 +0100 HC: Avoid inflated titlebar separator in GEdit etc It was selecting paned separator, which means any separator at any level of descent within a paned, including the toplevel container in GEdit. We need to be more specific and only select the relevant separator that is the direct child of the paned. This is what Adwaita does. https://bugzilla.gnome.org/show_bug.cgi?id=788573 gtk/theme/HighContrast/_common.scss | 17 +++++++++++------ gtk/theme/HighContrast/gtk-contained-inverse.css | 14 +++++++------- gtk/theme/HighContrast/gtk-contained.css | 14 +++++++------- 3 files changed, 25 insertions(+), 20 deletions(-) commit c0c23f7d447d5d94468abbc0717aaff342fc14c7 Author: Daniel Boles Date: Fri Oct 6 20:24:49 2017 +0100 TreeViewCol: Fix SEGV on remove/add, + memory leak Nulling priv->button in _unset_tree_view() is asymmetrical: we create it via init(), not _set_tree_view(), so we shouldn’t null in the latter. Worse, doing so manifests in criticals + a SEGV easily with basic use of testtreecolumns, removing the TVC from a TV then trying to add it to one Finally, the wrong null-out meant dispose() failed to unref the button, so it leaked. https://bugzilla.gnome.org/show_bug.cgi?id=728452 https://bugzilla.gnome.org/show_bug.cgi?id=788614 gtk/gtktreeviewcolumn.c | 1 - 1 file changed, 1 deletion(-) commit 08187aeec5fdd94025054eb39c940f98a81100d5 Author: Daniel Boles Date: Fri Oct 6 20:24:01 2017 +0100 TreeViewCol: Don’t try to disconnect null treeview https://bugzilla.gnome.org/show_bug.cgi?id=788614 gtk/gtktreeviewcolumn.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 7997a722a185175ee6c6d5f3f13c34d8a3a7c7f6 Author: Daniel Boles Date: Fri Oct 6 19:32:50 2017 +0100 iconbrowser: Don’t repeat folder-download-symbolic It was in both [general] with a description and [other] with none. Leave it in [other] with the other folder- icons, + the description. bonus: this makes all of [general] fit in our default window size! demos/icon-browser/icon.list | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 13c63106889b847be8068137d00c2d7e2d6cfca5 Author: Timm Bäder Date: Fri Oct 6 17:35:28 2017 +0200 modelbutton: set_relative_to(NULL) the popover in dispose We do set_relative_to(menu_button) when creating it so we should do this here (or nothing). gtk/gtkmenubutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b45aa63b756abbbcf2f493e72b980437ef84dd2f Author: Daniel Boles Date: Fri Oct 6 21:34:03 2017 +0100 FileChooserButton: Avoid unref()ing a null model Otherwise simply closing the widget-factory would give a critical from g_object_unref(). gtk/gtkfilechooserbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b94bfb167814a83e251e4e66c5774d4ac752b624 Author: Timm Bäder Date: Fri Oct 6 17:14:31 2017 +0200 filechooserbutton: Don't leak priv->model gtk/gtkfilechooserbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit b3f4da0439761b32369315afbcad57d0a9bbbae0 Author: Timm Bäder Date: Fri Oct 6 16:30:31 2017 +0200 applicationwindw: Don't leak show-help-overlay action gtk/gtkapplicationwindow.c | 1 + 1 file changed, 1 insertion(+) commit 183c23d710ef7d7a13342f32474e37417b909e54 Author: Timm Bäder Date: Fri Oct 6 16:30:20 2017 +0200 widget-factory: Don't leak GPropertyAction instances demos/widget-factory/widget-factory.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit fa04eb26d7c0a551aec37ce657be7c237482c7b7 Author: Daniel Boles Date: Fri Oct 6 02:32:37 2017 +0100 HC: Add border/hilight when hovering flat buttons The border and icon highlight are useful feedback that was defeated by CSS precedence. It worked for .titlebuttons due to their implementation, but the same was not true for custom .flat buttons. This makes it so. https://bugzilla.gnome.org/show_bug.cgi?id=788580 gtk/theme/HighContrast/_common.scss | 3 ++- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit 61137ae163c673f6dda853c0a1cd905069b8bc1c Author: Daniel Boles Date: Fri Oct 6 02:15:59 2017 +0100 HC: Flat titlebuttons became non-flat in backdrop When the window was backdropped, they suddenly regained their border. This was clearly not intentional or of any practical use to anyone. Shuffle around some selectors so that the backdrop ones do not override the flat ones and make the borders magically reappear when backdropped. Note that, whereas standard titlebuttons get the border on :hover, other .flat buttons in the headerbar do not. That should probably be fixed too https://bugzilla.gnome.org/show_bug.cgi?id=788580 gtk/theme/HighContrast/_common.scss | 53 ++++++++++++------------ gtk/theme/HighContrast/gtk-contained-inverse.css | 24 +++++------ gtk/theme/HighContrast/gtk-contained.css | 24 +++++------ 3 files changed, 51 insertions(+), 50 deletions(-) commit 7fc09f18a32cf38abfbecc45c5d6b7af459244fa Author: Daniel Boles Date: Fri Oct 6 01:27:14 2017 +0100 ComboBox: Don’t let modes disconnect each other …from priv->button. My refactor to g_signal_disconnect_by_data() included this widget, when I shouldn’t have as both modes use it. This e.g. broke opening a CB by keyboard that was currently in menu mode, if it had been in list mode initially (e.g. due to the theme). Fix by moving to disconnect_by_func() and only removing in each mode’s destroy() method the signals that it set on the button in its setup(). https://bugzilla.gnome.org/show_bug.cgi?id=788577 gtk/gtkcombobox.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 6c3d17b867c73de1a3c8d8723fcc5815318046b0 Author: Daniel Boles Date: Fri Oct 6 00:36:01 2017 +0100 HighContrastInverse: Make window borders visible They were hard-coded to a transparent black, but that is our bg colour in HC Inverse, so windows stacked on top of each other or a dark background blended together into a mush. Fix this by making the $_wm_border* colours relative to the fg colour, so that HighContrastInverse gets borders that are transparentised white. https://bugzilla.gnome.org/show_bug.cgi?id=788575 gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) commit 3a0ea4e0d2fac99e3866c411910b5977dff9a475 Author: Daniel Boles Date: Fri Oct 6 00:20:25 2017 +0100 HC: Fix MessageDialog’s rounded bottom borders A missing decoration selector meant that we got a solid black background behind the rounded corners of the dialog. Copy the equivalent code from Adwaita, including nicely rounding the focus outline too (& sorry, but this needs more newlines to be readable) https://bugzilla.gnome.org/show_bug.cgi?id=788574 gtk/theme/HighContrast/_common.scss | 39 +++++++++++++++++++++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 8 +++-- gtk/theme/HighContrast/gtk-contained.css | 8 +++-- 3 files changed, 45 insertions(+), 10 deletions(-) commit d9df5dfa744d862e6e4030d43cc1386bef63de35 Author: Daniel Boles Date: Thu Oct 5 21:49:11 2017 +0100 HighContrast: Fix titlebar containing >1 headerbar by migrating the relevant code from Adwaita, to dodge unwanted doubling up of the bottom border and such. It also hopefully still encompasses whatever commit b4371728deda7041ec309a517e221b0e68768a94 was trying to do; certainly, it retains the resolution of the main bug/patch that one was attached with. https://bugzilla.gnome.org/show_bug.cgi?id=769877 gtk/theme/HighContrast/_common.scss | 17 ++++++++++- gtk/theme/HighContrast/gtk-contained-inverse.css | 36 +++++++++++++----------- gtk/theme/HighContrast/gtk-contained.css | 36 +++++++++++++----------- 3 files changed, 54 insertions(+), 35 deletions(-) commit 8abdbfee1642332688f030f53d22b995a21ce814 Author: Daniel Boles Date: Thu Oct 5 19:09:19 2017 +0100 HC: Copy working tooltip code from Adwaita & tweak There were various problems, like only selecting on .tooltip and not the widget node tooltip, not being specific enough for tooltip.csd, etc. So, specific theming was absent, and default popup window styles got applied This commit copies in the better working tooltip CSS from Adwaita, but applies a couple of changes to make it work better in the HC themes: • Reduce the transparency of the tooltip, so we achieve higher contrast • Drop the black text-shadow, as it is not useful on this more black bg Note: we may then need to re-add some of this to the .tooltip class. But it is unclear what needs done there. While Adwaita is not doing it, we are better not to confuse by keeping it in HC only; we should try to be as close as possible, to make it easier for HC to keep up with Adwaita. https://bugzilla.gnome.org/show_bug.cgi?id=769879 gtk/theme/HighContrast/_common.scss | 31 +++++++++++++++--------- gtk/theme/HighContrast/gtk-contained-inverse.css | 10 +++++--- gtk/theme/HighContrast/gtk-contained.css | 10 +++++--- 3 files changed, 34 insertions(+), 17 deletions(-) commit acab79040a51780cb80eeb44df31394d31dbb763 Author: Timm Bäder Date: Thu Oct 5 10:16:18 2017 +0200 switch: Fix int/double comparison We get a double coordinate. gtk/gtkswitch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 070af44fc77ca68c1d915767de589edaa29cf96f Author: Timm Bäder Date: Tue Oct 3 17:59:47 2017 +0200 appchooserdialog: Remove unused macro gtk/gtkappchooserdialog.c | 2 -- 1 file changed, 2 deletions(-) commit 18b8b2b8e8dd883dc938f50a646710d0a5ad5301 Author: Timm Bäder Date: Tue Oct 3 10:55:19 2017 +0200 combobox: Remove unneeded queue_resize call The remove/add/set_parent/unparent calls in there already do the necessary work. gtk/gtkcombobox.c | 1 - 1 file changed, 1 deletion(-) commit ee5b76224636b85dd93798c51ceeb1266c7dbc86 Author: Xavi Ivars Date: Thu Oct 5 18:06:25 2017 +0200 [l10n] Updated Catalan (Valencian) translation po-properties/ca@valencia.po | 5591 ++++++++++++++++++++++++------------------ po/ca@valencia.po | 5085 +++++++++++++++++++++++--------------- 2 files changed, 6327 insertions(+), 4349 deletions(-) commit 34cd1e3e5e483a000f102569abb6ecdce161f829 Author: Daniel Boles Date: Thu Oct 5 01:31:39 2017 +0100 ComboBox: list: Don’t leak path on expand/collapse Determining that we clicked on the expander means that we had a valid path, so we still need to free that, even though we’re not selecting it. https://bugzilla.gnome.org/show_bug.cgi?id=788505 gtk/gtkcombobox.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit b0e18d676ead753a50cbe1c22060007cd04d0ea2 Author: Daniel Boles Date: Thu Oct 5 00:24:26 2017 +0100 HighContrast: Correctly select window decoration We need .window-classes decoration but within the decoration parent selector, we were doing &.window-classes, which gave us decoration.window classes We need to fix this by selecting on .window-classes & https://bugzilla.gnome.org/show_bug.cgi?id=788496 gtk/theme/HighContrast/_common.scss | 26 +++++++++++++----------- gtk/theme/HighContrast/gtk-contained-inverse.css | 8 ++++---- gtk/theme/HighContrast/gtk-contained.css | 8 ++++---- 3 files changed, 22 insertions(+), 20 deletions(-) commit 512a33fee123409a6d6a231d2e3f56b22555e42b Author: Daniel Boles Date: Wed Oct 4 22:24:49 2017 +0100 updateiconcache: Avoid confusing loop construct n_attach_points is the result of g_strv_length(): the index at which the string vector ends in NULL. So by definition, when i == n_attach_points, string[i] == NULL, and there is no need to check for the latter. The fact that we did appears to confuse static analysers, as the dereference and index check were inverted from what would normally be safe. We could reverse them, but we may as well just remove the unnecessary NULL check. https://bugzilla.gnome.org/show_bug.cgi?id=788458 gtk/updateiconcache.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 367ff368f26e72221b361c6e5cb0ad56edb561b6 Author: Colomban Wendling Date: Thu Feb 16 17:36:17 2017 +0100 Enter submenus when activating their parent item This gives consistent behavior with e.g. Qt, Mozilla's suites and LibreOffice (with non-truly native backends like "gen" and "gtk", but unlike "gtk2" and "gtk3" ones that probably use true GTK menus). This behavior is expected by at least some accessibility users, and it seems good to behave like other common applications and toolkits in this area. There should be no issue in doing so either for current users, as it only enters the submenu instead of not doing anything. https://bugzilla.gnome.org/show_bug.cgi?id=778811 gtk/gtkmenushell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a8df958c07fcb396bba0e7aec75ab39e7876a9a0 Author: Daniel Boles Date: Wed Oct 4 21:45:50 2017 +0100 ComboBox: Don’t pile up ::grab-broken handlers It was connecting a new handler to do the same thing every time it popped up, never disconnecting between. Just connect once in init(). gtk/gtkcombobox.c | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) commit 6c5b2846156ab04fa409ac11353a2f9c71b2ae7c Author: Daniel Boles Date: Wed Oct 4 21:14:20 2017 +0100 ComboBox: list: Make the popup_window modal This seems to fix 2 bugs in list-mode ComboBoxes: failure to close the popup upon clicking out of it, and failing to receive mouse input in the popup of a CB contained within a modal parent window. https://bugzilla.gnome.org/show_bug.cgi?id=738387 https://bugzilla.gnome.org/show_bug.cgi?id=776793 gtk/gtkcombobox.c | 1 + 1 file changed, 1 insertion(+) commit b92234be08d1575aeb6957be656a09f1e4f624c2 Author: Daniel Boles Date: Wed Oct 4 21:08:09 2017 +0100 Revert "Revert "combobox: remove superfluous GTK+ grabs"" This reverts commit 13017239055dc492f7e5cdeae63f01e6e820da4e. This only appeared to fix the two bugs it linked because, rather than being superfluous, the GTK+ grabs resulted in effectively having *none*, or something, and could cause a critical when closing during a scroll. This also reverts commit b9989e554b3ccd122b1726f2b7d128638c3b5ca4, which depended on the above. See next commit, which *should* properly fix what this one claimed to… https://bugzilla.gnome.org/show_bug.cgi?id=787274 gtk/gtkcombobox.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit a20ff44b09d62d0fd3e36a242a7a68a60553909b Author: Daniel Boles Date: Wed Oct 4 18:54:43 2017 +0100 ComboBox: list: Fix expanding/collapsing tree rows On clicking release, we call TreeView.get_path_at_pos() &, if we hit a row, select it (if sensitive) & close the popup. But this alone does not account for clicks on the expanders within the TreeView, so in addition to expanding/collapsing, clicking them would close the list. Check if the click is in the cell_area() & thus “excluding surrounding borders and the tree expander area” but still including the background (which TreeView.is_blank_at_pos() doesn’t); if TRUE, don’t select/close. The popup doesn’t always resize enough… so there’s still breakage here. The XXX comment on TreeView requests in list_position() may be relevant to this. But at least this drags such CBs one step closer to adequacy: expanding by mouse now works ~no worse~ than by keyboard already did. https://bugzilla.gnome.org/show_bug.cgi?id=788505 gtk/gtkcombobox.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 628ff776d1f598bc24b4d847d10aa673b9c27d10 Author: Daniel Boles Date: Wed Oct 4 20:33:55 2017 +0100 ComboBox: rm pointless ScrolledWindow.set_policy() This just set hpolicy to what it already was and then called set_policy() with the same two arguments again, which did nothing. gtk/gtkcombobox.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 73155e39880a6499fa9ef913138a7d3dce5d003b Author: Georges Basile Stavracas Neto Date: Wed Oct 4 15:33:15 2017 -0300 display-x11: Unset tiled state if _GTK_EDGE_CONSTRAINTS is supported Commit c415bef5de introduced support for the new _GTK_EDGE_CONSTRAINTS atom. If the compositor supports that atom, however, we were always setting the tiled state, even if no actual tiling information is available, where the correct action is to completely remove any traces of the tiled state. Fix that by correctly removing the tiled state when compositor supports _GTK_EDGE_CONSTRAINTS Xatom. https://bugzilla.gnome.org/show_bug.cgi?id=788516 gdk/x11/gdkdisplay-x11.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 7ab6dd64de6c4bfe4172629a99c301c1adfb51eb Author: Georges Basile Stavracas Neto Date: Wed Oct 4 14:46:02 2017 -0300 theme: Fix Adwaita headerbars We were not detecting correctly the cases where we should have a rounded or a squared headerbar. gtk/theme/Adwaita/_common.scss | 32 ++++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 32 insertions(+), 28 deletions(-) commit 77401118c21402e6a8438efb5659facecbb43413 Author: Daniel Boles Date: Wed Oct 4 15:42:18 2017 +0100 Adwaita: Fix typo .backgrounf => .background 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 e72d54c8a7bdf5f41feccbcc0b78522a8b50d79e Author: Matthias Clasen Date: Wed Oct 4 08:09:26 2017 -0400 3.22.24 NEWS | 8 ++++++++ configure.ac | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 899cfb3c50e013589540c59c57ba0dd3722255e7 Author: Matthias Clasen Date: Wed Oct 4 07:34:30 2017 -0400 Fix several issues with resizing Some of the border windows were not placed correctly. Patch by Jan Steffens. gtk/gtkwindow.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) commit 223a709403c7947758b0990fb3c2478d9a4a4704 Author: Matthias Clasen Date: Wed Oct 4 07:34:05 2017 -0400 wayland: Fix a typo We were not setting the right tiling hint in some cases. Patch by Jan Steffens. gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9989e554b3ccd122b1726f2b7d128638c3b5ca4 Author: Daniel Boles Date: Wed Oct 4 12:16:52 2017 +0100 ComboBox: Don’t try to remove grab on NULL device gtk_device_grab_remove() quite rightly expects a non-NULL GdkDevice, and we already have a branch ensuring that, into which we can move this call gtk/gtkcombobox.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit fa4d814462ff1778dc9ebad541e985b2ea0ffbe3 Author: Daniel Boles Date: Wed Oct 4 12:02:55 2017 +0100 TreeMenu: Remove accidentally duplicated doc lines Not that it actually matters, as this is not public anymore, but this was done accidentally. Also, sync a property description to ComboBox. gtk/gtkcombobox.c | 2 +- gtk/gtktreemenu.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) commit 3783934436dfe8b75c540a00a6bf688d416b40e7 Author: Daniel Boles Date: Wed Oct 4 10:45:49 2017 +0100 testcombo: Test grid :row- and :column-span-column Ditch two items that were white and so weren’t visible on our standard theme anyway, and use the new space to test extra grid-mode properties. Note that if we do this then, as before, we set the ListStore on the ComboBox before appending to it, that produced runtime warnings like: Gtk-CRITICAL **: gtk_menu_attach: assertion 'left_attach < right_attach' failed I didn’t look into that yet, but it may indicate that attaching items vs. recognising their spans don’t occur in the correct order. For the purposes of testing this, I just create the CB after filling its model. tests/testcombo.c | 50 +++++++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 23 deletions(-) commit 4163a536309591915575bf625015dad3c09f946e Author: Daniel Boles Date: Wed Oct 4 10:20:03 2017 +0100 ComboBox|TreeMenu: Slightly clarify wrap-width doc gtk/gtkcombobox.c | 5 ++--- gtk/gtktreemenu.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) commit 7559eaf5f985ef7b01864c8fd592f3211da1ddcc Author: Daniel Boles Date: Wed Oct 4 10:14:42 2017 +0100 ComboBox|TreeMenu: Clarify :row|column-span-column ComboBox and TreeMenu warned in the doc for :row-span-column that the value must not exceed :wrap-width, but :wrap-width does not interact with the number of rows; it’s the :column-span-column that’s relevant. Also: Warn that spans must be > 0 for rows too, and that column spans <= :wrap-width are also not useful for items at menu column positions > 0. Finally, refer to items having spans, not values, as we were already talking about values in the model (and rows in the menu). gtk/gtkcombobox.c | 16 +++++++--------- gtk/gtktreemenu.c | 15 ++++++++------- 2 files changed, 15 insertions(+), 16 deletions(-) commit a5c24729413361bdd3427a8ab248519429583e22 Author: Matthias Clasen Date: Tue Oct 3 22:40:44 2017 -0400 3.22.23 NEWS | 7 +++++++ configure.ac | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit c91a4f31f06103f950a85499d946fb8fa71f1c48 Author: Marco Trevisan (Treviño) Date: Fri Sep 22 22:52:23 2017 +0800 HighContrast: set min-height for headerbars https://bugzilla.gnome.org/show_bug.cgi?id=784562 gtk/theme/HighContrast/_common.scss | 13 +++++++++++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 6 +++++- gtk/theme/HighContrast/gtk-contained.css | 6 +++++- 3 files changed, 23 insertions(+), 2 deletions(-) commit b4371728deda7041ec309a517e221b0e68768a94 Author: Marco Trevisan (Treviño) Date: Fri Sep 22 22:42:36 2017 +0800 HighContrast: don't select .titlebar when is an headerbar https://bugzilla.gnome.org/show_bug.cgi?id=784562 gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 38 ++++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 38 ++++++++++++------------ 3 files changed, 39 insertions(+), 39 deletions(-) commit 79bf5b859289d3fe7d6be450ce5bb8eb14eed2dc Author: Georges Basile Stavracas Neto Date: Fri Aug 18 20:12:23 2017 -0300 window: Add individual CSS classes based on edge constraints The last touch on this patch series is making GtkWindow able to selectively adjust various UI details based on the different tiled edges. The main driver here is that we don't want to show shadows on edges that are constrained. This patch adds the necessary code to do that, while still maintaining compatibility with the old ways. https://bugzilla.gnome.org/show_bug.cgi?id=783669 gtk/gtkwindow.c | 41 +++++++++++++++++++++++--- gtk/theme/Adwaita/_common.scss | 50 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++---- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++---- 4 files changed, 101 insertions(+), 22 deletions(-) commit c415bef5deb533f3ef3e4b31a33821ef2f42ebda Author: Georges Basile Stavracas Neto Date: Fri Aug 18 20:09:15 2017 -0300 x11: Add support for _GTK_EDGE_CONSTRAINTS atom Following the previous patch, where edge constraints support was added to the Wayland backend, this patch introduces the necessary code to handle the _GTK_EDGE_CONSTRAINTS atom from X11 backend. https://bugzilla.gnome.org/show_bug.cgi?id=783669 gdk/x11/gdkdisplay-x11.c | 205 +++++++++++++++++++++++++++++++++++++++++++---- gdk/x11/gdkwindow-x11.h | 3 + 2 files changed, 193 insertions(+), 15 deletions(-) commit 3bae80dfc120287dff4202589db06d92ea50bc38 Author: Georges Basile Stavracas Neto Date: Thu Aug 17 00:35:52 2017 -0300 wayland: consider edge constraints in surface configuration Now that GTK windows have the ability to properly handle per-edge tiling constraints, this patch extends GTK's internal Wayland protocol to have a proper enum with the relevant edge data. Once this approach is validated, we can think of upstreaming this work as an official Wayland protocol extension. https://bugzilla.gnome.org/show_bug.cgi?id=783669 gdk/wayland/gdkdisplay-wayland.c | 4 ++- gdk/wayland/gdkwindow-wayland.c | 54 +++++++++++++++++++++++++++++++++++++- gdk/wayland/protocol/gtk-shell.xml | 20 ++++++++++++-- 3 files changed, 74 insertions(+), 4 deletions(-) commit d73c49ecef7d77f6e89c56459543452e7beab2b3 Author: Georges Basile Stavracas Neto Date: Thu Aug 17 00:30:31 2017 -0300 window: handle tiled edges separately GTK windows don't have their tiling states really hooked into the client-side decoration code, and the only effect it has is disabling the resizing edges. With the introduction of per-edge tiling information, we are backed by much more precise data on how the window manager wants the app to behave. This patch, then, fixes GtkWindow to take into account per-edge tiling information. For compatibility purposes, the previous tiled field was kept, and thing will just continue working if no edge information is supplied. https://bugzilla.gnome.org/show_bug.cgi?id=783669 gtk/gtkwindow.c | 381 ++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 257 insertions(+), 124 deletions(-) commit f1a3bc2f2cac2da965649025b7db7b72238a72e7 Author: Georges Basile Stavracas Neto Date: Thu Aug 17 00:23:07 2017 -0300 gdk: introduce edge constraint states These states will be consumed by GtkWindow in order to have better edge management on tiling situations. Their values are supplied by the compositor, and will be send through and X11 Atom or a Wayland protocol extension. https://bugzilla.gnome.org/show_bug.cgi?id=783669 gdk/gdkevents.h | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) commit 66767adc63dd919504135c04dcbfe57737bac93b Author: Daniel Boles Date: Mon Oct 2 20:22:33 2017 +0100 widget-factory: Demo different Frame border-styles This shows not all, but the interesting/less predictable styles, and the ones that correspond to the :shadow-types that were here before. demos/widget-factory/widget-factory.css | 22 ++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 23 ++++++++++++++++------- 2 files changed, 38 insertions(+), 7 deletions(-) commit 93fc2a8edd85ade8eed004e366d5842acfc2b26d Author: Daniel Boles Date: Mon Oct 2 07:53:44 2017 +0100 Revert "widget-factory: Usefully demo Frame shadow types" This reverts commit 15a3747406b7762518a5e573099786befb7b599d. There is a way to get different kinds of borders: it's CSS. It's better to keep the 4 Frames and demo the different styles we can do using CSS. demos/widget-factory/widget-factory.ui | 39 +++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) commit 1d80453e47b48feb239ff73d56166a39fc3ad8a2 Author: Daniel Boles Date: Mon Oct 2 19:26:22 2017 +0100 Frame: Enhance CSS docs Note optional .flat class and that the old shadow types are replaced by CSS border-style et al.; quote names of nodes & classes for readability. gtk/gtkframe.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 364559b78956a720d65e80d72dfb5c8d2dff2f4f Author: Matthias Clasen Date: Mon Oct 2 12:45:24 2017 -0400 3.22.22 NEWS | 27 +++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 29 insertions(+), 2 deletions(-) commit 142ef42d226b03026ff32ff92727a1bb1463504d Author: Daniel Boles Date: Sun Oct 1 20:22:08 2017 +0100 Widget: Fix obvious copypasto in set_mapped() doc gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82a9331144d70875cdca0a0cde54b602fc85c9d9 Author: Daniel Boles Date: Fri Sep 29 18:13:44 2017 +0100 docs: css-properties: Fix wrongly repeated colour docs/reference/gtk/css-properties.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6547060e93034c1032771a53195bae9e4f74181 Author: Sam Thursfield Date: Mon Sep 25 14:42:46 2017 +0100 flowbox: Fix annotation for GListModel binding callback The GtkFlowBoxCreateWidgetFunc type lacked GObject Introspection annotations for its arguments. This made gtk_flow_box_bind_model() unusable from Python as the callback function would be passed useless values. The annotations that I've added match those of the similar callback type GtkListBoxCreateWidgetFunc. https://bugzilla.gnome.org/show_bug.cgi?id=780758 gtk/gtkflowbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a57630b30cab3d1f2762988fa6c66a0c936bc08a Author: Daniel Elstner Date: Tue Sep 26 21:13:40 2017 +0200 gdk-wayland: Do not leak dummy 1x1 surface on every draw When using EGL, neither leak nor re-create the dummy 1x1 Cairo surface every time gdk_wayland_window_ensure_cairo_surface() is called. https://bugzilla.gnome.org/show_bug.cgi?id=775126 gdk/wayland/gdkwindow-wayland.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 701f82d1c3192fde4a18ee7cd686837ddd798c7b Author: Daniel Boles Date: Sun Sep 24 22:20:34 2017 +0100 Button: Annotate set_image() argument as nullable Passing NULL is valid and results in the image child being unset/removed gtk/gtkbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca4730cc95773f9b57e45ed0fea131611181dc21 Author: Daniel Boles Date: Sun Sep 24 12:02:54 2017 +0100 Label: Replace allow-none with nullable/optional gtk/gtklabel.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 3501a7ea41e57163b37f1ff2cbd46621168b8ddd Author: Timm Bäder Date: Sun Sep 24 18:15:41 2017 +0200 emojichooser: Plug a memory leak gtk/gtkemojichooser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6b899bb782ba6ce32bc6139082e164cdbc1fc49e Author: Andre Klapper Date: Sat Sep 23 23:42:31 2017 +0200 Fix broken translations of 'calendar:' settings (ignored translator comments) po/dz.po | 4 ++-- po/hy.po | 2 +- po/kg.po | 4 ++-- po/km.po | 4 ++-- po/mn.po | 4 ++-- po/my.po | 4 ++-- po/nds.po | 2 +- po/ne.po | 4 ++-- po/si.po | 4 ++-- po/ug.po | 4 ++-- 10 files changed, 18 insertions(+), 18 deletions(-) commit 1b9d1105c3ca8ca7873180f23222e9d9d0b144d1 Author: Arash Mousavi Date: Fri Sep 22 22:54:21 2017 +0330 Update Persian translations po/fa.po | 861 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 466 insertions(+), 395 deletions(-) commit e9570e6084ff807247a1f49ee557bc73205f0101 Author: Daniel Boles Date: Wed Sep 20 23:53:54 2017 +0100 ToolItem: Fix nullable annotation put on wrong arg D’oh gtk/gtktoolitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5c700cf575a341482d802edce999789feb17849a Author: Daniel Boles Date: Tue Sep 5 15:44:00 2017 +0100 gdkseatdefault: Grab touch events where applicable gdk_seat_default_grab() grabs POINTER_EVENTS if the capability is GDK_SEAT_CAPABILITY_ALL_POINTING. But that enumerator is a union that includes GDK_SEAT_CAPABILITY_TOUCH, but we never grabbed TOUCH_EVENTS, an unused macro that was presumably created with this purpose in mind. So, check which of the ALL_POINTING capabilities we have, and set the right mask of POINTER_EVENTS and/or TOUCH_EVENTS as required. As part of this, explicitly let TABLET_STYLUS take over pointer events, as this is the intended behaviour and was the effective result before. This should fix touch events being lost in migrating from Device.grab() to Seat.grab(GDK_SEAT_CAPABILITY_ALL_POINTING), as found by Inkscape. https://bugzilla.gnome.org/show_bug.cgi?id=781757 gdk/gdkseatdefault.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit f6eb767c831611aaa425b8488b8428a7b44aae68 Author: Daniel Boles Date: Wed Sep 20 17:34:43 2017 +0100 Overlay: Document style classes added per position gtk/gtkoverlay.c | 6 ++++++ 1 file changed, 6 insertions(+) commit a33e8053a8cbe681c602dcb9441437dca7e5403f Author: Piotr Drąg Date: Tue Sep 19 02:05:52 2017 +0200 Update Polish translation po/pl.po | 172 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 86 insertions(+), 86 deletions(-) commit 47879de0901bb5521b6fa697be29d0b1adc499f8 Author: Daniel Boles Date: Tue Sep 19 00:05:09 2017 +0100 Window: Clarify documentation of set_application() Clarify that ::destroy, not ::hide*, removes a window from its app, by replacing the mention of open windows with the blurb on destruction from :application, completing commit 7db4bee4b62bc9b6f20ba4e599e8d030314984fd Also link to the equivalent gtk_application_(add|remove)_window() calls, since Application.add_window() already links back to Window:application. * unless you use gtkmm… https://bugzilla.gnome.org/show_bug.cgi?id=639931 gtk/gtkwindow.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 6e42d3a34af1857610cff88559e8fac25d4b8a0f Author: Daniel Boles Date: Tue Sep 19 00:14:41 2017 +0100 PlacesSidebar: Avoid unused mem if !CLOUDPROVIDERS The member GList *cloud_rows is only ever used if HAVE_CLOUDPROVIDERS is defined, so don’t declare it if not. gtk/gtkplacessidebar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c18ac0c4e39c2232614c810c6e742cc577403dec Author: Daniel Boles Date: Tue Sep 12 22:15:27 2017 +0100 PlacesSidebar: Unref cloud_manager in dispose() We ref the CloudProviders singleton in init() but did not unref it in dispose(). Do so, using g_clear_object(). https://bugzilla.gnome.org/show_bug.cgi?id=787600 gtk/gtkplacessidebar.c | 4 ++++ 1 file changed, 4 insertions(+) commit bfe54d1185e218cef1424ba1c561784f6a04e7a5 Author: Daniel Boles Date: Tue Sep 12 21:56:46 2017 +0100 SidebarRow: Unref CloudProvider on change/finalize It was never unref()d, either when replacing the existing GObject in set_property(), cleaning up in finalize(), or becoming a placeholder. Fix by using g_set_object() and g_clear_object() to unref as needed. This also drops the check that the newly set object is a valid cloud provider account, as we don’t do the equivalent for any of the other object-typed properties, and Carlos didn’t think this was important. https://bugzilla.gnome.org/show_bug.cgi?id=787600 gtk/gtksidebarrow.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit c477dad41d237c35d4e69e803606f38c213ad018 Author: Anders Jonsson Date: Mon Sep 18 11:14:19 2017 +0000 Update Swedish translation po-properties/sv.po | 270 ++++++++++++++++++++++++++-------------------------- 1 file changed, 135 insertions(+), 135 deletions(-) commit 30cb5b07544764059aaa211cb733bfeb31fa0265 Author: Daniel Boles Date: Sat Sep 16 17:02:24 2017 +0100 Adwaita: Fix color of focus outline on colorswatch The focus outline disappeared as the colour of the swatch got close to the normal focus outline colour, which is alpha(currentColor, 0.3). Fix by making the outline an alpha’d version of the tick colour, but more opaque than normal outlines. 0.6 seems good enough; feel free to improve it, but at least this ensures the outline can’t vanish anymore. HighContrast achieves this already because it applies the color property to the main node, not the overlay. Doing that means the outline is fully opaque, which is fine for HC obviously but was excessive for Adwaita. https://bugzilla.gnome.org/show_bug.cgi?id=787757 gtk/theme/Adwaita/_common.scss | 24 ++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 24 insertions(+), 8 deletions(-) commit 437ce0197b5a6be71a738bfd477af1d045cb88d5 Author: Daniel Boles Date: Sat Sep 16 15:46:50 2017 +0100 Adwaita: dark: Make colorswatch.light tick visible It used $text_color unconditionally, but in :dark, text is white, so we overlaid a white tick on any light colours, all the way to white itself. Using these named colours doesn’t make practical or semantic sense. Instead, use white/black over dark/light swatches, as in HC, so all variant–swatch combos work. Light looks the same, & :dark works now. For backdrop, use alpha 0.5, unlike 0.7 in HC, as that seemed excessive & different from the current effect. 0.5 is almost identical to how $backdrop_fg_colour is a 50% mix of $fg_color, & matches backdrop text. https://bugzilla.gnome.org/show_bug.cgi?id=787531 gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) commit 009e388bb7adae7088b236dc5f71434c7eabf9fe Author: Daniel Boles Date: Fri Sep 15 18:24:24 2017 +0100 Expander: get_label() return is nullable Also, use gchar to match the header. gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b68892b5bee75ee5cd9e595f76f789f316644f67 Author: Daniel Boles Date: Thu Sep 14 21:19:33 2017 +0100 Expander: Annotate new()’s label arg as nullable to match new_with_mnemonic() gtk/gtkexpander.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b08d11891ea1cbc3a581023f607fc9e91cf66fd Author: Daniel Boles Date: Thu Sep 14 21:19:12 2017 +0100 Expander: Replace (allow-none) with (nullable) The former is deprecated in favour of the latter. gtk/gtkexpander.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4e1e0cf1386840a49d8f4e7a349bdf4a859cad65 Author: Daniel Boles Date: Thu Sep 14 21:11:50 2017 +0100 Expander: Explain how to conditionally style arrow gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f2a4b2f14cb2178266327d2196e3b4c086a6983f Author: Daniel Boles Date: Thu Sep 14 19:22:31 2017 +0100 Spinner: Document how to select on animated in CSS This is not particularly obvious, so it seems worth including. gtk/gtkspinner.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1b08e34c11b3bfdc516bf9d2cfc8d78f46280769 Author: Daniel Boles Date: Wed Sep 13 14:47:40 2017 +0100 gtk-demo/theming: Don’t mislead about raised class This class is not added by any widgets nor themed by Adwaita/HC. However, it is presented here as if it does something. It doesn’t. But we changed the 2 buttons with the .raised class to use symbolic icons, unlike their ‘unraised’ counterparts, which is unnecessarily confusing and might make people think .raised affects icons somehow. So, make them use the same icons in all cases; that way, if .raised is ever made to do anything, 6 years later, what it does will be clear. https://bugzilla.gnome.org/show_bug.cgi?id=644248 demos/gtk-demo/theming.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 142185523420b2d72ef98ff1826db73b39221ada Author: Daniel Boles Date: Thu Sep 14 18:24:25 2017 +0100 gtk-demo/Makefile: Really get deps of C GResource The XML resides in $(srcdir), not $(builddir); it is not a built source. Using the latter, changes to the referenced files did not cause rebuild. demos/gtk-demo/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 15a3747406b7762518a5e573099786befb7b599d Author: Daniel Boles Date: Wed Sep 13 14:37:38 2017 +0100 widget-factory: Usefully demo Frame shadow types Instead of showing the 4 types except for GTK_SHADOW_NONE, which are all treated identically and provide no way for themes to differentiate, just keep 2 Frames, and make one of them GTK_SHADOW_NONE to demo a flat Frame demos/widget-factory/widget-factory.ui | 39 +++------------------------------- 1 file changed, 3 insertions(+), 36 deletions(-) commit 441a144e29939e169cb45e820d3a793d35eca4d9 Author: Daniel Boles Date: Wed Sep 13 14:36:46 2017 +0100 Frame: Add missing fixed-width format to enums gtk/gtkframe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 26104a30a582f62086c6a5410d2aaee6a4c3ff7f Author: Daniel Boles Date: Tue Sep 12 22:48:58 2017 +0100 FlowBox: Explain how to avoid inflated min size along the orthogonal orientation. It seems a FlowBox on its own can only handle being shrunk along its main orientation. The orthogonal requests a huge min size – reserving what it would need if the main orientation got its min size, which would flow all children in 1 line orthogonally. Adding it to a ScrolledWindow (any policy) enables free shrinking, so size_allocate() can reflow how users in this situation probably expect. https://bugzilla.gnome.org/show_bug.cgi?id=787021 gtk/gtkflowbox.c | 4 ++++ 1 file changed, 4 insertions(+) commit e7fbfdd067cd3f811fd657ce3e72f2f73518e987 Author: Hiroyuki Ito Date: Mon Sep 11 12:02:13 2017 +0000 ColorButton: Don’t destroy dialog @ ::delete-event Without specifically connecting ::delete-event to something, the dialog will be destroyed when it is closed, for example by pressing Esc. This meant that when dismissing it this way, unlike by pressing Cancel, any custom palette would be lost when the dialog was next opened, and so on. Resolve this by making ::delete-event just do GTK_RESPONSE_CANCEL, so closing the dialog has the same effect as clicking its Cancel button. https://bugzilla.gnome.org/show_bug.cgi?id=787444 gtk/gtkcolorbutton.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 4b88560feb9e87a7e07c220df23291876cba0ffa Author: Philip Withnall Date: Mon Sep 11 09:26:52 2017 +0100 gtknotebook: Simplify some if-conditions Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=787303 gtk/gtknotebook.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit abef21776d6b2ffa48e29fc4eaa27a38eaa40676 Author: Philip Withnall Date: Mon Sep 11 09:23:17 2017 +0100 gtkmountoperation-x11: Do array length check before dereference Signed-off-by: Philip Withnall https://bugzilla.gnome.org/show_bug.cgi?id=787302 gtk/gtkmountoperation-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 92e309c84cb906de784d49ebe000a16dd95894da Author: Efstathios Iosifidis Date: Tue Sep 12 19:42:33 2017 +0000 Update Greek translation po-properties/el.po | 1300 ++++++++++++++++++++++++++------------------------- 1 file changed, 656 insertions(+), 644 deletions(-) commit 3a88aac5e6dcf9ef9235babf3d1021fe056ff95f Author: Efstathios Iosifidis Date: Tue Sep 12 19:40:44 2017 +0000 Update Greek translation po/el.po | 487 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 270 insertions(+), 217 deletions(-) commit e9bbcf7b1597990bdea7f0714a4a62eb86e00bbc Author: Stas Solovey Date: Tue Sep 12 19:30:36 2017 +0000 Update Russian translation po/ru.po | 558 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 297 insertions(+), 261 deletions(-) commit eeeb8f21e22aca6bbea70d566287e3c19f4cafda Author: Stas Solovey Date: Tue Sep 12 19:15:22 2017 +0000 Update Russian translation po-properties/ru.po | 640 ++++++++++++++++++++++++++-------------------------- 1 file changed, 324 insertions(+), 316 deletions(-) commit d80969ae8e4e6293f6c29ebfeb6ce1a50d0d2daf Author: Cheng-Chia Tseng Date: Tue Sep 12 17:24:00 2017 +0000 Update Chinese (Taiwan) translation po-properties/zh_TW.po | 1145 ++++++++++++++++++++++++------------------------ 1 file changed, 579 insertions(+), 566 deletions(-) commit 9b52ac66fdaff8e5e8da795d4a15d9cc9e9014e3 Author: Cheng-Chia Tseng Date: Tue Sep 12 17:07:41 2017 +0000 Update Chinese (Taiwan) translation po/zh_TW.po | 446 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 214 insertions(+), 232 deletions(-) commit 88152adedd260e7587bd93c2043ecb3274b5314f Author: hanniedu Date: Tue Sep 12 12:38:19 2017 +0200 Updated Dutch translation 3.22 po-properties/nl.po | 1427 ++++++++++++++++++++++++--------------------------- po/nl.po | 839 ++++++++++++++++-------------- 2 files changed, 1126 insertions(+), 1140 deletions(-) commit fad199b4068603b1d822330d98ccfc5f0d761ac5 Author: Matthias Clasen Date: Mon Sep 11 10:49:52 2017 -0400 3.22.21 NEWS | 26 ++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 28 insertions(+), 2 deletions(-) commit cf288a1b0920abe5787dc0ceaf279e66fe31396a Author: Matthias Clasen Date: Mon Sep 11 11:17:41 2017 -0400 Fix a corner-case for emoji input As reported in https://github.com/ibus/ibus/issues/1944, typing u201e while holding Ctrl+Shift used to give a „ when letting go of Ctrl+Shift. This broke when we introduced Ctrl+Shift+e to start Emoji sequences. Fix this by only looking for Ctrl+Shift+e if we are not already in a hex sequence. gtk/gtkimcontextsimple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2102f78582d5ef86aef2e8aaa0bd1ed1d437b422 Author: Daniel Mustieles Date: Mon Sep 11 13:57:21 2017 +0000 Update Spanish translation po-properties/es.po | 576 ++++++++++++++++++++++++++-------------------------- 1 file changed, 292 insertions(+), 284 deletions(-) commit d251daffebc76b9b547d55828893019ea1832235 Author: Ask Hjorth Larsen Date: Sun Sep 10 18:16:33 2017 +0200 Updated Danish translation po-properties/da.po | 1103 ++++++++++++++++++++++++++------------------------- 1 file changed, 557 insertions(+), 546 deletions(-) commit 58801a0b03cd4dcf3cf51e63528ed27f219b2194 Author: Ask Hjorth Larsen Date: Sun Sep 10 18:15:01 2017 +0200 Updated Danish translation po/da.po | 461 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 237 insertions(+), 224 deletions(-) commit 60dea672750335dfdde31e00311cf4bfabe10e83 Author: Muhammet Kara Date: Sun Sep 10 15:09:31 2017 +0000 Update Turkish translation po-properties/tr.po | 546 +++++++++++++++++++++++----------------------------- 1 file changed, 246 insertions(+), 300 deletions(-) commit b939932cad7828db843a202c576c7cfc71f54d3a Author: Jordi Mas Date: Sun Sep 10 08:22:12 2017 +0200 Fixes to Catalan translation po-properties/ca.po | 136 ++++++++++++++++++++++++++-------------------------- 1 file changed, 68 insertions(+), 68 deletions(-) commit 4d5e12c0750efde36477d05dc7e42b6556b600f0 Author: Inaki Larranaga Murgoitio Date: Sat Sep 9 17:54:59 2017 +0200 Update Basque language po-properties/eu.po | 913 ++++++++++++++++++++++++++-------------------------- 1 file changed, 463 insertions(+), 450 deletions(-) commit 34b4fe49ff9d3cb90917e0be1f30155f48548d49 Author: Inaki Larranaga Murgoitio Date: Sat Sep 9 17:54:30 2017 +0200 Update Basque language po/eu.po | 401 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 219 insertions(+), 182 deletions(-) commit 6d7103b462045269453c129716b09003be973d68 Author: Matej Urbančič Date: Fri Sep 8 11:02:10 2017 +0200 Updated Slovenian translation po/sl.po | 291 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 148 insertions(+), 143 deletions(-) commit 9fe68b8c129ff7fca106bf7d1ce12913ceea493c Author: gogo Date: Thu Sep 7 18:35:09 2017 +0000 Update Croatian translation po/hr.po | 80 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 42 insertions(+), 38 deletions(-) commit 660cc709fc546f7118fda189779e3a04a291934d Author: Daniel Boles Date: Thu Sep 7 14:53:59 2017 +0100 Entry: Fix leak of text in ensure_has_tooltip() Thanks to Mohammed Sadiq for noticing this. I guess I got Widget.get_tooltip_text() confused with Label.get_label(). https://bugzilla.gnome.org/show_bug.cgi?id=787410 gtk/gtkentry.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 70648318a3b88817f9c6ad2500ad04ef198c041e Author: Jiri Grönroos Date: Thu Sep 7 08:41:41 2017 +0000 Update Finnish translation po/fi.po | 418 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 226 insertions(+), 192 deletions(-) commit 323ce68e98bf0fa6daed25489ddbfcb8d740e982 Author: Piotr Drąg Date: Wed Sep 6 20:14:41 2017 +0200 Update Polish translation po/pl.po | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) commit 8e434d20aec435444fd32e50c253c990f39a949c Author: Çağatay Yiğit Şahin Date: Wed Sep 6 06:48:16 2017 +0000 Update Turkish translation po/tr.po | 2474 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1452 insertions(+), 1022 deletions(-) commit f272a2facc724cd27e935ee54d1b54929c5c0611 Author: Mario Blättermann Date: Tue Sep 5 17:48:13 2017 +0000 Update German translation po/de.po | 285 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 142 insertions(+), 143 deletions(-) commit 4dfee01af6274d4507ea707d3df8b55f453320ae Author: Marek Cernocky Date: Tue Sep 5 16:37:09 2017 +0200 Updated Czech translation po/cs.po | 219 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 113 insertions(+), 106 deletions(-) commit 417d3450195acc0c7124185e424004a2aa07eee5 Author: Jakub Steiner Date: Wed Aug 23 22:26:06 2017 +0200 adwaita: use generic sidebar icon style https://bugzilla.gnome.org/show_bug.cgi?id=786613 gtk/theme/Adwaita/_common.scss | 6 ++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) commit bb445a9a7515601eaeb1035ddd0c7301553b7cdc Author: Daniel Mustieles Date: Tue Sep 5 10:36:15 2017 +0000 Update Spanish translation po/es.po | 322 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 167 insertions(+), 155 deletions(-) commit a6393e1a47cb57d0baae7d15034ab7a12c16d07b Author: Daniel Boles Date: Tue Sep 5 01:38:35 2017 +0100 Adwaita: Leave fg color of hovered emoji alone Only HighContrast has a clear problem, and this avoids some probably unwanted changes of certain colours in the weird greyscale emoji I have available to test here. gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) commit 464df4007b21010249767f73b3046d3ca5c9720c Author: Daniel Boles Date: Tue Sep 5 00:48:06 2017 +0100 themes: Use $selected_fg_color for :hovered emoji This is much needed for HighContrast as otherwise emoji are invisible (or nearly in Inverse). It also syncs up with hovered menu items, etc. https://bugzilla.gnome.org/show_bug.cgi?id=787279 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) commit 21c7ea2bd43dd4aa61d1ed875802830edc67dcef Author: Daniel Boles Date: Tue Sep 5 00:58:00 2017 +0100 HighContrast: Kill abominable headerbar vseparator Commit 70b61973fc0214dab7771fd2b339103592e7358f fixed a syntax error and unwittingly released this bizarre mutant. https://bugzilla.gnome.org/show_bug.cgi?id=787280 gtk/theme/HighContrast/_common.scss | 6 +----- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 -- gtk/theme/HighContrast/gtk-contained.css | 2 -- 3 files changed, 1 insertion(+), 9 deletions(-) commit 99e27ab1455d917840032aa961aac8159a9937c7 Author: Daniel Boles Date: Mon Sep 4 23:41:53 2017 +0100 ComboBox: Don’t popdown if releasing on scrollbar On button release, we were popping down if the event widget was anything but priv->button. This broke scrolling by clicking a mouse button, i.e. when releasing a click in the trough or finishing a drag of either bar. That’s unexpected, inconvenient, and pointless. So, let’s stop doing it. https://bugzilla.gnome.org/show_bug.cgi?id=738893 gtk/gtkcombobox.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 2e866ca29330959990098933839e72152abaa779 Author: Anders Jonsson Date: Mon Sep 4 22:16:39 2017 +0000 Update Swedish translation po/sv.po | 291 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 148 insertions(+), 143 deletions(-) commit 721094529263272f2737dc0e811195edd2df7426 Author: Daniel Boles Date: Mon Sep 4 19:56:47 2017 +0100 EmojiChooser: Ensure always have a selected button We were only selecting a section’s button if the adjustment y coord was within its heading, so scrolling slightly into it unchecked all buttons. This also fixes how we could end up with the first 2 selected, somehow. https://bugzilla.gnome.org/show_bug.cgi?id=787172 gtk/gtkemojichooser.c | 66 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 25 deletions(-) commit 02e310a1d51e66381d5dad127b59e388b184b09c Author: Daniel Boles Date: Sat Sep 2 18:47:47 2017 +0100 EmojiChooser: Check the 1st button before 1st show We scroll to the top in show() but only ever selected a button when the adjustment changed, which doesn’t happen in init(). Check it manually. https://bugzilla.gnome.org/show_bug.cgi?id=787172 gtk/gtkemojichooser.c | 3 +++ 1 file changed, 3 insertions(+) commit 14d376a2a6dd110798f49cd523dab1c7aca1de0b Author: Timm Bäder Date: Wed Apr 26 11:37:58 2017 +0200 sidebarrow: Remove useless size group Nice try, but size groups don't work with invisible widgets anyway. Invisible widgets request 0×0. [reapplying after accidental reintroduction in the cloudproviders patch; see https://bugzilla.gnome.org/show_bug.cgi?id=786123#c39] gtk/ui/gtksidebarrow.ui | 10 ---------- 1 file changed, 10 deletions(-) commit 51e636be0f1f154a3a007892401fc51104f88ca1 Author: Matthias Clasen Date: Mon Sep 4 13:02:58 2017 -0400 3.22.20 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dd99aeb4bb6df706bac3e89ee9cb95d17750ef04 Author: Baurzhan Muftakhidinov Date: Mon Sep 4 15:48:15 2017 +0000 Update Kazakh translation po/kk.po | 291 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 148 insertions(+), 143 deletions(-) commit 9913c4cbaaf266112ea959fc96f9e92527f0c33d Author: Matthias Clasen Date: Mon Sep 4 11:29:19 2017 -0400 3.22.20 NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 8a940474d73e0ce426da6b7e46e478e4c03e2837 Author: Julius Härtl Date: Fri Sep 1 21:43:39 2017 +0200 gtkplacessidebar: adapt libcloudproviders api rename https://bugzilla.gnome.org/show_bug.cgi?id=786123 configure.ac | 2 +- gtk/gtkplacessidebar.c | 54 +++++++++++++++++++++++++------------------------- gtk/gtksidebarrow.c | 8 ++++---- 3 files changed, 32 insertions(+), 32 deletions(-) commit dc7952d2c69d42b0a7b86a26e416216a2768140e Author: Daniel Boles Date: Sat Sep 2 17:41:59 2017 +0100 HighContrast: basic port of emoji CSS from Adwaita This is better than nothing: without specific CSS, the Chooser was too large, the emoji were too small, and the buttons were generally ugly. https://bugzilla.gnome.org/show_bug.cgi?id=786956 gtk/theme/HighContrast/_common.scss | 55 ++++++++++++++++++++++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 21 +++++++++ gtk/theme/HighContrast/gtk-contained.css | 21 +++++++++ 3 files changed, 97 insertions(+) commit 517b5360f492bad5a313f05d6a4cd78770416f58 Author: Daniel Boles Date: Sat Sep 2 16:54:47 2017 +0100 Adwaita: proper colours for inactive emoji buttons Use opacity to differentiate unselected/hovered/selected buttons. It had assumed bg < border < fg colours, which may be false, as in Adwaita:dark This also means we do not need to special-case for the backdrop state. https://bugzilla.gnome.org/show_bug.cgi?id=786956 gtk/theme/Adwaita/_common.scss | 11 +++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++-------- gtk/theme/Adwaita/gtk-contained.css | 12 ++++-------- 3 files changed, 13 insertions(+), 22 deletions(-) commit 419ecc9e80b20da40fcf2056b7855f002ac903ca Author: Daniel Boles Date: Sat Sep 2 16:56:14 2017 +0100 Adwaita: Make use of SASS syntax for emoji stuff This makes the theme easier to maintain. https://bugzilla.gnome.org/show_bug.cgi?id=786956 gtk/theme/Adwaita/_common.scss | 39 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 11 ++++----- gtk/theme/Adwaita/gtk-contained.css | 11 ++++----- 3 files changed, 30 insertions(+), 31 deletions(-) commit 429a9e6b6024d6b57b7bdcec9586110eb2f85e59 Author: Matthias Clasen Date: Mon Sep 4 09:56:24 2017 -0400 Updates NEWS | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) commit 192ca899fc15057da87b1e3c398f9043560f4c9f Author: Milo Casagrande Date: Mon Sep 4 11:43:05 2017 +0000 Update Italian translation po/it.po | 291 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 148 insertions(+), 143 deletions(-) commit 1e1012696a24042e7ade7257a7e026ddb58fe230 Author: Aurimas Černius Date: Sun Sep 3 23:37:27 2017 +0300 Updated Lithuanian translation po/lt.po | 219 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 113 insertions(+), 106 deletions(-) commit 911ac2e3c6613846fd45873e8158821f365c6fd1 Author: Balázs Úr Date: Sun Sep 3 16:51:46 2017 +0000 Update Hungarian translation po/hu.po | 747 ++++++++++----------------------------------------------------- 1 file changed, 117 insertions(+), 630 deletions(-) commit a53c53329314a54c876791c38c399974235501c6 Author: Rūdolfs Mazurs Date: Sun Sep 3 19:27:50 2017 +0300 Update Latvian translation po/lv.po | 301 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 151 insertions(+), 150 deletions(-) commit 56027e079dd077a535818f9dd72dc27789b76f9c Author: Daniel Boles Date: Sun Sep 3 13:53:48 2017 +0100 Adwaita: Fix ineffective theming of switch slider in a specific case, which was applying .slider as a class on the parent switch, instead of correctly selecting on its child node named slider. This makes the border on the outside of a switch in a selected listbox row look better in the light variant. Since the code was never removed, it was clearly meant to work, and making it work is a clear improvement. gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 70b61973fc0214dab7771fd2b339103592e7358f Author: Daniel Boles Date: Sun Sep 3 13:32:14 2017 +0100 HighContrast: Fix outdated name for headerbar box 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 80bd79596972f59f1562ffe741ca43228959a541 Author: Daniel Boles Date: Sun Sep 3 13:10:50 2017 +0100 Adwaita: Fix outdated name of selection-menu arrow 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 bc7a4e5abd8417a72fcaee273374b86acf5c1888 Author: Daniel Boles Date: Sun Sep 3 12:07:35 2017 +0100 docs: css-overview: Don’t recommend broken syntax Using this produced warnings about the Pango syntax of being deprecated, and the size being invalid due to no unit specified. Also, that multi-word font family presumably wouldn’t work as expected. docs/reference/gtk/css-overview.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 87e76c12a90307978559e67c7318488be30db028 Author: Timm Bäder Date: Mon Oct 3 09:31:44 2016 +0200 testgtk: fix css tests/testgtk.c | 3 ++- tests/testgtk.css | 13 +++++++------ tests/testgtk2.css | 7 ++++--- 3 files changed, 13 insertions(+), 10 deletions(-) commit 8dbb17e1f3bebd469afb59a82b29b78b9f6873bd Author: Daniel Boles Date: Sun Sep 3 11:04:48 2017 +0100 Toolbar: Clarify set_show_arrow() a bit more gtk/gtktoolbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 66d63e4a4702df0f340179dc847fae19e49ddab8 Author: Daniel Boles Date: Sun Sep 3 10:41:56 2017 +0100 Toolbar: Clarify how the arrow overflow menu works The fact it affects the preferred size, and only works with ToolItems that return a menu proxy item, was unclear unless deduced from other sources, and this led to users thinking it was broken, for example: https://stackoverflow.com/q/44644642/2757035 https://bugzilla.gnome.org/show_bug.cgi?id=787158 https://bugzilla.gnome.org/show_bug.cgi?id=787195 gtk/gtktoolbar.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 111ce615177818c809d94284f53b1f2e92b4cfd7 Author: Daniel Boles Date: Sun Sep 3 10:41:24 2017 +0100 ToolItem: Add see-also from proxy setter to signal gtk/gtktoolitem.c | 2 ++ 1 file changed, 2 insertions(+) commit ea73e0e0bd19daec8eaccdab1fb1d46adfa6a69f Author: Daniel Boles Date: Sun Sep 3 10:39:58 2017 +0100 ToolItem: Annotate menu proxy item as nullable It can be NULL. ::create-menu-proxy gave an example of when a NULL proxy menu item could be useful, but the accessors did not annotate it as such. gtk/gtktoolitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8216a7aa0f45a71c2516f0eadfabc9061bc46518 Author: Rafael Fontenelle Date: Sat Sep 2 20:51:14 2017 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 295 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 150 insertions(+), 145 deletions(-) commit baf725a795c1742f8f9e6dc5c71a325cf8fe9bfa Author: Daniel Boles Date: Sat Sep 2 16:11:06 2017 +0100 Revert "sk.po: Consistently translate “Insert”" This reverts commit d09bc2b108be1643f29bb5a917da06e2a22f975c. As an English-speaker, I know nothing about complex grammar, and it’s been brought to my attention that some languages might differ in the translation of the same command depending on where it appears. So, I’d better assume everyone else knows better than me. Apologies! po/sk.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ed782577e84a8fc2dc9d53af10dc303632b75c8e Author: Daniel Boles Date: Sat Sep 2 16:00:08 2017 +0100 Adwaita: Fix colour mixing of emoji section button when hovered, by using %, since SASS does not handle decimal mixes. 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 d09bc2b108be1643f29bb5a917da06e2a22f975c Author: Daniel Boles Date: Sat Sep 2 11:56:44 2017 +0100 sk.po: Consistently translate “Insert” The two occurrences disagreed on the translation, and my amateur investigation indicates this one is correct. po/sk.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 64976f1f0d6a3002abba039c3c18801db1acf19a Author: Daniel Boles Date: Sat Sep 2 11:52:45 2017 +0100 gl.po: Consistently translate/capitalise “Emoji” GTK+ 3 and 4 disagreed on capitalisation and the translation of “Emoji”. Use sentence case as elsewhere & the most common translation: emoticono. po/gl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 84331b394cf747ea36069ee8271db13aff6a4327 Author: Jordi Mas Date: Sat Sep 2 16:21:10 2017 +0200 Update Catalan translation po/ca.po | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) commit 554e1487a51e30b87634d0cfb54922b2bd3e82d4 Author: Jordi Mas Date: Sat Sep 2 16:20:07 2017 +0200 Update Catalan translation po-properties/ca.po | 14171 ++++++++++++++++++++++++++------------------------ po/ca.po | 2572 ++++----- 2 files changed, 8669 insertions(+), 8074 deletions(-) commit 9278310b3a4e88b55fffd3aba70f211d94bbddd3 Author: Jordi Mas Date: Sat Sep 2 16:16:12 2017 +0200 Update Catalan translation po-properties/ca.po | 14307 ++++++++++++++++++++++++-------------------------- po/ca.po | 2623 +++++---- 2 files changed, 8172 insertions(+), 8758 deletions(-) commit 434ece4a1cbf678620d9bde10c3b1ccb63d67e85 Author: Matthias Clasen Date: Sat Sep 2 08:45:51 2017 -0400 emoji chooser: No emoji in the search entry Recursion is fun, but better avoided in the ui. https://bugzilla.gnome.org/show_bug.cgi?id=786960 gtk/ui/gtkemojichooser.ui | 1 + 1 file changed, 1 insertion(+) commit 172c6c194949755672db747508918c9265e0d89f Author: Matthias Clasen Date: Sat Sep 2 08:42:52 2017 -0400 entry: Consider input hints for Emoji support Don't show "insert emoji" in the context menu if input hints indicate that Emoji input is not useful. gtk/gtkentry.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit f3df85e52888147153b3a8b1b147903bcec0f274 Author: Matthias Clasen Date: Sat Sep 2 08:42:18 2017 -0400 Add input hints for Emoji input Allow hinting input methods about whether Emoji support is useful or not. gtk/gtkenums.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit f120334700372684286c3a47a8572beeb0f9e351 Author: Fran Dieguez Date: Sat Sep 2 10:07:51 2017 +0000 Update Galician translation po/gl.po | 195 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 99 insertions(+), 96 deletions(-) commit 85ca7fa61271e4edd624e584c9aa727ef4209461 Author: Dušan Kazik Date: Sat Sep 2 08:06:18 2017 +0000 Update Slovak translation po-properties/sk.po | 595 ++++++++++++++++++++++++++-------------------------- 1 file changed, 301 insertions(+), 294 deletions(-) commit cfafd1d69fb441733761a23f026f6cf7ea061607 Author: Dušan Kazik Date: Sat Sep 2 08:02:39 2017 +0000 Update Slovak translation po/sk.po | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 152e9c0b3abd370f25c06c212b6abc2e3ef5b10f Author: Andika Triwidada Date: Sat Sep 2 00:58:14 2017 +0000 Update Indonesian translation po/id.po | 263 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 131 insertions(+), 132 deletions(-) commit f0b4b45b76029c31b8c4b1fcd8deeeddc8d03fa4 Author: Matthias Clasen Date: Fri Sep 1 19:51:17 2017 -0400 emoji chooser: Avoid a crash The emoji chooser gets disposed already, because it is attached to the toplevel as a popover. Doing it again when the object data is cleared is leading to a crash. https://bugzilla.gnome.org/show_bug.cgi?id=787103 gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1694a670836e7bb6fd0ffb141f5bf5735287c672 Author: Piotr Drąg Date: Sat Sep 2 01:50:34 2017 +0200 Update Polish translation po/pl.po | 263 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 131 insertions(+), 132 deletions(-) commit 8d0dc64e615d6a0888bd754c524f5b51552ad1eb Author: Mohammed Sadiq Date: Wed Aug 30 23:25:59 2017 +0530 emoji-chooser: fix subsequent scroll Event handlers on scroll window should only be run once the widget is shown. https://bugzilla.gnome.org/show_bug.cgi?id=786964 gtk/gtkemojichooser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 38b8b3ce1da7c1343f8d3b28968be429771cbab1 Author: Daniel Boles Date: Wed Aug 30 12:48:23 2017 +0100 Entry: Set tooltip text on icon for emoji chooser https://bugzilla.gnome.org/show_bug.cgi?id=786885 gtk/gtkentry.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 0388f16fb47d0c85e075ec0d1127de8085484ff6 Author: gogo Date: Fri Sep 1 21:55:48 2017 +0000 Update Croatian translation po/hr.po | 195 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 99 insertions(+), 96 deletions(-) commit d9b5fd357f9d0da503edc0683d755ee322cc1d75 Author: Daniel Boles Date: Fri Sep 1 20:17:11 2017 +0100 ComboBox: Dodge possible surplus disconnects in case anyone connected any other signal on the model to this ComboBox. gtk/gtkcombobox.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 423cd8e73e63dc27a2749a3b83613edbd35df767 Author: Daniel Boles Date: Fri Sep 1 16:03:36 2017 +0100 ScrolledWindow: Dodge possible surplus disconnects In case the outgoing Adjustment for whatever reason has other handlers referring to this SW, be sure to avoid disconnecting any but our own. gtk/gtkscrolledwindow.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 3ff04099a724d7ab9bcce67d809ca693c9d5660a Author: Daniel Boles Date: Fri Sep 1 11:44:15 2017 +0100 ComboBox: Remove pointless signal ID member fields We don’t need to store these for disconnection, as we can just use g_signal_handlers_disconnect_by_data(). Also, merge redundant ifs. gtk/gtkcombobox.c | 44 +++++++++++++------------------------------- 1 file changed, 13 insertions(+), 31 deletions(-) commit 85ca68b1c283b6e7e20c1ac719ae102675212b5d Author: Daniel Boles Date: Fri Sep 1 11:43:44 2017 +0100 ComboBox: Clean up handler disconnection some more gtk/gtkcombobox.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit d6ae627069ad3706c9a8214ffbc221c050de9d3e Author: Dušan Kazik Date: Fri Sep 1 14:19:10 2017 +0000 Update Slovak translation po/sk.po | 300 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 155 insertions(+), 145 deletions(-) commit 5dc5576e142c5039f074058824946bef2acbdea8 Author: Daniel Boles Date: Thu Aug 31 23:17:03 2017 +0100 ScrolledWindow: Fix non-disconnection of handlers • Use disconnect_by_data() to catch both _adjustment_changed() and now _adjustment_value_changed(), as the latter had been missed until now. • Also disconnect from indicator_value_changed(), which was not done in destroy() due to indicator_reset() and remove_indicator() disagreeing. https://bugzilla.gnome.org/show_bug.cgi?id=775074 gtk/gtkscrolledwindow.c | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-) commit 64d05b5dc6b82cdcf9c18b0520e97243233c10c8 Author: Timm Bäder Date: Sat May 27 09:47:56 2017 +0200 scrolledwindow: Properly remove scrollbars Instead of keeping an extra ref, then unparent+destroy+unref, don't keep an extra ref and just unparent the scrollbar when appropriate. gtk/gtkscrolledwindow.c | 6 ------ 1 file changed, 6 deletions(-) commit f0522e9944a314aae812274e48e972f28cb8bee1 Author: Daniel Boles Date: Thu Aug 31 20:19:58 2017 +0100 Window: Connect screen signals properly in init() Do not connect to get_settings_for_screen() if we have no screen… Use g_signal_connect(), not connect_object(), to match how set_screen() makes these same connections, and how finalize() already disconnects. https://bugzilla.gnome.org/show_bug.cgi?id=705640 gtk/gtkwindow.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 169e5502d1a31e0c1438e7ac8b0ecd5aa7f73756 Author: Daniel Boles Date: Thu Aug 31 19:58:15 2017 +0100 FileChooserWidget: Remove an unused #include gtk/gtkfilechooserwidget.c | 1 - 1 file changed, 1 deletion(-) commit 794c0946a5c062c6bd373d26abe4ac32f8e68f7e Author: Daniel Boles Date: Wed Aug 30 21:12:56 2017 +0100 Entry: Rename int helper to gtk_entry_clear_icon() It was called gtk_entry_clear(), which was unnecessarily vague. gtk/gtkentry.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 12d96f27d340ef40a75c6278fbdd9d5a846497de Author: Daniel Boles Date: Sat Aug 5 23:48:29 2017 +0100 Entry: Fix Shift-click → extend/truncate selection Since the move from button-press to gesture events, Shift-clicking did not work to start a selection (from none) or truncate an existing one. This was due to the code being copy-pasted around and some logic being broken in the process. This makes both of those work as they should, by shuffling it again so the end result is the same as before. Highlights: (1) ::button-press if extending due to a single press would call set_positions(tmp_pos, tmp_pos), which is what made the Shift+click to create a selection work. That was lost. Add it back to make that work. (2) ::button-press in the “Truncate current selection” branch would not execute all the stuff around “extend_to_left”, as that was the else case. So, set extend_selection = FALSE so we skip over that later on. (3) BUT! This Truncate case never fired because it was in the else branch of if (in_selection())! Of course, it must be in the true branch. (4) The IM context was not reset if the Shift-click occurred within an existing selection, only if it did not. In ::button-press this was the first thing done if extending a selection, regardless. Make it so again. https://bugzilla.gnome.org/show_bug.cgi?id=780750 gtk/gtkentry.c | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) commit 81d6f8d81c78cba652800c67e47decb34bb7e997 Author: Daniel Boles Date: Wed Aug 30 14:22:54 2017 +0100 gl.po: Remove mnemonic underlines from tooltips It looks like these were copy-paste errors from the corresponding labels for buttons, which should have mnemonics. Of course, tooltips cannot. po/gl.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit beb7bba3ce701a3be6f4b050824443b3f21f21dd Author: Matthias Clasen Date: Wed Aug 30 08:36:56 2017 -0400 Avoid empty space in the emoji chooser We need to hide the empty flow boxes as well, to avoid spacing between them. https://bugzilla.gnome.org/show_bug.cgi?id=786966 gtk/gtkemojichooser.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 305ac38b6a02bbdcc23d572f46171db4ada8b923 Author: Fran Dieguez Date: Wed Aug 30 13:10:56 2017 +0000 Update Galician translation po/gl.po | 148 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 78 insertions(+), 70 deletions(-) commit b956cba4fbb23ed7c3a5ba6b2ab5c5932f3e5a05 Author: Fabio Tomat Date: Wed Aug 30 09:22:45 2017 +0000 Update Friulian translation po-properties/fur.po | 173 +++++++++++++++++++++++++-------------------------- 1 file changed, 84 insertions(+), 89 deletions(-) commit 9f1d57e032c47f6de36ab4567185a1c420bb6da5 Author: Daniel Boles Date: Tue Aug 29 20:04:45 2017 +0100 PlacesSidebar: Reuse strings, mark for translation The new menu items were not marked for translation, had no mnemonics, and were not title-cased. Reuse the strings that we already had for the buttons shortly down the file, and mark these for translation. https://bugzilla.gnome.org/show_bug.cgi?id=786123 gtk/gtkplacessidebar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 07320200d1e2c0079027c5187a7ab7a6fc160d66 Author: Nelson Benítez León Date: Wed Aug 2 19:03:28 2017 +0500 textview: fix bug on DnD displaced limits of selection The fix of commit f2fd655754407103f8fb9b2c3e7586fb595ab917 should be confined to DnD coords only, because otherwise it causes the start and end of the selection to be displaced. https://bugzilla.gnome.org/show_bug.cgi?id=785736 gtk/gtktextview.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit afd624bf4ba02d021b156bf478311fa875f7dcce Author: Daniel Boles Date: Tue Aug 29 19:00:03 2017 +0100 TextView: :border-width broke window→widget coords Do the converse of commit bd7c87c762c75bbb8dfb5fed23964651188ef206 so that a TextView with Container:border-width > 0 does not get its handles and magnified region shifted up/left from where they should be. https://bugzilla.gnome.org/show_bug.cgi?id=786986 gtk/gtktextview.c | 4 ++++ 1 file changed, 4 insertions(+) commit 18a6c5c4c68bd4eec99a4e0659b769f0b3ad42e0 Author: Daniel Boles Date: Tue Aug 29 11:24:19 2017 +0100 Expander: Don’t set event_window over whole widget realize() gave the event_window the allocation of the whole widget. This was wrong; it should be that of the title_gadget, as in size_allocate(). This broke expanders in which :expanded is TRUE before showing: Input over the entire widget was sent to the title, making the child unable to receive it. Clicking the child unexpectedly collapsed it. Once expanded again, things fixed themselves as size_allocate() fixed the event_window alloc. So, queuing a reallocate or resize after show() was a workaround. Fix by giving event_window the allocation of the title_gadget, to match what size_allocate() does. That is symmetrical and just plain correct. https://bugzilla.gnome.org/show_bug.cgi?id=774134 gtk/gtkexpander.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit a827e9222627b0462ae4c6bd063bf922faf4277a Author: Debarshi Ray Date: Mon Aug 28 18:58:50 2017 +0200 GtkBuilder: Prefer "type-func" over "class" when looking for the GType https://bugzilla.gnome.org/show_bug.cgi?id=786932 gtk/gtkbuilderparser.c | 26 +++++++++++++------------- testsuite/gtk/builder.c | 12 +++++++++++- 2 files changed, 24 insertions(+), 14 deletions(-) commit bbb233464cc45166a8f70b9d2de481b0b38ce6f0 Author: Aurimas Černius Date: Tue Aug 29 15:49:02 2017 +0300 Updated Lithuanian translation po/lt.po | 140 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 72 insertions(+), 68 deletions(-) commit 07936ac71f6420ea89f40a09f0d784ae8b48c1ba Author: Rūdolfs Mazurs Date: Tue Aug 29 12:17:44 2017 +0300 Update Latvian translation po-properties/lv.po | 717 ++++++++++++++++++++++++++-------------------------- po/lv.po | 382 ++++++++++++++++------------ 2 files changed, 579 insertions(+), 520 deletions(-) commit 935e48ce09d93e0896645fae211c6fa071486585 Author: Chun-wei Fan Date: Tue Aug 29 13:05:52 2017 +0800 build: Install Emoji chooser GSettings files in MSVC projects This is needed for the Emoji chooser to work on Visual Studio builds. build/win32/vs10/gtk3-install.propsin | 3 ++- build/win32/vs9/gtk3-install.vspropsin | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit c85f34b6fcfdd671a9af714064f5b92f2ae4a5d6 Author: Daniel Boles Date: Sat Aug 12 15:51:45 2017 +0100 LevelBar: Really fix underallocation of blocks Themes should not enforce min sizes on blocks in continuous mode; in this case, the filled block should be as large as it needs to be to reflect the current value, and no larger or smaller than that. So, the fact that the minimal size was selected on just levelbar block is wrong: we should also require the levelbar.discrete class to apply min sizes. The widget should enforce whatever correct minimum size results from the above fix, by reapplying commit 78b4885fe8850e132d8bb06df8ab90ac6c2033e0 Except: we should not allocate/draw the filled block if the value is 0, as in this case, the LevelBar should be empty, not have a min-size fill. https://bugzilla.gnome.org/show_bug.cgi?id=783649 gtk/gtklevelbar.c | 14 +++++++++++- gtk/theme/Adwaita/_common.scss | 28 +++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 12 +++++----- gtk/theme/Adwaita/gtk-contained.css | 12 +++++----- gtk/theme/HighContrast/_common.scss | 28 +++++++++++++++++------- gtk/theme/HighContrast/gtk-contained-inverse.css | 8 +++---- gtk/theme/HighContrast/gtk-contained.css | 8 +++---- 7 files changed, 71 insertions(+), 39 deletions(-) commit bd7c87c762c75bbb8dfb5fed23964651188ef206 Author: Daniel Boles Date: Mon Aug 28 21:56:06 2017 +0100 TextView: Fix gesture coords with :border-width >0 Container:border-width caused the x/y coords converted to iters to be offset inwards by that width, breaking positioning/selecting by gesture. So, subtract :border-width in widget_to_text_window_coords(). This fixes gesture positions, & plays fine with :margin & CSS margin/border/padding N.B.: This is not to endorse :border-width. It’s gone in GTK+ 4 & weird on a TextView: it’d be more intuitive to – if you must! – set it on the TV parent. Really, please just use CSS instead. Still, it’s easy to fix. https://bugzilla.gnome.org/show_bug.cgi?id=759725 gtk/gtktextview.c | 4 ++++ 1 file changed, 4 insertions(+) commit 25abbfdcf6b2b7cc42be16c8c3e9fef55030e9fa Author: gogo Date: Mon Aug 28 21:12:23 2017 +0000 Update Croatian translation po/hr.po | 113 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 60 insertions(+), 53 deletions(-) commit 669e8c4de578f174a48f39f4a1a5bc1bfaf758b5 Author: Daniel Boles Date: Mon Aug 28 20:35:47 2017 +0100 Entry: Handle :show-emoji-icon becoming false Disconnect the now-unwanted signal handler, and hide the icon. https://bugzilla.gnome.org/show_bug.cgi?id=786940 gtk/gtkentry.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 6094caf984292cc66cc65444c756bb7261e558e7 Author: Daniel Boles Date: Mon Aug 28 20:34:49 2017 +0100 Entry: Drop redundant typecasts https://bugzilla.gnome.org/show_bug.cgi?id=786940 gtk/gtkentry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fccf19b905f0e58b70408c46942c1860bb9617b0 Author: Daniel Boles Date: Mon Aug 28 20:26:48 2017 +0100 Entry: Only open emoji picker on 2ndary icon click We hijack the secondary icon for the emoji picker, but the handler for ::icon-press did not check the pressed icon and opened it for either. https://bugzilla.gnome.org/show_bug.cgi?id=786938 gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1fd834c54d45ff2ecff6168d69adcd9f3928d6c7 Author: Daniel Boles Date: Mon Aug 28 19:28:20 2017 +0100 ComboBox: Don’t redundantly show() scrolled_window It and its child were already show()n in list_setup(). gtk/gtkcombobox.c | 1 - 1 file changed, 1 deletion(-) commit 1f1fdfe7574e9246d70fabcbde0073384804568a Author: Daniel Boles Date: Mon Aug 28 18:57:27 2017 +0100 ComboBox: Fix wrongly matched signal disconnect()s Various disconnections had the wrong flags and/or data, so we failed to disconnect a pile of signals, shown by 0 returned by the disconnect_*() functions. Fix this, and use the nicer disconnect_by_*() while here. gtk/gtkcombobox.c | 51 ++++++++++----------------------------------------- 1 file changed, 10 insertions(+), 41 deletions(-) commit 13017239055dc492f7e5cdeae63f01e6e820da4e Author: Daniel Boles Date: Mon Aug 28 18:38:45 2017 +0100 Revert "combobox: remove superfluous GTK+ grabs" This reverts commit 46b4e5d38877197503f802380e5c9a469218f99b. Apparently these weren’t so redundant, because their removal introduced at least 2 bugs in list-mode ComboBoxes: failure to close the popup upon clicking out of it, and failing to receive mouse input in the popup of a CB in a modal window. It may also have caused (even more!) stuck grabs. https://bugzilla.gnome.org/show_bug.cgi?id=738387 https://bugzilla.gnome.org/show_bug.cgi?id=776793 gtk/gtkcombobox.c | 2 ++ 1 file changed, 2 insertions(+) commit c789bf7718342b37464bc0d3beef6cb9449f0edc Author: Daniel Boles Date: Mon Aug 28 00:12:02 2017 +0100 ComboBox: Really set list-mode popup transient-for set_transient_for(toplevel) was only called in list_setup(). It was easy to make a test showing a NULL :transient-for instead of the correct one. So, move the call from list_setup() to popup_for_device(). Also do that for window_group_add_window(), which means not calling it redundantly. (I tried using a ComboBox:parent-set handler, but the Inspector’s CB didn’t like that: it calls popup_for_device() twice and closes on button release. Anyway, using popup() is much more concise than a new handler.) gtk/gtkcombobox.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) commit 70534de382c827f690f1673a0b6710eff5dcfdf5 Author: Daniel Boles Date: Sun Aug 27 21:29:52 2017 +0100 ComboBox: List-mode popup must open on CB’s screen The screen for the list-mode popup_window was only being set in set_popup_widget(), i.e. when changing modes, so if the ComboBox was moved to a different screen later, the popup would appear on the original one, which is wrong. Worse, this (somehow) broke opening some combos in the Inspector. Fix this by moving the call to set_screen() to popup_for_device(), so the popup_window is put on the correct screen each time around. https://bugzilla.gnome.org/show_bug.cgi?id=468868 https://bugzilla.gnome.org/show_bug.cgi?id=786771 gtk/gtkcombobox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3b1e4031df6d07666d741d98a3491b8bf09e4fda Author: Ask Hjorth Larsen Date: Mon Aug 28 19:27:02 2017 +0200 Updated Danish translation po/da.po | 656 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 344 insertions(+), 312 deletions(-) commit 7d7284ddbb685f75f91f8a7fa88fa6c912076d99 Author: Matej Urbančič Date: Mon Aug 28 19:23:15 2017 +0200 Updated Slovenian translation po-properties/sl.po | 358 +++++++++++++++++++++++++++------------------------- 1 file changed, 183 insertions(+), 175 deletions(-) commit 0a1fba2172e8a50b96ab1aaadb72ec3cff7f2c3f Author: Matej Urbančič Date: Mon Aug 28 19:19:40 2017 +0200 Updated Slovenian translation po/sl.po | 233 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 142 insertions(+), 91 deletions(-) commit 64eae69ff7d74db3ffb5b93a129f70269d401380 Author: Gábor Kelemen Date: Mon Aug 28 16:09:38 2017 +0000 Update Hungarian translation po-properties/hu.po | 482 ++++++++++++++++++++++++++-------------------------- 1 file changed, 245 insertions(+), 237 deletions(-) commit ff625f69eab6c6da29ffd9ebfcd1b03a92167995 Author: Balázs Meskó Date: Mon Aug 28 16:05:37 2017 +0000 Update Hungarian translation po/hu.po | 470 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 258 insertions(+), 212 deletions(-) commit 13efeb0ad3781d71dd577d9de8e9621b7eed9e3c Author: Fabio Tomat Date: Mon Aug 28 14:38:07 2017 +0000 Update Friulian translation po-properties/fur.po | 186 ++++++++++++++++++++++++--------------------------- 1 file changed, 88 insertions(+), 98 deletions(-) commit 429b46d6aa062f8628b7a2bb8b4f3b3882e822f3 Author: Fabio Tomat Date: Mon Aug 28 14:12:06 2017 +0000 Update Friulian translation po-properties/fur.po | 226 ++++++++++++++++++--------------------------------- 1 file changed, 81 insertions(+), 145 deletions(-) commit 639e2e992fc2415b1daa723410b71b2cab002e34 Author: Marek Cernocky Date: Mon Aug 28 15:54:20 2017 +0200 Updated Czech translation po/cs.po | 117 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 62 insertions(+), 55 deletions(-) commit 11697519554e448ce61b2895083a11f0ca137cb8 Author: Милош Поповић Date: Mon Aug 28 11:03:13 2017 +0000 Update Serbian Latin translation po/sr@latin.po | 156 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 83 insertions(+), 73 deletions(-) commit 1ae2c662ff62d71f19633260ceead03dbfca6bd7 Author: Марко Костић Date: Mon Aug 28 11:00:46 2017 +0000 Update Serbian translation po/sr.po | 158 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 85 insertions(+), 73 deletions(-) commit 3d4b721e286ae96feaff24fad594f01826402e1d Author: Chun-wei Fan Date: Mon Aug 28 16:28:18 2017 +0800 build: Fix last commit Another pango-1.0.lib was added accidently to the list of .lib files for the GTK+ to link to. Remove that, although it shouldn't really matter. build/win32/vs10/gtk3-build-defines.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 09b7dc81a67f0dd3750c5c892730d48b360c266e Author: Chun-wei Fan Date: Mon Aug 28 16:18:24 2017 +0800 build: Integrate introspection builds into MSVC projects This is so that it is easier for one building GTK+ with Visual Studio to build the introspection files as well in one shot. Note that this is not built by default, so one needs to select the gtk3-introspect explicitly to build (and clean up) the introspection files. For this to work, one needs to ensure the following: -A complete build of GObject-Introspection in $(GlibEtcInstallRoot), that is built with the same installation of the Python interpretor that is used here (see PythonDir and PythonDirX64 in gtk3-version-paths.[vsprops|props]). -Introspection files for ATK, GDK-Pixbuf and Pango, also in their proper locations under $(GlibEtcInstallRoot), which should be built with the same G-I installation. build/win32/vs10/Makefile.am | 1 + build/win32/vs10/README.txt | 15 ++++ build/win32/vs10/gtk+.sln | 10 +++ build/win32/vs10/gtk3-build-defines.props | 12 ++- build/win32/vs10/gtk3-introspect.vcxproj | 103 ++++++++++++++++++++++++++ build/win32/vs10/gtk3-version-paths.props.in | 8 ++ build/win32/vs11/Makefile.am | 1 + build/win32/vs12/Makefile.am | 1 + build/win32/vs14/Makefile.am | 1 + build/win32/vs15/Makefile.am | 1 + build/win32/vs9/Makefile.am | 1 + build/win32/vs9/README.txt | 15 ++++ build/win32/vs9/gtk+.sln | 13 ++++ build/win32/vs9/gtk3-build-defines.vsprops | 8 ++ build/win32/vs9/gtk3-introspect.vcproj | 76 +++++++++++++++++++ build/win32/vs9/gtk3-version-paths.vsprops.in | 8 ++ 16 files changed, 273 insertions(+), 1 deletion(-) commit e579245b1dd9e96d85d9c72cfb41fe1325a3b715 Author: Chun-wei Fan Date: Mon Aug 28 16:15:11 2017 +0800 build: Prepare NMake Makefiles for MSVC project integration The build/win32/detectenv-msvc.mak needs to be updated for Visual Studio 2017, and we ought to add quotes to surround the copy destination path for the introspection files, so that we do not bail out in the copy process (cmd.exe's copy command does not like '+' in them that are not quoted). build/win32/detectenv-msvc.mak | 4 +++- build/win32/gtk-introspection-msvc.mak | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) commit 24fd61512beb6ee38a95b9774eeb184e9b1ecb6d Author: Chun-wei Fan Date: Mon Aug 28 15:01:55 2017 +0800 build: Set PythonDir according to MSVC version in projects This is to make this more in-line with what is in the G-I projects, so that we could use this to build the introspection files for GTK+-3.22.x directly from the project files. This is intended to follow the MSVC versions used to build the official CPython Windows binaries, i.e.: -3.3.x, 3.4.x: for MSVC 2010, 2012, 2013, which is built with 2010 -3.5.x, 3.6.x: for 2015 and 2017, which is built with 2015. build/win32/vs10/gtk3-version-paths.props.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 74ffc85b80f4f624b50d073cc60d2f103429b407 Author: Chun-wei Fan Date: Mon Aug 28 14:58:42 2017 +0800 build: Use PythonDir in Visual Studio projects This is to avoid any confusion with the PYTHONPATH envvar that is used by Python for additional locations for looking for modules. build/win32/vs10/README.txt | 4 ++-- build/win32/vs10/gtk3-gen-srcs.props | 6 +++--- build/win32/vs10/gtk3-install.propsin | 4 ++-- build/win32/vs10/gtk3-version-paths.props.in | 12 ++++++------ build/win32/vs9/README.txt | 4 ++-- build/win32/vs9/gtk3-gen-srcs.vsprops | 6 +++--- build/win32/vs9/gtk3-install.vspropsin | 4 ++-- build/win32/vs9/gtk3-version-paths.vsprops.in | 6 +++--- 8 files changed, 23 insertions(+), 23 deletions(-) commit f68421376bdbe6b1228c25b55f5674ae4ae9ef82 Author: Julius Härtl Date: Sat Aug 26 22:43:16 2017 +0200 gtkplacessidebar: remove oversight of old code https://bugzilla.gnome.org/show_bug.cgi?id=786123 gtk/gtkplacessidebar.c | 24 ++++++++---------------- gtk/gtkplacessidebarprivate.h | 2 -- 2 files changed, 8 insertions(+), 18 deletions(-) commit 35cf9fefd69567247c8993b53e7bdf7acf13ba14 Author: Changwoo Ryu Date: Sun Aug 27 21:24:01 2017 +0000 Update Korean translation po/ko.po | 367 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 202 insertions(+), 165 deletions(-) commit cd33f3abc4d39e40f0890598121dec1c96f62585 Author: Changwoo Ryu Date: Sun Aug 27 21:22:39 2017 +0000 Update Korean translation po-properties/ko.po | 900 ++++++++++++++++++++++++++-------------------------- 1 file changed, 454 insertions(+), 446 deletions(-) commit 26d8a6dfbac5180dce71d1f2edc7029cfa2773ef Author: Carlos Garnacho Date: Thu Aug 10 11:56:47 2017 +0200 menu: Avoid cancelling the menu on GTK+ grabs inside the GtkMenu Allows again sliders as menuitems, broken by commit 9b032073. https://bugzilla.gnome.org/show_bug.cgi?id=786029 gtk/gtkmenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d1d8658898b815ebef1631b05d07d255356c4602 Author: Daniel Boles Date: Sun Aug 27 15:32:44 2017 +0100 PlacesSidebar: Avoid warning about unused variable end_icon is only used if HAVE_CLOUDPROVIDERS is defined, so only declare it under the same condition. https://bugzilla.gnome.org/show_bug.cgi?id=786123 gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53e0bd91e64366d2ac750f376adf909f87fe80c0 Author: Daniel Boles Date: Sun Aug 27 15:31:17 2017 +0100 SidebarRow: need config.h for HAVE_CLOUDPROVIDERS https://bugzilla.gnome.org/show_bug.cgi?id=786123 gtk/gtksidebarrow.c | 3 +++ 1 file changed, 3 insertions(+) commit b1705523bb2eba44f392c420ff057884f1985b80 Author: Daniel Boles Date: Sun Aug 27 15:34:38 2017 +0100 testgtk: Remove an unused variable tests/testgtk.c | 1 - 1 file changed, 1 deletion(-) commit 532f665135dde1fdc53947606b6cc4409cc0c8ea Author: Mario Blättermann Date: Sun Aug 27 08:28:45 2017 +0000 Update German translation po/de.po | 183 ++++++++++++++++++++++++--------------------------------------- 1 file changed, 70 insertions(+), 113 deletions(-) commit 4c982d7e7f42aae0357e3e2f281b0f62a4d47f3a Author: Andika Triwidada Date: Sun Aug 27 01:43:41 2017 +0000 Update Indonesian translation po/id.po | 151 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 83 insertions(+), 68 deletions(-) commit 7b7a4bf1d0c9d95d0172096f205bc822b55132aa Author: Matthias Clasen Date: Sat Aug 26 19:15:36 2017 -0400 Remove an unused field Drag contexts are objects, so there is no need to carry a manual refcount around. gdk/x11/gdkdnd-x11.c | 2 -- 1 file changed, 2 deletions(-) commit 888559235fb5e27a4aa6ce6e69739d1a89693671 Author: Matthias Clasen Date: Sat Aug 26 18:01:17 2017 -0400 x11: Fix initial drag cursors Under X, we were not setting the right drag cursor initially, because at current_action == action == 0, initially. Fix this by explicitly using the right cursor when grabbing. gdk/x11/gdkdnd-x11.c | 4 ++++ 1 file changed, 4 insertions(+) commit c2df454621487f48062c4508aa432360314d7035 Author: Anders Jonsson Date: Sat Aug 26 22:20:51 2017 +0000 Update Swedish translation po/sv.po | 126 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 67 insertions(+), 59 deletions(-) commit 2029ad04848c9122a4824e691f877cd44ad4af2d Author: Milo Casagrande Date: Sat Aug 26 15:40:24 2017 +0000 Update Italian translation po/it.po | 123 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 69 insertions(+), 54 deletions(-) commit 45b54041edc59845dd7b4cc89d2d8a7e4e3d0dc5 Author: Matthias Clasen Date: Sat Aug 26 10:25:56 2017 -0400 emoji: Use the right gettext domain Otherwise, strings are not translated. https://bugzilla.gnome.org/show_bug.cgi?id=786841 gtk/ui/gtkemojichooser.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 91e684b6679c3f795c78b5903d864e1b88762a40 Author: Piotr Drąg Date: Sat Aug 26 16:11:51 2017 +0200 Update Polish translation po/pl.po | 147 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 81 insertions(+), 66 deletions(-) commit 3fbcab528f9604289f1747a1253842037cb32af4 Author: Fabio Tomat Date: Sat Aug 26 11:23:42 2017 +0000 Update Friulian translation po-properties/fur.po | 564 ++++++++++++++++++++++++++------------------------- 1 file changed, 287 insertions(+), 277 deletions(-) commit 0911cac1fe7fd91984c0c1d634ebed970ae65f5f Author: Baurzhan Muftakhidinov Date: Sat Aug 26 06:26:39 2017 +0000 Update Kazakh translation po/kk.po | 127 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 68 insertions(+), 59 deletions(-) commit 7a9ad88270af99cef8992cfd20bdf91a58dec3a1 Author: Rafael Fontenelle Date: Sat Aug 26 02:17:43 2017 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 158 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 82 insertions(+), 76 deletions(-) commit a446da7eb64d2c9301a15994f22dd0bf44d9a2cc Author: Julius Härtl Date: Thu Aug 10 22:30:36 2017 +0200 gtkplacessidebar: implement libcloudproviders support Add integration of the libcloudproviders DBus API to the GtkPlacesSidebar by showing name and sync status of the cloud providers. The exported menu is rendered as a GtkPopover. The sidebar will be updated if the list of cloudproviders changes e.g. by adding or removing an account. If any cloud provider changes detailed information like sync status only the individual sidebar row gets updated. Co-authored-by: Carlos Soriano https://bugzilla.gnome.org/show_bug.cgi?id=786123 configure.ac | 23 ++- gtk/gtkplacessidebar.c | 400 ++++++++++++++++++++++++++++++++---------- gtk/gtkplacessidebarprivate.h | 3 + gtk/gtksidebarrow.c | 208 ++++++++++++++++------ gtk/gtksidebarrowprivate.h | 4 +- gtk/ui/gtksidebarrow.ui | 25 ++- 6 files changed, 513 insertions(+), 150 deletions(-) commit 696b9a5df7fc89bf007a11c7f8b6a6a913229feb Author: Daniel Boles Date: Fri Aug 25 21:00:51 2017 +0100 ComboBox: Use iter before popdown() may invalidate Bad actors, such as our very own FileChooserButton, may connect to the :popped-up property and alter the model as the menu becomes in/visible. We were getting an iter to the model while popped-up, then doing popdown(), then using the iter, which may have just been invalidated by the errant notify::popped-up handler. If so, we quickly crash fatally. This is clearly bonkers, but until such patterns are removed, we have to work around them. So, set_active() from the clicked item while it is known to be valid, by moving the call to set_active() before popdown(). While here, change set_active_iter(iter) to set_active_internal(path) to avoid pointlessly going through the iter to get the path we already have https://bugzilla.gnome.org/show_bug.cgi?id=729651 gtk/gtkcombobox.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 32553ad3a2068be6d099d9a045c0403b799c2700 Author: Daniel Boles Date: Thu Aug 24 21:05:00 2017 +0100 Expander: Also hide child GdkWindow when collapsed Just adding/removing to/from the BoxGadget is not sufficient; that leaves the GdkWindow hanging around, taking input, changing the cursor, and all sorts of other nefarious shenanigans. Resolve by ensuring the child’s GdkWindow is unmapped if collapsed. Note: the reflexive solution is just to set_visible(child, expanded), but it is best to avoid messing with the child’s :visible property. https://bugzilla.gnome.org/show_bug.cgi?id=776937 gtk/gtkexpander.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 4ac58badf68c8de0f9f854d6a1e58968a5e3bf50 Author: Daniel Boles Date: Thu Aug 24 12:46:47 2017 +0100 ComboBox: Clarify documentation of get_active_iter https://bugzilla.gnome.org/show_bug.cgi?id=618160 gtk/gtkcombobox.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 947bca195cddd645e36eb5fa040bd6bc57bde395 Author: Daniel Boles Date: Wed Aug 23 21:44:10 2017 +0100 Popover: Include window shadows in overshoot calcs .update_position() enforces that non-Wayland platforms must position a Popover within its parent Window. We use the allocation of the Window to translate the position and check for overshoot on each of its sides. Calling Widget.get_allocation() of a CSD Window includes its shadows. But shadows were not excluded from the area in which we can position. Thus, Popovers could get positioned in the shadow of CSD windows, where, at least on X11, no input is received. Therefore, positioning a Popover over a shadow meant its child widgets within that area became unusable. Fix by calling Window.get_shadow() and including it in the overshoot on each side. This adjusts for how the allocation includes shadows, making overshoots with and without shadows the same. Thus, we avoid considering shadows as viable for positioning, favouring a side where input works. https://bugzilla.gnome.org/show_bug.cgi?id=786209 gtk/gtkpopover.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 3a2c379f3c891106cf4b6e587e41e93a5e15a59f Author: Daniel Boles Date: Sun Aug 13 20:15:36 2017 +0100 testpopover: Use HeaderBar to get CSD decorations This helps test whether the Popover positioning gets messed up by the presence of CSD shadow or other accessories around the content area. https://bugzilla.gnome.org/show_bug.cgi?id=786209 tests/testpopover.c | 5 +++++ 1 file changed, 5 insertions(+) commit 53be5d2fc9eac929eedd68b4e2efb8ece148e138 Author: Cheng-Chia Tseng Date: Thu Aug 24 16:39:23 2017 +0000 Update Chinese (Taiwan) translation po/zh_TW.po | 407 +++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 227 insertions(+), 180 deletions(-) commit 64f3b38cd76228534fd2191b2e8d6e5f786e63d6 Author: Anders Jonsson Date: Thu Aug 24 09:44:28 2017 +0000 Update Swedish translation po/sv.po | 362 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 201 insertions(+), 161 deletions(-) commit 29d733b457722d7a9d81efe9857963173f3c72c4 Author: Anders Jonsson Date: Thu Aug 24 09:37:42 2017 +0000 Update Swedish translation po-properties/sv.po | 488 ++++++++++++++++++++++++++-------------------------- 1 file changed, 248 insertions(+), 240 deletions(-) commit beca77441d2df3a1afc0a236bf95eec26c376f27 Author: Piotr Drąg Date: Thu Aug 24 02:45:09 2017 +0200 Update POTFILES.in and POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 0969419610b5702c6743aef1636769b32dcfbd9f Author: Daniel Boles Date: Sat Aug 19 17:18:35 2017 +0100 SidebarRow: Add Unmount tooltip to eject_button It was reported that the lack of a tooltip made its purpose unclear. This can be solved by just copying PlacesViewRow’s eject_button tooltip. https://bugzilla.gnome.org/show_bug.cgi?id=766909 gtk/ui/gtksidebarrow.ui | 1 + 1 file changed, 1 insertion(+) commit b9b46847401ff26e19a79399790614450b9442ea Author: Tom Schoonjans Date: Mon Jul 31 21:28:42 2017 +0100 GtkFileChooserNativeQuartz: restore parent focus after closing dialog Tested for both modal and non-modal dialogs https://bugzilla.gnome.org/show_bug.cgi?id=785306 gtk/gtkfilechoosernativequartz.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) commit bed1bd1a0c379db6ef9024a8d6806d3d565d6f3d Author: Tom Schoonjans Date: Mon Jul 31 21:26:47 2017 +0100 GtkFileChooserNativeQuartz: improve support for file filters Instead of using conditional compilation, use respondsToSelector to check at runtime for setAccessoryViewDisclosed. https://bugzilla.gnome.org/show_bug.cgi?id=785306 gtk/gtkfilechoosernativequartz.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit fb59b090d6a184cdf9b940710588b61763a003f5 Author: Tom Schoonjans Date: Sun Jul 23 09:37:26 2017 +0100 GtkFileChooserNativeQuartz: add support for Mountain Lion and Mavericks https://bugzilla.gnome.org/show_bug.cgi?id=784723 introduced support for native file chooser dialogs on macOS, but due to the use of generics in the patch, there will be compilation errors on pre-Xcode 7 platforms, such as Mountain Lion and Mavericks. I strongly recommend to revert this patch when the oldest supported macOS release is bumped to Yosemite (10.10). https://bugzilla.gnome.org/show_bug.cgi?id=785306 gtk/gtkfilechoosernativequartz.c | 16 ++++++++-------- gtk/gtkfilefilter.c | 4 ++-- gtk/gtkfilefilterprivate.h | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) commit 12d10f239b1caa48f2f5ae903f955c92a9abf20d Author: Lionel Landwerlin Date: Fri Aug 18 23:57:56 2017 +0100 gdk: wayland: always set buffer scale on size update We're only updating this when we have an EGL window. This means we have the wrong scaling factor when using Vulkan. https://bugzilla.gnome.org/show_bug.cgi?id=786492 gdk/wayland/gdkwindow-wayland.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit f955c3eabcfe6066c1b6d082b0a65c91022ef7a9 Author: Fabio Tomat Date: Wed Aug 23 12:55:53 2017 +0000 Update Friulian translation po/fur.po | 82 ++++++++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 63 insertions(+), 19 deletions(-) commit 0ba84208ab29647c82b6e972061d64863acdf472 Author: Milo Casagrande Date: Wed Aug 23 07:12:14 2017 +0000 Update Italian translation po/it.po | 380 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 202 insertions(+), 178 deletions(-) commit 012dc8f12a03eb8c87f94e5f04b8751278418c25 Author: Milo Casagrande Date: Tue Aug 22 16:41:00 2017 +0000 Update Italian translation po-properties/it.po | 479 ++++++++++++++++++++++++++-------------------------- 1 file changed, 243 insertions(+), 236 deletions(-) commit 6537f7dad8a10c74d316102d01ac9cc8c500453a Author: Daniel Boles Date: Tue Aug 22 14:14:53 2017 +0100 getting_started: Sync filenames & section headings The order of Examples 3 and 4 was swapped, so the headings updated themselves, but the filenames were left reflecting the old order. https://bugzilla.gnome.org/show_bug.cgi?id=786553 docs/reference/gtk/getting_started.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit efbf6f183ecd24cddea743a02fe8ce545f1b55f8 Author: Matthias Clasen Date: Tue Aug 22 08:33:11 2017 -0400 3.22.19 NEWS | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 39 insertions(+), 2 deletions(-) commit cfdb9f95dc8aa71e322bc81f29844affaca5c66c Author: Matthias Clasen Date: Sat Aug 19 14:05:48 2017 -0400 Handle emoji data change in emoji chooser Update the settings schema to follow the change in Emoji data, and make the emoji chooser code handle the new format. gtk/gtkemojichooser.c | 8 ++++---- gtk/org.gtk.Settings.EmojiChooser.gschema.xml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit bdff792462ff5bb7f135d55707d0a09aaaf1f7b6 Author: Matthias Clasen Date: Sat Aug 19 14:05:16 2017 -0400 Add shortnames to emoji data The json file is from https://github.com/emojione/emojione/tree/master/extras/alpha-codes It is under the MIT license. gtk/emoji/convert-emoji.c | 61 +- gtk/emoji/emoji.data | Bin 36967 -> 53533 bytes gtk/emoji/emoji1.json | 34181 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 34234 insertions(+), 8 deletions(-) commit 7a3126f4bb8d5017b1989f112dadd96f87677f50 Author: Matthias Clasen Date: Tue Aug 22 06:41:31 2017 -0400 Don't consume too many key releases The Emoji input support in GtkIMContextSimple was unintentionally consuming too many key release events. Fix this. https://bugzilla.gnome.org/show_bug.cgi?id=786594 gtk/gtkimcontextsimple.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 45322136edca74db96759cee8ca619bb91c4902b Author: Daniel Mustieles Date: Mon Aug 21 11:33:27 2017 +0000 Update Spanish translation po/es.po | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit 02273ffd0545283285b033015df8653fe1ee2b4e Author: Pawan Chitrakar Date: Sun Aug 20 22:44:56 2017 +0000 Update Nepali translation po/ne.po | 9307 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 6093 insertions(+), 3214 deletions(-) commit 70cfeb5dcd538735352a716be65e835135721a8d Author: Mario Blättermann Date: Sun Aug 20 14:40:07 2017 +0000 Update German translation po-properties/de.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 30b264d0b7b823766d92063437be14c2f6fcf61a Author: Christian Kirbach Date: Sun Aug 20 14:33:49 2017 +0000 Update German translation po-properties/de.po | 486 ++++++++++++++++++++++++++-------------------------- 1 file changed, 247 insertions(+), 239 deletions(-) commit 866a795683c4130e70c85298dc333f3ae2508f23 Author: Pawan Chitrakar Date: Sun Aug 20 09:42:28 2017 +0000 Update Nepali translation po-properties/ne.po | 10046 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 6503 insertions(+), 3543 deletions(-) commit 1660665f5358396295d178aa3541897129960bcd Author: Baurzhan Muftakhidinov Date: Sat Aug 19 17:33:57 2017 +0000 Update Kazakh translation po/kk.po | 142 +++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 92 insertions(+), 50 deletions(-) commit b43cad266d33df0d92b473ac29d49a10b3f89757 Author: Alexandre Franke Date: Sat Aug 19 14:44:33 2017 +0000 Update French translation po/fr.po | 386 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 205 insertions(+), 181 deletions(-) commit d752ce4800d65fa0b2512cde666d3723cfc9062d Author: Alexandre Franke Date: Sat Aug 19 14:41:23 2017 +0000 Update French translation po-properties/fr.po | 1161 ++++++++++++++++++++++++++------------------------- 1 file changed, 585 insertions(+), 576 deletions(-) commit 6a3a0cdb4884d770fb44aefe672e7c937bef5a55 Author: Mario Blättermann Date: Sat Aug 19 11:46:22 2017 +0000 Update German translation po/de.po | 359 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 199 insertions(+), 160 deletions(-) commit e5e182285b84ab52ce4f056887370e2eea4c335f Author: gogo Date: Fri Aug 18 20:38:20 2017 +0000 Update Croatian translation po-properties/hr.po | 968 +++++++++++++++++++++++++--------------------------- 1 file changed, 471 insertions(+), 497 deletions(-) commit f0031fc3569ae7b15ff21dc6ee5c8fab8e282853 Author: gogo Date: Fri Aug 18 20:36:41 2017 +0000 Update Croatian translation po/hr.po | 426 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 240 insertions(+), 186 deletions(-) commit 2218b5a116123f74a063e4cf1a98c5721ada2c8b Author: Carlos Garnacho Date: Fri Aug 18 19:16:19 2017 +0200 gtkbutton: Avoid keyboard grabs Seems to be there for the sole purpose of ensuring the button shall receive the key release on keyboard-triggered activation. For the cases where this makes sense (eg. comboboxes, menubuttons, ...) gtk+ already does ensure the menu is popup after key release. This makes the grab pretty useless, and there's many other cases where it doesn't make sense (eg. button being activated programmatically from an event handler in another widget). Fixes button activation unintendedly triggering shortcut inhibition on wayland. https://bugzilla.gnome.org/show_bug.cgi?id=786480 gtk/gtkbutton.c | 14 ++------------ gtk/gtkbuttonprivate.h | 1 - 2 files changed, 2 insertions(+), 13 deletions(-) commit d17aeec08cb1ae633583c79f3015e635c943981b Author: Rui Matos Date: Fri Aug 18 12:01:54 2017 +0200 gdkwindow: Avoid re-setting the opaque region if it doesn't change This avoids, at least, needless chatter with the compositor and the X server in X11's case. https://bugzilla.gnome.org/show_bug.cgi?id=786469 gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 11 +++++++++++ 2 files changed, 13 insertions(+) commit 690bfacb16fefad2f4249179c891791b91c8b468 Author: Dušan Kazik Date: Fri Aug 18 16:07:04 2017 +0000 Update Slovak translation po/sk.po | 281 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 160 insertions(+), 121 deletions(-) commit 170d73e5498a2099144305522a6701df42ed6fa5 Author: Marek Cernocky Date: Fri Aug 18 10:56:19 2017 +0200 Updated Czech translation po-properties/cs.po | 409 ++++++++++++++++++++++++++-------------------------- po/cs.po | 371 ++++++++++++++++++++++++++--------------------- 2 files changed, 413 insertions(+), 367 deletions(-) commit ebadaaa3e03470c86a0b56d5a5ac68a46fcb2006 Author: Chun-wei Fan Date: Tue Aug 8 22:19:45 2017 +0800 GDK-Win32: Fix AeroSnap on HiDPI Commit 1d0fad3 revealed that there were some assumptions made that were actually to compensate for the bug fixed by that commit, so we need to remove those assumptions as they would result in AerSnap to not work properly on HiDPI screens. Also re-do how we set the x and y positions of our GdkWindow, so that we are more consistent across the board when we go between a GDK window coordinate and a Windows API window cooredinate. This would also simplify the code a bit. https://bugzilla.gnome.org/show_bug.cgi?id=785999 gdk/win32/gdkevents-win32.c | 4 +- gdk/win32/gdkwindow-win32.c | 142 +++++++++++++++++++++----------------------- 2 files changed, 71 insertions(+), 75 deletions(-) commit 136f43e329a3250fadb87216cbcf0a95b65b3bd1 Author: Carlos Garnacho Date: Thu Aug 17 14:07:12 2017 +0200 gdk/x11: Extract GdkDeviceTool tool ID from "Wacom Serial IDs" property This property contains 5 integers, of which the last 2 respectively contain the tool serial number and tool ID. We were only extracting the first so far, but GdkDeviceTool also has API getters for the latter, which remained 0. https://bugzilla.gnome.org/show_bug.cgi?id=786400 gdk/x11/gdkdevicemanager-xi2.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit c3622b2454f0046eba87a3ec4112b2ee9b280b16 Author: Fran Dieguez Date: Wed Aug 16 22:46:55 2017 +0000 Update Galician translation po-properties/gl.po | 338 +++++++++++++++++++++------------------------------- 1 file changed, 137 insertions(+), 201 deletions(-) commit 0721dad9706524bd093a09e3cec0d983c9495ed8 Author: Daniel Boles Date: Tue Aug 15 19:29:22 2017 +0100 GdkDisplay: Call the correct push|pop_error_trap() It is wrong to assume all Displays are of the same class as the default. https://bugzilla.gnome.org/show_bug.cgi?id=784016 gdk/gdkdisplay.c | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) commit 99c8e30c029f9af2e85a74a93b740b767c7d72ef Author: Daniel Boles Date: Tue Aug 15 15:15:08 2017 +0100 ScrolledWindow: Bin unreachable ternary branches We already checked that the child is not NULL above. Coverity CID 1454191 gtk/gtkscrolledwindow.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit 3249b351af50252a5d40b028f1f36acf2db293fc Author: Daniel Boles Date: Tue Aug 15 02:11:19 2017 +0100 Widget: Fix outdated comments about tooltips They are not usually yellow anymore, the previous advice about how to style them was for pre-3.20 versions, and the immediate replacement (CSS class .tooltip) does not seem ready for primetime. https://bugzilla.gnome.org/show_bug.cgi?id=784421 gtk/gtkwidget.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 7b240ae298ae80b83b948412b00350cdccd24c34 Author: Chun-wei Fan Date: Tue Aug 15 10:43:01 2017 +0800 gtk/gtkemojichooser.c: Don't use g_autoptr() We can't use g_autoptr() on non-GCC-style compilers. https://bugzilla.gnome.org/show_bug.cgi?id=773299 gtk/gtkemojichooser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 727be58e6f2dd6901b60ab99e0931af66e5053df Author: Aurimas Černius Date: Tue Aug 15 16:48:49 2017 +0300 Updated Lithuanian translation po-properties/lt.po | 410 ++++++++++++++++++++++++++-------------------------- po/lt.po | 376 +++++++++++++++++++++++++---------------------- 2 files changed, 411 insertions(+), 375 deletions(-) commit 4cb9ba57b4a709505835f4e92af1ef79bdd29ec7 Author: Matthias Clasen Date: Tue Aug 15 06:40:05 2017 -0400 Remove an erroneous unref This was leftover by accident. gtk/gtkemojichooser.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit c56545f7211664ccccb27a5771835465260ebea7 Author: Matthias Clasen Date: Sun Aug 13 15:16:11 2017 -0400 Redo emoji data slightly No longer store variation sequences explicitly. Instead, put a 0 in the sequence where the modifiers will be inserted. This is more compact, and it allows us to put variations directly into the recent section. Update the type of the recent-emoji setting to match these changes. gtk/emoji/convert-emoji.c | 222 +++++++++++++------------- gtk/emoji/emoji.data | Bin 53562 -> 36967 bytes gtk/gtkemojichooser.c | 138 +++++++++------- gtk/org.gtk.Settings.EmojiChooser.gschema.xml | 7 +- 4 files changed, 200 insertions(+), 167 deletions(-) commit f27d928e335c97a648f220f9cc6c565b3fe282bc Author: Matthias Clasen Date: Sun Aug 13 09:27:37 2017 -0400 Don't update headings in an idle It is not necessary since flow box invalidation is all synchronous currently. If that ever changes, this code will need adjustment. gtk/gtkemojichooser.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 1efbcb0f827a1948201f728aca1db07cfd05688e Author: Daniel Boles Date: Mon Aug 14 23:10:59 2017 +0100 testpopover: Sync initial vals of controls & props The ComboBoxes were initially empty, rather than reflecting the initial values of the properties. The CheckButtons were only correct by chance. Fix this by setting the initial values on the widgets and binding them to the properties using SYNC_CREATE, so the two are always synced up. https://bugzilla.gnome.org/show_bug.cgi?id=786209 tests/testpopover.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 7b68c234b1ef1a114eea784aed00193fcb0576f5 Author: Hannes Müller Date: Mon Aug 14 19:17:17 2017 +0200 configure: Add missing quotes to unbreak an AS_IF Without quoting, the comma in AC_MSG_ERROR was wrongly interpreted as separating the if and else paths. https://bugzilla.gnome.org/show_bug.cgi?id=786287 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9faf1348c9b6b72ab89e5f56724bf0297c35856f Author: Daniel Mustieles Date: Mon Aug 14 16:04:33 2017 +0000 Update Spanish translation po/es.po | 293 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 160 insertions(+), 133 deletions(-) commit bf780d7ee3bfdae3118af446a0a7c3902f9a15e9 Author: Fran Dieguez Date: Sun Aug 13 22:20:29 2017 +0000 Update Galician translation po/gl.po | 292 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 159 insertions(+), 133 deletions(-) commit a6de59845ac247c309f19ebff5547229d0cd5ed2 Author: Muhammet Kara Date: Sun Aug 13 16:34:57 2017 +0000 Update Turkish translation po-properties/tr.po | 4384 +++++++++++++++++++++++++++++---------------------- 1 file changed, 2507 insertions(+), 1877 deletions(-) commit c7061d88a22470130a2099df7ae48b7bd88e8fa7 Author: Matthias Clasen Date: Sun Aug 13 07:49:57 2017 -0400 emoji: Fix a leak We were leaking the list of recently used Emoji here. Pointed out by Timm Bädert. gtk/gtkemojichooser.c | 1 + 1 file changed, 1 insertion(+) commit 66d9f4fe9543de7ca5ad674a512a1c239fd14277 Author: Matthias Clasen Date: Sun Aug 13 07:49:13 2017 -0400 emoji: Start search on the first character There is no need to wait for a longer prefix here. We already display all the content anyway, it will only get less. gtk/gtkemojichooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b493d29373219836c668a9f1958ac7c31764e74 Author: Matthias Clasen Date: Fri Aug 11 20:13:03 2017 -0400 Drop a redundant helper We already had a function that does exactly what is needed here. gtk/gtkentry.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit e6fd4837a2924b051d233cbe0aafab97f247bd93 Author: Matthias Clasen Date: Fri Aug 11 19:52:29 2017 -0400 Remove an unused field Nothing uses bubble_window, so it can go. gtk/gtkentry.c | 1 - 1 file changed, 1 deletion(-) commit 01c1c7f45defd957d92d54149a85338e43b69cfb Author: Rafael Fontenelle Date: Sat Aug 12 22:55:14 2017 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 416 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 219 insertions(+), 197 deletions(-) commit 373a02feee65da4b8f39ce8f745ac6557a9da936 Author: Rafael Fontenelle Date: Sat Aug 12 22:41:32 2017 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 484 +++++++++++++++++++++++++------------------------ 1 file changed, 246 insertions(+), 238 deletions(-) commit 127cc11e306d25b08701a58b6a1bf8635be1bb47 Author: Daniel Boles Date: Sat Aug 12 21:07:22 2017 +0100 InfoBar: Fix wrong/uninit var use in code example https://bugzilla.gnome.org/show_bug.cgi?id=786144 gtk/gtkinfobar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c235d5a5a9775224b2ab5a757623dbdca417e87 Author: Мирослав Николић Date: Sat Aug 12 20:03:28 2017 +0200 Updated Serbian translation po-properties/sr.po | 486 +++++++++++++++++++++++----------------------- po-properties/sr@latin.po | 486 +++++++++++++++++++++++----------------------- 2 files changed, 494 insertions(+), 478 deletions(-) commit 4326f565b2744e8de26755d1618f869bf4c21e16 Author: Мирослав Николић Date: Sat Aug 12 20:02:20 2017 +0200 Updated Serbian translation po/sr.po | 253 +++++++++++++++++++++++++++++++++------------------------ po/sr@latin.po | 252 ++++++++++++++++++++++++++++++++------------------------ 2 files changed, 296 insertions(+), 209 deletions(-) commit e85cea7b3db817d88816074660e9a979552efc5a Author: Daniel Boles Date: Sat Aug 12 15:49:07 2017 +0100 Adwaita: Sync CSS files with current SASS A recent commit for emoji also updated seemingly unrelated parts of the generated CSS files, presumably due to other things that changed in master. The CSS files should be kept in sync with their SASS sources. gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 53ce02344c777f8a8529fa12607b89e389e827b6 Author: Daniel Boles Date: Sat Aug 12 14:09:09 2017 +0100 LevelBar: Avoid unnecessarily copying allocation Just use the original allocation, instead of copying it and passing that gtk/gtklevelbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 6bdb4b12cbb0cbc25d21b3f8ef6cf449b8f5f0e8 Author: Andika Triwidada Date: Sat Aug 12 13:15:04 2017 +0000 Update Indonesian translation po-properties/id.po | 491 ++++++++++++++++++++++++++-------------------------- 1 file changed, 248 insertions(+), 243 deletions(-) commit 517d568f4037aed64fb0527be02a5e2984113fe0 Author: Andika Triwidada Date: Sat Aug 12 13:13:04 2017 +0000 Update Indonesian translation po/id.po | 266 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 146 insertions(+), 120 deletions(-) commit bfafe9aaeef5b12677a6ae34bac221963a6dac07 Author: Daniel Boles Date: Sat Aug 12 14:06:09 2017 +0100 convert-emoji: Add missing braces gtk/emoji/convert-emoji.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 929108d31a2083984aa19605d500199a54d62773 Author: Daniel Boles Date: Sat Aug 12 14:00:40 2017 +0100 convert-emoji: Don’t pointlessly do rest of loop skip can never become FALSE again, so break as soon as it becomes TRUE. gtk/emoji/convert-emoji.c | 1 + 1 file changed, 1 insertion(+) commit 130b6d836d3b602fd69050adf0de2e3c759275cc Author: Piotr Drąg Date: Fri Aug 11 22:27:40 2017 +0200 Update Polish translation po-properties/pl.po | 482 ++++++++++++++++++++++++++-------------------------- po/pl.po | 72 ++++++-- 2 files changed, 302 insertions(+), 252 deletions(-) commit 9b49baa99275501791ae59c169185d34772ac044 Author: Piotr Drąg Date: Fri Aug 11 22:18:50 2017 +0200 emojichooser: Add context to the Objects category string To disambiguate it from Objects in the Inspector. gtk/ui/gtkemojichooser.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a2f142edb21d0bd05700d1ce4e58bbc383ec9f1c Author: Piotr Drąg Date: Fri Aug 11 21:55:24 2017 +0200 Update POTFILES.skip po-properties/POTFILES.skip | 1 + 1 file changed, 1 insertion(+) commit d428739770f77ae5be1c02ac5c0da620b1c69627 Author: Matthias Clasen Date: Fri Aug 11 12:25:35 2017 -0400 widget-factory: Add a use of show-emoji-icon This also adds a testcase for nested popovers that was missing in widget-factory so far. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit d56505f74d9881053dc1ba5a3c2953a7395551de Author: Matthias Clasen Date: Fri Aug 11 12:05:24 2017 -0400 entry: Add support for an Emoji chooser Add an "Insert Emoji" item to the context menu in entries. We also add a show-emoji-icon property, which when set to TRUE, will add an icon that can be clicked to bring up the Emoji chooser. gtk/gtkentry.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) commit 340c520bd04e0000f731573f020546fc142bd474 Author: Matthias Clasen Date: Fri Aug 11 12:03:54 2017 -0400 Fix a problem with focus handling in modal popovers When the popover is dismissed, we return the focus to where it came from. However, by using gtk_widget_grab_focus, we were messing up the selection if that widget happens to be an entry. Special-case GtkEntry and use gtk_entry_grab_focus_without_selecting to avoid this issue. gtk/gtkpopover.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 45b2e162ae97576110c46a332879c500851931b1 Author: Matthias Clasen Date: Fri Aug 11 11:54:15 2017 -0400 Add an Emoji chooser widget Add a popover that shows color Emoji, with a search entry. The recently-used Emoji are stored in a GSetting. gtk/Makefile.am | 4 + gtk/gtkemojichooser.c | 649 ++++++++++++++++++++++++++ gtk/gtkemojichooser.h | 41 ++ gtk/org.gtk.Settings.EmojiChooser.gschema.xml | 16 + gtk/theme/Adwaita/_common.scss | 49 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 30 +- gtk/theme/Adwaita/gtk-contained.css | 30 +- gtk/ui/gtkemojichooser.ui | 347 ++++++++++++++ po/POTFILES.in | 2 + 9 files changed, 1164 insertions(+), 4 deletions(-) commit a584bcb88e08707f526b51a3268c7d660d85c7fe Author: Matthias Clasen Date: Fri Aug 11 11:47:02 2017 -0400 Add Emoji data The json file is imported from the (MIT-licensed) emoji.json[0] node module, which generates it from the emoji list published by the Unicode Consortium. This commit also adds a little tool to convert the data into a compact GVariant, and the result of that conversion, which is added to libgtk as a resource. The following commits will make use of it. [0] https://github.com/amio/emoji.json gtk/Makefile.am | 3 + gtk/emoji/convert-emoji.c | 172 + gtk/emoji/emoji.data | Bin 0 -> 53562 bytes gtk/emoji/emoji.json | 15740 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 15915 insertions(+) commit edca930e75ff25c726dd4e17c84e3000be2b2748 Author: Piotr Drąg Date: Fri Aug 11 00:09:45 2017 +0200 Update Polish translation po/pl.po | 212 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 98 insertions(+), 114 deletions(-) commit 56ce3356129c43fb738f7cf0ef12a7620c47bdef Author: Fran Dieguez Date: Thu Aug 10 13:55:33 2017 +0000 Update Galician translation po-properties/gl.po | 14178 ++++++++++++++++++++++++++------------------------ 1 file changed, 7394 insertions(+), 6784 deletions(-) commit cf4ddf07e7dd256954e0595374e1be8fc5dd2996 Author: Fran Dieguez Date: Thu Aug 10 09:52:33 2017 +0000 Update Galician translation po-properties/gl.po | 14105 ++++++++++++++++++++++++-------------------------- 1 file changed, 6809 insertions(+), 7296 deletions(-) commit ba99e23861e9eac4321dd336a5c12b131f68209c Author: Fabio Tomat Date: Wed Aug 9 12:52:10 2017 +0000 Update Friulian translation po/fur.po | 467 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 217 insertions(+), 250 deletions(-) commit d09bd2e2d3610a82d2c07c1de242a713afc2f67e Author: John Ralls Date: Tue Aug 8 23:15:46 2017 +0300 Duplicate the TIC strings before NULLing the GObject data. NULLing the data strings in GObject frees and invalidates the pointers returned by g_object_get_data so we need our own copy of the values. modules/input/imquartz.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 8a22e3598d9c042e27f8f55e329a00ed5fb6313c Author: Daniel Boles Date: Tue Aug 8 18:55:30 2017 +0100 Revert "levelbar: Don't underallocate block widgets" This reverts commit 78b4885fe8850e132d8bb06df8ab90ac6c2033e0. That commit causes a block always to be shown at the min side, even when the value is 0, in which case, no fill should be shown. https://bugzilla.gnome.org/show_bug.cgi?id=783649 gtk/gtklevelbar.c | 8 -------- 1 file changed, 8 deletions(-) commit 7f065b379c9cda2ec67fe1a0a82943619aec19ee Author: Chun-wei Fan Date: Tue Aug 8 17:13:34 2017 +0800 gtk/gtkfilechoosernativewin32.c: Declare variables at top-of-block Since GTK+-3.22.x is not advertised to use C99, make sure that the build works on pre-C99 compilers such as pre-2013 Visual Studio. gtk/gtkfilechoosernativewin32.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f534c971df7d336038c99cca712db12698ff5eb9 Author: Matthias Clasen Date: Mon Jul 24 13:24:33 2017 -0400 Avoid the use of g_autofree We can't use this in code that may be built on win32, so lets just not use it at all. gtk/gtkfilechoosernativeportal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e1cf6281fe800c070d599aef0681ef4f776e1775 Author: Matthias Clasen Date: Mon Aug 7 15:43:44 2017 -0400 3.22.18 NEWS | 34 ++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) commit a6a547c2e0a409a453f8431d62e7d452e5b36628 Author: Daniel Boles Date: Mon Aug 7 23:56:49 2017 +0100 Layout: Fix documentation on getting the GdkWindow Members are not public like they used to be, so accessors must be used. gtk/gtklayout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4ce5bed724b4c7afd2d9dcd6acf4647405a33448 Author: Daniel Boles Date: Mon Aug 7 19:38:12 2017 +0100 Revert "Widget: Remove obsolete hack-arounds for HandleBox" This reverts commit 12805a4fbfa66b10efbe48c03595b0d5b7608d0e. I must have been looking at the wrong tree because HandleBox is only deprecated in GTK+ 3, not removed. gtk/gtkwidget.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit cf955a545969346b350d9f941bd092f0f3879581 Author: Daniel Boles Date: Mon Aug 7 18:43:31 2017 +0100 Container: Don’t scroll to unset focus child coord In gtk_container_real_set_focus_child(), we try to scroll to the position of the new :focus-child if we have h or v adjustments. gtk_widget_translate_coordinates() returns FALSE if neither widget is realized or in other situations that cause output parameters x and y not to be set. Thus, if the caller did not initialise x/y and uses them even if the function returns FALSE, they are using uninitialised variables. In gtk_container_real_set_focus_child(), we did not check the return value but merrily went ahead and used x and y regardless. This is UB, as caught by Valgrind, as well as being pointless. The trivial fix is to exit early if (!gtk_widget_translate_coordinates). https://bugzilla.gnome.org/show_bug.cgi?id=776909 gtk/gtkcontainer.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 12805a4fbfa66b10efbe48c03595b0d5b7608d0e Author: Daniel Boles Date: Mon Aug 7 16:54:20 2017 +0100 Widget: Remove obsolete hack-arounds for HandleBox It is long gone. The commit c9d9db0fcc8f29ab014c1e0b4b0b4f269f22f99c identified these as ugly-but-functional workarounds for it, only. https://bugzilla.gnome.org/show_bug.cgi?id=776909 gtk/gtkwidget.c | 9 --------- 1 file changed, 9 deletions(-) commit 65b18a4fc1605e2a142895c2e995b50a4964adbd Author: Debarshi Ray Date: Fri Jul 21 17:48:53 2017 +0200 main: Set the error if gtk_init_with_args fails This fixes a fallout from 8a7d0ab481345708 where the error wasn't being set when a display couldn't be opened right after parsing the commandline. It also fixes an older bug where the error would be left unset if the commandline had already been parsed before (ie. when gtk_initialized is TRUE). https://bugzilla.gnome.org/show_bug.cgi?id=771959 gtk/gtkmain.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 66b24f29e10c6ad203b43617111766a4afca2984 Author: Debarshi Ray Date: Fri Jul 21 17:29:01 2017 +0200 docs: gtk_init_with_args will also fail if the commandline was invalid Be more explicit to match the gtk_init_check documentation. https://bugzilla.gnome.org/show_bug.cgi?id=771959 gtk/gtkmain.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 1031fa914a67551cf0896dd1adf26f455cdd3da8 Author: Debarshi Ray Date: Fri Jul 21 17:16:12 2017 +0200 docs: gtk_init_check will also fail if the commandline was invalid The existing documentation seems to suggest that gtk_init_check will ignore any failure to parse the commandline arguments, and that its return value only depends on its ability to initialize the windowing system. That's not true. Be more explicit to avoid misunderstandings. https://bugzilla.gnome.org/show_bug.cgi?id=771959 gtk/gtkmain.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 2b049d5d66205e76ec1ca10495cb3c25dcf6120d Author: Daniel Boles Date: Mon Aug 7 10:32:13 2017 +0100 AccelLabel: set_accel_closure() arg is nullable gtk/gtkaccellabel.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 777caab077ededd73bc64a69216b1f8a4771ec53 Author: Daniel Boles Date: Mon Aug 7 10:27:52 2017 +0100 AccelLabel: set_accel_widget() arg is nullable gtk/gtkaccellabel.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit b5b0c57a95a3ff8652cb1f34c223bbc714a59f99 Author: Matej Urbančič Date: Mon Aug 7 09:13:06 2017 +0200 Updated Slovenian translation po-properties/sl.po | 93 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 71 insertions(+), 22 deletions(-) commit 69576cd51035bf412b4e8bf91f2734fa785cdf13 Author: Daniel Boles Date: Sun Aug 6 18:03:27 2017 +0100 HeaderBar: Use less clashing appmenu fallback icon process-stop-symbolic is unintuitive if represented as a stop sign as in Adwaita, and completely ambiguous if represented as a cross like the window close button in other icon themes. Instead, use application-x-executable, which is already used elsewhere as a fallback if no specific icon can be found for the application. https://bugzilla.gnome.org/show_bug.cgi?id=784624 gtk/gtkheaderbar.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit f70796dea37a69fd1206068236db991d5b1c5ecb Author: Daniel Boles Date: Sun Aug 6 17:42:17 2017 +0100 docs: gtk/running: Document the GTK_CSD env var It was not documented before. https://bugzilla.gnome.org/show_bug.cgi?id=778791#c1 docs/reference/gtk/running.sgml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit b03f787a99f7f44639d85471eb5099c53d1c2738 Author: Daniel Boles Date: Sun Aug 6 17:35:07 2017 +0100 AccelLabel: Fix typos of Ctl to Ctrl gtk/gtkaccellabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fd5e929905dfeee4fae07a76e3ea1d0d34c2e1ac Author: Daniel Boles Date: Sun Aug 6 03:24:04 2017 +0100 icon-browser: Add missing document-edit icon https://bugzilla.gnome.org/show_bug.cgi?id=777515 demos/icon-browser/icon.list | 1 + 1 file changed, 1 insertion(+) commit 9d532da2dd4fafba8970d6d11a8378c5565b2de3 Author: Daniel Boles Date: Sun Aug 6 01:11:34 2017 +0100 gdkdisplay: Remove a pointless assignment gdk/gdkdisplay.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 43195fd997a335cf5b08a928c268df110e4862fb Author: Matthias Clasen Date: Sat Aug 5 19:31:52 2017 -0400 Enough with the beeping! Don't beep when modifiers are released in entries. This was an inadvertent change that snuck in with the emoji support. Also, don't beep while entering an emoji name. There is entirely too much beeping here. gtk/gtkimcontextsimple.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit c48297ed1210550e673943f0dec55bacc2699c1b Author: Daniel Boles Date: Sat Aug 5 20:21:28 2017 +0100 AccelLabel: Fix displaying accel unichars >= 0x80 In GTK+ 2, the ch < 0x80 was ORd with klass->latin1_to_char, and that was unconditionally set to TRUE in the class init function, so effectively the ch < 0x80 never mattered before or served any purpose. When klass->latin1_to_char was deleted from the class in commit f760538f17673c5bd7fec792be2f1abf8148fc32, this check’s sense changed. The resuls was that accel keyvals with gunichar value >= 0x80 stopped being rendered as symbols, instead falling back to their keysym name. Instead of recognisable symbols for these, we get raw, often obscure, and untranslatable keysym names. This breaks accessibility as well as client users who may be parsing such accels and migrating from GTK+ 2. So, remove the < 0x80 to restore the behaviour from before said commit. https://bugzilla.gnome.org/show_bug.cgi?id=783906 gtk/gtkaccellabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a86de5905c0946b09b4ea89c87c87bdd5e38033b Author: Matthias Clasen Date: Fri Aug 4 00:54:15 2017 -0400 Add support for entering emoji by name This commit adds some basic support for entering emoji by name to GtkIMContextSimple. To begin an emoji sequence, use Ctrl-Shift-e instead of Ctrl-Shift-u that is used for hex input. Otherwise, the behavior is the same: you can can let go of the modifier keys and end the sequence with space or enter, or hold on to the modifier keys and end the sequence by releasing them. Only a limited, fixed set of names is supported at this time, see the GtkIMContextSimple docs for a full list. gtk/gtkimcontextsimple.c | 274 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 238 insertions(+), 36 deletions(-) commit 78b4885fe8850e132d8bb06df8ab90ac6c2033e0 Author: Timm Bäder Date: Thu Jun 29 15:28:47 2017 +0200 levelbar: Don't underallocate block widgets https://bugzilla.gnome.org/show_bug.cgi?id=783649 gtk/gtklevelbar.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 46a8559cd4e127bfaf56ccb7e9541a52ff831947 Author: Daniel Boles Date: Thu Aug 3 21:09:25 2017 +0100 Window: Also quote Window address in Popover error This is symmetrical with how we already do that for the Popover, and it could be useful for debugging. gtk/gtkwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit fe5f650088414a3a29a4dd77e896989dcd0e2c30 Author: Daniel Boles Date: Thu Aug 3 20:42:54 2017 +0100 widget-factory: Add tooltip to Entry icon just to show we can. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 9af612d314199d8250c4c3c4dec1628a5a862c45 Author: Daniel Boles Date: Thu Aug 3 20:26:18 2017 +0100 Fix some nullable Returns annotations based on reports and patches by Iñaki García Etxebarria: https://bugzilla.gnome.org/show_bug.cgi?id=781246 https://bugzilla.gnome.org/show_bug.cgi?id=785423 gtk/gtkbin.c | 3 ++- gtk/gtkwidget.c | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) commit 4ba86706befac23f73ea76676572275f448146e5 Author: Daniel Boles Date: Thu Aug 3 12:42:20 2017 +0100 GtkFixed: Update documentation intro • Add GtkLayout as a @See_also since it includes fixed-pos functionality • Drop mention of the long-gone Linux framebuffer port • Explain how to work around the problems with RTL text gtk/gtkfixed.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit ef7ee1636839c49b93e6e34743cc742a275b7676 Author: Jiri Grönroos Date: Thu Aug 3 09:51:38 2017 +0000 Update Finnish translation po/fi.po | 622 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 311 insertions(+), 311 deletions(-) commit 8a17848f02a0a641cdcd68195710f646a986dcd7 Author: Timm Bäder Date: Thu Aug 3 11:14:53 2017 +0200 entry: get_icon_area returns in entry coordinates Document what the returned coordinates are relative to. gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5acee3a3e054f25e73e2027269e5f51efe41af7d Author: Daniel Boles Date: Thu Aug 3 10:13:52 2017 +0100 Layout: Tweak documentation blurb Being addable to a ScrolledWindow is not interesting; now that SW auto-adds a Viewport if needed, so can DrawingArea and any other widget. Mention GtkFixed in case the reader just wants that bit of functionality gtk/gtklayout.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 1c23bce350f6922e067258a8e845c5c3d8d90a02 Author: Olivier Fourdan Date: Wed Mar 22 10:21:02 2017 +0100 wayland: add shortcut inhibitor support This adds support for the shortcut inhibitor protocol in gdk/wayland backend. A shortcut inhibitor request is issued from the gdk wayland backend for both the older, deprecated API gdk_device_grab() and the new gdk seat API gdk_seat_grab(), but only if the requested capability is for the keyboard only. https://bugzilla.gnome.org/show_bug.cgi?id=783343 configure.ac | 2 +- gdk/wayland/Makefile.am | 2 ++ gdk/wayland/gdkdevice-wayland.c | 15 +++++++++++- gdk/wayland/gdkdisplay-wayland.c | 6 +++++ gdk/wayland/gdkdisplay-wayland.h | 2 ++ gdk/wayland/gdkprivate-wayland.h | 5 ++++ gdk/wayland/gdkwindow-wayland.c | 51 ++++++++++++++++++++++++++++++++++++++++ 7 files changed, 81 insertions(+), 2 deletions(-) commit 7dd33497518e98806216c140728ad2a7114fb015 Author: Daniel Boles Date: Tue Aug 1 20:41:23 2017 +0100 bindings: Avoid iterating array if it is never set If query.return_type is not one we want, binding_compose_params() is not called, and so params remains a NULL pointer. However, the code was then unconditionally iterating it regardless. Don't if it is still NULL. CID 1452218 (#1 of 1): Explicit null dereferenced (FORWARD_NULL) 15. var_deref_op: Dereferencing null pointer params. gtk/gtkbindings.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 6063a8923575816adee6ff3eafcfe07a8749d31e Author: Daniel Boles Date: Tue Aug 1 19:57:51 2017 +0100 cssselector: Ensure we do not index out of bounds This would only happen if the last element was deprecated, but it should be avoided anyway. CID 1388852 (#1 of 1): Out-of-bounds read (OVERRUN) 12. overrun-local: Overrunning array pseudo_classes of 16 32-byte elements at element index 16 (byte offset 512) using index i + 1U (which evaluates to 16). gtk/gtkcssselector.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit a381a06b1280acb80c83a3eeea827ef163e4928d Author: Daniel Boles Date: Tue Aug 1 19:45:57 2017 +0100 Notebook: Remove null check after dereference This function clearly assumes the parameter children cannot be NULL, and the call sites seem to perform enough checks to confirm this. CID 1388869 (#1 of 1): Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking children suggests that it may be null, but it has already been dereferenced on all paths leading to the check. gtk/gtknotebook.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit cd7e5fae226219d8b8d753974078f36540f28a89 Author: Daniel Boles Date: Tue Aug 1 19:39:08 2017 +0100 Calendar: Add default case to appease Coverity CID 1432024 (#1 of 1): Uninitialized scalar variable (UNINIT) 2. uninit_use_in_call: Using uninitialized value rect.x when calling calendar_arrow_rectangle. Add a default case to the switch which will bail out with g_assert_not_reached(), which should reassure Coverity that the method is always called with a valid value that is handled in the switch. gtk/gtkcalendar.c | 3 +++ 1 file changed, 3 insertions(+) commit 5e6293e54f9d807869835dfbb8814819e1449401 Author: Daniel Boles Date: Tue Aug 1 19:31:20 2017 +0100 cssbordervalue: Fix possible use of uninitialised If value->values[i] is NULL, then values[i] was left uninitialised. The code then reads each element of values[]. CID 1432029 (#1 of 1): Uninitialized pointer read (UNINIT) 11. uninit_use: Using uninitialized value values[i]. gtk/gtkcssbordervalue.c | 4 ++++ 1 file changed, 4 insertions(+) commit 0b230d34c4b01b4540ad1986031d206d8293b6d4 Author: Timm Bäder Date: Sat May 6 11:44:30 2017 +0200 scrolledwindow: Remove useless function call We never use the result. gtk/gtkscrolledwindow.c | 1 - 1 file changed, 1 deletion(-) commit 1088056a5d6708b405343755b7f08e62c8a90485 Author: Daniel Boles Date: Tue Aug 1 18:44:48 2017 +0100 Widget: Do not dereference before type check gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 505d5e41c28565d88de9708e7b85af5619eefd0b Author: Timm Bäder Date: Sun Jul 9 10:02:34 2017 +0200 gtkapplication: g_dbus_proxy_new_sync can return NULL Specifically, in the case where @error is set. gtk/gtkapplication-dbus.c | 3 +++ 1 file changed, 3 insertions(+) commit df10ec7b9bc1e7695887153cc5464499caa93037 Author: Daniel Boles Date: Tue Aug 1 10:09:01 2017 +0100 Entry: Fix unset icon tooltip hiding Entry tooltip Our ::query-tooltip handler first checks whether the pointer is over any of the icons, returning their tooltip if so, and if not chains up to Widget::query-tooltip in order to show the text for the widget overall. But ensure_has_tooltip(), which exists to update :has-tooltip based on whether ::query-tooltip is needed, only set :has-tooltip to TRUE if any icon had a tooltip, without caring whether the widget as a whole does. That is asymmetrical and meant that if the Entry had a tooltip, but subsequently all icons had their tooltips unset, :has-tooltip would be set to FALSE, and hence the tooltip for the widget would become lost. The fix is to set :has-tooltip to TRUE if the widget has a tooltip of its own, and we only need to check the icons if that is not the case. https://bugzilla.gnome.org/show_bug.cgi?id=785672 gtk/gtkentry.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit ce792384c578d736cf4860d3c525b2a3c85a06f9 Author: Daniel Boles Date: Tue Aug 1 13:35:39 2017 +0100 Entry: Warn about corner case hiding icon tooltips https://bugzilla.gnome.org/show_bug.cgi?id=785672#c4 gtk/gtkentry.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 3680e3d40b13e26345d0d3000ce9b5a9cc56fd74 Author: Daniel Boles Date: Mon Jul 31 13:22:19 2017 +0100 Entry: Fix get_icon_at_pos() This was comparing the input position, which is documented as being relative to the top-left of the Entry allocation, to icon allocations that were not adjusted accordingly. This could result in tooltips for icons not being shown in various conditions, since the ::query-tooltip handler uses get_icon_at_pos() to check whether to show an icon tooltip. The fix is to compare to the icon border box, not border allocation, as CssGadget::get_border_box() adjusts relative to the widget. Better yet: we can just make CssGadget::border_box_contains_point() compare for us. Delegating to Entry::get_icon_area(), which manually reimplements CssGadget::get_border_box(), would also work, but this is simpler. https://bugzilla.gnome.org/show_bug.cgi?id=780938 gtk/gtkentry.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit ad06a08b9961c270557f5e4fb3ffc805ab3fc0f5 Author: Daniel Boles Date: Mon Jul 31 19:33:38 2017 +0100 testentryicons: Set tooltips on all icons Just to test tooltips in all cases; what was already here should have been sufficient, but this doesn't hurt. While here, also add some instructive placeholder text. https://bugzilla.gnome.org/show_bug.cgi?id=780938 tests/testentryicons.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit d9170e19782707e719f63b4aa8417a30917d4fa5 Author: Timm Bäder Date: Mon Mar 6 18:41:12 2017 +0100 entry: make sure priv->current_pos is valid We can e.g. get the entry dispose()d and a focus_out event after that (because the toplevel unsets the focus which previously was the entry). We then later use priv->current_pos in a call to pango API which makes sure the given index is valid for the given layout. Since we lazily create a GtkEntryBuffer in get_buffer() and a PangoLayout lazily in gtk_entry_create_layout, these 2 are always valid but don't match priv->current_pos in this situation. Fix this by resetting priv->current-pos in dispose(). https://bugzilla.gnome.org/show_bug.cgi?id=785255 gtk/gtkentry.c | 2 ++ 1 file changed, 2 insertions(+) commit a30220d4e3b08c3fe757095dfac064066536eb2d Author: Matej Urbančič Date: Thu Jul 27 15:53:08 2017 +0200 Updated Slovenian translation po-properties/sl.po | 3583 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1938 insertions(+), 1645 deletions(-) commit c0d88a5b7b1e842f27f5f24ecaff4cb27224e42a Author: Matej Urbančič Date: Thu Jul 27 15:51:09 2017 +0200 Updated Slovenian translation po/sl.po | 2317 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1307 insertions(+), 1010 deletions(-) commit 9b032073cbcf5aadbeb4b74f0cf662a9fa5f5530 Author: Carlos Garnacho Date: Mon Jun 26 19:26:26 2017 +0200 gtkrange: Instaurate GTK+ grabs while manipulating ranges It should not be necessary for most situations, except while there's GDK grabs coercing events in a different way. https://bugzilla.gnome.org/show_bug.cgi?id=782870 gtk/gtkrange.c | 3 +++ 1 file changed, 3 insertions(+) commit 54c26e0983b9300d3bc66adf05cf668e7a1bfe86 Author: Carlos Garnacho Date: Mon Jun 26 19:20:20 2017 +0200 gtkgesture: Do not ignore events from other GdkWindows than the widget's There's GDK grab situations (eg. pointer motion outside the grab window in combination with a GTK+ grab) where a gesture may receive events from windows that are not the widget's. The _update_widget_coordinates() still does work for those situations, so just let these events go through instead of ignoring them. https://bugzilla.gnome.org/show_bug.cgi?id=782870 gtk/gtkgesture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6d4217f3d5111fcc2f7ca02854b043c9f281080 Author: Carlos Garnacho Date: Tue Jul 25 16:18:07 2017 +0200 gtklabel: Fix touch link handling under wayland Refactor the code updating the active link under the current coordinates into a separate function, and call it on GtkGestureMultiPress::pressed so the link is updated on GDK_TOUCH_BEGIN. Based on a patch by Jan-Michael Brummer . https://bugzilla.gnome.org/show_bug.cgi?id=776903 gtk/gtklabel.c | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit 0daf796763b98cd30775bc4bef959ce1b0aa0287 Author: Carlos Garnacho Date: Tue Jul 25 15:46:01 2017 +0200 gtklinkbutton: Set cursor on button's event window Setting the cursor on the widget window (i.e. the parent widget's) is finicky because the cursor needs to be updated on crossing events, and will yield the wrong result for other master devices that happen to be in other areas of the same parent widget's window. Just set it always on the event window created by the GtkButton parent class. That window was causing the crossing events, so the rectangle that gets the hand cursor set will be the same size, and we don't need to track pointer crossing state that way. https://bugzilla.gnome.org/show_bug.cgi?id=785375 gtk/gtklinkbutton.c | 42 +++++++++++------------------------------- 1 file changed, 11 insertions(+), 31 deletions(-) commit b53a6fb092590f157ba61ee66aa9970fb5cdeb51 Author: Carlos Garnacho Date: Tue Jul 25 15:44:30 2017 +0200 wayland: Clear tablet tool cursor on proximity out This ensures that the tablet tool will get the cursor updated even if it happens to fall within the same window again on the next proximity in. https://bugzilla.gnome.org/show_bug.cgi?id=785375 gdk/wayland/gdkdevice-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 18eeaf704ec93105b4bdc3408d9f8cd3909af757 Author: Carlos Garnacho Date: Tue Jul 25 15:37:10 2017 +0200 gdkwindow: Update cursor for tablet tools in the window This check must be done explicitly on Wayland as the master device for tablet tools differ from the Core Pointer. This ensures that whenever a tablet tool is inside a window and the cursor is programmatically changed, it will be visually updated too. https://bugzilla.gnome.org/show_bug.cgi?id=785375 gdk/gdkwindow.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 3f098332533e36a54330329f5b82b45a69dc7bb8 Author: Carlos Garnacho Date: Tue Jul 25 15:35:41 2017 +0200 wayland: Observe GDK_SEAT_CAPABILITY_TABLET_STYLUS on gdk_seat_get_slaves() This flag wasn't being honored so far... gdk/wayland/gdkdevice-wayland.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 32919a4a02f4bc6633dc28ec3a7a9e5f1f3df7b6 Author: Jason Gerecke Date: Mon Jun 12 15:41:51 2017 -0700 wayland: Implement support for tablet wheel scrolling Adds support for creating scroll events from Wayland tablet wheel events. Even though no Wacom tablet puck has a smooth-scrolling wheel, both event types need to be generated to make the upper layers happy. https://bugzilla.gnome.org/show_bug.cgi?id=783716 gdk/wayland/gdkdevice-wayland.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit e6863da8fca0c77bb5467c81cb4bcb69fa7a88a5 Author: Carlos Garnacho Date: Thu Jul 20 13:26:00 2017 +0200 wayland: Make function to create scroll event more generic Add GdkWaylandPointerData and GdkDevice arguments so it can be used across master devices. https://bugzilla.gnome.org/show_bug.cgi?id=783716 gdk/wayland/gdkdevice-wayland.c | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) commit 3a83de295db4c5a3fc3e460498f6ac8a3a73fde5 Author: Jason Gerecke Date: Fri Jun 23 11:17:53 2017 -0700 wayland: Get implicit grab serial information from tablet devices If a tablet device is used to perform actions like window moving or resizing, GTK must provide the correct implicit grab serial number over Wayland to Mutter in order for the action to succeed. This commit adds tablet support to the implicit serial getters. https://bugzilla.gnome.org/show_bug.cgi?id=777333 gdk/wayland/gdkdevice-wayland.c | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) commit 376ff1ae607db3e3ae47e8caeb8e8bce98c56f54 Author: Jonas Ådahl Date: Mon Mar 13 14:42:38 2017 +0800 wayland: Throttle system bell requests If a bad behaving application tries to make the window/display beep too often, throttle the beep requests so that we don't end up filling the Wayland socket queue. The throttle is set to 50 beeps per second, which far more beeps than will ever make any sense from a user experience point of view, but will avoid terminating due to an excessive amount of requests. https://bugzilla.gnome.org/show_bug.cgi?id=778188 gdk/wayland/gdkdisplay-wayland.c | 9 +++++++++ gdk/wayland/gdkdisplay-wayland.h | 2 ++ 2 files changed, 11 insertions(+) commit f78585b7c35cbe07b5cf921a871d59299dcfa355 Author: Jonas Ådahl Date: Mon Mar 13 14:33:06 2017 +0800 wayland: Make beep requests go through the GdkDisplay This way we can add things like throttling. https://bugzilla.gnome.org/show_bug.cgi?id=778188 gdk/wayland/gdkdisplay-wayland.c | 19 ++++++++++++++++--- gdk/wayland/gdkprivate-wayland.h | 5 +++++ gdk/wayland/gdkwindow-wayland.c | 18 +++++++++--------- 3 files changed, 30 insertions(+), 12 deletions(-) commit 59857e8f20aa07bbdaa621eecccb31accc717edb Author: Matthias Clasen Date: Tue Jul 18 22:24:40 2017 -0400 3.22.17 NEWS | 20 ++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) commit 448d76b8e89e20cbff2a8bf085796ba1c52fdeab Author: Matthias Clasen Date: Tue Jul 18 22:55:10 2017 -0400 update expected test results testsuite/a11y/about.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 65b6aafb450633fc0cc227a14e12b1834d7b91b5 Author: Timm Bäder Date: Sat Feb 4 10:49:43 2017 +0100 filechooserwidget: Let the rename entry hexpand This makes a difference with other locals where error messages are longer than the standard width of entry+spacing+button. gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 5edeba5965ea615186066527da4613c9b6644ad0 Author: Iñaki García Etxebarria Date: Sat Apr 29 13:08:49 2017 +0200 Add nullable return annotation to gtk_text_mark_get_name https://bugzilla.gnome.org/show_bug.cgi?id=781936 gtk/gtktextmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 743eaeecf2a5ff8b3462ba657a97de8a3091db87 Author: Iñaki García Etxebarria Date: Sat Apr 29 13:08:26 2017 +0200 Add nullable return annotation to gtk_notebook_get_tab_label https://bugzilla.gnome.org/show_bug.cgi?id=781935 gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68b92cc6ef6f4276f4529ce49be2febdb78db06b Author: Cody Russell Date: Tue Jul 18 14:54:11 2017 -0400 Update API for El Capitan+ Use NSAnimationContext where possible. gdk/quartz/gdkwindow-quartz.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit fc1f0b171cc3bb4bea9b53f5b4a5aca180da6ec9 Author: Cody Russell Date: Sun Jul 9 19:04:00 2017 +0000 os x: Add new versions gdk/quartz/gdkquartz.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit ff982658eedcce0a938c538c29eb5bb43bfed02d Author: Daniel Aleksandersen Date: Fri Jul 14 03:19:47 2017 +0200 Update the URLs of known licenses to HTTPS Use HTTPS by default for security/privacy. Avoids slow redirects. https://bugzilla.gnome.org/show_bug.cgi?id=766517 gtk/gtkaboutdialog.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit f05e6b2936dff9ce848cb42eb1bf13c07f9821eb Author: Arun Raghavan Date: Thu Jul 13 11:25:11 2017 +0530 gtkapplication: Mark gtk_application_get_active_window() as nullable https://bugzilla.gnome.org/show_bug.cgi?id=784888 gtk/gtkapplication.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7e362638ac21e56eda3bafdde2a71dc47bb1dc9f Author: John Ralls Date: Tue Jul 18 11:15:12 2017 -0700 Copy gtk_clipboard_get_default implementation to gtkclipboard-quartz.c Fixes bug 784323. gtk/gtkclipboard-quartz.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 4b6c68b51e582c66b582368fb9fa617b0f2ffe0e Author: Piotr Drąg Date: Tue Jul 18 19:43:09 2017 +0200 Update POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 8c691b82321369532b33bc87e3bde4835ddf0c94 Author: Tom Schoonjans Date: Thu Jul 13 20:07:22 2017 +0100 GtkFileChooserNativeWin32: add support for get_filter and set_filter https://bugzilla.gnome.org/show_bug.cgi?id=784723 gtk/gtkfilechoosernativewin32.c | 42 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) commit 626ac112f0a4f33afb919ef20ba59b023dadd569 Author: Tom Schoonjans Date: Thu Jul 13 20:03:55 2017 +0100 testgtk.c: native file chooser filter changes Set the filter before showing the dialog Afterwards, fetch the last active filter and display its name. https://bugzilla.gnome.org/show_bug.cgi?id=784723 tests/testgtk.c | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) commit 291eda66755531cda4d1911e70ebefb5291d8e20 Author: Tom Schoonjans Date: Thu Jul 13 20:01:38 2017 +0100 GtkFileChooserNativeQuartz: add support for get_filter and set_filter https://bugzilla.gnome.org/show_bug.cgi?id=784723 gtk/gtkfilechoosernative.c | 9 +++++++++ gtk/gtkfilechoosernativeprivate.h | 1 + gtk/gtkfilechoosernativequartz.c | 29 ++++++++++++++++++++++++++--- 3 files changed, 36 insertions(+), 3 deletions(-) commit 2f6c90636d3abae68bc0f772215033287164ca52 Author: Tom Schoonjans Date: Sun Jul 9 18:04:06 2017 +0100 GtkFileChooserNative: documentation updated https://bugzilla.gnome.org/show_bug.cgi?id=784723 gtk/gtkfilechoosernative.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit db87140cf3133ee6c048815545251377b4175a37 Author: Tom Schoonjans Date: Sun Jul 9 17:06:12 2017 +0100 GtkFileChooserNativeQuartz: add support for filters Includes: * Simple glob patterns (*.ext, *.*,...) * MIME types * pixbuf formats https://bugzilla.gnome.org/show_bug.cgi?id=784723 gtk/gtkfilechoosernativequartz.c | 120 +++++++++++++++++++++++++++++++++------ gtk/gtkfilefilter.c | 78 +++++++++++++++++++++++++ gtk/gtkfilefilterprivate.h | 10 ++++ 3 files changed, 190 insertions(+), 18 deletions(-) commit 6d104813cc3c762344df319f35f59f4f55e34e5c Author: Tom Schoonjans Date: Tue Jul 4 08:07:09 2017 +0100 GtkFileChooserNativeQuartz: add partial support for extra widget When the extra widget is a GtkLabel, then its text will be displayed as a message in the NSSavePanel or NSOpenPanel https://bugzilla.gnome.org/show_bug.cgi?id=784723 gtk/gtkfilechoosernativequartz.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) commit af7022988c500642b2ac361a7381af5702ddde44 Author: Tom Schoonjans Date: Mon Jul 3 12:54:39 2017 +0100 GtkFileChooserNativeQuartz: add support for GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER Which is via NSOpenPanel, not NSSavePanel... https://bugzilla.gnome.org/show_bug.cgi?id=784723 gtk/gtkfilechoosernativequartz.c | 90 +++++++++++++++++++++++----------------- 1 file changed, 51 insertions(+), 39 deletions(-) commit ce4c9a9ad66ff8225ee82a984585eb2d7785a419 Author: Tom Schoonjans Date: Fri Jun 30 21:34:05 2017 +0100 GtkFilechooserNative: add macOS support Based on the Win32 implementation, as well as the macOS file chooser from https://github.com/GNOME/gedit/blob/master/gedit/gedit-file-chooser-dialog-osx.[ch] Not fully tested yet, but working properly so far. TODO: filter support, extra widget (label), documentation... https://bugzilla.gnome.org/show_bug.cgi?id=784723 gtk/Makefile.am | 1 + gtk/gtkfilechoosernative.c | 12 ++ gtk/gtkfilechoosernativeprivate.h | 3 + gtk/gtkfilechoosernativequartz.c | 431 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 447 insertions(+) commit 1dd559134cd8276d826c93830d262aaa3d44f859 Author: Fabio Tomat Date: Sat Jul 15 20:28:20 2017 +0200 Add Friulian translation po-properties/LINGUAS | 1 + po-properties/fur.po | 9379 +++++++++++++++++++++++++++++++++++++++++++++++++ po/LINGUAS | 1 + po/fur.po | 6772 +++++++++++++++++++++++++++++++++++ 4 files changed, 16153 insertions(+) commit a6dcb80fb42c3dad9c0ffc9a9f655b49a43c183f Author: Bastien Nocera Date: Wed Jul 5 23:01:26 2017 +0200 image: Fix loading of pixdata GResources Pixdata is deprecated but some software already use GtkImage widgets with image data loaded from GResource-backed pixdata. As the security-problem ridden pixdata loader was removed, we need to manually check whether the GResource data is pixdata, and load it manually. https://bugzilla.gnome.org/show_bug.cgi?id=781583 gtk/gtkimage.c | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) commit 91614e38e351eb6ce1f1f9bc877dfc4d5a9c6e0c Author: Matthias Clasen Date: Sat Jul 1 20:14:15 2017 -0400 Avoid a race in the print portal Same as the previous commit; use the new predictable request object path to connect to the Response signal early. gtk/gtkprintoperation-portal.c | 55 +++++++++++++++++++++++++++++++++--------- 1 file changed, 44 insertions(+), 11 deletions(-) commit 15e361e793d6703fa7519b670c41dde85abf9cef Author: Matthias Clasen Date: Sat Jul 1 19:13:03 2017 -0400 Avoid a race in the file chooser portal Use the new predictable request object path and connect to the Response signal before issuing the portal call. This avoids a race that is pretty unlikely to hit in the filechooser case. gtk/gtkfilechoosernativeportal.c | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) commit c23205dc82142c62f83e7e13eb820d17edd22e2a Author: Daniel Boles Date: Fri Jul 7 08:13:41 2017 +0100 label: Remove extra quote in code example gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac21aff55ba297da779226e8613b7645a7fd7091 Author: Daniel Boles Date: Thu Jul 6 13:59:53 2017 +0100 GdkRGBA: Fix typo precentage => percentage gdk/gdkrgba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d9a945803a043e85ef6d1493b2c3fdfc6f4f2ba Author: Jason Gerecke Date: Tue Jun 27 14:21:05 2017 -0700 x11: Assign GDK_SOURCE_TABLET_PAD when necessary Wacom tablets often have a "pad" device which houses multiple buttons. At present, these devices are incorrectly marked as GDK_SOURCE_PEN which can cause problems for some software. https://bugzilla.gnome.org/show_bug.cgi?id=782040 gdk/x11/gdkdevicemanager-xi2.c | 2 ++ 1 file changed, 2 insertions(+) commit 6ecf0ff055af3368864424227adaa9fcf1669be1 Author: Daniel Boles Date: Thu Jun 22 20:49:02 2017 +0100 migrating-StyleContext: CSS does support bindings so remove the bit in the migration guide that says it doesn’t. docs/reference/gtk/migrating-GtkStyleContext.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d33540c6072784d1bb5440ec6b49959729881f2c Author: Daniel Boles Date: Thu Jun 22 20:40:06 2017 +0100 css-overview: Fix typo “{with=>which} is disabled” docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fcb00d749300eef29ec472d58613d7eb2267e93f Author: Baurzhan Muftakhidinov Date: Thu Jun 22 14:28:19 2017 +0000 Update Kazakh translation po/kk.po | 287 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 142 insertions(+), 145 deletions(-) commit bb13421fd308313e6956052bd9544919d54c8d58 Author: Mart Raudsepp Date: Thu Jun 22 05:35:36 2017 +0300 GdkWaylandWindow: Fix version numbers in export_handle() docs This change appeared first in 3.22.16 release, not 3.22.13. https://bugzilla.gnome.org/show_bug.cgi?id=782325 gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4bb0d25c5b14d94bab66cee3056b2c357602b9b8 Author: Matthias Clasen Date: Tue Jun 20 11:34:17 2017 -0400 3.22.16 NEWS | 33 ++++++++++++++++++++++++++++++++- configure.ac | 4 ++-- 2 files changed, 34 insertions(+), 3 deletions(-) commit 1a6ccd1b0a3949b05b6a7b9246cd2ad7a8c2c8ec Author: Matthias Clasen Date: Tue Jun 20 12:09:55 2017 -0400 Update a11y tests Expected output of a11y tests has changed. 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 33fbad45806d6471ce93231bb61c7652b249e0b7 Author: Marek Cernocky Date: Tue Jun 20 14:32:46 2017 +0200 Updated Czech translation po-properties/cs.po | 545 ++++++++++++++++++++++++++-------------------------- 1 file changed, 273 insertions(+), 272 deletions(-) commit 4bbf444a1ac0eddc241e5f77968383f6e5a7c48d Author: Daniel Mustieles Date: Mon Jun 19 17:35:54 2017 +0200 Updated Spanish translation po-properties/es.po | 644 ++++++++++++++++++++++++++-------------------------- 1 file changed, 324 insertions(+), 320 deletions(-) commit 9e740bd4355ac57b97fd6698fa5da27cf2be89ab Author: Carlos Garnacho Date: Fri Jun 16 18:21:34 2017 +0200 gdk: Set vid/pid on wayland tablets This was missed so far... Use %.4x format, in order to behave just the same than X11. gdk/wayland/gdkdevice-wayland.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit fdb3cc94f6edb5f9048b48b97f60bfb044a7e763 Author: Will Thompson Date: Thu Jun 15 15:53:18 2017 +0100 headerbar: fix "widow" typo in docs gtk/gtkheaderbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b1c1759612db80fc5c7890ef77b42dc453bd772 Author: Kjartan Maraas Date: Wed Jun 14 07:45:40 2017 +0200 Updated Norwegian bokmål translation po/nb.po | 149 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 69 insertions(+), 80 deletions(-) commit d1f53b1e0715674a8e701078eec023018fd92347 Author: Debarshi Ray Date: Tue Jun 13 11:06:50 2017 +0200 GtkActionHelper: Remove unnecessary NULL check This NULL check has existed since commit 652f16dd985dbc1b, when GtkActionHelper was first introduced, but so has the assertion at the top to ensure the validity of 'widget'. https://bugzilla.gnome.org/show_bug.cgi?id=783587 gtk/gtkactionhelper.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) commit aed628f100f5558d6a1cb0f34f754ef73863f219 Author: Debarshi Ray Date: Fri Jun 9 12:15:53 2017 +0200 GtkActionHelper: Allow a NULL action-name to unset the previous GAction https://bugzilla.gnome.org/show_bug.cgi?id=783587 gtk/gtkactionhelper.c | 66 +++++++++++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 28 deletions(-) commit 6f4e4952a3b7d9257021c500ed489d5bd2e2cdc6 Author: Matthias Clasen Date: Tue Jun 13 13:09:56 2017 -0400 file chooser: Don't pass NULL as title to the portal This causes critical warnings. gtk/gtkfilechoosernativeportal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit d94038856115f3644514735ecbd11f9465d88bf6 Author: Felipe Borges Date: Thu May 18 16:11:56 2017 +0200 printunixdialog: Update collate icon as entry changes By relying on GtkSpinButton default activation behavior, the collate icon doesn't get updated when a new number is typed in the copies spin button. https://bugzilla.gnome.org/show_bug.cgi?id=759308 gtk/gtkprintunixdialog.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 9d5c6aaabcb39754a5ad16a5140427fa69abfc16 Author: Nelson Benítez León Date: Sun Jun 4 11:20:19 2017 +0500 gtktextdisplay: remove unused code In render_para() function, which is called for every text line that needs to be drawn. https://bugzilla.gnome.org/show_bug.cgi?id=783397 gtk/gtktextdisplay.c | 9 --------- 1 file changed, 9 deletions(-) commit 3b5195c44f9a0329d9ecf3d6ec929ec77792481c Author: Matthias Clasen Date: Fri Jun 2 22:28:27 2017 -0400 dist icon.list Otherwise things will not work in a release tarball. demos/icon-browser/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2eb389c951d0b28c82183e7b3320f66adfa6dbd4 Author: Matthias Clasen Date: Fri Jun 2 14:42:04 2017 -0700 icon-browser: Add a few icons These have appeared recently. demos/icon-browser/icon.list | 6 ++++++ 1 file changed, 6 insertions(+) commit 23b7e81ed4a03b08502aa88174626b8c2737021a Author: Matthias Clasen Date: Fri Jun 2 13:57:58 2017 -0700 icon browser: Make icons a bit larger Use 48x48 in the list, instead of 32x32. We have the space. demos/icon-browser/window.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 51b1445cd1b1df7abb8f11a0cd9bcef9a3e41825 Author: Matthias Clasen Date: Fri Jun 2 12:39:39 2017 -0700 icon browser: Add a 'copy to clipboard' button This makes it more obvious how to use the icon. demos/icon-browser/iconbrowserwin.c | 11 +++++++++++ demos/icon-browser/window.ui | 15 +++++++++++++++ 2 files changed, 26 insertions(+) commit ebb00ad6809a8b7fff08d92208b4be6bc3ec4a6f Author: Matthias Clasen Date: Thu Jun 1 18:52:50 2017 -0700 icon browser: put icons as data Instead of hardcoding all the add_icon calls, read the icon list from a keyfile, for easier extensibility. demos/icon-browser/icon.list | 510 +++++++++++++++++++++++++ demos/icon-browser/iconbrowser.gresource.xml | 1 + demos/icon-browser/iconbrowserwin.c | 543 ++++----------------------- 3 files changed, 576 insertions(+), 478 deletions(-) commit 2aa4248e8f08d213049b2e0ab8aa879a0ca17e36 Author: Daniel Boles Date: Fri Feb 24 22:46:05 2017 +0000 testsuite/scrolledwindow: Try non-overlay/non-auto It was only testing the default configuration, where overlay scrolling is on and both scrollbars use POLICY_AUTOMATIC. We should also test the other 3 configurations that are available by including non-overlay scrollbars and/or those that use POLICY_ALWAYS. https://bugzilla.gnome.org/show_bug.cgi?id=778853 testsuite/gtk/scrolledwindow.c | 219 +++++++++++++++++++++++++++++++++++------ 1 file changed, 187 insertions(+), 32 deletions(-) commit fcfad2dd7eaa881efa038ad6448990bba98b8fcd Author: Daniel Boles Date: Fri Feb 24 22:46:05 2017 +0000 ScrolledWindow: Don’t req size for autohidden bars POLICY_AUTOMATIC means scrollbars are only shown when needed, i.e. when the size of the window is not large enough to show the entire child. So when measuring the preferred size, such scrollbars should be ignored. But measure() added size for *any* non-overlay scrollbar of the opposite orientation, e.g. for horizontal size, it added the width of vscrollbar. So we requested for child + bar, & having enough for child meant that the policy hid the bar, leaving extra space empty below/right of the child. Fix this by only adding size for such bars if they use POLICY_ALWAYS. https://bugzilla.gnome.org/show_bug.cgi?id=778853 gtk/gtkscrolledwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7214f4d4c956bf76443c0712cd343bba36050f3d Author: Timm Bäder Date: Wed May 10 10:55:50 2017 +0200 scrolledwindow: Avoid critical when removing source Make sure indicator->conceil_timer is actually set before trying to remove it. gtk/gtkscrolledwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d9a9530f285436c248524bc6def28b3c1d852b22 Author: Dan Torop Date: Thu Apr 13 10:37:22 2017 -0400 wayland: selectively cancel key repeat on key release Under Wayland, when multiple keys are pressed and the user releases a key, key repeat should continue unless the key released is the one currently repeating. In the case of: - key1 press - key1 repeat - key2 press -> key1 repeat stopped - key2 repeat - key2 release The behavior should be to cancel keyboard repeat, though key1 is still held down. This is consistent with prior X11/XWayland behavior. The following also must work: - key1 press - key2 press - key2 release - key2 press - key1 release - key2 should continue to repeat The fix for bug #778019 should continue to work: - key1 press - key1 repeat - key2 press -> key1 repeat stopped - key1 release - key2 should repeat The choice to change the counter nkeys to the flag repeat_active helps to solve the second test case. https://bugzilla.gnome.org/show_bug.cgi?id=781285 gdk/wayland/gdkdevice-wayland.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) commit 2d41d772d76a624b6485763896c5801c52b550a3 Author: Olivier Fourdan Date: Fri Jun 2 15:54:50 2017 +0200 wayland: fix xdg_surface test in move/resize drag begin_resize_drag() and begin_move_drag() check for xdg_surface being not null, but those apply on xdg_toplevel so they should check for xdg_toplevel being non-null instead. https://bugzilla.gnome.org/show_bug.cgi?id=781945 gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c94f40b893895602f2e487a98f82332dd148f6d8 Author: Olivier Fourdan Date: Tue May 16 16:13:34 2017 +0200 wayland: check parent surface for subsurface When an event is received while a tooltip is showing, the GtkTooltip's event handling code can end up calling gdk_window_set_transient_for() from gtk_tooltip_set_last_window(). The Wayland GDK backend will try to automatically create a subsurface in gdk_wayland_window_set_transient_for() but if the parent surface is gone meanwhile, this will will cause a crash when trying to create a subsurface from a parent with a null surface. Checking for the parent is not sufficient, we ought to check for the parent surface as well to avoid the crash. https://bugzilla.gnome.org/show_bug.cgi?id=782283 gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 63e05158ea032b6b39e5ec59f2044c72841fd8ea Author: Olivier Fourdan Date: Tue May 2 11:41:26 2017 +0200 wayland: Do not map toplevel utility as popup Applications can specify the type hint as utility even on toplevel windows. When that toplevel is also marked as a transient for another window, GDK Wayland backend would translate that as an xdg_popup which is not appropriate. While utility temp windows should remain mapped as subsurfaces (such as the ones used by treeviews), regular windows should not translate as neither a subsurface nor an xdg_popup. https://bugzilla.gnome.org/show_bug.cgi?id=781945 gdk/wayland/gdkwindow-wayland.c | 5 ----- 1 file changed, 5 deletions(-) commit a2e2f38642b01a3b3bd1494a93d2bba23a75733a Author: Christoph Reiter Date: Fri Jun 2 12:55:23 2017 +0200 gtkfilechoosernativewin32: Fix support for non-ASCII paths The code used SIGDN_URL to get an URL for the selected item, but Windows URLs are a mix of unicode and percent encoded characters in the locale encoding and not something GFile can understand. The result is a garbage file path. Instead use SIGDN_FILESYSPATH to get a real file path if available. Also checks the return value of g_utf16_to_utf8 because file paths on Windows can contain lone surrogates which would make the conversion fail. https://bugzilla.gnome.org/show_bug.cgi?id=783347 gtk/gtkfilechoosernativewin32.c | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) commit 6b3f2131c5383cceeaa47fb37392a95567ee93de Author: Matthias Clasen Date: Thu May 25 21:57:24 2017 -0400 Redo the listbox dnd example Rewrite this example to have better drag highlighting. tests/testlist3.c | 211 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 198 insertions(+), 13 deletions(-) commit 385057414669d660e0fa92eb8a809f7cbcfea6d2 Author: Daniel Boles Date: Wed May 31 19:08:28 2017 +0100 Adwaita: Add missing rule for fullscreen headerbar Another selector forces round corners for headerbars in a stack, and it has higher priority than the selector covering the non-stack case from commit 712a8adbd9a11fcebce0269562e9a028a17fa862. Totem’s MainToolbar happens to be in a stack, and we should maintain symmetry here anyway. So, as window classes .maximized and .tiled are excluded from this other selector, the newly handled .fullscreen case must be excluded here also. https://bugzilla.gnome.org/show_bug.cgi?id=770513 gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) commit c7fd37bd5b2667f32b722660f1113b6dc023d943 Author: Daniel Boles Date: Wed May 31 18:45:59 2017 +0100 HighContrast: Regenerate CSS files with sassc gtk/theme/HighContrast/gtk-contained-inverse.css | 5066 +++++++-------------- gtk/theme/HighContrast/gtk-contained.css | 5079 +++++++--------------- 2 files changed, 3094 insertions(+), 7051 deletions(-) commit ae4bd65acd3cd35990f8c088e05b3efe36e7ae88 Author: Daniel Boles Date: Wed May 31 18:45:24 2017 +0100 HighContrast: Update parse-sass.sh; remove Gemfile Make parse-sass.sh use sassc instead of the old Ruby method. gtk/theme/HighContrast/Gemfile | 2 -- gtk/theme/HighContrast/parse-sass.sh | 14 ++++++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) commit 1cb3fc75b3d9a955a214c6f9bb952812a07cbbc6 Author: Daniel Boles Date: Wed May 31 18:45:04 2017 +0100 Adwaita: Remove unused Gemfile gtk/theme/Adwaita/Gemfile | 2 -- 1 file changed, 2 deletions(-) commit 712a8adbd9a11fcebce0269562e9a028a17fa862 Author: Daniel Boles Date: Wed May 31 08:16:46 2017 +0100 themes: Square corners on fullscreen win headerbar Totem uses a fullscreen window with a headerbar at the top, and without this change, that headerbar has rounded corners, which look different from a maximised window and let video content show through beneath. https://bugzilla.gnome.org/show_bug.cgi?id=770513 gtk/theme/Adwaita/_common.scss | 8 +++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- gtk/theme/HighContrast/_common.scss | 8 ++++++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 3 ++- gtk/theme/HighContrast/gtk-contained.css | 3 ++- 6 files changed, 19 insertions(+), 7 deletions(-) commit cfaaf8300df3b2b1e4c36b966657bd03e96c8af9 Author: Aurimas Černius Date: Tue May 30 22:32:23 2017 +0300 Updated Lithuanian translation po-properties/lt.po | 644 ++++++++++++++++++++++++++-------------------------- 1 file changed, 324 insertions(+), 320 deletions(-) commit bebd5020ecc82d9327e29a4e3a96673badcc4aaf Author: Debarshi Ray Date: Wed May 24 16:42:01 2017 +0200 wayland: Don't warn if the display is lost, skip exit handlers There is no need to have every application log a warning when the Wayland display server goes away, and we are using _exit instead of exit elsewhere. This is also what the X11 backend does (see gdk_x_io_error). https://bugzilla.gnome.org/show_bug.cgi?id=745289 gdk/wayland/gdkeventsource.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 1d523568550411679ba4de05cf03388724cb0181 Author: Марко Костић Date: Sat May 27 22:41:26 2017 +0000 Update Serbian translation po/sr.po | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 425e4df1006cf15e91813797932cef462805e50c Author: Debarshi Ray Date: Wed May 24 16:08:07 2017 +0200 wayland: Don't abort when preparing the source if connection is lost Aborting the application makes it look like an application bug, when it is the expected thing to do when the Wayland display server goes way. eg., when the user logs out. The log level is also demoted to avoid a storm of warnings in the log from all applications whenever this happens. This is also what the X11 backend does (see gdk_x_io_error). https://bugzilla.gnome.org/show_bug.cgi?id=783047 gdk/wayland/gdkeventsource.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b492db25a187994c6869ff99d89a335b63959aed Author: Emmanuele Bassi Date: Tue May 23 05:12:41 2017 +0100 textview: Make GTK_TEXT_WINDOW_PRIVATE public The GTK_TEXT_WINDOW_PRIVATE enumeration value is really *not* private. Internally, it's used as a simple "invalid value" marker, and application and library developers are supposed to use it as such in their own code. Let's just document it, and since the GtkTextView documentation and internals go a long way to state the fact that it should not be used as an argument value, let's add some pre-condition checks as well. This commit fixes GtkSourceView's use of GTK_TEXT_WINDOW_PRIVATE as default value for a GObject property that was broken by the change in glib-mkenums to honor the `/*< public >*/` and `/*< private >*/` trigraphs. gtk/gtktextview.c | 27 ++++++++++++++------------- gtk/gtktextview.h | 3 +-- 2 files changed, 15 insertions(+), 15 deletions(-) commit e5ed52b6c9e37622465e8f3ebb30e82c6fd362a1 Author: Jonas Ådahl Date: Mon May 8 20:51:43 2017 +0800 tests: Add testforeign Add a test for exporting a handle. There are no GTK+ API for this, but only per backend GDK API, and so far only Wayland is supported. There is a private GdkWindow API but it's not exposed externally. https://bugzilla.gnome.org/show_bug.cgi?id=782325 tests/Makefile.am | 7 ++++ tests/testforeign.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) commit dba57db1f3a9c1568d7a3c9ae479491dcfcee152 Author: Jonas Ådahl Date: Mon May 8 18:35:50 2017 +0800 GdkWaylandWindow: Allow calling export() multiple time Allow getting the same export handle multiple times by calling gdk_wayland_window_export_handle() multiple times. For each time export() is called, a unexport() must be called to unexport. When the window is already exported, the exported callback is called via a idle handler. If there are multiple export() calls, they are invoked in order either when the handle is received by the display server, or when the idle callback is invoked. Calling unexport() will not affect future invokations of the exported callback, unless all export() calls have their unexport() call count matched. https://bugzilla.gnome.org/show_bug.cgi?id=782325 gdk/wayland/gdkwindow-wayland.c | 135 +++++++++++++++++++++++++++++++++------- 1 file changed, 111 insertions(+), 24 deletions(-) commit 8cf774d668da5983fa66c9b40b57e235e7e30208 Author: Olof-Joachim Frahm Date: Sun Feb 26 16:02:49 2017 +0100 Move style change for popover creation. Creating with `gtk_popover_new_from_model` should be exactly the same as if via `gtk_popover_new` plus `gtk_popover_bind_model`. Also remove the style if the model is unbound at any point. gtk/gtkpopover.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 91f83011da7247ec56e75497e06bb86c105d8736 Author: Timm Bäder Date: Tue May 2 20:54:57 2017 +0200 widget: Remove useless assignment We don't use adjusted_allocation after this line. gtk/gtkwidget.c | 1 - 1 file changed, 1 deletion(-) commit 7d5ac88232da5afca8ac27fb0267310eaf298d41 Author: Timm Bäder Date: Sat Sep 24 09:36:32 2016 +0200 examples/drawing: Don't call gtk_main_quit This is a GtkApplication so it will do the right thing when closing the window. examples/drawing.c | 2 -- 1 file changed, 2 deletions(-) commit eb8870c912bfc335d07e6b9aef48a8427093263b Author: Timm Bäder Date: Sun Aug 21 15:43:29 2016 +0200 fallback-c89: Include config.h It holds all the HAVE_ definitions. gdk/fallback-c89.c | 2 ++ gtk/fallback-c89.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit a2c8af7f325495def281c87467722750bb526790 Author: Timm Bäder Date: Sun Apr 30 20:21:39 2017 +0200 widget: remove double assignment We never read the value we assign here. gtk/gtkwidget.c | 2 -- 1 file changed, 2 deletions(-) commit 94dd289fd0b7e31a18adedc122a165efae1c639c Author: Timm Bäder Date: Sun Apr 30 20:20:58 2017 +0200 placesview: Remove duplicate GtkMountOperation assignment we assign a new mount operation a few lines later again. gtk/gtkplacesview.c | 1 - 1 file changed, 1 deletion(-) commit 3380cd63c17ea5cf4b279c5c7a334e5b6da4e1e8 Author: Timm Bäder Date: Sun Apr 30 20:19:56 2017 +0200 levelbar: Don't allocate 0 blocks Could result in a division by zero later on and doesn't make a lot of sense anyway. gtk/gtklevelbar.c | 3 +++ 1 file changed, 3 insertions(+) commit 46decc618204022529f95a97399b32f81c5cc7b3 Author: Timm Bäder Date: Fri Apr 28 11:25:21 2017 +0200 grid: Remove unnecessary NULL checks The minimum and natural pointers passed to measure are never NULL and that's the only place where we call gtk_grid_get_size_for_size. gtk/gtkgrid.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 7adc38a64c5093e1cda6a2689ee172c548c8ff03 Author: Timm Bäder Date: Thu Apr 27 17:54:49 2017 +0200 GtkGestureMultiPress: Remove superfluous NULL check The rect parameter in gtk_gesture_multi_press_set_area is annotated as nullable and the code handles the rect==NULL case, but the g_return_if_fail kept that case from ever happening. gtk/gtkgesturemultipress.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b831e97af45e94da0f5b89e26fc579734385cb0a Author: Timm Bäder Date: Thu Apr 27 17:52:46 2017 +0200 label: Remove dead ternary operator gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 48ee8016c89f3d8816dbe859e619a112203ae940 Author: Timm Bäder Date: Wed Apr 26 13:43:30 2017 +0200 filechooserwidget: Remove always-false error case _gtk_search_engine_new never returns NULL, it always returns a valid GObject with at least the simple search engine initialized. gtk/gtkfilechooserwidget.c | 21 --------------------- 1 file changed, 21 deletions(-) commit 6c9b11d367223828da20535c3b808445cbab0e6a Author: Timm Bäder Date: Wed Apr 26 11:37:58 2017 +0200 sidebarrow: Remove useless size group Nice try, but size groups don't work with invisible widgets anyway. Invisible widgets request 0×0. gtk/ui/gtksidebarrow.ui | 9 --------- 1 file changed, 9 deletions(-) commit c08f2cb7b5bfc26da726d2e23d77a71a5cfe80d7 Author: Timm Bäder Date: Tue Apr 25 15:43:10 2017 +0200 label: Remove useless if statements We never pass nullable pointers into get_size_for_allocation. gtk/gtklabel.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 5209995171e4f322ab6732d6b58589608bf97755 Author: Olivier Fourdan Date: Wed May 3 14:29:18 2017 +0200 gtkwindow: Hide CSD title bar when undecorated When switching from decorated to undecorated, the title bar should be hidden as well. https://bugzilla.gnome.org/show_bug.cgi?id=782117 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit de4818f0882a2bad29c41d639ec4a03a4dc9bec7 Author: Robert Ancell Date: Sat May 20 13:07:05 2017 +1200 docs: Fix copy-paste error in gtk_file_chooser_get_extra_widget() doc comment gtk/gtkfilechooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 622a0f8611d0a93acf4cef6c5194032e4070d08f Author: Lapo Calamandrei Date: Wed May 17 18:09:59 2017 +0200 Adwaita: Avoid accindental border on last treeview header The :last-child selector supposed to reset the border was overridden by the :hover selector. This is fixed by moving the :last-child selector after the overriding one. Thanks to Sebastian Keller for spotting. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=779078. 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 15f3a527ef4bd6171ef0f6cfee45a7aa958e63dc Author: Lapo Calamandrei Date: Wed May 17 18:06:39 2017 +0200 Adwaita: regenerate the css with sassc gtk/theme/Adwaita/gtk-contained-dark.css | 6590 +++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 6641 +++++++++--------------------- 2 files changed, 3814 insertions(+), 9417 deletions(-) commit 67953e9cfb5dec4a509525fd572c3d21c38d8cff Author: Lapo Calamandrei Date: Wed May 17 18:05:13 2017 +0200 Adwaita: modify parse-sass.sh script to use sassc gtk/theme/Adwaita/parse-sass.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 4d1c0317ccb2ff2b3afe73b3a09cfaa90a60c7e8 Author: Robert Ancell Date: Mon May 15 17:03:36 2017 +1200 EntryBuffer: Don't generate changed events when input is truncated gtk/gtkentrybuffer.c | 3 +++ 1 file changed, 3 insertions(+) commit 16e23bebe389c59599fa8e00a3caae6c99b7ee9b Author: Daniel Boles Date: Sat May 13 21:55:28 2017 +0100 widget-factory: Use :relief=none, not class .flat The rest of the ui file follows that convention. demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2dfcb471909158a2bea026fe65a0e17bcf6199f1 Author: Matthias Clasen Date: Thu May 11 15:09:33 2017 -0400 3.22.15 NEWS | 8 ++++++++ configure.ac | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 73179d377145c5ab6bbf8a84d03f752b3359e7d9 Author: Timm Bäder Date: Thu May 11 15:33:13 2017 +0200 listbox: Manually unparent placeholder in dispose We can't make the placeholder a non-internal child as that breaks applications that previously relied on foreach() to only return GtkListBoxRow instances. Instead, unparent the placeholder manually in dispose. https://bugzilla.gnome.org/show_bug.cgi?id=782494 gtk/gtklistbox.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 866bd834e4000780dc990ccae82249c70d0d8c01 Author: Matthias Clasen Date: Thu May 11 15:01:05 2017 -0400 Revert "listbox: Properly remove placeholders" This reverts commit b7fdc5b447b44b5b7638a3ac41cac58136bc5ca2. This was found to break the expectations of existing listbox users. gtk/gtklistbox.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) commit 31a0eead4c1b99c234cbf9726d718c3be7edfe5f Author: Lapo Calamandrei Date: Thu May 11 15:19:19 2017 +0200 Adwaita: regenerate the css gtk/theme/Adwaita/gtk-contained-dark.css | 39 ++++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 39 ++++++++++++++++++++------------ 2 files changed, 48 insertions(+), 30 deletions(-) commit 5c98b2b8eddd3fbd84b49823603c8b918af0e6a4 Author: Lapo Calamandrei Date: Thu May 11 14:36:57 2017 +0200 Adwaita: restyle entry-tag Fix the sizing and spacing, blue tags for the bright variant, similar to what gnome-documents was shipping, and inverted gray tags for the dark variant, not vanishing on hover. gtk/theme/Adwaita/_common.scss | 55 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 7 deletions(-) commit e0ad573c82ab1de768095b0701a0ee0378e2eb98 Author: Matthias Clasen Date: Wed May 10 14:57:00 2017 -0400 3.22.14 NEWS | 8 ++++++++ configure.ac | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit a3178fd665f48cbaffae477c3b7ab1e2301e3c2d Author: Carlos Garnacho Date: Wed May 10 20:20:50 2017 +0200 gtkclipboard: Fix typo The standard atom is UTF8_STRING. gtk/gtkclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a489831b39d0c1583bd4d5e8583f65c1ba880e0 Author: Emmanuele Bassi Date: Wed May 10 14:31:09 2017 +0100 build: Fix the check on sassc's presence If sassc is not available we do not want to include the rules to regenerate the CSS out of the SCSS files. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 801e9cf74baedee0e08eed199ec405af7b9bd521 Author: Chun-wei Fan Date: Tue May 9 18:25:43 2017 -0700 build/win32/replace.py: Fix replacing items in files with UTF-8 content Some files that this script will process might have UTF-8 items in there, which can cause problems on Python 3.x as it is more strict and careful on unicode issues. Fix this by: -Doing what we did before on Python 2.x -Opening the file with encoding='utf-8' on Python 3.x build/win32/replace.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit a3b852e9acc4bc8d2a0a7ea54ff946bef9b504d2 Author: Matthias Clasen Date: Tue May 9 12:58:11 2017 -0400 3.22.13 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 43 insertions(+), 2 deletions(-) commit 2b0eafb8dcc823abfc4121a2df334e1780837c92 Author: Matthias Clasen Date: Tue May 9 14:01:22 2017 -0400 Fix the build It seems that new gtk-doc doesn't like this variable, so drop it. docs/reference/gtk/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit d8bb38588afb6511dca1e144d4d1ba8f934f2e8b Author: Jonas Ådahl Date: Tue May 9 23:07:02 2017 +0800 GtkWindow: Don't double free export user data The user data passed when exporting a Wayland window was supposed to be freed using the destroy_func, as is commonly done. This was previously broken, as the user data was just NULL:ed when exported, and only actually destroyed when unexporting before having exported. While e016d9a5dba6f6f99aee94d0b72c00bee299b96a fixed this, it introduced a regression, as GtkWindow was nice enough to free the memory anyway after having received the exported handle, causing it now to double free. https://bugzilla.gnome.org/show_bug.cgi?id=782109 gtk/gtkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit eba10161c125e3e0e1e66443f8e63f5cc6bc9a8d Author: Emmanuele Bassi Date: Tue May 9 14:30:40 2017 +0100 build: Disable deprecation warnings in broadway Avoid compiler warnings while building code that uses deprecated API. gdk/broadway/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit a7db887c0bb55c8e2ea2b91665c3415f137ef00d Author: Emmanuele Bassi Date: Wed May 3 15:46:35 2017 +0100 Specify more options to sassc We should use the compact style, to minimize the whitespace; and we should omit the source map URL comment as well. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5376fa36a83c08fcb7b0242e9901ad4b007648a2 Author: Emmanuele Bassi Date: Wed May 3 15:45:15 2017 +0100 build: De-duplicate options to sassc If we want to change the list of options we use with sassc, not having to copy-paste them in multiple rules would be a good start. gtk/Makefile.am | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit dc471fa2585f94c0a4ea9c459541707fd353316d Author: Emmanuele Bassi Date: Sun Apr 30 16:06:29 2017 +0100 build: Enable subdir-objects Like we did in the master branch. Using subdir-objects removes the forward compatibility warnings coming from autotools. configure.ac | 2 +- testsuite/gtk/Makefile.am | 52 +++++++++++++++++++++++++++++++---------------- 2 files changed, 36 insertions(+), 18 deletions(-) commit d237b255f9b0bfe7ee47d35e63b37619e30f1ce1 Author: Emmanuele Bassi Date: Sun Apr 30 16:05:49 2017 +0100 build: Remove unused rules The foreign drawing example was moved to the GTK demos. tests/Makefile.am | 3 --- 1 file changed, 3 deletions(-) commit d9e0ea2905cb9f458a15b6192c67fe30da7ad1c3 Author: Emmanuele Bassi Date: Fri Apr 28 21:50:41 2017 +0100 build: Don't include the marshallers header file We used to inject the inclusion of the generated header file into the generated body of the marshallers source code in order to avoid compiler warnings about missing prototypes. The glib-genmarshal utility has been fixed in GLib to include the prototype in the generated source, so now we're going to trip -Werror=redundant-decls. gdk/Makefile.am | 11 ++++++++--- gtk/Makefile.am | 14 ++++++++++---- 2 files changed, 18 insertions(+), 7 deletions(-) commit 01a94a06e7fbbc9dd7e6873b509561f2fedf2459 Author: Lapo Calamandrei Date: Tue May 9 13:32:56 2017 +0200 Adwaita: regenerate css gtk/theme/Adwaita/gtk-contained-dark.css | 19 +++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) commit 9f402d15bca284d367198998cf83823a5d7271d5 Author: Lapo Calamandrei Date: Tue May 9 13:31:31 2017 +0200 Adwaita: add a comment Add a comment pointing to the related bug for the dropdown menu margin. gtk/theme/Adwaita/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e48a80d85153b20cd317eed4bd870e31d1ed78f Author: Lapo Calamandrei Date: Tue May 9 13:27:51 2017 +0200 Revert "Adwaita: remove unneeded margin on dropdown menu" This reverts commit bb1679b247a8805a9c87a41dcd10a2ae8b2d65d3. The margin was actually related to: https://bugzilla.gnome.org/show_bug.cgi?id=591258 gtk/theme/Adwaita/_common.scss | 1 + 1 file changed, 1 insertion(+) commit 5336998bee3d53e9a808781c49734643d3d681d0 Author: Lapo Calamandrei Date: Tue May 9 13:26:42 2017 +0200 Revert "Adwaita: regenerate the css" This reverts commit f2f09b957441e26b0fe9ce51626b086f2b12e2c5. gtk/theme/Adwaita/gtk-contained-dark.css | 20 +------------------- gtk/theme/Adwaita/gtk-contained.css | 20 +------------------- 2 files changed, 2 insertions(+), 38 deletions(-) commit c05c78f9c96341b211655bc652f569df0fb43bb1 Author: Olof-Joachim Frahm Date: Sun Feb 5 19:08:56 2017 +0100 Make sure to remove tooltip timeout. Otherwise in GC-ed environments the `g_source_remove` call during disposal might be called on an already removed source, which results in unnecessary console output. https://bugzilla.gnome.org/show_bug.cgi?id=778301 gtk/gtktooltip.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f2f09b957441e26b0fe9ce51626b086f2b12e2c5 Author: Lapo Calamandrei Date: Tue May 9 12:50:49 2017 +0200 Adwaita: regenerate the css gtk/theme/Adwaita/gtk-contained-dark.css | 20 +++++++++++++++++++- gtk/theme/Adwaita/gtk-contained.css | 20 +++++++++++++++++++- 2 files changed, 38 insertions(+), 2 deletions(-) commit bb1679b247a8805a9c87a41dcd10a2ae8b2d65d3 Author: Lapo Calamandrei Date: Tue May 9 12:45:22 2017 +0200 Adwaita: remove unneeded margin on dropdown menu That margin was probably a left over to workaround some placement issue on dropdowns which doesn't exist anymore. gtk/theme/Adwaita/_common.scss | 1 - 1 file changed, 1 deletion(-) commit 853ce8013708ee59a95fc4c3ce2e8c1b4453d9e0 Author: Gianvito Cavasoli Date: Tue May 9 08:48:31 2017 +0000 Update Italian translation po-properties/it.po | 623 ++++++++++++++++++++++++---------------------------- 1 file changed, 291 insertions(+), 332 deletions(-) commit 31c72bd7df562ef9c609010564e2d800a816da13 Author: Jonas Ådahl Date: Mon May 8 12:09:00 2017 +0800 GdkWaylandWindow: Unexport when finalizing The application might not have exported, and it'll be too late for it at this point anyway, so lets be helpful and not leak it. https://bugzilla.gnome.org/show_bug.cgi?id=782109 gdk/wayland/gdkwindow-wayland.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit f3f71ef0ac49612912b91f700fa011d79ddb3488 Author: Timm Bäder Date: Thu Mar 30 07:02:00 2017 +0000 box: Initialize size arrays to 0 Thats the right thing to do. https://bugzilla.gnome.org/show_bug.cgi?id=773814 gtk/gtkbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit dfe993ff1d1c05b3e95c79d72f7ef8e69ad644b7 Author: Jakub Steiner Date: Thu Apr 13 19:38:53 2017 +0200 style entry-tags https://bugzilla.gnome.org/show_bug.cgi?id=781214 gtk/theme/Adwaita/_common.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 64312d79f755536da7d3dc6c39ac19acc5535267 Author: Jonas Ådahl Date: Mon Mar 20 21:37:10 2017 +0800 wayland: Remove self assignment Don't assign the value of a variable to itself. It was added just for clarity, but it makes coverity complain, so remove it. https://bugzilla.gnome.org/show_bug.cgi?id=780301 gdk/wayland/gdkwindow-wayland.c | 6 ------ 1 file changed, 6 deletions(-) commit 6f326a71d4b086b7b144f06fb82d681050ddd564 Author: Jonas Ådahl Date: Mon Mar 20 21:36:29 2017 +0800 wayland: Use correct enum type and values Use the gravity enum values when converting to gravity. It doesn't fix anything, since the enum values were identical, but it makes a coverity warning go away. https://bugzilla.gnome.org/show_bug.cgi?id=780301 gdk/wayland/gdkwindow-wayland.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 0f929fb6e3ad466c751b6b3571bd40eb8c6ee8fc Author: Matthias Clasen Date: Mon May 8 16:35:53 2017 -0400 file filter: Be save against NULL g_content_type_from_mime_type may return NULL, deal with that. https://bugzilla.gnome.org/show_bug.cgi?id=782180 gtk/gtkfilefilter.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit 7c66c68f48afa8f65199825fd7e0aaa0500d5565 Author: Matthias Clasen Date: Mon May 8 16:00:49 2017 -0400 Revert "GdkWaylandWindow: Unexport when finalizing" This reverts commit ab4e4bd3aec6aeb3df6de16bd12d7f538de39061. gdk/wayland/gdkwindow-wayland.c | 11 ----------- 1 file changed, 11 deletions(-) commit ab4e4bd3aec6aeb3df6de16bd12d7f538de39061 Author: Jonas Ådahl Date: Mon May 8 12:09:00 2017 +0800 GdkWaylandWindow: Unexport when finalizing The application might not have exported, and it'll be too late for it at this point anyway, so lets be helpful and not leak it. https://bugzilla.gnome.org/show_bug.cgi?id=782109 gdk/wayland/gdkwindow-wayland.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit e016d9a5dba6f6f99aee94d0b72c00bee299b96a Author: Jonas Ådahl Date: Fri May 5 19:07:04 2017 +0800 GdkWaylandWindow: Clear export user data when used It was only cleared when unexported, but we could just as well clear it when its used too. https://bugzilla.gnome.org/show_bug.cgi?id=782109 gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 088cf9976384ccd369e9342e8fbbe210a0a3ab5f Author: Mohammed Sadiq Date: Fri May 5 10:52:27 2017 +0530 linkbutton: Fix memory leak strings returned by gtk_widget_get_tooltip_text() and gtk_widget_get_tooltip_markup() has to be freed when no longer required. https://bugzilla.gnome.org/show_bug.cgi?id=782202 gtk/gtklinkbutton.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 001fa0a8101f9445a3631518432d9ded0b861088 Author: Michael Catanzaro Date: Sun Apr 30 13:26:13 2017 -0500 menubutton: Remove prelight state when button is deactivated If the button is deactivated, it should not appear to be hovered anymore. https://bugzilla.gnome.org/show_bug.cgi?id=781992 gtk/gtkmenubutton.c | 1 + 1 file changed, 1 insertion(+) commit 656130a032320e48fa437b26869e9a97a1f74304 Author: Balázs Úr Date: Fri May 5 18:52:59 2017 +0000 Update Hungarian translation po-properties/hu.po | 580 ++++++++++++++++++++++++++-------------------------- 1 file changed, 291 insertions(+), 289 deletions(-) commit 4496c5388b913db9288563618f69d35ae8dbf5b6 Author: Christoph Reiter Date: Wed Apr 26 12:46:40 2017 +0200 gtkdnd: restore drag window movement for the unmanaged case 5bb12474d975ee4b790c5 removed the dnd window movement code to let the gdk backends handle the window movement instead. While this works for X11/wayland the win32 backend still uses the unmanaged interface and expects the window movement to be handled on the gtk side. This restores the functionality in case the dnd is unmanaged. This fixes the drag window on Windows being stuck in the top left corner instead of following the drag position. https://bugzilla.gnome.org/show_bug.cgi?id=781737 gtk/gtkdnd.c | 43 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-) commit 7e9077c79477dbf7a400ce3d2421e4475b7f7f3c Author: Paolo Borelli Date: Sun Apr 30 16:02:15 2017 +0200 shortcutssection: plug a tiny mem leak gtk/gtkshortcutssection.c | 1 + 1 file changed, 1 insertion(+) commit 7d9450fb60b03dcead85a462f30f24e60119c520 Author: Matthias Clasen Date: Wed May 3 17:08:29 2017 -0400 clipboard: Try the mimetype first Try text/plain;charset=utf-8 first, before falling back to X11-isms like UTF8_TEXT. This makes things work on Wayland compositors that don't carry a heavy X11 legacy around. https://bugzilla.gnome.org/show_bug.cgi?id=781814 gtk/gtkclipboard.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 1fb9db547d3af8457301429c4051fb7ac7f232e3 Author: Lapo Calamandrei Date: Wed May 3 17:47:14 2017 +0200 Adwaita: regenerate css gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 2 files changed, 16 insertions(+) commit 57031135a03e132b199d05a45598b53017a4d09d Author: Lapo Calamandrei Date: Wed May 3 17:39:21 2017 +0200 Adwaita: add more space between check/radio and label in popovers See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details. gtk/theme/Adwaita/_common.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 5269d134b0bd3ae7ddc4c57321413e46b6d2bfa4 Author: Daniel Boles Date: Tue May 2 12:22:20 2017 +0100 Scale: Improve documentation of set_has_origin() Properly format the property name, and avoid saying scale so many times. gtk/gtkscale.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit aded9632513f050fd0c6fdd19da312577b41b77a Author: Daniel Boles Date: Tue May 2 12:18:26 2017 +0100 Scale: Explain how to round value when !draw-value Scale:digits is (now, again) ineffective if Scale:draw-value is FALSE. To get rounding in that case, the base Range:round-digits must be used. gtk/gtkscale.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 4452414635699db31567989731f50b4b2d26f0fa Author: Anders Jonsson Date: Mon May 1 22:25:39 2017 +0000 Update Swedish translation po-properties/sv.po | 565 ++++++++++++++++++++++++++-------------------------- 1 file changed, 284 insertions(+), 281 deletions(-) commit 6a9d6d59868cd9b322aca394ba770d32301dc73a Author: Dušan Kazik Date: Sun Apr 30 08:01:40 2017 +0000 Update Slovak translation po-properties/sk.po | 478 ++++++++++++++++++++++++++-------------------------- 1 file changed, 241 insertions(+), 237 deletions(-) commit 7299f3942e6ed92316ef02d30196e1dca90535ea Author: Мирослав Николић Date: Sun Apr 30 08:47:39 2017 +0200 Updated Serbian translation po/sr.po | 8134 ++++++++++++++++++++++++++++---------------------------- po/sr@latin.po | 8128 +++++++++++++++++++++++++++---------------------------- 2 files changed, 8197 insertions(+), 8065 deletions(-) commit 182d984a1f14e62a0d5497c507be83a09ffa7a96 Author: Мирослав Николић Date: Sun Apr 30 08:30:24 2017 +0200 Updated Serbian translation po-properties/sr.po | 586 +++++++++++++++++++++++----------------------- po-properties/sr@latin.po | 586 +++++++++++++++++++++++----------------------- 2 files changed, 590 insertions(+), 582 deletions(-) commit c8d8956a6da25e81dd89925832f839cfc2b05c2e Author: Мирослав Николић Date: Sun Apr 30 08:25:14 2017 +0200 Updated Serbian translation po/sr.po | 10722 +++++++++++++++++++++++++++++++++++-------------------- po/sr@latin.po | 10722 +++++++++++++++++++++++++++++++++++-------------------- 2 files changed, 13562 insertions(+), 7882 deletions(-) commit 1302c8046ea6e61f578acd6c99bc60af2c5b8919 Author: Мирослав Николић Date: Sun Apr 30 08:15:13 2017 +0200 Updated Serbian translation po/sr.po | 15891 ++++++++++++++++++++++++++++++++----------------------- po/sr@latin.po | 15891 ++++++++++++++++++++++++++++++++----------------------- 2 files changed, 18390 insertions(+), 13392 deletions(-) commit a647eb04e21d1e6c57766a352e25015c147e286f Author: Kukuh Syafaat Date: Sat Apr 29 02:09:31 2017 +0000 Update Indonesian translation po-properties/id.po | 389 ++++++++++++++++++++++++++-------------------------- 1 file changed, 196 insertions(+), 193 deletions(-) commit c770b5cbbc70fdaa21d602f5afc1f9995a7e72b3 Author: Olivier Fourdan Date: Wed Apr 26 15:35:42 2017 +0200 wayland: make key event log more explicit With Wayland, GDK_DEBUG=events would log key events but not explicitly state whether the event is a key press or release, or if it's originating from a key repeat. Add some more verbosity to make sure these informations are logged on key delivery when GDK_DEBUG is set. https://bugzilla.gnome.org/show_bug.cgi?id=781767 gdk/wayland/gdkdevice-wayland.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 60710062064356cecff4d62fb2b3a0a53ecf1c4b Author: Mario Blättermann Date: Fri Apr 28 09:50:43 2017 +0000 Update German translation po-properties/de.po | 573 ++++++++++++++++++++++++++-------------------------- 1 file changed, 288 insertions(+), 285 deletions(-) commit a866937d08056bae84ad40d333fdc47140ee61cf Author: Florian Müllner Date: Sat Apr 22 19:50:11 2017 +0200 gdk: Relicense translate_wm_button_layout_to_gtk() It is generally a good idea to license individual files under the same terms as the project license (in particular when the mismatch boils down to having copied the wrong license header), so relicense the code under the LGPL. https://bugzilla.gnome.org/show_bug.cgi?id=781422 gdk/wayland/wm-button-layout-translation.c | 8 ++++---- gdk/wayland/wm-button-layout-translation.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 1a16991254179f49432b1da680c1698b38b68fbf Author: Rafael Fontenelle Date: Thu Apr 27 00:58:43 2017 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 570 +++++++++++++++++++++++++------------------------ 1 file changed, 287 insertions(+), 283 deletions(-) commit 11f746e204b9f9af979101348672df2e330cea72 Author: Piotr Drąg Date: Wed Apr 26 19:42:55 2017 +0200 Update Polish translation po-properties/pl.po | 385 ++++++++++++++++++++++++++-------------------------- 1 file changed, 194 insertions(+), 191 deletions(-) commit edf00914e531f36d611b613b22b8d6ccb72e893a Author: Stas Solovey Date: Wed Apr 26 14:44:34 2017 +0000 Update Russian translation po-properties/ru.po | 473 ++++++++++++++++++++++++++-------------------------- 1 file changed, 238 insertions(+), 235 deletions(-) commit 1cd0a8de0b7041a28fb960bbb64507d3140ddeed Author: Daniel Boles Date: Wed Apr 26 12:18:12 2017 +0100 Scale: Fix documentation of digits per last revert Revert doc changes that were for the behavioural change just reverted. Add a clarifying note that, under the original behaviour, :digits only rounds the Adjustment if :draw-value is TRUE at the time of the change. https://bugzilla.gnome.org/show_bug.cgi?id=781605 https://bugzilla.gnome.org/show_bug.cgi?id=358970 gtk/gtkscale.c | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) commit 9f8b1a8aa8e7a6bc6bdb40795ffa036e372333a5 Author: Matthias Clasen Date: Wed Apr 26 06:18:09 2017 -0400 Revert "Scale: Always sync ::digits to Range::round-digits" This reverts commit 4a6bd134bdc192b4830a1c6228e27332d4629418. This change in behavior broke various things. https://bugzilla.gnome.org/show_bug.cgi?id=781605 gtk/gtkscale.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit b7fdc5b447b44b5b7638a3ac41cac58136bc5ca2 Author: Timm Bäder Date: Fri Apr 7 19:02:35 2017 +0200 listbox: Properly remove placeholders https://bugzilla.gnome.org/show_bug.cgi?id=778617 gtk/gtklistbox.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 9b05176eb2e74dfba1a285e03eb7a6bd2cf81c9d Author: Timm Bäder Date: Mon Apr 24 16:22:32 2017 +0200 spinbutton: Add undershoot nodes to CSS docs gtk/gtkspinbutton.c | 4 ++++ 1 file changed, 4 insertions(+) commit 34c135be7c01913175455ceb2bdc1156e3f4a9b7 Author: Timm Bäder Date: Mon Apr 24 16:22:26 2017 +0200 spinbutton: Remove an unused define gtk/gtkspinbutton.c | 1 - 1 file changed, 1 deletion(-) commit 0a7151b22eb6b767948a9763410f878b28b68ec7 Author: Timm Bäder Date: Mon Apr 24 15:12:23 2017 +0200 window: Expand CSS node docs gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 779876437789a255c714e144e70713adde995fa5 Author: Timm Bäder Date: Mon Apr 24 12:00:32 2017 +0200 paned: Fix typo gtk/gtkpaned.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 687b38f87e2857f60f6f48657ec1cf1e25e8905c Author: Daniel Boles Date: Tue Apr 25 10:57:55 2017 +0100 ProgressBar: Update node summary per b5eb37eba4162 The node named "progress" is a child of the node named "trough". gtk/gtkprogressbar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d94f16562e954e694587ed0cb992efd0c6fdbca6 Author: Matthias Clasen Date: Sun Apr 23 10:39:44 2017 -0400 Add a cleaned-up example for listbox DND I want to refer to this as an example, so make it look nice. examples/Makefile.am | 3 +- examples/listbox-dnd.c | 155 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+), 1 deletion(-) commit ae6f95878ef227941f4f322d7b375fc3c16c5aa1 Author: Matthias Clasen Date: Sat Apr 22 21:37:55 2017 -0400 testlist3: Handle dropping a row onto itself Instead of spewing criticals, we should handle this gracefully by doing nothing. tests/testlist3.c | 3 +++ 1 file changed, 3 insertions(+) commit 918445bf400863436129d4cc120d657eec18a35d Author: Carlos Soriano Date: Sat Apr 22 21:40:41 2017 +0200 gtkplacesview.ui: Update helper label to include IPv6 addresses This is a backport from 16bce171683d58. Thing is Nautilus pulled the code from master until now, so right now gtk-3-22 and Nautilus 3.24 differ. Would be great to have them share the same code, and at the same time have this small string helper issue fixed. https://bugzilla.gnome.org/show_bug.cgi?id=781622 gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 60a1e1d0e96e0e89f71ca861146c780dbffd64d2 Author: Carlos Soriano Date: Sat Apr 22 21:38:39 2017 +0200 gtkplacesview.ui: Remove translatable from server label helper Translating it seems pointless if we can use a non-translatable example such as gnome.org instead of foo.example.com. This will help to make changes in here without breaking string freeze. https://bugzilla.gnome.org/show_bug.cgi?id=781622 gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ab48458a0fe894eb1ee9e629c68b34b2d1c9205 Author: Matthias Clasen Date: Sat Apr 22 08:03:00 2017 -0400 Refine the listbox dnd example Add a drag handle, and demonstrate broken offsets. tests/testlist3.c | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) commit fba4e8fb47d18290ea4a30dea1cd196dbd5b0a30 Author: Carlos Soriano Date: Fri Apr 21 17:58:30 2017 +0200 gtkplacesview: Fix unmounted open in tab/window We were send the "open-location" signal without mounting first the location if necessary, making the open in tab/window context menu not work for those. This patch makes sure we mount the location before emitting the signal. https://bugzilla.gnome.org/show_bug.cgi?id=771269 gtk/gtkplacesview.c | 67 +++++++---------------------------------------------- 1 file changed, 9 insertions(+), 58 deletions(-) commit b5eb37eba4162e2232b7247eadb843977530f012 Author: Timm Bäder Date: Sat Apr 22 06:35:54 2017 +0200 progressbar: Fix position of text node in CSS docs The text node has always been a child node of the progressbar node, not the trough node, but the docs claimed otherwise. gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 991e84fe3acf338e8046b30e3ff3e93057bd5a7f Author: Matthias Clasen Date: Fri Apr 21 18:27:43 2017 -0400 Fix a typo gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 930acacf947630502a3116d111182328466ddd51 Author: Matthias Clasen Date: Fri Apr 21 17:02:05 2017 -0400 Implement dnd for list box rows in an example This shows very basic DND of list box rows. tests/testlist3.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 91 insertions(+), 2 deletions(-) commit 42aa4c138c5a1ef2aafba3bd4a2b0f55bc822b29 Author: Georges Basile Stavracas Neto Date: Tue Apr 11 16:46:14 2017 -0300 placesview: fix testsuite Because the network monitor can perfectly be NULL, the tests were failing on that for GtkPlacesView always tries to disconnect this handler. Fix that by only disconnecting the handler when the network monitor exists. https://bugzilla.gnome.org/show_bug.cgi?id=781195 gtk/gtkplacesview.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9b5a92f5cc968193ae938c51df72c7beeca121d8 Author: John Ralls Date: Mon Apr 10 16:38:26 2017 -0700 Save Changes Bug 781118 - gtk 3.22.12 quartz backend segfault Calling 'width' on an NSValue won't work, must call sizeValue on it. gdk/quartz/gdkscreen-quartz.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit dfb5d11a53249bfeb03fac7ec201439d7d9e3d2f Author: Georges Basile Stavracas Neto Date: Mon Apr 10 18:59:33 2017 -0300 places-view: monitor network GtkPlacesView exposes local access points and network shares transparently by using the 'network:///' URI, which is handled by GIO. Currently, however, it doesn't monitor the network for new available points, such as computers that just join the network. It may happen too that the backend won't find all the networks before the network enumeration finishes. Fix that by keeping a file monitor inspecting the network uri, and update the places list when that happens. https://bugzilla.gnome.org/show_bug.cgi?id=781162 gtk/gtkplacesview.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 6e87915b0550edc2556f764af86f6a212617bfb2 Author: gogo Date: Mon Apr 10 20:43:09 2017 +0000 Update Croatian translation po/hr.po | 709 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 365 insertions(+), 344 deletions(-) commit 4f3ff059430f5b120f3ca88e19a8c94205ef8d4a Author: gogo Date: Mon Apr 10 20:39:13 2017 +0000 Update Croatian translation po-properties/hr.po | 798 +++++++++++++++++++++++++++------------------------- 1 file changed, 418 insertions(+), 380 deletions(-) commit 8ec4a65f52a7cabee93444429fcc912e13d360e7 Author: Rūdolfs Mazurs Date: Sun Apr 9 13:01:38 2017 +0300 Update Latvian translation po-properties/lv.po | 694 +++++++++++++++++++++++++--------------------------- po/lv.po | 544 ++++++++++++++++++++-------------------- 2 files changed, 619 insertions(+), 619 deletions(-) commit 28d2edcb2222ef1cc089c9a313ca1ed213123ae3 Author: Matthias Clasen Date: Sat Apr 8 15:15:58 2017 -0400 3.22.12 NEWS | 28 ++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) commit 0c8ad72410588961dee8143d171a76f70932fcd8 Author: Tom Tryfonidis Date: Sat Apr 8 16:36:15 2017 +0000 Update Greek translation po/el.po | 693 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 362 insertions(+), 331 deletions(-) commit 02d537834ae7138302861f04df6c86759fd55b27 Author: Matthias Clasen Date: Wed Apr 5 20:10:09 2017 -0400 flowbox: don’t try to focus or draw NULL widgets Rubberbanding over an empty area results in warnings, due to the code trying to focus and queue a null pointer for drawing. https://bugzilla.gnome.org/show_bug.cgi?id=780734 gtk/gtkflowbox.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 124b62881a2fd7ecb17d37d44215b9027b520156 Author: Alberts Muktupāvels Date: Thu Apr 6 11:16:12 2017 +0300 gtkheaderbar: add style classes to all title buttons Commit b187773053098cca1b7c23e04e096d47fbb65a5f added CSS style classes for minimize, maximize and close buttons. Add similar classes also to icon and menu buttons. https://bugzilla.gnome.org/show_bug.cgi?id=780944 gtk/gtkheaderbar.c | 2 ++ 1 file changed, 2 insertions(+) commit 85f25f4a3e5acb7e38ceadc264a8c372a54f7020 Author: Jeremy Bicha Date: Mon Apr 3 13:06:51 2017 -0400 docs: Use https for more links https://bugzilla.gnome.org/show_bug.cgi?id=780878 docs/reference/gdk/gdk-docs.sgml | 4 +- docs/reference/gtk/building.sgml | 30 ++-- docs/reference/gtk/css-overview.xml | 50 +++--- docs/reference/gtk/css-properties.xml | 278 ++++++++++++++++----------------- docs/reference/gtk/gtk-docs.sgml | 4 +- docs/reference/gtk/question_index.sgml | 28 ++-- docs/reference/gtk/resources.sgml | 4 +- docs/reference/gtk/running.sgml | 8 +- docs/reference/gtk/wayland.xml | 2 +- 9 files changed, 204 insertions(+), 204 deletions(-) commit 6e711beb0bdc2a30bfd948e5a6a077cd6fe82493 Author: William Hua Date: Mon Apr 3 12:59:50 2017 -0400 mir: clean up an ugly function gdk/mir/gdkmirscreen.c | 259 +++++++++++++++++-------------------------------- 1 file changed, 87 insertions(+), 172 deletions(-) commit efbe40214b5d670c3a3bbd2d674fe27285d2f346 Author: Olivier Fourdan Date: Tue Mar 28 11:10:05 2017 +0200 gdkwindow: different displays, different classes GdkWindow's before_process_all_updates() and after_process_all_updates() wrongly assume that all displays are from the same class, which is not the case if for example a client open different displays with different backends such as X11 and Wayland. Use the actual class for each display in the display list to avoid a crash when mixing displays from different classes. Fix suggested by Christian Persch in bug #776472. https://bugzilla.gnome.org/show_bug.cgi?id=776472 gdk/gdkwindow.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 81bfc91c7aa676a511c99b3915c6834cd08b6bfa Author: Emmanuele Bassi Date: Sun Apr 2 16:36:07 2017 +0100 Ignore deprecation warnings for g_object_newv() GLib has deprecated GParameter and g_object_newv(); until we switch to the new g_object_new_with_properties() API, and bump GLib required version, we should simply ignore the compiler warnings. gtk/gtkbuilder.c | 2 ++ 1 file changed, 2 insertions(+) commit f82329de3584d35dc99e13a4a3a8415fc2024398 Author: Emmanuele Bassi Date: Tue Mar 14 16:35:58 2017 +0000 Optionally depend on sassc to generate the theme CSS Instead of using Ruby/Sass to generate the CSS from SCSS files, we can use the faster and more lightweight libsass/sassc binary. We can keep the CSS files in Git to make it easier to dist GTK+, but we can add rules to ensure they get rebuilt if the source SCSS changes. https://bugzilla.gnome.org/show_bug.cgi?id=780041 configure.ac | 8 ++++++++ gtk/Makefile.am | 55 ++++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 48 insertions(+), 15 deletions(-) commit b6aaae7dea8e574f3e8da1e2a25997ea3d10f05e Author: John Ralls Date: Sun Apr 2 18:16:59 2017 -0700 Replace NSScreen:userSpaceScaleFactor, deprecated since MacOS X 10.7. userSpaceScaleFactor is not compatible with high-resolution (aka HiDPI) displays. gdk/quartz/gdkscreen-quartz.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) commit 8074626fc6ef9a8caf6cee9a815ad230a8ba4610 Author: John Ralls Date: Sun Apr 2 17:55:55 2017 -0700 Add missing file and correct some warnings from quartz: Add monitor support. gdk/quartz/gdkdisplay-quartz.c | 2 - gdk/quartz/gdkdisplay-quartz.h | 235 +++++++++++++++++++++++++++++++++++++++++ gdk/quartz/gdkscreen-quartz.c | 16 +++ 3 files changed, 251 insertions(+), 2 deletions(-) commit dbfa8e86c5ff77067e1c6db197fa2d804925ac00 Author: Matthias Clasen Date: Sat Apr 1 17:40:53 2017 -0400 quartz: Add a forgotten file gdk/quartz/gdkquartzmonitor.h | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit 2ad14d393b615c51169517bb69d508f08bc86f8c Author: Matthias Clasen Date: Fri Mar 10 08:48:36 2017 -0500 quartz: Add monitor support This is a backport of a patch by Tom Schoonjans, https://bugzilla.gnome.org/show_bug.cgi?id=779184 gdk/quartz/Makefile.am | 4 + gdk/quartz/gdkdisplay-quartz.c | 51 +++++++++-- gdk/quartz/gdkmonitor-quartz.c | 58 ++++++++++++ gdk/quartz/gdkmonitor-quartz.h | 41 +++++++++ gdk/quartz/gdkprivate-quartz.h | 11 --- gdk/quartz/gdkquartz.h | 1 + gdk/quartz/gdkscreen-quartz.c | 204 +++++++++++------------------------------ gdk/quartz/gdkscreen-quartz.h | 3 - 8 files changed, 196 insertions(+), 177 deletions(-) commit 2f851530f47cdf25fd138c10907340e388532f87 Author: William Hua Date: Sat Apr 1 10:04:50 2017 -0400 mir: set application name when creating connection gdk/mir/gdkmirdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ecf9c06adaaa6f6d8d60b87282aeb0f37fe73bde Author: William Hua Date: Fri Mar 31 17:35:49 2017 -0400 mir: remove keymap and input device state warnings gdk/mir/gdkmireventsource.c | 4 ++++ 1 file changed, 4 insertions(+) commit 01b73072961f8c62255cf2b66dba4e55d36fd646 Author: William Hua Date: Fri Mar 31 15:14:16 2017 -0400 mir: re-write settings implementation gdk/mir/gdkmirscreen.c | 764 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 577 insertions(+), 187 deletions(-) commit 69234066a4dff142d50944daa32748234debdebb Author: Ernestas Kulik Date: Thu Mar 30 22:29:57 2017 +0300 flowbox: don’t select when rubberbanding over nothing When rubberbanding over an empty area, everything is selected on gesture end, which is a bit counter-intuitive. https://bugzilla.gnome.org/show_bug.cgi?id=780735 gtk/gtkflowbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1082b7770288629460b07092a03c76d5c6234402 Author: Yosef Or Boczko Date: Thu Mar 30 19:28:41 2017 +0300 Updated Hebrew translation po/he.po | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 7cb6ab37f32ad279301d9ec39713942c79c6b4e4 Author: Yosef Or Boczko Date: Thu Mar 30 19:28:31 2017 +0300 Updted Hebrew translation po-properties/he.po | 4635 +++++++++++++++++++++++++-------------------------- 1 file changed, 2300 insertions(+), 2335 deletions(-) commit 6eeb546c4af8558ae7514c595b3b410d20a5bf76 Author: Yosef Or Boczko Date: Thu Mar 30 18:13:13 2017 +0300 Updated Hebrew translation po/he.po | 526 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 266 insertions(+), 260 deletions(-) commit 30b961c84b7788d1079aae93665097c405695bb6 Author: Christoph Reiter Date: Tue Mar 14 21:00:37 2017 +0100 osx: fix build https://bugzilla.gnome.org/show_bug.cgi?id=734946 gtk/gtk-launch.c | 4 ++-- gtk/gtkapplicationwindow.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit cc53017b3e6804ea00a53405480b5bede61f9cac Author: Christoph Reiter Date: Thu Mar 30 10:45:00 2017 +0200 gtk_widget_intersect: fix annotations https://bugzilla.gnome.org/show_bug.cgi?id=773228 gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit cff35b36a389ee2f1829fc0bc0269f744136dd0b Author: Daniel Boles Date: Mon Mar 27 19:28:54 2017 +0100 TextView: Drop an unnecessary #include gtk/gtktextview.c | 1 - 1 file changed, 1 deletion(-) commit 08887f0577eb8f38cdbfdd886adbf4d81af99bbe Author: Daniel Boles Date: Mon Mar 27 19:14:38 2017 +0100 TextView: Be const-correct when passing a pointer The TextIter is passed by pointer for efficiency. We neither need to modify it, nor should we leave it possible to accidentally do so. So, it should be passed as a pointer-to-const. gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 87b579cf2b70a437782bbbe20dc7446b5f0d7cbc Author: Daniel Boles Date: Sun Mar 26 15:53:12 2017 +0100 TextView: Get line direction in more efficient way We do not need to go through the heavyweight process of constructing a TextLineDisplay just to get the direction out of it, when we can simply use TextIter API to get the text and then get its direction using Pango. Adapted from a patch by Mehdi Sadeghi for GtkSourceView: https://bugzilla.gnome.org/show_bug.cgi?id=779081#c20 gtk/gtktextview.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit 536f713a1cf1417660815360d3c1b9be0f6dcccf Author: Daniel Boles Date: Sun Mar 26 15:50:57 2017 +0100 TextBuffer: Add missing transfer full annotations gtk/gtktextbuffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c3d759c3b6d8fe6f2e4b27fa79fbda8faefda2fe Author: Kjell Ahlstedt Date: Fri Mar 24 16:41:47 2017 +0100 printjob: Clarify array ownership in gtk_print_job_set_page_ranges() Add a documentation annotation saying that set_page_ranges transfers ownership of the GtkPageRange array. Add a g_free() call to fix a memory leak when set_page_ranges is used repeatedly. https://bugzilla.gnome.org/show_bug.cgi?id=780234 gtk/gtkprintjob.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a7ca5335e401344f59f037d5e44ebdadcf5e0d42 Author: Matthias Clasen Date: Thu Mar 23 16:15:26 2017 +0000 Avoid more compiler warnings gtk/gtkrecentmanager.c | 2 +- gtk/gtkscalebutton.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 80a177db8b5cb0455d428a11d6dc97429dcbcfb3 Author: Matthias Clasen Date: Thu Mar 23 16:15:00 2017 +0000 Avoid unused variable warnings gdk/x11/gdkscreen-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 12155b4ee36e34026914a688488ae425fd2906c4 Author: Matthias Clasen Date: Thu Mar 23 15:13:33 2017 +0000 Avoid redefining GNU_SOURCE Gives a compiler warning with the wrong flags. tests/gtkgears.c | 1 - 1 file changed, 1 deletion(-) commit 0155009d57563601af20896c2857fd22e6227260 Author: Matthias Clasen Date: Thu Mar 23 15:13:13 2017 +0000 Avoid some compiler warnings modules/printbackends/file/gtkprintbackendfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a331741117744aeaf06832ad0908d204a3f43730 Author: Piotr Drąg Date: Sat Mar 25 22:55:00 2017 +0100 Update Polish translation po-properties/pl.po | 206 ++++++++++++++++++++++---------------------- po/pl.po | 240 ++++++++++++++++++++++++++-------------------------- 2 files changed, 223 insertions(+), 223 deletions(-) commit 2224fb58dd2e88782b895723e9258f3124e7bda0 Author: Kjartan Maraas Date: Sat Mar 25 11:58:36 2017 +0100 Updated Norwegian bokmål translation. po/nb.po | 548 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 281 insertions(+), 267 deletions(-) commit d190263272f6b8e0107cddc0c9f51c8d1a9b0317 Author: Jordi Mas Date: Fri Mar 24 19:42:57 2017 +0100 Update Catalan translation po/ca.po | 553 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 288 insertions(+), 265 deletions(-) commit 931f7863ec29685b3066f547b5c9801318ae3ad0 Author: Marek Kasik Date: Wed Mar 26 12:29:46 2014 +0100 printing: Don't hang in gtk_enumerate_printers() Stop enumerating printers when all backends were removed. https://bugzilla.gnome.org/show_bug.cgi?id=686838 gtk/gtkprinter.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit a7f3fd12d5c4e866a1d8e05360a7052a756ee8bd Author: Stas Solovey Date: Wed Mar 22 21:46:35 2017 +0000 Update Russian translation po-properties/ru.po | 542 +++++++++++++++++++++++++--------------------------- 1 file changed, 260 insertions(+), 282 deletions(-) commit 6f30e97c3dc0a4294258e50f99450b6d66a3d706 Author: Timm Bäder Date: Tue Mar 21 16:06:13 2017 +0100 gdkdragsource: Ensure button >= 1 So the left shift later doesn't overflow. gtk/gtkdragsource.c | 2 ++ 1 file changed, 2 insertions(+) commit 92fd8cb81bda42abd2d7db83f59439e545a65cc1 Author: Timm Bäder Date: Tue Mar 21 14:40:21 2017 +0100 widget: Prepend style classes to list when parsing Since the later gtk_style_context_add_class doesn't care about the order of the style classes, we can as well just prepend style classes to the list and avoid the squared behavior when appending to a linked list. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ff1a78788f82dbb73e6369d05a0445c7c7f7155b Author: William Hua Date: Tue Mar 21 11:25:36 2017 -0400 mir: always emit a resize when creating windows gdk/mir/gdkmirwindowimpl.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 6adc00ef1de1c4a012d8b3086bb2c2af0b06978d Author: Andika Triwidada Date: Tue Mar 21 14:16:11 2017 +0000 Update Indonesian translation po-properties/id.po | 124 ++++++++++++++++++++++++++-------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) commit 54ffec9bb0385a7e257620c1fa909cc9e5a1aecd Author: Daniel Boles Date: Tue Mar 21 00:05:32 2017 +0000 Scrollbar: grammar fix for previous commit gtk/gtkscrollbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 369377369f30f1df51cb6a86841ae467fd55a666 Author: Daniel Boles Date: Mon Mar 20 23:54:57 2017 +0000 Scrollbar: Tweak intro docs a bit Explain where the adjustment comes from, clarify some of the wording about how its fields influence the scrollbar, and also note that the steppers may not be present, since they aren’t in our default themes. gtk/gtkscrollbar.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 93d68270c468c5102e6dac795b4aa1ed43ba9627 Author: Daniel Boles Date: Fri Mar 10 20:37:27 2017 +0000 ScrolledWindow: Don’t check if child is Scrollable If the child added is not a Scrollable, it gets wrapped in a ViewPort – which is. So it is impossible to end up with a non-Scrollable child. Just check we have /any/ child where needed, which is semantically nicer https://bugzilla.gnome.org/show_bug.cgi?id=778853 gtk/gtkscrolledwindow.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 16b9e8261d403bbf462a9fa1174abe48edfcf367 Author: Daniel Boles Date: Mon Mar 20 23:20:26 2017 +0000 ScrolledWindow: Streamline/clarify the intro docs • intro: Clarify that external policy and/or adjustments can be used. • add(): Don’t waffle on about having to add a ViewPort since we handle that transparently for the user, so they can add() any widget. • Adjustment stuff: most of this was repeating the docs for Scrollbar, so just refer the user to that. Also, mention how policies NEVER and EXTERNAL interact with all this. https://bugzilla.gnome.org/show_bug.cgi?id=778853 gtk/gtkscrolledwindow.c | 50 +++++++++++++++++++------------------------------ 1 file changed, 19 insertions(+), 31 deletions(-) commit 3178a7a301a05d184d603a6ccb9abeed195136ae Author: Daniel Boles Date: Mon Mar 20 21:04:49 2017 +0000 Tooltip: Avoid redundant variable initialisations has_tooltip_widget was assigned twice in immediate succession. return_value is not used anywhere else in this function since commit 14a864c8b55dfe92f8957499f12a3f9303188a12 and does not need a default value anymore, so move it to the inner scope and don't init to NULL. gtk/gtktooltip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 57ea1796e33681131da332afe2c5c83abcdf49f4 Author: Timm Bäder Date: Mon Mar 20 15:36:05 2017 +0100 tooltip: Remove unused assignment hide_tooltip gets overriden in any case 2 lines down, and return_value isn't used later in that function. The second assignment was introduced in ef1da5f6c2450fc5f7c7de4a17114cc7507a41ad, directly below the first assignment. gtk/gtktooltip.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit d2c79b966b02351c0002df7a6acc1b68755bb3b5 Author: Timm Bäder Date: Mon Mar 20 15:01:28 2017 +0100 css-editor: Remove unused if statement The static local is set to NULL and never set to anything else, so we never use it anyway. gtk/inspector/css-editor.c | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) commit 1daa41bf962c473106c236d75aa7149a8a25757e Author: Timm Bäder Date: Mon Mar 20 14:16:56 2017 +0100 box: Make sure center_req is initialized In case we have an invisible center widget, we never initialize it, but later still use it. gtk/gtkbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d689ee7d7e105a9bd82259176cd97a2c71bd427a Author: Timm Bäder Date: Mon Mar 20 09:22:13 2017 +0100 progressbar: Remove useless if statement Both the if and the else block contained exactly the same code. gtk/gtkprogressbar.c | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) commit a92ca3518bf25e4ecfefd4ffe2ed6f1be2c70b20 Author: Timm Bäder Date: Sun Mar 19 17:05:34 2017 +0100 notebook: Remove dead assignment gtk/gtknotebook.c | 1 - 1 file changed, 1 deletion(-) commit 7074607635c61163f70d86ebacdfad6816100ccb Author: Timm Bäder Date: Sun Mar 19 14:28:32 2017 +0100 GtkRecentManager: Remove superfluous local variable gtk/gtkrecentmanager.c | 2 -- 1 file changed, 2 deletions(-) commit e63748f23186c35c7e70ec5fbd8dff8ed8686ee9 Author: Timm Bäder Date: Sun Mar 19 14:24:54 2017 +0100 GdkX11DeviceManager: Fix debugging output The 2 values added in 3.22 were missing from the source_names array. gdk/x11/gdkdevicemanager-xi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a7ebe62e673b72d2a4b8791ef4acaf8d979aad7b Author: Matthias Clasen Date: Sun Mar 19 12:11:14 2017 +0000 3.22.11 NEWS | 11 +++++++++++ configure.ac | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit b04a863328f2ff64462b8bbbd2f28bcfd09ec667 Author: Matthias Clasen Date: Fri Mar 17 19:56:33 2017 -0400 Avoid a critical warning in the filechooser portal This was showing up when cancelling a portal file chooser in recipes. gtk/gtkfilechoosernativeportal.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 122cbcf17fa9968bb62e2db67c9d98d1fc4434db Author: Daniel Boles Date: Sat Mar 18 12:29:28 2017 +0000 css-overview: Fix inconsistent British English use docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c52d8e8f0cd6b7f00fb99db7aff855f6ba367da Author: Timm Bäder Date: Sat Mar 18 07:13:13 2017 +0100 entrycompletion: Remove unnecessary NULL check completion really shouldn't be NULL at this point, especially since it gets dereferenced higher up in the function. gtk/gtkentrycompletion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61c85ba89db7b996ad4119e954a8dc3c52e99ceb Author: Timm Bäder Date: Sat Mar 18 07:06:35 2017 +0100 calendar: Fix else branch indentations gtk/gtkcalendar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b73e6ffbd852fef3f1982239985fd70d85a69bba Author: Daniel Boles Date: Sat Mar 18 01:13:42 2017 +0000 css-overview: Fix+Explain color expr number ranges Last try, promise. They don’t all use 0 to 1. We should probably explain the effects too. Hopefully this manages that while not being too verbose docs/reference/gtk/css-overview.xml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 76eb8e3e989e4afb909169482fb93b19baa1e8d9 Author: Daniel Boles Date: Fri Mar 17 23:55:15 2017 +0000 css-overview: Elaborate how color expressions work docs/reference/gtk/css-overview.xml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 98fe7f5b5cef2468d636e15c43b827f7337b3d0e Author: Daniel Boles Date: Fri Mar 17 23:25:13 2017 +0000 docs/css-overview: Fix color functions’ arg orders shade/alpha/mix() take colour(s) and a number that is the ratio by which to transform them. It was written here that these shall be passed in the order (number, colour). That was wrong: they must be passed in the order (colour[s], number) to work, and for the Inspector not to flag an error. docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 64ec7c26404f4a315d20ef0971ba521976afcccd Author: Christoph Reiter Date: Tue Mar 14 20:53:09 2017 +0100 quartz: fix build for <10.12 The style mask type was changed from NSUInteger to NSWindowStyleMask. Use NSUInteger so it also works on older macOS. https://bugzilla.gnome.org/show_bug.cgi?id=780019 gdk/quartz/gdkwindow-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3190edd93e8d3ec9b436751a616dda67e92f122 Author: Matthias Clasen Date: Mon Mar 13 20:52:49 2017 -0400 3.22.10 NEWS | 30 ++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 32 insertions(+), 2 deletions(-) commit ad5d95e06215ba77b619a6bf86ce35f94f1d920c Author: William Hua Date: Mon Mar 13 10:48:43 2017 -0400 mir: start handling resize events again gdk/mir/gdkmireventsource.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 3be1bffc775b8a89acc3a17ba27e406dca6ef3c3 Author: William Hua Date: Mon Mar 13 04:07:37 2017 -0400 mir: remove unused generate_configure_event () gdk/mir/gdkmireventsource.c | 15 --------------- 1 file changed, 15 deletions(-) commit 16e36e539964ed846e1a9efc242628fc5cb11cd8 Author: William Hua Date: Mon Mar 13 03:36:30 2017 -0400 mir: set placement for menu-type windows gdk/mir/gdkmirwindowimpl.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit f0e3781566563c89e56bed0c77a845b31fe8c607 Author: William Hua Date: Mon Mar 13 02:52:15 2017 -0400 mir: synthesize resize events gdk/mir/gdkmirwindowimpl.c | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) commit 91f4b0c31f4f236d2ebc752f28b508583e3ea606 Author: William Hua Date: Mon Mar 13 00:06:30 2017 -0400 mir: ignore resize events gdk/mir/gdkmireventsource.c | 15 --------------- 1 file changed, 15 deletions(-) commit 05a060c6a6f6762ede5392fa9a763034ca9140c1 Author: William Hua Date: Fri Mar 10 10:50:23 2017 -0500 mir: try mir before x11 gdk/gdkdisplaymanager.c | 6 +++--- gdk/mir/gdkmirdisplay.c | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) commit b8d88eb96099a4ccf5f276c1def0f1db1ed21bb2 Author: Dušan Kazik Date: Sun Mar 12 10:15:33 2017 +0000 Update Slovak translation po-properties/sk.po | 638 ++++++++++++++++++++++++++-------------------------- 1 file changed, 319 insertions(+), 319 deletions(-) commit 52a4f73bc6799c8bf95aca2eaf843155b39428d1 Author: Dušan Kazik Date: Sun Mar 12 10:02:48 2017 +0000 Update Slovak translation po/sk.po | 516 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 260 insertions(+), 256 deletions(-) commit 8bf40ebb88e33b3a521e1d6a6295526da6dc8a9b Author: Andika Triwidada Date: Sat Mar 11 08:59:12 2017 +0000 Update Indonesian translation po/id.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ad50af40113a10830f4740c41013f09951a55ed0 Author: Andika Triwidada Date: Sat Mar 11 07:49:44 2017 +0000 Update Indonesian translation po/id.po | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit dc05a8e7fbe166c185b3a0df72b35b94d8f06dd8 Author: Marek Černocký Date: Sat Mar 11 02:12:00 2017 +0100 Updated Czech translation po-properties/cs.po | 671 ++++++++++++++++++++++++++-------------------------- 1 file changed, 335 insertions(+), 336 deletions(-) commit 6a02bd4fa982155dbcd11bf15df89c37db0c973f Author: Matthias Clasen Date: Fri Mar 10 07:26:05 2017 -0500 quartz: Fix another typo gdk/quartz/gdkwindow-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9caa50ca0d302ff7f35e97914c95a01608081641 Author: Matthias Clasen Date: Fri Mar 10 07:09:37 2017 -0500 quartz: Fix the build A ; was left out inadvertently. gdk/quartz/GdkQuartzNSWindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4df881542e88441842b4fc7ed01581737fad4a2 Author: William Hua Date: Wed Mar 8 11:36:30 2017 -0500 mir: log additional event types gdk/mir/gdkmir-debug.c | 254 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 254 insertions(+) commit e387f807e4a6da663bca3f8d0b75f1cdbd66465d Author: TingPing Date: Wed Mar 8 22:52:58 2017 -0500 Improve GContentType usage Convert to content type where needed. Should fix various issues on Windows and OS X. https://bugzilla.gnome.org/show_bug.cgi?id=734946 gtk/gtkfilefilter.c | 19 +++++++++++++++---- gtk/gtkrecentfilter.c | 17 ++++++++++++++--- gtk/gtkrecentmanager.c | 6 ++++-- gtk/inspector/resource-list.c | 12 ++++++++++-- 4 files changed, 43 insertions(+), 11 deletions(-) commit 504321019eab3b3fce3aaad197c1ee0a8f85b9b5 Author: Andika Triwidada Date: Thu Mar 9 03:57:10 2017 +0000 Update Indonesian translation po/id.po | 535 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 272 insertions(+), 263 deletions(-) commit 4a8ad03e1035ec021249036741857a2b4e04e68c Author: Andika Triwidada Date: Thu Mar 9 03:56:48 2017 +0000 Update Indonesian translation po-properties/id.po | 776 +++++++++++++++++++++++++++------------------------- 1 file changed, 400 insertions(+), 376 deletions(-) commit 112437f5ad4a904e874ce09922403ab44d34d94a Author: GNOME Translation Robot Date: Tue Mar 7 12:17:26 2017 +0000 Update Scottish Gaelic translation po-properties/gd.po | 713 ++++++++++++++++++++++++++-------------------------- 1 file changed, 350 insertions(+), 363 deletions(-) commit 2fdcdfa403ed33f7732fb5a34f80311053db37dd Author: GNOME Translation Robot Date: Tue Mar 7 12:11:43 2017 +0000 Update Scottish Gaelic translation po/gd.po | 551 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 289 insertions(+), 262 deletions(-) commit c00448f7c6ad8d56718639055359e92e7784cdf7 Author: Philip Withnall Date: Tue Mar 7 09:47:30 2017 +0000 tests: Fix use of C99 inline declaration We don’t claim to use them yet, even if we perhaps should. tests/testheightforwidth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5bdc85d34e89389cf8bbf53eda484014252f2c55 Author: Daniel Boles Date: Tue Mar 7 09:17:29 2017 +0000 testheightforwidth: cleanups tests/testheightforwidth.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 5f24d87a5ba97c76c7f421cb34a77ffa584eb2df Author: Daniel Boles Date: Tue Mar 7 01:32:24 2017 +0000 testframe: Don’t unnecessarily query the padding The [hv]padding variables control and hence track this. Also, simplify the CSS using shorthand 2-value notation (again). tests/testframe.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit ec30a03153adc4d86b02b7b995210b354b258b9e Author: Daniel Boles Date: Mon Mar 6 23:44:07 2017 +0000 testframe: Actually set the padding The CSS was targeting node GtkFrame, which is wrong: it is called frame. This commit also assumes the interesting padding is that between the border and the child widget, not the padding around the entire Frame. Some additional hoops must be jumped through to preserve padding values not being changed in either callback. However, the way this is done means I must set the initial paddings to 0, which simplifies main(). tests/testframe.c | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) commit 685493075f2e636b594076bc9af082b553a304dd Author: Daniel Boles Date: Mon Mar 6 23:12:20 2017 +0000 testframe: Add CheckButton to toggle border off/on We should test this. tests/testframe.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 39d5f22774e38e4784f00f22b1c34c329dcb51e2 Author: Daniel Boles Date: Mon Mar 6 23:03:37 2017 +0000 testframe: Order controls better & improve labels The :label-widget is drawn before the child, so put the controls that set the alignment of the :label-widget before those that pad the child. We set (horizontal|vertical) padding, not "[xy]thickness". Also change to "label [xy]align" & use grid spacing, not spaces at end of Labels. tests/testframe.c | 52 +++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 25 deletions(-) commit 9f1916f29e6724d46ce9fb047a72db66e355c762 Author: Daniel Boles Date: Mon Mar 6 22:55:49 2017 +0000 testframe: Minimise typecasts tests/testframe.c | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) commit 5059348d9f67534fd402aecfb1ef5614aa2ed40c Author: Daniel Boles Date: Mon Mar 6 22:53:15 2017 +0000 testframe: Set value before connecting callbacks The value comes from the widget, and we were setting this after connecting the callback, which applies the value to the widget… tests/testframe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 4bec5432ce88dd732ec96205fe6ff17591f59b81 Author: Daniel Boles Date: Mon Mar 6 22:39:01 2017 +0000 testframe: Use a generic widget pointer tests/testframe.c | 55 +++++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 28 deletions(-) commit 0349574b477bf8febde96d9d3ff50819c5ae7dea Author: Daniel Boles Date: Mon Mar 6 20:57:17 2017 +0000 testheightforwidth: Add missing unref tests/testheightforwidth.c | 3 +++ 1 file changed, 3 insertions(+) commit 77f01c374bbba433b3a1fdfefae1e398adb912aa Author: Daniel Boles Date: Mon Mar 6 20:48:01 2017 +0000 testheightforwidth: Remove deprecations & clean up cherry-pick of master commit bf0ea7b7bc8de1c39923d4976f6e1aafd23b92c7 tests/testheightforwidth.c | 110 +++++++++++++++++++++++++++++---------------- 1 file changed, 72 insertions(+), 38 deletions(-) commit e63d4111a44bbcbb46039c1c94cbb64747b33140 Author: William Hua Date: Sat Mar 4 10:13:01 2017 -0500 mir: don't create GDK_INPUT_ONLY windows gdk/mir/gdkmirwindowimpl.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit 41d3f99e446efb26cb925297887133e978d924c5 Author: Jakub Steiner Date: Mon Mar 6 15:34:38 2017 +0100 Adwaita: border for selmode checkboxes - there was an extra border for selection mode gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 24 ++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 24 ++++++++++++++++-------- 3 files changed, 33 insertions(+), 16 deletions(-) commit 629c931f1f16c7632c583bc79f91f234e4aac853 Author: Daniel Boles Date: Mon Mar 6 07:19:30 2017 +0000 Frame: Fix another piece of .flat documentation gtk/gtkframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7160e3a12f56ab52ea3e0ff2097b8912128a3677 Author: Matthias Clasen Date: Sun Mar 5 22:52:03 2017 -0500 Quartz: Implement gdk_window_set_functions This is useful, and easy to implement. gdk/quartz/gdkwindow-quartz.c | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) commit 31832f86484430c7ef5759e0427ffb2f8509d4d7 Author: Daniel Boles Date: Sun Mar 5 17:56:23 2017 +0000 Revert move of .flat from frame > border to frame Changing code to agree with docs, which said frame.flat, was backwards. Mea culpa. Theme authors ran with the actual behaviour, not the docs. As stability is more important, let’s go back to frame > border.flat, and fix the docs to reflect what the code does and how to set .flat in code. N.B. This retains the change in HighContrast of "frame border" to "frame > border". Not using the direct child selector contradicted Adwaita & could conceivably have unwanted results on nested nodes named border. https://bugzilla.gnome.org/show_bug.cgi?id=778905 gtk/gtkframe.c | 12 +++++++----- gtk/theme/Adwaita/_common.scss | 7 ++----- gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++---- gtk/theme/Adwaita/gtk-contained.css | 7 +++---- gtk/theme/HighContrast/_common.scss | 6 +----- gtk/theme/HighContrast/gtk-contained-inverse.css | 7 +++---- gtk/theme/HighContrast/gtk-contained.css | 7 +++---- 7 files changed, 22 insertions(+), 31 deletions(-) commit 06cf2c84a424a8eaf13d74975596e0dda8aea95f Author: Inaki Larranaga Murgoitio Date: Sat Mar 4 17:43:00 2017 +0100 Update Basque language po-properties/eu.po | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit e4bbb5bb0b3801592b776c1088f658bbf0f3f306 Author: Changwoo Ryu Date: Fri Mar 3 17:01:12 2017 +0000 Update Korean translation po-properties/ko.po | 668 ++++++++++++++++++++++++++-------------------------- 1 file changed, 334 insertions(+), 334 deletions(-) commit d65851f7db4142ce389e1d4d428a535bedb5cd37 Author: Changwoo Ryu Date: Fri Mar 3 17:00:52 2017 +0000 Update Korean translation po/ko.po | 514 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 260 insertions(+), 254 deletions(-) commit 7dcb94579ad58f0b353b8f33f8cfe0d77132ad7e Author: Inaki Larranaga Murgoitio Date: Fri Mar 3 12:58:52 2017 +0100 Update Basque language po/eu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit de9a399eaa0b4a9e4b814ea75160a3432970dee1 Author: Inaki Larranaga Murgoitio Date: Fri Mar 3 12:57:34 2017 +0100 Update Basque language po-properties/eu.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a6432cc6d0feb33a518fc6dcf834175bcc7f279a Author: Inaki Larranaga Murgoitio Date: Fri Mar 3 12:50:41 2017 +0100 Update Basque language po/eu.po | 564 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 285 insertions(+), 279 deletions(-) commit ff779af97fbc4f1c729291a8c9c75f92f7db2407 Author: Inaki Larranaga Murgoitio Date: Fri Mar 3 12:47:55 2017 +0100 Update Basque language po-properties/eu.po | 696 +++++++++++++++++++++++++--------------------------- 1 file changed, 339 insertions(+), 357 deletions(-) commit 76d7c0bbedff007e2f1b9c0fb03ca2d704bf5228 Author: Chun-wei Fan Date: Fri Mar 3 17:35:28 2017 +0800 build/Makefile.msvcproj: Remove MSVC 2017 projects before re-generation This ensures a fresh version from the 2010 projects are copied and processed. build/Makefile.msvcproj | 2 ++ 1 file changed, 2 insertions(+) commit 02b588697569ce60fdef22297fc203200fc51b81 Author: Daniel Boles Date: Fri Mar 3 08:43:26 2017 +0000 themes: Actually fix the frame.flat style class by changing the source scss, not just the generated css files. Thanks to Christoph Reiter for pointing this out! gtk/theme/Adwaita/_common.scss | 7 +++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++++--- gtk/theme/Adwaita/gtk-contained.css | 7 ++++--- gtk/theme/HighContrast/_common.scss | 8 ++++++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 11 ++++++----- gtk/theme/HighContrast/gtk-contained.css | 11 ++++++----- 6 files changed, 31 insertions(+), 20 deletions(-) commit 0bada2506e08aac63a8199477520b01233639101 Author: Daniel Boles Date: Fri Mar 3 08:42:05 2017 +0000 HighContrast/parse-sass.sh: Use a reliable shebang /usr/bin/sh does not exist on e.g. Debian sid. Use the same shebang as Adwaita/parse-sass.sh gtk/theme/HighContrast/parse-sass.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17da1e9f35d8379f0c848100d0503d4b0a50777f Author: Daniel Boles Date: Thu Mar 2 18:59:25 2017 +0000 Adwaita: :insensitive is deprecated; use :disabled 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 d6166921a8488f399e69b234056f384faf7f64c2 Author: Daniel Boles Date: Sun Feb 19 12:22:48 2017 +0000 Adwaita: Restore documented behaviour of .flat This was changed in commit 0c20604932fa398ec8f52f049bf91b7128ff2e47 but got clobbered by commit 8817c1ad6d7dede20f7f16c71d088304a7bccacd gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f7479bf3697c9c21acd3b1e80b11f03c8bfd1b76 Author: Timm Bäder Date: Thu Mar 2 14:06:01 2017 +0100 placesview: Simplify button construction gtk/gtkplacesview.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 1880cf48ad7d25a90acf3df6f08e74588470f610 Author: Timm Bäder Date: Thu Mar 2 14:05:46 2017 +0100 placessidebar: Fix css node name typo gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e44e7ba0df7d62beb0267e86d9749b7a0d2606f5 Author: Timm Bäder Date: Tue Feb 28 14:22:39 2017 +0100 widgetnode: Remove unused define gtk/gtkcsswidgetnode.c | 4 ---- 1 file changed, 4 deletions(-) commit ec8192420e973cc6e00f1589034bab076eccbaab Author: Timm Bäder Date: Tue Feb 28 08:23:19 2017 +0100 cssnodestylecache: Use const pointer in lookup gtk/gtkcssnode.c | 2 +- gtk/gtkcssnodestylecache.c | 8 ++++---- gtk/gtkcssnodestylecacheprivate.h | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) commit 4b38a39c9d02033875980732ed41e3ea848580c5 Author: Carlos Garnacho Date: Thu Mar 2 18:18:31 2017 +0100 gtk-demo: Add 3fg touchpad swipe handling to gestures demo We can handle those on wayland, so we should show it's possible. demos/gtk-demo/gestures.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 76af1904db67c6f14cb4d68d799cd004cb64411f Author: Carlos Garnacho Date: Thu Mar 2 18:14:00 2017 +0100 gtkgesturesingle: Fallback to GtkGesture handling on GDK_TOUCHPAD_SWIPE There are GtkGestureSingle subclasses that can be made to handle multiple fingers (GtkGestureSingle is a subclass of GtkGesture, and not the opposite, after all). And GtkGestureSwipe already tries to handle GDK_TOUCHPAD_SWIPE events, except this event handler silently ignores those. Falling back to the GtkGesture generic handler which already handles touchpad gesture events fixes this. gtk/gtkgesturesingle.c | 1 + 1 file changed, 1 insertion(+) commit cf1e2b904227cbc0bc513693e4798ea50821f2b5 Author: Matthias Clasen Date: Tue Feb 28 18:44:33 2017 -0500 Convince OS X to fully fullscreen windows We typically want to have the full screen given to the content, not the aspect-ratio preserving behavior that newer OS X has. https://bugzilla.gnome.org/show_bug.cgi?id=779383 gdk/quartz/GdkQuartzNSWindow.c | 15 +++++++++++++++ gdk/quartz/GdkQuartzNSWindow.h | 1 + 2 files changed, 16 insertions(+) commit 36e1761c8479a88bb29619f404e34c68f96c2dc9 Author: Sveinn í Felli Date: Thu Mar 2 12:59:38 2017 +0000 Update Icelandic translation po-properties/is.po | 160 +++++++++++++++++----------------------------------- 1 file changed, 53 insertions(+), 107 deletions(-) commit 313ae3ad015001452c113d3108efd67161a4837b Author: Ask Hjorth Larsen Date: Thu Mar 2 13:23:27 2017 +0100 Updated Danish translation po-properties/da.po | 4637 +++++++++++++++++++++++++-------------------------- 1 file changed, 2300 insertions(+), 2337 deletions(-) commit ecdd353266215aad70ad6d616976b3ad5cf5a3b3 Author: Ask Hjorth Larsen Date: Thu Mar 2 13:21:24 2017 +0100 Updated Danish translation po/da.po | 517 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 261 insertions(+), 256 deletions(-) commit fb53855fc8f286d8cef7cf7a31cecef048b6a0ad Author: Sveinn í Felli Date: Thu Mar 2 11:54:46 2017 +0000 Update Icelandic translation po-properties/is.po | 4591 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2561 insertions(+), 2030 deletions(-) commit fc81dc17d4bd53284736ead4a6cf0463e65c813c Author: Jakub Steiner Date: Thu Mar 2 12:39:02 2017 +0100 Adwaita: style selectionmode checks for flowbox tiles - continue being asset based rather than drawn by CSS - using node 'check' rather than style '.check' https://bugzilla.gnome.org/show_bug.cgi?id=779074 gtk/theme/Adwaita/_common.scss | 8 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 80 +++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 80 +++++++++++++++++++++++++------- 3 files changed, 135 insertions(+), 33 deletions(-) commit 8817c1ad6d7dede20f7f16c71d088304a7bccacd Author: Jakub Steiner Date: Thu Feb 16 20:34:50 2017 +0100 Adwaita: style flowbox tiles https://bugzilla.gnome.org/show_bug.cgi?id=779073 gtk/theme/Adwaita/_common.scss | 12 +++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 17 ++++++++++++++--- gtk/theme/Adwaita/gtk-contained.css | 17 ++++++++++++++--- 3 files changed, 39 insertions(+), 7 deletions(-) commit 6f3d1e1046d64552f1ecc5582dc8d430d01a1730 Author: William Hua Date: Tue Feb 28 09:51:44 2017 -0500 mir: deprecate gdk_mir_window_get_mir_surface () gdk/mir/gdkmir.h | 2 +- gdk/mir/gdkmirwindowimpl.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) commit 45d33b063f0f27c02e46e354b93a727507d9a4ff Author: William Hua Date: Mon Feb 27 18:28:05 2017 -0500 mir: delete commented debug output gdk/mir/gdkmircursor.c | 1 - gdk/mir/gdkmirdevicemanager.c | 2 - gdk/mir/gdkmirdisplay.c | 40 -------------------- gdk/mir/gdkmirkeyboard.c | 9 ----- gdk/mir/gdkmirkeymap.c | 12 ------ gdk/mir/gdkmirpointer.c | 9 ----- gdk/mir/gdkmirscreen.c | 33 ---------------- gdk/mir/gdkmirwindowimpl.c | 87 +------------------------------------------ 8 files changed, 1 insertion(+), 192 deletions(-) commit 7949069b9da7df6025061555a9989786633a3aad Author: William Hua Date: Thu Feb 23 13:42:45 2017 -0500 mir: migrate away from deprecated mir api gdk/mir/gdkmir-debug.c | 24 ++-- gdk/mir/gdkmir-private.h | 8 +- gdk/mir/gdkmirdisplay.c | 36 ++--- gdk/mir/gdkmireventsource.c | 65 ++++----- gdk/mir/gdkmirscreen.c | 181 +++++++++++++----------- gdk/mir/gdkmirwindowimpl.c | 328 +++++++++++++++++++++++--------------------- 6 files changed, 338 insertions(+), 304 deletions(-) commit a497938358952e14c67d4eb1ed5c9e412a31153e Author: William Hua Date: Thu Feb 23 13:25:27 2017 -0500 mir: move #include to correct file gdk/mir/gdkmir.h | 1 - gdk/mir/gdkmireventsource.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) commit 953abc19da3de79e8f05452d185f708f2c5975e9 Author: Matthias Clasen Date: Tue Feb 28 20:45:18 2017 -0500 Implement backdrop for Quartz We need to send window state change events to make GTK+ pick up on focus changed for backdrop. https://bugzilla.gnome.org/show_bug.cgi?id=779392 gdk/quartz/GdkQuartzNSWindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 60e7e15f541c120e8d8ceb79e544abe9eab3268e Author: Matthias Clasen Date: Tue Feb 28 17:07:55 2017 -0500 quartz: Let CSD windows be fullscreen I've found that I need this patch to make it possible for windows with headerbar to be made fullscreen on OS X. https://bugzilla.gnome.org/show_bug.cgi?id=779383 gdk/quartz/gdkwindow-quartz.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit aebe3a74ec9c2da5fe6eb0826274d4b971068b8f Author: Olivier Fourdan Date: Tue Feb 28 18:17:39 2017 +0100 wayland: make sure to clear up the number of keys Make sure to clear up the number of keys being pressed on enter/leave so that we don't end up with leftovers if a new window is mapped by a keyboard shortcut. https://bugzilla.gnome.org/show_bug.cgi?id=779374 gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 75e98fd2521d0f0ae94d8b32b2b9ac7ae5ad0628 Author: cedlemo Date: Mon Feb 27 18:08:17 2017 +0100 Fix bad check of GtkActionPadType in gtk_pad_controller_set_action https://bugzilla.gnome.org/show_bug.cgi?id=779317 gtk/gtkpadcontroller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3914178383f6063a77425f9c4461b5f5d5dcdfe Author: Matthias Clasen Date: Mon Feb 27 16:37:03 2017 -0500 3.22.9 NEWS | 36 ++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) commit ce1b2bef2b32fe50118d65f00c5071351e155d54 Author: Daniel Boles Date: Mon Feb 27 20:04:02 2017 +0000 Range: Remove leftover comment about update policy Update policies were removed way back in 2011… in commit c43a31ea33fe048fe74cd669418bea58d544ffab gtk/gtkrange.c | 3 --- 1 file changed, 3 deletions(-) commit 20ee36f9e028ba756e1c795c9cba422ded96cde2 Author: Daniel Mustieles Date: Mon Feb 27 18:51:24 2017 +0100 Updated Spanish translation po-properties/es.po | 604 ++++++++++++++++++++++++++-------------------------- 1 file changed, 301 insertions(+), 303 deletions(-) commit bd4f8617271ca8af31cb757912d3e5cc4247f94c Author: Daniel Mustieles Date: Mon Feb 27 18:50:54 2017 +0100 Updated Spanish translation po/es.po | 548 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 286 insertions(+), 262 deletions(-) commit a9c70c4fe63e673ec48f20e1a492047ca52f4a72 Author: Balázs Meskó Date: Mon Feb 27 14:19:41 2017 +0000 Update Hungarian translation po-properties/hu.po | 594 ++++++++++++++++++++++++++-------------------------- 1 file changed, 297 insertions(+), 297 deletions(-) commit 4146d7f3cc738d7d912adeccd2ef8e8f89b9671e Author: Olivier Fourdan Date: Thu Feb 2 10:43:45 2017 +0100 wayland: do not cancel key repeat on key press The key repeat is stopped as soon as a key is pressed, so if the user quickly presses a key while another is already pressed and being repeated, key repeat gets cancelled: - key1 press - key1 repeat - key2 press -> key1 repeat stopped - key1 release - key 2 is not repeated even though it's kept depressed This is a different behavior from X11, which confuses migrating users. To mimic the X11 behavior, keep track of the number of keys pressed simultaneously and cancel key repeat only when none is pressed. This way, if a user pressed a key while another one is being repeated, the new key press can possibly be repeated as well. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=778019 gdk/wayland/gdkdevice-wayland.c | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) commit 7c09153d201e4676ee585ecefd5f05ddaff0719b Author: Chao-Hsiung Liao Date: Mon Feb 27 00:02:49 2017 +0000 Update Chinese (Taiwan) translation po-properties/zh_TW.po | 1053 +++++++++++++++++++++++++----------------------- 1 file changed, 559 insertions(+), 494 deletions(-) commit e2666ba96d0e52714bfe6f080ff9ac0e78ecc19d Author: Chao-Hsiung Liao Date: Sun Feb 26 23:59:54 2017 +0000 Update Chinese (Taiwan) translation po/zh_TW.po | 692 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 362 insertions(+), 330 deletions(-) commit c676d4268e0ca293d98fdf41068e4cf2476a0338 Author: Fran Dieguez Date: Sun Feb 26 21:45:21 2017 +0000 Update Galician translation po/gl.po | 541 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 284 insertions(+), 257 deletions(-) commit 62597947094002386570061f5154dfc7dae595bb Author: Fran Dieguez Date: Sun Feb 26 21:42:22 2017 +0000 Update Galician translation po-properties/gl.po | 4640 +++++++++++++++++++++++++-------------------------- 1 file changed, 2303 insertions(+), 2337 deletions(-) commit a6c925e836346f3b9e9d7bb36260444d5a8391fa Author: Мирослав Николић Date: Sun Feb 26 15:33:37 2017 +0100 Updated Serbian translation po-properties/sr.po | 598 +++++++++++++++++++++++----------------------- po-properties/sr@latin.po | 598 +++++++++++++++++++++++----------------------- 2 files changed, 598 insertions(+), 598 deletions(-) commit 8d3102e1a904f7cbf0950e753e33e20795c4b1c3 Author: Christian Kirbach Date: Sat Feb 25 19:51:35 2017 +0000 Update German translation po-properties/de.po | 596 ++++++++++++++++++++++++++-------------------------- 1 file changed, 298 insertions(+), 298 deletions(-) commit 375a68fc6bc452dafc9acfe40b6ec9c735ccb39e Author: Aurimas Černius Date: Sat Feb 25 18:21:42 2017 +0200 Updated Lithuanian translation po-properties/lt.po | 598 ++++++++++++++++++++++++++-------------------------- 1 file changed, 298 insertions(+), 300 deletions(-) commit 29f2da55870ebc451a01e5187541e5d894bb0f69 Author: Milo Casagrande Date: Fri Feb 24 13:16:16 2017 +0000 Update Italian translation po-properties/it.po | 687 +++++++++++++++++++++++++++------------------------- 1 file changed, 363 insertions(+), 324 deletions(-) commit 68188fc948a555e672bc8cbf927d9f691c3eacd9 Author: Olivier Fourdan Date: Fri Nov 25 14:24:52 2016 +0100 wayland: Fix a race condition with xdg_popup resize When resizing an xdg_popup immediately after the initial mapping, there is a race condition between the client and the compositor which is processing the initial size given by the xdg_positioner, leading to the xdg_popup to be eventually of the wrong size. Only way to make sure the size is correct in that case is to hide and show the window again. Considering this occurs before the initial configure is processed, it should not be noticeable. https://bugzilla.gnome.org/show_bug.cgi?id=772505 gdk/wayland/gdkwindow-wayland.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit c3a2e0035c58be731eb64714aed540a26f75a433 Author: Daniel Boles Date: Thu Feb 23 19:22:39 2017 +0000 Revert "Inspector: Use Title Case for labels & menu items" This reverts commit 85f2c5f8301ab70418e488e8e058decb9121899a. I absent-mindedly forgot the string freeze; sorry. https://bugzilla.gnome.org/show_bug.cgi?id=779147 gtk/inspector/general.ui | 2 +- gtk/inspector/misc-info.ui | 18 +++++++++--------- gtk/inspector/visual.ui | 6 +++--- gtk/inspector/window.ui | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) commit 85f2c5f8301ab70418e488e8e058decb9121899a Author: Daniel Boles Date: Thu Feb 23 18:33:39 2017 +0000 Inspector: Use Title Case for labels & menu items https://developer.gnome.org/hig/stable/writing-style.html.en https://bugzilla.gnome.org/show_bug.cgi?id=779147 gtk/inspector/general.ui | 2 +- gtk/inspector/misc-info.ui | 18 +++++++++--------- gtk/inspector/visual.ui | 6 +++--- gtk/inspector/window.ui | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) commit 06f772863190de0e48f707d9be18f169b92863ae Author: Daniel Boles Date: Thu Feb 23 18:47:19 2017 +0000 ComboBox: rm pointless var in get_popup_accessible gtk/gtkcombobox.c | 8 ++------ gtk/gtkcombobox.h | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) commit e5b63759143f63f791f1a03962db8329359e3eb2 Author: Olivier Fourdan Date: Wed Feb 1 15:09:52 2017 +0100 gdkwindow: subsurface in gdk_window_get_effective_parent() When the GtkWidget hierarchy does not match the GdkWindow hierarchy, the GtkWidget code may find a common ancestor that cannot be found while traversing the GdkWindow tree using gdk_window_get_effective_parent(). This happens with for example on Wayland, a GtkPopover has another GtkPopover as parent, in this case, the GdkWindow parent is the root window, whereas the GtkWidget parent is the other GtkPopover. That confuses the gtk_widget_translate_coordinates() logic which will bail out in this case and won't return the translated coordinates. Make gdk_window_get_effective_parent() aware of subsurfaces and use the transient_for which represents the actual parent (whereas the parent might be pointing to the root window). Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=774148 gdk/gdkwindow.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 03429df872a80e6be9cbc00615118ebe6bed8c60 Author: Daniel Boles Date: Wed Feb 22 21:24:48 2017 +0000 TextView—Avoid pointless Pango in iter_line_is_rtl Get the direction that was already worked out and stored in the TextLineDisplay, rather than making Pango figure it out again. https://bugzilla.gnome.org/show_bug.cgi?id=136059 gtk/gtktextview.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 00b8b18795679dde5e2b95fe0687d43aab7bc6af Author: Daniel Boles Date: Wed Feb 22 21:24:45 2017 +0000 TextView—Plug a memory leak Thanks to Nelson Benitez for pointing this out. https://bugzilla.gnome.org/show_bug.cgi?id=136059 gtk/gtktextview.c | 2 ++ 1 file changed, 2 insertions(+) commit 188929e2ea0e7d0d0921ef3cd5320b3b5a0b7f6a Author: Daniel Boles Date: Wed Feb 22 19:13:51 2017 +0000 Revert "testsuite/scrolledwindow—Test non-overlay/non-auto" This reverts commit fbd876fe933e05b59e610ecd2e4b8a17b756e984. Reverting until I can be sure gtkscrolledwindow.c does the right thing. https://bugzilla.gnome.org/show_bug.cgi?id=778853 testsuite/gtk/scrolledwindow.c | 234 +++++++---------------------------------- 1 file changed, 40 insertions(+), 194 deletions(-) commit 555847d44f1543d0b3e69a6f773dee7300374ee2 Author: Daniel Boles Date: Wed Feb 22 19:13:49 2017 +0000 Revert "ScrolledWindow—Don’t req size for auto-hidden bars" This reverts commit 367e0216524154a8a43c357c75ec686a8ceba11b. This causes criticals in e.g. the Text View: Multiple Buffers demo. More work is required to get a fix for Bug 778853 that does not cause anything else to regress. https://bugzilla.gnome.org/show_bug.cgi?id=778853 gtk/gtkscrolledwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4e61aaa0a4839410507ae3a4589afc750ac1fd28 Author: Daniel Boles Date: Wed Feb 22 08:51:36 2017 +0000 Scale: Fix erroneously removed : in a signal doc gtk/gtkscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 13f781d99da61e42e4408b494a6d7143422a935f Author: Daniel Boles Date: Tue Feb 21 21:18:01 2017 +0000 Frame—Note set_label always destroys :label-widget The fact that it doesn’t reuse the existing GtkLabel if present is not immediately obvious to users (or is it just me?), so clarify that the pre-existing :label-widget, if any, is always removed and replaced. gtk/gtkframe.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 42108a82c7131104bb2e445027223d33233afd49 Author: Daniel Boles Date: Tue Feb 21 21:13:43 2017 +0000 Frame—Clarify relationship of :shadow-type & .flat gtk/gtkframe.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 2e4fb454350eae7a84a96e56d9fe9e8f0c564072 Author: Florian Müllner Date: Tue Feb 21 11:11:10 2017 +0100 GtkFrame: Fix shadow after theme changes Commit 0c20604932f changed the theme to expect the .flat class on the frame node rather than the border one, but didn't update the code that applies the style according to the :shadow-type property. https://bugzilla.gnome.org/show_bug.cgi?id=779005 gtk/gtkframe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f3b3acfe53cafd5128e5c5d523b31f7c42259a2c Author: Rafael Fontenelle Date: Tue Feb 21 10:21:52 2017 +0000 Update Brazilian Portuguese translation po-properties/pt_BR.po | 608 ++++++++++++++++++++++++------------------------- 1 file changed, 303 insertions(+), 305 deletions(-) commit 4f7e9bf25f34becacf71b94898069271de8370e4 Author: Anders Jonsson Date: Sun Feb 19 18:11:34 2017 +0000 Update Swedish translation po-properties/sv.po | 594 ++++++++++++++++++++++++++-------------------------- 1 file changed, 297 insertions(+), 297 deletions(-) commit 22ca110a605a33e56add776befc229dbd3f722d0 Author: Piotr Drąg Date: Sun Feb 19 18:26:19 2017 +0100 Update Polish translation po-properties/pl.po | 546 ++++++++++++++++++++++++++-------------------------- 1 file changed, 273 insertions(+), 273 deletions(-) commit cc0e6eb37420189f14503179a3dd2e6852b26a7f Author: Daniel Boles Date: Sun Feb 19 17:17:41 2017 +0000 Frame: Explain the .flat style class gtk/gtkframe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fbd876fe933e05b59e610ecd2e4b8a17b756e984 Author: Daniel Boles Date: Fri Feb 17 21:38:29 2017 +0000 testsuite/scrolledwindow—Test non-overlay/non-auto It was only testing the default configuration where overlay-scrolling is TRUE and the policy is POLICY_AUTOMATIC. We should also test FALSE and POLICY_ALWAYS. This commit adds those tests and makes the !overlay && POLICY_ALWAYS case pass by excluding the size of the relevant scrollbar, as we are only interested in whether the content size is as requested. https://bugzilla.gnome.org/show_bug.cgi?id=778853 testsuite/gtk/scrolledwindow.c | 234 ++++++++++++++++++++++++++++++++++------- 1 file changed, 194 insertions(+), 40 deletions(-) commit 367e0216524154a8a43c357c75ec686a8ceba11b Author: Daniel Boles Date: Fri Feb 17 19:48:42 2017 +0000 ScrolledWindow—Don’t req size for auto-hidden bars POLICY_AUTOMATIC means scrollbars are only shown when needed, i.e. when the size of the window is not large enough to show the entire child. So when measuring the preferred size, such scrollbars should be ignored. But measure() was adding size for bars for which policy_may_be_visible() was TRUE, which it returns for POLICY_ALWAYS (good) & _AUTOMATIC (bad). So we reserved space for child plus scrollbars, & because we have enough space for the child, POLICY_AUTOMATIC hides the scrollbar, leaving the extra reserved space empty at the right/bottom sides of the child. This is very noticeable/inconvenient for non-overlay, automatic scrollbars. Fix this by only requesting size for scrollbars that use POLICY_ALWAYS, rather than basing the decision on policy_may_be_visible(). https://bugzilla.gnome.org/show_bug.cgi?id=778853 gtk/gtkscrolledwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3e5d5f8899b6fa389ec781ef5f6e40d7d311cfd1 Author: Daniel Boles Date: Sat Feb 18 23:54:11 2017 +0000 TextView—Fix inverted movements by arrows in RTL Using Ctrl + left/right to skip between words, or left/right to cancel a selection, were causing movement on the screen in the opposite direction of the glyph on the key. This was surprising and awful UX for RTL users. This is based on a patch covering the former case by: Author: Mehdi Sadeghi Date: Sat Feb 18 02:16:00 2017 +0000 https://bugzilla.gnome.org/show_bug.cgi?id=136059 gtk/gtktextview.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 393e7aacc6ea2749e33882381b6f6dca7c1a6ca1 Author: Daniel Boles Date: Sat Feb 18 22:50:00 2017 +0000 Entry: Add newlines to ease reading huge switches These are monstrosities! gtk/gtkentry.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit a3d70b4ab2c367edfe18de8404acfa47e921926e Author: Daniel Boles Date: Sat Feb 18 22:50:00 2017 +0000 Entry—Fix inverted movements by arrow keys in RTL Using Ctrl + left/right to skip between words, or left/right to cancel a selection, were causing movement on the screen in the opposite direction of the glyph on the key. This was surprising and awful UX for RTL users. This is based on a patch covering the former case by: Author: Ori Avtalion Date: Tue Apr 20 08:06:23 2010 +0000 https://bugzilla.gnome.org/show_bug.cgi?id=136059 gtk/gtkentry.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 0c20604932fa398ec8f52f049bf91b7128ff2e47 Author: Daniel Boles Date: Sun Feb 19 12:22:48 2017 +0000 themes: Actually apply the frame.flat style class The docs say that this class should be put on the frame node, and that’s all we can do from C code, but the CSS was selecting on the border node. The result was that adding .flat did not disable the border as expected. https://bugzilla.gnome.org/show_bug.cgi?id=778905 gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 563063d66b67cbf72894ebef54524e0006aca6a6 Author: Daniel Boles Date: Sun Feb 19 10:13:34 2017 +0000 Scale: Fix signal documentation syntax Oops, sorry. Thanks to Cristoph Reiter for correcting me on this. gtk/gtkscale.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 0478bfd37ba443905bad94d018d88e237307c4e8 Author: Daniel Boles Date: Sun Feb 19 09:09:28 2017 +0000 Scale: Improve docs of format-value property gtk/gtkscale.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b3b2f6b5d46a1679eca15f170e053f38323eea11 Author: Daniel Boles Date: Sun Feb 19 08:37:51 2017 +0000 Scale: Improve docs of prop digits in other places There were places still implying that it was only used for display. gtk/gtkscale.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit ee6c51440658092d8c974209420a3fd07545e0bb Author: Daniel Boles Date: Sun Feb 19 08:36:27 2017 +0000 Scale: consistent #Class:signal-or-property syntax Use : everywhere, not a mixture of : and :: gtk/gtkscale.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f9df0fc94c7b83f598b1dabedf5b45e09c0c6c47 Author: Руслан Ижбулатов Date: Fri Feb 10 10:49:00 2017 +0000 GDK W32: Handle drivers that do not send WT_CSRCHANGE after WT_PROXIMITY Some drivers don't do that (not sure whether that is the correct behaviour or not). Remember each WT_PROXIMITY with LOWORD(lParam) != 0 that we get, then look for a WT_CSRCHANGE. If WT_CSRCHANGE doesn't come, but a WT_PACKET does, assume that this device is the one that sent WT_PROXIMITY. Also include fallback code to ensure that WT_PACKETs for an enabled device disable the system pointer, because WT_PROXIMITY handler might have enabled it by mistake, since it's not possible to know which device left the proximity (it might have been a disabled device). https://bugzilla.gnome.org/show_bug.cgi?id=778328 gdk/win32/gdkdevicemanager-win32.c | 93 +++++++++++++++++++++++++++++--------- gdk/win32/gdkdevicemanager-win32.h | 6 +++ gdk/win32/gdkdisplay-win32.c | 2 +- gdk/win32/gdkevents-win32.c | 4 +- gdk/win32/gdkglobals-win32.c | 2 +- gdk/win32/gdkprivate-win32.h | 2 +- 6 files changed, 83 insertions(+), 26 deletions(-) commit 1d0fad3d706ff81b841548ed2ad2ec0de513ab80 Author: Руслан Ижбулатов Date: Fri Feb 17 15:59:32 2017 +0000 GDK W32: Apply HiDPI scale properly to monitors Previously HiDPI scale was retrieved and applied too late in the initialization process to affect monitor size and monitor workarea size, but the code that initializes these sizes *did* try to use the scale, even though it was always getting scale=1. To fix this, move the too-late code into monitor enumeration routine. This also fixes a probable semantic bug where width and height were divided by scale, again. Now monitor and workarea should be in application pixels (i.e. divided by scale), as intended. https://bugzilla.gnome.org/show_bug.cgi?id=778835 gdk/win32/gdkdisplay-win32.c | 36 ---------------------------------- gdk/win32/gdkmonitor-win32.c | 46 +++++++++++++++++++++++++++++++++++++------- 2 files changed, 39 insertions(+), 43 deletions(-) commit 11f81e77f966807da2354c9f592fdb72d19b9d35 Author: Daniel Boles Date: Sat Feb 18 21:01:38 2017 +0000 CssSelector: Fix warning for bad pseudo-class name It was "Missing name of pseudo-class", but the real problem is exactly the opposite: we /have/ been given a name, but it is not a valid one. Change it to "Invalid name of pseudo-class" to minimise confusion. gtk/gtkcssselector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6ba8df4b7288bfb15fc5cfba0f2a531b7925e18 Author: Daniel Boles Date: Sat Feb 18 20:18:05 2017 +0000 testsuite/gtk/textiter: Add missing assertion gboolean ret for whether gtk_text_iter_backward_line() moved the iter was declared but not used anywhere. I presume it was meant to be checked, and it passes now, so let’s do it. testsuite/gtk/textiter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c4874aeaa59952f20abf6296ab0e45ea6c0b70f4 Author: Nelson Benítez León Date: Fri Feb 10 23:29:41 2017 +0500 textiter: fix bug in gtk_text_iter_backward_line() gtk_text_iter_backward_line() checks the value of real->line_char_offset without previously calling ensure_char_offsets (real) to make sure the former is up-to-date. As a consequence of this, when gtk_text_iter_backward_line() is called after a gtk_text_buffer_insert_range() in the first line of buffer, the iter is not moved to the start of the line, and the return value is wrong. Fixed by adding the ensure_char_offsets() call. A test case for this bug is added to the textiter gtk testsuite. gtk/gtktextiter.c | 2 ++ testsuite/gtk/textiter.c | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) commit 6cdeac1c6a55f4a0796a56b19f729b16ddd31212 Author: Daniel Boles Date: Fri Feb 17 22:01:32 2017 +0000 Image—Add some more missing (nullable) annotations gtk/gtkimage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a729eeab0a08bab509ff59e26be9f3267583a578 Author: Timm Bäder Date: Thu Feb 16 12:23:47 2017 +0100 filechooserentry: Avoid an uninitialized value |= with a garbage value on the left side results in a still-garbage value. gtk/gtkfilechooserentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 42d8b70b0ecc82b90c544c61de4c550fa5a066d6 Author: Timm Bäder Date: Thu Feb 16 12:22:58 2017 +0100 filechooserwidget: Fix profiling code compilation gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8aa9fb38a30dc3587062f48de4972e3a48dd3f14 Author: Timm Bäder Date: Thu Feb 16 12:22:33 2017 +0100 Add a few missing (nullable) annotations gtk/gtkbutton.c | 2 +- gtk/gtkgesture.c | 4 ++-- gtk/gtkimage.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 98c04230c3222e0d4e434eeb2f9f2d8a0c01a113 Author: Timm Bäder Date: Thu Feb 16 12:21:23 2017 +0100 builder: avoid an uninitialized value When g_module_supported() returns FALSE, args.module is garbage otherwise. gtk/gtkbuilder.c | 2 ++ 1 file changed, 2 insertions(+) commit 26cab782cd81f938fda9a49b4187c2a67282f1b6 Author: Timm Bäder Date: Thu Feb 16 10:32:31 2017 +0100 filechooserwidget: Fix rename popover position calculation Since the browse_file_popover is positioned correctly, just convert the coordinates in the same way we do there. https://bugzilla.gnome.org/show_bug.cgi?id=778746 gtk/gtkfilechooserwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d825c34ca30b91dafe940bebddb15d19817fcd58 Author: Carlos Garnacho Date: Tue Feb 7 16:35:55 2017 +0100 gdk: Ensure GdkDragContext instantly updates drag window position Otherwise we wait for the next gdk_drag_motion() call, which will happen on the next motion event, making the drag window briefly visible on the 0,0 root coordinates. https://bugzilla.gnome.org/show_bug.cgi?id=778203 gdk/x11/gdkdnd-x11.c | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) commit fdc79c804a7eb96853a41f0e8b4aafcbb22e6549 Author: Daniel Boles Date: Fri Feb 17 15:18:16 2017 +0000 docs/css-properties: Fix info on 3value properties https://developer.mozilla.org/en/docs/Web/CSS/margin#Values docs/reference/gtk/css-properties.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c6f0df26f694e9a24d049c0ae67c1db015f3679d Author: Chun-wei Fan Date: Fri Feb 17 15:06:25 2017 +0800 Visual Studio builds: Support Visual Studio 2017 Update the autotools scripts so that we can support Visual Studio 2017 by copying the 2010 projects and updating items as needed to obtain the 2017 projects. Note that since the toolset version string changed for Visual Studio 2017, so allow the use of a custom toolset version string, otherwise just generate the toolset version string as we did before. Also, note that Visual Studio 2017 aims to be compatible with 2015 on the CRT level, so there should not be any problems using 2017-compiled binaries with 2015-compiled ones. build/Makefile-newvs.am | 18 ++++++++++----- build/win32/Makefile.am | 3 ++- build/win32/vs10/Makefile.am | 1 + build/win32/vs15/Makefile.am | 52 ++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 8 +++++++ 5 files changed, 76 insertions(+), 6 deletions(-) commit eca35180f9ffa43e361ef0eb0c9a0d04ad461951 Author: Bastien Nocera Date: Thu Feb 16 04:51:23 2017 +0100 docs: Advise to use gtk_show_uri_on_window() Instead of gtk_show_uri() which is now deprecated, and mention an additional benefit of doing so. https://bugzilla.gnome.org/show_bug.cgi?id=778726 docs/reference/gtk/migrating-2to3.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit d93dd81e6569bcf545196a6deb08c3d61749a2e1 Author: Emmanuele Bassi Date: Thu Feb 16 00:24:57 2017 +0000 Use gtk_show_uri_on_window() in GtkLabel Avoid the deprecated gtk_show_uri(), and allow activating link in sandboxed applications. https://bugzilla.gnome.org/show_bug.cgi?id=778726 demos/gtk-demo/links.c | 2 +- gtk/gtklabel.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) commit 72ac208052e9a9e4697a861ab96300b36ca3b540 Author: Bastien Nocera Date: Thu Feb 16 04:53:55 2017 +0100 GtkMountOperation: We use gtk_show_uri_on_window() by default Not gtk_show_uri(). https://bugzilla.gnome.org/show_bug.cgi?id=778726 gtk/gtkmountoperation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4fbfde07bec0d34100e123c7e286b3bcc7fcec2 Author: Bastien Nocera Date: Thu Feb 16 04:53:29 2017 +0100 gtk: Ignore gtk_show_uri() deprecation warnings https://bugzilla.gnome.org/show_bug.cgi?id=778726 gtk/gtkfilechooserwidget.c | 2 ++ gtk/gtkprintoperation-unix.c | 2 ++ 2 files changed, 4 insertions(+) commit da0291950dfc6dc9b85b493c4aa91dbad80c9e8f Author: Bastien Nocera Date: Thu Feb 16 04:52:53 2017 +0100 GtkLinkButton: We use gtk_show_uri_on_window() by default Not gtk_show_uri(). https://bugzilla.gnome.org/show_bug.cgi?id=778726 gtk/gtklinkbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f2febf7c7117cada27276b1002eebe8eb64877e9 Author: Bastien Nocera Date: Thu Feb 16 04:52:02 2017 +0100 GtkAboutDialog: We use gtk_show_uri_on_window() by default Not gtk_show_uri(). https://bugzilla.gnome.org/show_bug.cgi?id=778726 gtk/gtkaboutdialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c495ffb1ba45c8c01e218a3e5bb7282ef5e078f5 Author: Bastien Nocera Date: Thu Feb 16 04:50:48 2017 +0100 docs: Fix reference to non-existent gtk_show_uri_on_parent() It's called gtk_show_uri_on_window(). https://bugzilla.gnome.org/show_bug.cgi?id=778726 docs/reference/gtk/gtk3-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 977b26dcf5d23913c7c9598bb003fdbf4290cfbf Author: Lionel Landwerlin Date: Mon Jan 9 00:11:29 2017 +0000 widget: propagate scale factor upon reparenting a widget When a widget is created, its default scale is the scale of the primary screen (for instance 2). But once parented to another widget its scale factor should be the one of its parent (if parented to a widget on a screen at scale factor 1, it should be 1). The problem is that we don't emit the notify::scale-factor signal when reparenting happens. https://bugzilla.gnome.org/show_bug.cgi?id=776821 gtk/gtkwidget.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f8af23553b37c4a03264651c500f1ba9c1c7c3d0 Author: Daniel Boles Date: Sun Feb 12 15:52:02 2017 +0000 widget: Document signal mnemonic-activate Name the extra bool argument, and move the explanatory paragraph from the emitting method to the signal, with some minor tweaks to wording. https://bugzilla.gnome.org/show_bug.cgi?id=778534 gtk/gtkwidget.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 104c9ac845ea4f1fd6fb22f3d8e9cf6c65f27e28 Author: Bastien Nocera Date: Wed Feb 15 13:35:13 2017 +0100 gtkshow: Prefer gtk_show_uri_on_window() which works for sandboxed apps gtk_show_uri_on_window() will pass enough information for Portal helpers to allow dialogue parenting in Flatpak, gtk_show_uri() won't, so deprecate it. https://bugzilla.gnome.org/show_bug.cgi?id=778678 gtk/gtkshow.c | 35 +++++++++++++++++++++-------------- gtk/gtkshow.h | 2 +- 2 files changed, 22 insertions(+), 15 deletions(-) commit 9589505e1924a42582cf5970e2e8c6bf118279a7 Author: Tong Hui Date: Wed Feb 15 20:11:27 2017 +0800 Update zh_CN translation po-properties/zh_CN.po | 3607 ++++++++++++++++++++++++++---------------------- 1 file changed, 1923 insertions(+), 1684 deletions(-) commit dad4aecfc017dbe97074a188c972c0af013c5a08 Author: Matthias Clasen Date: Mon Feb 13 13:28:00 2017 -0500 3.22.8 NEWS | 27 +++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 29 insertions(+), 2 deletions(-) commit dca4f1e715610a3f42826fb7ba1cdc3bc0df319c Author: Руслан Ижбулатов Date: Thu Jan 26 17:44:01 2017 +0000 GDK W32: Different maximized window position for non-CSD windows It seems that WM interprets the same MINMAXINFO contents differently depending on which styles the window has. Play along. https://bugzilla.gnome.org/show_bug.cgi?id=765161 gdk/win32/gdkevents-win32.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) commit 8f01d6c5f4fa626c40426b253131bbcb1352562e Author: Lapo Calamandrei Date: Wed Feb 8 16:53:10 2017 +0100 HC: insensitive styling for views. gtk/theme/HighContrast/_common.scss | 4 ++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 3 +++ gtk/theme/HighContrast/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit efde7d15aacc6bdde602f35b0e53a743855125e2 Author: Lapo Calamandrei Date: Wed Feb 8 16:45:51 2017 +0100 adwaita: insensitive styling for views Add an insensitive style to views, somehow we didn't ship one, so for example, disabled textviews looked the same as sensitive ones. gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++++++++++ gtk/theme/Adwaita/gtk-contained.css | 11 +++++++++++ 3 files changed, 28 insertions(+) commit 7ec16c5c539fb31f1bda1bbd3d72be1b549f5aad Author: Olivier Fourdan Date: Wed Feb 1 09:41:07 2017 +0100 wayland: do not clamp anchor values Clamping the anchor values as introduced in commit 9a5ffcd to fix bug 777176 breaks menu positioning. By keeping the anchors rectangle size greater than zero, we end up deducting some positive value from the original position, so there is no need to clamp() actually, keeping the values positive is enough and avoids the issue with menu positioning on the menubar. An additional benefit is to make the code a lot simpler. https://bugzilla.gnome.org/show_bug.cgi?id=778009 gdk/wayland/gdkwindow-wayland.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) commit e338b4589d353c610352feef4054eae902117436 Author: Philip Chimento Date: Wed Nov 2 23:37:29 2016 -0700 quartz: Implement gtk_clipboard_get_selection This function is trivial and can be copied from the X11 implementation. https://bugzilla.gnome.org/show_bug.cgi?id=772281 gtk/gtkclipboard-quartz.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit eaf9fc60bf13ec2531ad02983472dc132595ce48 Author: Chris Martin Date: Thu Dec 8 22:13:29 2016 -0500 getting-started: typo tie->the https://bugzilla.gnome.org/show_bug.cgi?id=775864 docs/reference/gtk/getting_started.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 644c2d9617e594e6f6331a0c54fd51433513dba2 Author: Michael Catanzaro Date: Fri Jan 20 20:19:56 2017 -0600 notebook: redraw arrows after closing a tab Thanks to Daniel Boles for helping with a crash in an earlier version of this patch. https://bugzilla.gnome.org/show_bug.cgi?id=777547 gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit 494d8f36aa0a3b4d51caa8083fe89e53c63a7fa3 Author: Sveinn í Felli Date: Sat Feb 4 15:32:13 2017 +0000 Update Icelandic translation po/is.po | 2919 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1845 insertions(+), 1074 deletions(-) commit 09b2c54d41b4d2f8cd2f58f0e1a7c8e6246623dd Author: Matthias Clasen Date: Mon Jun 6 12:31:41 2016 -0400 range: Add a queue_resize call This is a workaround for a regression in updating scrollbars in some applications; notably eog. We haven't fully tracked down yet why a queue_allocation is not sufficient here, it should. https://bugzilla.gnome.org/show_bug.cgi?id=765410 gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43de771574399499b2c87e0636d97af3654bdfd4 Author: Daniel Boles Date: Tue Jan 31 09:39:39 2017 +0000 searchentry: Fix typo in documentation gtk/gtksearchentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d9947b671a2c605ef64cb720d2a9c6c80b39e7af Author: William Hua Date: Sun Jan 29 11:24:43 2017 -0500 mir: handle surface placement events This allows the Mir backend to properly emit "moved-to-rect." gdk/mir/gdkmir-private.h | 2 + gdk/mir/gdkmir.h | 1 + gdk/mir/gdkmireventsource.c | 10 +++ gdk/mir/gdkmirwindowimpl.c | 207 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 220 insertions(+) commit 14c8e25cb2063ff3a91b59328b7f45bcbc4cd875 Author: William Hua Date: Fri Jan 27 14:46:10 2017 -0500 mir: use mir_surface_spec_set_placement for menus This API was added to Mir for GTK menus, combo boxes, etc. gdk/mir/gdkmirwindowimpl.c | 240 ++++++++++++++++++++++++++++++--------------- 1 file changed, 159 insertions(+), 81 deletions(-) commit 3708e5cc7c85718bf1802b963f4ae3b53e414a23 Author: Michael Catanzaro Date: Fri Jan 27 08:53:42 2017 -0600 Revert "notebook: redraw arrows after closing a tab" This reverts commit 8caaba82cc84f1f9ad6bf30415688728c894210c. gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit baa83e975375c74e87d2b50fcad4b62f50f0d31f Author: Carlos Garnacho Date: Wed Jan 25 15:53:55 2017 +0100 wayland: Ensure to set gtk_surface dbus properties after hide() Currently hiding destroys the wl_surface and all related interfaces, (including the gtk_surface1) so the next time the GdkWindow is mapped, we don't bother to set the DBus properties. Toggle the check off so it's actually issued again after the GdkWindow gets a gtk_surface1. https://bugzilla.gnome.org/show_bug.cgi?id=773686 gdk/wayland/gdkwindow-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 8caaba82cc84f1f9ad6bf30415688728c894210c Author: Michael Catanzaro Date: Fri Jan 20 20:19:56 2017 -0600 notebook: redraw arrows after closing a tab https://bugzilla.gnome.org/show_bug.cgi?id=777547 gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit 5d7db3246e503016462fa28d34b1b3eafe4754d0 Author: William Hua Date: Thu Jan 12 17:16:27 2017 -0500 mir: use modal window hint gdk/mir/gdkmirwindowimpl.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit a95feb498409b42d7b7dd08b2c89c98b70b0a9fe Author: William Hua Date: Mon Jan 9 17:54:37 2017 -0500 mir: fix compile-time warnings gdk/mir/gdkmir-debug.c | 10 ++++++++++ gdk/mir/gdkmireventsource.c | 2 ++ gdk/mir/gdkmirscreen.c | 4 ++++ 3 files changed, 16 insertions(+) commit aff42686ced057060005e51d9c6e973f0123b9ee Author: Daniel Boles Date: Sat Jan 21 16:10:32 2017 +0000 combobox: Fix documentation typo bx => box gtk/gtkcombobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 167ef42c5c165c0669ab09ae5513eae9dd5b93ee Author: Daniel Boles Date: Fri Jan 20 22:15:42 2017 +0000 menushell: Don’t dereference before typechecking gtk/gtkmenushell.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit f705d0a5fa9b5d0fc2ef04151e9c7649761a8906 Author: Daniel Boles Date: Fri Jan 20 21:07:26 2017 +0000 combobox: If typechecking, don’t reference before gtk/gtkcombobox.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 7401794de6b084fea469af297b7c144724b8492c Author: Daniel Boles Date: Fri Jan 20 03:23:00 2017 +0000 combobox: popdown() the menu during unmap() combo_box_popdown() of course doesn’t popdown our menu if it is NULL. But the required call to this at end-of-life was in destroy(), by which point dispose() already NULLed the menu, so Menu::popdown() would never run, even if it should. Fix this by trying popdown() earlier in unmap(). Also, add a converse assurance that we don’t popup() while not mapped. gtk/gtkcombobox.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 4a5cd127ff7199480002e7d02698bee0333cf5d6 Author: Руслан Ижбулатов Date: Fri Jan 20 10:23:00 2017 +0000 GDK W32: Ensure that we use made-up monitors when there are none Previously GDK only made up monitors when it initially found none. Now it also makes up monitors when it initially finds some, but later fails to get their informatin in a normal way and finally prunes them out, being left with zero monitors. Having zero-length monitor array is unexpected and causes a number of critical warnings and some critical functionality (such as displaying drop-down menus) fails in such cases. Ideally, there might be such a way to interrogate W32 API that produces the information about non-real (but active) monitors out of it so that it isn't necessary for us to make stuff up. However, this code is already complicated, and i am not prepared to dig W32 API to find a way to do this. This fixes the issues people had when they accessed a Windows desktop via RDP. https://bugzilla.gnome.org/show_bug.cgi?id=777527 gdk/win32/gdkmonitor-win32.c | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) commit e831bb6ce7632a7baaf7f31130a6233e3c354270 Author: Mandy Wang Date: Fri Jan 20 20:37:01 2017 +0800 update zh_CN translation po/zh_CN.po | 2248 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1262 insertions(+), 986 deletions(-) commit 1063460db2d662681ef90c0daa3c1739620c650f Author: Chun-wei Fan Date: Fri Jan 20 18:17:33 2017 +0800 demos: Fix build Include gtk/fallback-c89.c so that we can ensure that we have round(), and that file already includes math.h demos/gtk-demo/gtkfishbowl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a7ff95ce73420e92cc280287513b98316525740f Author: Руслан Ижбулатов Date: Fri Jan 20 09:08:41 2017 +0000 GDK W32: Fix idiotic gdk_win32_display_get_monitor() implementation Replace the code borrowed from the X11 backend with the code borrowed from Wayland backend. Now GTK doesn't crash when the number of monitors is zero. gdk/win32/gdkdisplay-win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bbcc3ee45643ccdc25bc525b4d7f7daf6b25440a Author: Carlos Garnacho Date: Thu Jan 19 20:07:14 2017 +0100 Revert "wayland: Push NULL buffer when hiding a GdkWindow" This reverts commit 0f2e19c01059d151d606e7006d95dc7f60c222fc. gdk/wayland/gdkwindow-wayland.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit bd3d7b8a9a2192b51b58404b5180bddeee676cff Author: David King Date: Thu Jan 19 18:04:37 2017 +0000 docs: Add gtk_print_job_set_source_fd() docs/reference/gtk/gtk3-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 0f2e19c01059d151d606e7006d95dc7f60c222fc Author: Carlos Garnacho Date: Thu Jan 19 16:07:13 2017 +0100 wayland: Push NULL buffer when hiding a GdkWindow This is how windows are meant to be hidden as per the wayland protocol, there's no need to destroy the xdg_surface and other interfaces. Also, rename gdk_wayland_window_hide_surface() to clear_surface(), as that's what it does. https://bugzilla.gnome.org/show_bug.cgi?id=773686 gdk/wayland/gdkwindow-wayland.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit eb26b57cba460674e49535b40e573b014ea4ceac Author: Daniel Boles Date: Thu Jan 19 03:26:09 2017 +0000 combobox: Avoid a pointless assignment Don’t get the active item pointer before the grid/non-grid conditional, because if we’re in grid mode, we re-get it before selecting it anyway. gtk/gtkcombobox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b7cfe3c7783233ed1773149b567ab73009b2d46f Author: Daniel Boles Date: Thu Jan 19 03:12:32 2017 +0000 combobox: Also preselect active item in grid popup i.e. when wrap-width > 0. This was only being done for non-grid cases. So, ComboBoxes in grid mode did not indicate their selection when popped up and required users to keynav from ‘nothing’ (at the top-left) to the item they wanted to select. By selecting the active item in advance, now it’s highlighted & acts as the starting point for keynav around the grid gtk/gtkcombobox.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit a58dd993b29c89c0767e0f0719756823e4a884ae Author: Daniel Boles Date: Thu Jan 19 00:44:35 2017 +0000 scale: Really fix documentation of set_digits() This previously only mentioned its effect on the displayed value, and even after the previous commit, its rounding of the actual value upon change still reads like too much of an afterthought. Worse, it wasn’t mentioned at all in the doc for the @digits parameter. Change this to emphasise rounding always occurs and the displayed value is secondary. gtk/gtkscale.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 837785012717c6487f3db23ccfdb08bb48b5282a Author: Daniel Boles Date: Wed Jan 18 23:42:55 2017 +0000 scale: doc: set_digits doesn’t round retroactively Whether it should is an open question, but for now, the documentation should clearly indicate that currently rounding is only applied upon changes to the value, not to the existing value when ::digits changes. This is already clear in the doc for the underlying Range::round-digits. https://bugzilla.gnome.org/show_bug.cgi?id=358970 gtk/gtkscale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4a6bd134bdc192b4830a1c6228e27332d4629418 Author: Daniel Boles Date: Wed Jan 18 22:54:42 2017 +0000 Scale: Always sync ::digits to Range::round-digits The documents state that gtk_scale_set_digits() “causes the value of the adjustment to be rounded off to this number of digits, so the retrieved value matches the value the user saw.” Note the lack of any condition. But in fact, if draw-value was false, rounding was disabled on the base Range, so values that weren’t displayed weren’t rounded. This made the docs wrong and made an apparently cosmetic detail alter functionality. Fix by ensuring the number of digits set on Scale is always propagated along to gtk_range_set_round_digits(), thus rounding to it in all cases when the value changes, regardless of whether the value is displayed. This doesn’t address the other idea from Bugzilla: that changing the number of digits should clamp the _existing_ value if it’s more precise. This contradicts digits docs in the base Range, but the above from Scale can be read as implying it’ll happen. For now, that’s an open question. https://bugzilla.gnome.org/show_bug.cgi?id=358970 gtk/gtkscale.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit ccba2eaace19ace17cf9895e277bbe2dfde671dc Author: Daniel Boles Date: Wed Jan 18 22:52:35 2017 +0000 Remove executable bit from C source files in tests tests/testerrors.c | 0 tests/testscale.c | 0 tests/teststatusicon.c | 0 3 files changed, 0 insertions(+), 0 deletions(-) commit e98e6f73be8ec7647d6eddeacf6d13cd96352589 Author: Daniel Boles Date: Wed Jan 18 22:22:52 2017 +0000 combobox: Work around popup handler altering model GtkFileChooserButton installs a handler for the popped-up signal, which refilters the menu, in order to hide the “(None)” item from the popup if it was previously selected in the ComboBox. This oddity means that: • Until recently, this item would be selected in the menu shell, which would then be popped up and change the selection away from that item. This was therefore redundant (more on which below!) but benign. • After the patch for https://bugzilla.gnome.org/show_bug.cgi?id=771242 however, this causes a critical assertion fail, as now we stash the originally selected item in a pointer so that it can be selected only after realisation/popup – but by that stage, the model has just been refiltered and the previous pointer no longer refers to a valid item. This commit works around this problem by, after popping up the menu, getting the active item again, in case a popped-up handler has gone and invalidated the pointer to the active item that we saved before popup. If a handler does this, everything done to find/use the original item is pointless. But this avoids the ugly critical in FileChooserButton, while not harming every other ComboBox that doesn’t mess with its model while popping up (hopefully the vast majority), and it’s very difficult to imagine a way to check if the active item is /going to/ be hidden later) gtk/gtkcombobox.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit dfe89a381fbf6648228aaaff198f20f620b084bc Author: Daniel Boles Date: Wed Jan 18 22:17:37 2017 +0000 combobox: Don’t select active item if it’s hidden I hope no one ever actually brings such a silly item into this world, but this achieves symmetry with the similar checks immediately after. gtk/gtkcombobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac4e1625f5f3d806456ad5d75d7dd0d8b24d8164 Author: Daniel Boles Date: Wed Jan 18 21:20:10 2017 +0000 combobox: Move variables into narrowest scopes gtk/gtkcombobox.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 31fee675e41e2f379b63d0a8b37ae82cc2a571d7 Author: Matthias Clasen Date: Tue Jan 17 14:14:34 2017 -0500 Revert "filechooser portal: Make sure we can save" This reverts commit 4875c689a0e826604953965ffdb71d8b82cae364. This was a thinko. Writable is not actually settable from the application side, but only for the user, from the backend side. gtk/gtkfilechoosernativeportal.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) commit f4a0f2e5ca3338c58128c83c342c020189357efc Author: Matthias Clasen Date: Tue Jan 17 14:08:38 2017 -0500 filechooser portal: Make sure we can save Explicitly request files for saving to be writable, otherwise we are at the mercy of the portal, which currently gets it wrong. gtk/gtkfilechoosernativeportal.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 4f80d234bf2fb85642d0fe0d63230b07d29d8c10 Author: Rui Matos Date: Wed Jan 11 19:12:12 2017 +0100 gdk/wayland: Always get the seat's key modifiers from the GdkKeymap Elsewhere we already go through the keymap to get modifiers so we should do the same here. In fact, this was relying on xkb modifier mask values being bitwise compatible with GdkModifierType which isn't necessarily true. https://bugzilla.gnome.org/show_bug.cgi?id=770112 gdk/wayland/gdkdevice-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 33c10204e4671a6d1ca07c9ae8cfa30233fe0fb3 Author: Rui Matos Date: Wed Jan 11 18:33:11 2017 +0100 gdk/wayland: Don't add GDK_META_MASK to gdk mod masks if MOD1 is set Gtk+ treats MOD1 as a synonym for Alt, and does not expect it to be mapped around, so we should avoid adding GDK_META_MASK if MOD1 is already included to avoid confusing gtk+ and applications that rely on that behavior. https://bugzilla.gnome.org/show_bug.cgi?id=770112 gdk/wayland/gdkkeys-wayland.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 248ef2d6a0f97cbb71d10c0bb37a3183f13ea19f Author: William Hua Date: Mon Jan 9 12:04:48 2017 -0500 mir: properly handle empty clipboard https://bugzilla.gnome.org/show_bug.cgi?id=775732 gdk/mir/gdkmirdisplay.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 41732391d8b93478d4b63d63f9c3cc5bbf124a2a Author: William Hua Date: Sat Oct 15 22:19:59 2016 +0200 mir: paste clipboard data from content-hub https://bugzilla.gnome.org/show_bug.cgi?id=775732 gdk/mir/gdkmirdisplay.c | 339 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 335 insertions(+), 4 deletions(-) commit 5c4c3f1afd9a56644c1d204df3a9f5f1526ffa38 Author: William Hua Date: Wed Oct 12 16:56:01 2016 -0400 mir: copy clipboard data to content-hub https://bugzilla.gnome.org/show_bug.cgi?id=775732 gdk/mir/gdkmir-private.h | 5 ++ gdk/mir/gdkmirdisplay.c | 60 +++++++++++++++++- gdk/mir/gdkmirwindowimpl.c | 150 ++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 212 insertions(+), 3 deletions(-) commit 210d1279e5811ae18b0bad13f16a97c7ec98598e Author: William Hua Date: Tue Oct 11 16:53:48 2016 -0400 mir: connect to content-hub https://bugzilla.gnome.org/show_bug.cgi?id=775732 configure.ac | 2 +- gdk/mir/gdkmirdisplay.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) commit 0acb58b40fbc158f94486195e35088f610071583 Author: William Hua Date: Fri Oct 14 17:00:34 2016 -0400 mir: track focused window https://bugzilla.gnome.org/show_bug.cgi?id=775732 gdk/mir/gdkmir-private.h | 4 ++++ gdk/mir/gdkmirdisplay.c | 21 +++++++++++++++++++++ gdk/mir/gdkmireventsource.c | 10 ++++++++-- 3 files changed, 33 insertions(+), 2 deletions(-) commit b6baa088dccecb25130d056f33d8078d198dd2d7 Author: William Hua Date: Tue Oct 11 19:06:12 2016 -0400 mir: implement window properties https://bugzilla.gnome.org/show_bug.cgi?id=775732 gdk/mir/gdkmirwindowimpl.c | 179 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 163 insertions(+), 16 deletions(-) commit a22e80122ede660844742fd7e41f16ef8e070510 Author: Matthias Clasen Date: Mon Jan 16 14:10:47 2017 -0500 3.22.7 NEWS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 9a5ffcd1b5d5bbbf5c440c7a441e1901c1cae766 Author: Olivier Fourdan Date: Thu Jan 12 18:08:32 2017 +0100 wayland: avoid 0 width/height anchor rectangle Passing a rectangle with zero width or height to xdg_shell-v6 set_anchor_rect() will cause a protocol error and terminate the client, as with gedit when pressing the Win key. Reason for this is because the rectangle used to set the anchor comes from gtk_text_layout_get_iter_location() which uses the pango layout width/height, which can be empty if there is not character at the given location. Make sure we don't use 0 as width or height as an anchor rectangle to avoid the protocol error, and compensate the logical position of the given rectangle if the size is changed, so that the actual position remains as expected by the client. https://bugzilla.gnome.org/show_bug.cgi?id=777176 gdk/wayland/gdkwindow-wayland.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit afd19e9433e566a85b154b686bd941b6f1dd091b Author: Daniel Boles Date: Sun Jan 15 20:39:43 2017 +0000 grid: Fix plural error in docs' @Short_description gtk/gtkgrid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 21a71e94c6bcb2cf58bb4074e9b0eec880f15b20 Author: Benjamin Otte Date: Fri Jan 13 01:43:07 2017 +0100 cssimage: Fallback images have no aspect ratio The aspect ratio for fallback image was incorrectly set to 1. Reftest is included. gtk/gtkcssimagefallback.c | 2 +- testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/css-image-color-aspect-ratio.css | 9 +++++++++ testsuite/reftests/css-image-color-aspect-ratio.ref.ui | 11 +++++++++++ testsuite/reftests/css-image-color-aspect-ratio.ui | 10 ++++++++++ 5 files changed, 34 insertions(+), 1 deletion(-) commit 2e7d5c08cbd62cbb49dbec965ecebd6229d6d00a Author: Benjamin Otte Date: Fri Jan 13 03:28:34 2017 +0100 cssimage: Scale images to contain, not cover Images with just an aspect ratio, but without a size, should be scaled to be fully visible in the given area. But we scaled them to completely cover the given area, which made them partially invisible. Reftest included. gtk/gtkcssimage.c | 8 ++++---- testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/css-image-aspect-ratio.css | 8 ++++++++ testsuite/reftests/css-image-aspect-ratio.ref.ui | 11 +++++++++++ testsuite/reftests/css-image-aspect-ratio.ui | 10 ++++++++++ 5 files changed, 36 insertions(+), 4 deletions(-) commit 6da8cbc87e5ff442301da9c78b2049e6fa06fee2 Author: Matthias Clasen Date: Tue Jan 10 20:24:23 2017 -0500 Deprecate gdk_window_process[_all]_updates These functions should not be used anymore now that we have a frame clock, and are gone in GTK+ 4 gdk/gdkwindow.c | 2 ++ gdk/gdkwindow.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 99abc6363a5a5a0d13da116f2deae8311bd273ff Author: Rui Matos Date: Mon Jan 9 17:47:54 2017 +0100 gdk/wayland: Handle non-existant gsettings keys Since we're a library, crashing on gsettings keys, whose presence is out of our control, isn't appropriate. https://bugzilla.gnome.org/show_bug.cgi?id=775846 gdk/wayland/gdkscreen-wayland.c | 77 ++++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 36 deletions(-) commit 22b1e0b678ef2913a35ff5f903178671f4ce555c Author: Rui Matos Date: Thu Dec 8 18:18:53 2016 +0100 gdk/wayland: Add support for the gtk-enable-primary-paste gsetting The gsetting was recently added so that we can have this configurable on the wayland backend too. https://bugzilla.gnome.org/show_bug.cgi?id=775846 gdk/wayland/gdkscreen-wayland.c | 1 + 1 file changed, 1 insertion(+) commit eece8a7dd2405f76829031f3d6dd5e39fb5dc542 Author: Руслан Ижбулатов Date: Sat Dec 24 21:01:23 2016 +0000 GDK W32: Use keyboard hook to detect AeroSnap combinations better Windows WM handles AeroSnap for normal windows on keydown. We did this on keyup only because we do not get a keydown message, even if Windows WM does nothing with a combination. However, in some specific cases it DOES do something - and we have no way to detect that. Specifically, winkey+downarrow causes maximized window to be restored by WM, and GDK fails to detect that. Then GDK gets a keyup message, figures that winkey+downarrow was pressed and released, and handles the combination - by minimizing the window. To overcome this, install a low-level keyboard hook (high-level ones have the same problem as normal message loop - they don't get messages when Windows WM handles combinations) and use it to detect interesting key combinations before Windows WM has a chance to block them from being processed. Once an interesting combination is detected, post a message to the window, which will be handled in due order. It should be noted that this code handles key repetitions in a very crude manner. The downside is that AeroSnap will not work if hook installation function call fails. Also, this is a global hook, and if the hook procedure does something wrong, bad things can happen. https://bugzilla.gnome.org/show_bug.cgi?id=776031 gdk/win32/gdkevents-win32.c | 170 +++++++++++++++++++++++++++++++++----------- 1 file changed, 128 insertions(+), 42 deletions(-) commit ca79296061e2ddc0a2738a1fba4e9aa495d71d56 Author: Руслан Ижбулатов Date: Wed Jan 4 04:31:53 2017 +0000 GDK W32: Handle CapsLock as part of the key shift level Instead of using some kind of flawed logic about modifying a keypress result when CapsLock is toggled, just add a CapsLock shift level (and all derived shift levels, i.e. Shift+CapsLock and CapsLock+AltGr and Shift+CapsLock+AltGr) and query Windows keyboard layout API about the result of keypresses involving CapsLock. Keysym table is going to be (roughly) twice as large now, but CapsLock'ed keypresses will give correct results for some keyboard layouts (such as Czech keyboard layout, which without this change produces lowercase letters for CapsLock->[0,2,3,4...] instead of uppercase ones). Keymap update time also increases accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=165385 gdk/win32/gdkkeys-win32.c | 216 ++++++++++++++++++++++++++-------------------- 1 file changed, 122 insertions(+), 94 deletions(-) commit cc4ea94d8b61e7c0758463e934fe57b38ab566d3 Author: Daniel Boles Date: Mon Jan 9 22:34:30 2017 +0000 revealer: Fix a typo in a function doc Also, "ie" wasn't very clear, but fixing that to "i.e." would cause truncation of the summary when processed by bindings using doxygen. So, I replaced it with "in other words", which is no _less_ clear, at least. gtk/gtkrevealer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ab66c3d7bfaa316fc80a19e8aae32949b80068c1 Author: Carlos Garnacho Date: Thu Dec 22 19:22:07 2016 +0100 wayland: Disable EGL swap interval We have a frame clock that ensures rendering is done as per the output vsync. There is no need to have Mesa do the same for us. This, most notably, ensures Mesa doesn't schedule frame callbacks that will be left unattended if the compositor stops throttling frames for its surface, this is eg. the case if the toplevel is moved to another workspace. Also, given a SwapInterval!=0 will always bring these unexpected side effects, check that it's possible to disable it, and spew a debug message if that isn't the case. https://bugzilla.gnome.org/show_bug.cgi?id=769835 gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkglcontext-wayland.c | 25 ++++++++++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) commit eb57651ff7cc58efca7f9175e8a6f9ab16954f75 Author: Carlos Garnacho Date: Thu Nov 24 16:24:04 2016 +0100 gtkdnd: Remove unnecessary call drag-data-delete is emitted based on the interchange of the DELETE atom, which may well be set or bypassed locally by the app. As such emitting it here is not right, the other paths handling the DELETE atom interchange are still valid and there. https://bugzilla.gnome.org/show_bug.cgi?id=774726 gtk/gtkdnd.c | 7 ------- 1 file changed, 7 deletions(-) commit c4f1545c5e0782f3be39f91316282ea10c495a39 Author: Carlos Garnacho Date: Wed Oct 26 21:31:58 2016 +0200 wayland: Add fake mimetype for local DnD cases If there are no targets, DnD is probably intended to be local, add a mimetype for matching then. The wayland protocol requires at least one wl_data_offer.target call with the mimetype selected for transfer. gdk/wayland/gdkdnd-wayland.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 125ef3539ce692e015fd9666f3ebb48b8dda9472 Author: Руслан Ижбулатов Date: Wed Jul 27 18:05:10 2016 +0000 GDK W32: Special handling for VK_PAUSE Similar to VK_DIVIDE, this key can't be mapped to a scancode by MapVirtualKeyEx(). Googling suggests that this is a known bug. https://bugzilla.gnome.org/show_bug.cgi?id=769214 gdk/win32/gdkkeys-win32.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3326fba524ab5b81e1b997be2fd4405c00a767eb Author: Руслан Ижбулатов Date: Sun Dec 25 17:48:20 2016 +0000 GDK W32: Change WM_SYSMENU style switch logic Instead of checking for window state and giving it extra styles that fit, just give it all styles that it is missing. It turned out that otherwise it is impossible to, for example, restore a maximized window via sysmenu. Also, be more flexible towards GDK/WM window state mismatches and consider the window minimized/maximized if *either* GDK or WM thinks so. https://bugzilla.gnome.org/show_bug.cgi?id=776485 gdk/win32/gdkevents-win32.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 51645b585123de193da0360d3a69f767a3c4fa59 Author: Руслан Ижбулатов Date: Mon Jan 9 09:53:46 2017 +0000 GDK W32: Remove unneeded assertion Just set check_for_dpi_awareness = TRUE and eventually it will be handled correctly, even if setDpiAwareFunc() returns E_ACCESSDENIED or shcore functions are NULL. https://bugzilla.gnome.org/show_bug.cgi?id=777031 gdk/win32/gdkdisplay-win32.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 074f391f108b412e00059dfb98553f437069bd50 Author: Matthias Clasen Date: Wed Jan 4 14:42:33 2017 -0500 Make GTK_DEBUG=interactive work better We currently have various ways to initialize GTK+, and not all of them were supporting this way of bringing up the inspector. Fix this. https://bugzilla.gnome.org/show_bug.cgi?id=776807 gtk/gtkmain.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit ea4af401d7c1a064407ebb68b017bc4af44c1e5c Author: Aurimas Černius Date: Sat Jan 7 14:53:31 2017 +0200 Updated Lithuanian translation po/lt.po | 481 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 250 insertions(+), 231 deletions(-) commit 8b118eb8b5e4d72506f68224c9e422378f3ad8aa Author: Benjamin Otte Date: Sat Jan 7 02:05:26 2017 +0100 gtk-demo: Make icon counter work from ui file Gets rid of update always being 1 frame late. demos/gtk-demo/fishbowl.c | 3 +-- demos/gtk-demo/fishbowl.ui | 11 ++++++++++- 2 files changed, 11 insertions(+), 3 deletions(-) commit dd406c80629c8b23eb5391608df5fea93580ea06 Author: Benjamin Otte Date: Sat Jan 7 01:59:23 2017 +0100 gtk-demo: Add GtkFishbowl Avoids usage of GtkFixed where child properties eat up all the CPU time. And that's kinda not what I want to benchmark. demos/gtk-demo/Makefile.am | 2 + demos/gtk-demo/demo.gresource.xml | 2 + demos/gtk-demo/fishbowl.c | 188 +----------- demos/gtk-demo/fishbowl.ui | 3 +- demos/gtk-demo/gtkfishbowl.c | 581 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/gtkfishbowl.h | 58 ++++ 6 files changed, 658 insertions(+), 176 deletions(-) commit a7b0af5d8d855b355f4f6c5d5a5a21acc9c81f9c Author: Benjamin Otte Date: Sun Nov 20 05:29:03 2016 +0100 gtk-demo: Allow locking of icon count in fishbowl demo I'm not sure I'm proud of the hack to get the changing icon into the UI file without having to write code. But it works. demos/gtk-demo/fishbowl.c | 25 ++++++++++++++++--------- demos/gtk-demo/fishbowl.ui | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 9 deletions(-) commit 5bae71f896eb5516c04b1b2374aaff05cfb8b3c0 Author: Jonas Ådahl Date: Thu Jan 5 16:01:49 2017 +0800 wayland: Handle subsurface as popup parent When a subsurface is used as a parent of a popup, GDK needs to traverse up to the transient-for as the next parent, to properly find the parent used by the popup positioner. This is because the parent of a popup must always either be an xdg_popup or an xdg_surface, but traversing the "parent" (in GDK terms) upwards from a subsurface will end up on the fake root window before we hit the actual parent (in Wayland terms). https://bugzilla.gnome.org/show_bug.cgi?id=776225 gdk/wayland/gdkwindow-wayland.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit bea4c0898dd2579dfc1cda238df1685277ae4b6c Author: Matthias Clasen Date: Thu Jan 5 19:40:23 2017 -0500 Revert "Make it possible to set style classes for label links" This reverts commit 9a2527b36122321c5aeaed8526747d54d0f4c0c8. This needs more work to have a chance of working properly. gtk/gtklabel.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit 41b14fd148a5eda9dacd2e9b847ab480f99cc2a7 Author: Matthias Clasen Date: Thu Jan 5 19:40:12 2017 -0500 Revert "Use CSS for styling links in labels" This reverts commit 34264667ed844dd9212e987852e06d2bbba54e66. gtk/gtklabel.c | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) commit 34264667ed844dd9212e987852e06d2bbba54e66 Author: Matthias Clasen Date: Thu Jan 5 18:10:52 2017 -0500 Use CSS for styling links in labels This was implemented only halfway, and was hardcoding the underline. We don't need to do that anymore. gtk/gtklabel.c | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) commit 790d5960c4eab0988b81be5c7b555740a7532447 Author: Matthias Clasen Date: Thu Jan 5 17:33:51 2017 -0500 Bump version to 3.22.7 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9a2527b36122321c5aeaed8526747d54d0f4c0c8 Author: Matthias Clasen Date: Thu Jan 5 16:36:14 2017 -0500 Make it possible to set style classes for label links This makes it possible to style links in labels differently in certain situations. gtk/gtklabel.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 92f6bcdca6b600e80fd5eb4d96b94185c75c10e6 Author: Matthias Clasen Date: Wed Jan 4 15:12:06 2017 -0500 3.22.6 NEWS | 23 +++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) commit c7096c458680b3c4cc35846117c7b1c47bd6a4c5 Author: Matthias Clasen Date: Wed Jan 4 15:30:17 2017 -0500 Update expected output for a11y tests This is a followup to the GtkAboutDialog template change. testsuite/a11y/about.txt | 95 ++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 52 deletions(-) commit eceb9add1f40d097cafbe3811fe62180af2fec79 Author: Daniel Boles Date: Thu Dec 29 00:43:18 2016 +0000 demos/icon-browser: increase default window size ...to get more than 1 row of icons to browse! https://bugzilla.gnome.org/show_bug.cgi?id=776560 I've bumped the size a bit further, to 1024x768 demos/icon-browser/window.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e75601c0585a22e574b79f76d33219c328ea9974 Author: Sébastien Wilmet Date: Fri Nov 25 20:08:00 2016 +0100 docs: improve the documentation of GtkEntry:attributes See the implementation of gtk_entry_create_layout(): pango_attr_list_splice() is used to add the PangoAttrList of the preedit string. And that is done *after* applying the PangoAttrList of the "attributes" property. https://bugzilla.gnome.org/show_bug.cgi?id=776868 gtk/gtkentry.c | 3 +++ 1 file changed, 3 insertions(+) commit 7960e94112570e83c5bd11a4bb8450ccfc461e40 Author: Daniel Boles Date: Sat Dec 31 13:27:15 2016 +0000 scrolledwindow: Fix func summary being cut off in bindings using doxygen ...which treats the first '.' in doc comments as the end of the summary. So, e.g., in gtkmm, get_kinetic_scrolling() is currently summarised as "Changes the behaviour of @scrolled_window wrt." Not very informative! No need for a period there & anyway, the phrase "wrt to" is superfluous, and we have space to actually say "with regard to", so just do that now. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d9748563c8304ed7b46cc1d743366ba1d5b1815c Author: Chris Mayo Date: Tue Dec 27 16:14:09 2016 +0000 GtkAboutDialog: Fix formatting of example email address in html Signed-off-by: Chris Mayo https://bugzilla.gnome.org/show_bug.cgi?id=776524 gtk/gtkaboutdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1fc3fe4a0a67e0c75f7f83e25d3bbd0d87edb0ba Author: Matthias Clasen Date: Fri Dec 30 10:20:16 2016 -0500 about dialog: Simplify the template a bit Remove some unnecessary complications, like an extraneous box, and some child property settings that are not needed. gtk/ui/gtkaboutdialog.ui | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) commit c7dce1018b73621ca50a086430809a43f50909b4 Author: Stas Solovey Date: Thu Dec 29 16:23:12 2016 +0000 Update Russian translation po-properties/ru.po | 2295 +++++++++++++++++++++++++++------------------------ 1 file changed, 1218 insertions(+), 1077 deletions(-) commit f19ecbb8503982a00b0f3ee4d5d6c3c73e61deb2 Author: Matthias Clasen Date: Thu Dec 29 11:07:05 2016 -0500 Avoid a possible crash in ::activate-url handlers If the signal handler ends up changing the label text, the link is no longer around to update the css node. Check for this possibility to avoid a crash here. gtk/gtklabel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a1aee4602c1d872cc39b8f3814e8aa9e98d093f9 Author: Руслан Ижбулатов Date: Sun Dec 11 16:26:34 2016 +0000 GDK W32: Handle maximizing correctly for small primary monitors When primary monitor is smaller than the actual monitor on which the window is being maximized, the WM will do widnow size adjustments that will completely screw the window size if we try to make it smaller than 100% fullscreen (to account for taskbar size, for example). Fix this by overriding maximized window size during WM_WINDOWPOSCHANGING. https://bugzilla.gnome.org/show_bug.cgi?id=775808 gdk/win32/gdkevents-win32.c | 44 +++++++++++++++++++++++++++++++++++++++++++- gdk/win32/gdkwindow-win32.c | 4 ++++ gdk/win32/gdkwindow-win32.h | 6 ++++++ 3 files changed, 53 insertions(+), 1 deletion(-) commit e0856226c580191805f58d0df10260df6b293df9 Author: Christian Kirbach Date: Tue Dec 20 19:11:29 2016 +0000 Update German translation po/de.po | 457 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 231 insertions(+), 226 deletions(-) commit 8155c33d808bb3ed740df1e729fe7566327711b3 Author: Debarshi Ray Date: Tue Dec 20 12:55:41 2016 +0100 flowbox: Don't emit child-activated while dragging the pointer https://bugzilla.gnome.org/show_bug.cgi?id=776306 gtk/gtkflowbox.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 9679ef6b00cb087fecf772bb69ab9a2ad7429835 Author: Debarshi Ray Date: Sat Dec 17 00:30:39 2016 +0100 flowbox: Export gtk_flow_box_get_child_at_pos as public API Bump the gtk+ version so that others can depend on this new API. https://bugzilla.gnome.org/show_bug.cgi?id=776187 configure.ac | 2 +- docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkflowbox.c | 64 ++++++++++++++++++++++-------------- gtk/gtkflowbox.h | 5 +++ 4 files changed, 46 insertions(+), 26 deletions(-) commit 30b5187e60a3811c938730764c1caa3ee101b228 Author: Philip Chimento Date: Thu Dec 15 14:09:49 2016 -0800 GtkApplication: Lack of optional components shouldn't warn When running uninstalled tests with GtkApplication on an autobuilder with a fake session bus, warnings will cause the tests to abort. The GNOME session manager, the Xfce session manager, and the Inhibit portal are all not needed for normal operation of GTK, so we should not log warnings if they are not found. As well as not being present on a fake session bus, it's also not expected that they'll be present on all platforms. https://bugzilla.gnome.org/show_bug.cgi?id=774784 gtk/gtkapplication-dbus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3073419ff100dc1f342498e88868bd9ddabae5ff Author: Debarshi Ray Date: Mon Dec 12 21:12:51 2016 +0100 flowbox: Don't emit selected-children-changed during destruction https://bugzilla.gnome.org/show_bug.cgi?id=776012 gtk/gtkflowbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e779ec4b1f52f1705f8ecaa61f957567ee88fabd Author: Debarshi Ray Date: Sun Dec 18 09:43:38 2016 +0100 listbox: Don't emit selected-rows-changed, etc. during destruction https://bugzilla.gnome.org/show_bug.cgi?id=776012 gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bebcb5e094775295095398b0fdc9b9dd0e6523c8 Author: Debarshi Ray Date: Fri Dec 16 23:40:21 2016 +0100 flowbox: Rename gtk_flow_box_find_child_at_pos for consistency ... with gtk_list_box_get_row_at_y. It would be nice to avoid the 'find' versus 'get' discrepancy since we are planning to expose it as public API. https://bugzilla.gnome.org/show_bug.cgi?id=776187 gtk/gtkflowbox.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 2b32008eeb982996003045d456a4bd3237740cf7 Author: Debarshi Ray Date: Thu Dec 15 13:17:57 2016 +0100 Mention that gdk_window_create_similar_image_surface inherits the scale https://bugzilla.gnome.org/show_bug.cgi?id=776132 gdk/gdkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit 78f8f236e9d084411d77280643bdc16d386dc382 Author: Olivier Fourdan Date: Wed Nov 16 15:05:43 2016 +0100 wayland: apply empty input shape on parent commit For subsurfaces, the new state which includes the input shape is not applied by the compositor if the subsurface is in effective synchronous mode. So we need to apply the input shape once parent surface is in effective desynchronized mode, which is when it's committed, otherwise the input shape may never be applied if the widget is not using being_paint() / end_paint() to draw on its subsurface, like clutter does. We do that only for empty input shape as those won't need update when the subsurface is resized, for all other non-empty input shape, the client still has to use begin_paint()/end_paint() for the input shape to be applied. https://bugzilla.gnome.org/show_bug.cgi?id=774534 gdk/wayland/gdkwindow-wayland.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit da43bfd2727e6ef6546ae8796668ec3adcd5340c Author: Emmanuele Bassi Date: Wed Dec 14 18:36:18 2016 +0000 demo: Fix the GLES fragment shader for GLArea We have a couple of syntax errors, like 'f' modifier for floating point values. demos/gtk-demo/glarea-gles.fs.glsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 33e4826efd7c77296682c022b75eec8a5ee1ec94 Author: Emmanuele Bassi Date: Wed Dec 14 18:30:16 2016 +0000 gl: Check for GL_EXT_framebuffer_blit before using glBlitFramebuffer We check when we realize the GdkGLContext, but we never use the check before using the API, and it breaks on drivers that do not implement the extension, or on drivers that only support OpenGL ES 2.0. gdk/gdkgl.c | 1 + 1 file changed, 1 insertion(+) commit e04654f86563bec309533594a0df71e60e9fbe9e Author: Benjamin Otte Date: Tue Dec 13 23:00:26 2016 +0100 css: An opaque background does not allow omitting push_group When the background-clip of the background is smaller than the background-clip of blended images, not pushing a group is wrong. Test testing exactly that included. gtk/gtkrenderbackground.c | 9 -------- testsuite/reftests/Makefile.am | 3 +++ .../background-blend-mode-clip-interaction.css | 24 ++++++++++++++++++++++ .../background-blend-mode-clip-interaction.ref.ui | 17 +++++++++++++++ .../background-blend-mode-clip-interaction.ui | 16 +++++++++++++++ 5 files changed, 60 insertions(+), 9 deletions(-) commit a8991a6bea0023c6d5bec8b2ab704b7ae067d7a6 Author: Matthias Clasen Date: Fri Dec 9 11:11:41 2016 -0500 3.22.5 NEWS | 33 +++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 35 insertions(+), 2 deletions(-) commit 5b12c21d204b9fa2062d0015bd78f06d0aa3e918 Author: Matthias Clasen Date: Fri Dec 9 11:53:42 2016 -0500 css nodes tests: Update expected output for progressbar This changed since we add some more style classes now. testsuite/css/nodes/progressbar.nodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 44fb5c9c704c39fad392ca45c6c2d74d6633a4e4 Author: Gianvito Cavasoli Date: Fri Dec 9 10:34:45 2016 +0000 Update Italian translation po/it.po | 509 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 265 insertions(+), 244 deletions(-) commit 7f39c7cbf758139e7eee51c2176a0afa7ede8216 Author: Olivier Fourdan Date: Wed Nov 23 14:45:16 2016 +0100 wayland: destroy subsurfaces along with parents Wayland subsurfaces can have other native window parents, but those need to be destroyed along with the rest of the window hierarchy otherwise an assert() is reached. https://bugzilla.gnome.org/show_bug.cgi?id=774915 gdk/gdkwindow.c | 1 + 1 file changed, 1 insertion(+) commit 155dbaaa1454afa2836b6dea67f46293d1d8ba05 Author: Lapo Calamandrei Date: Wed Nov 23 17:25:18 2016 +0100 HC: progressbar style fix Reset styling on the progress node when trough node has the `empty' styleclass. See https://bugzilla.gnome.org/show_bug.cgi?id=774695 gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk-contained-inverse.css | 2 ++ gtk/theme/HighContrast/gtk-contained.css | 2 ++ 3 files changed, 5 insertions(+) commit d55aa2a85965a1d943389bb55bea4404300f4940 Author: Lapo Calamandrei Date: Wed Nov 23 16:00:57 2016 +0100 Adwaita: progressbar style fix Reset styling on the progress node when trough node has the `empty' styleclass. See https://bugzilla.gnome.org/show_bug.cgi?id=774695 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 42d7f81649f39a32a313de34e46e6acbf282212d Author: Daniel Boles Date: Sat Dec 3 02:35:27 2016 +0000 GtkProgressBar: trivial conditional optimisation I'd hope the compiler would realise this for us, but let's be explicit. gtk/gtkprogressbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a793f8f24367da75871c2e342ad74140862002a3 Author: Simon Steinbeiss Date: Fri Nov 18 23:43:09 2016 +0100 progressbar: add empty and full classes on trough based on fill-level Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774695 gtk/gtkprogressbar.c | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) commit 895297530478cdd15c6f33c2da5e501701426498 Author: Debarshi Ray Date: Fri Dec 2 16:38:05 2016 +0100 flowbox: Fix get_child_at_index crash with an invalid index https://bugzilla.gnome.org/show_bug.cgi?id=775525 gtk/gtkflowbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e6d7df72336c4efbb490e91c071df5362a4192de Author: Lapo Calamandrei Date: Wed Oct 5 13:47:52 2016 +0200 Adwaita: render updated assets. .../slider-horz-scale-has-marks-above-active-dark.png | Bin 890 -> 879 bytes ...lider-horz-scale-has-marks-above-active-dark@2.png | Bin 1816 -> 1835 bytes .../slider-horz-scale-has-marks-above-active.png | Bin 985 -> 990 bytes .../slider-horz-scale-has-marks-above-active@2.png | Bin 2129 -> 2122 bytes ...lider-horz-scale-has-marks-above-backdrop-dark.png | Bin 775 -> 773 bytes ...der-horz-scale-has-marks-above-backdrop-dark@2.png | Bin 1449 -> 1427 bytes ...cale-has-marks-above-backdrop-insensitive-dark.png | Bin 739 -> 760 bytes ...le-has-marks-above-backdrop-insensitive-dark@2.png | Bin 1412 -> 1438 bytes ...orz-scale-has-marks-above-backdrop-insensitive.png | Bin 810 -> 780 bytes ...z-scale-has-marks-above-backdrop-insensitive@2.png | Bin 1599 -> 1484 bytes .../slider-horz-scale-has-marks-above-backdrop.png | Bin 813 -> 763 bytes .../slider-horz-scale-has-marks-above-backdrop@2.png | Bin 1601 -> 1478 bytes .../assets/slider-horz-scale-has-marks-above-dark.png | Bin 845 -> 831 bytes .../slider-horz-scale-has-marks-above-dark@2.png | Bin 1790 -> 1838 bytes .../slider-horz-scale-has-marks-above-hover-dark.png | Bin 849 -> 834 bytes ...slider-horz-scale-has-marks-above-hover-dark@2.png | Bin 1811 -> 1767 bytes .../slider-horz-scale-has-marks-above-hover.png | Bin 1010 -> 968 bytes .../slider-horz-scale-has-marks-above-hover@2.png | Bin 2177 -> 2083 bytes ...er-horz-scale-has-marks-above-insensitive-dark.png | Bin 739 -> 767 bytes ...-horz-scale-has-marks-above-insensitive-dark@2.png | Bin 1412 -> 1452 bytes .../slider-horz-scale-has-marks-above-insensitive.png | Bin 810 -> 807 bytes ...lider-horz-scale-has-marks-above-insensitive@2.png | Bin 1598 -> 1506 bytes .../assets/slider-horz-scale-has-marks-above.png | Bin 983 -> 977 bytes .../assets/slider-horz-scale-has-marks-above@2.png | Bin 2119 -> 2081 bytes .../slider-horz-scale-has-marks-below-active-dark.png | Bin 894 -> 889 bytes ...lider-horz-scale-has-marks-below-active-dark@2.png | Bin 1962 -> 1860 bytes .../slider-horz-scale-has-marks-below-active.png | Bin 965 -> 943 bytes .../slider-horz-scale-has-marks-below-active@2.png | Bin 2152 -> 2131 bytes ...lider-horz-scale-has-marks-below-backdrop-dark.png | Bin 772 -> 777 bytes ...der-horz-scale-has-marks-below-backdrop-dark@2.png | Bin 1508 -> 1460 bytes ...cale-has-marks-below-backdrop-insensitive-dark.png | Bin 738 -> 763 bytes ...le-has-marks-below-backdrop-insensitive-dark@2.png | Bin 1483 -> 1438 bytes ...orz-scale-has-marks-below-backdrop-insensitive.png | Bin 772 -> 790 bytes ...z-scale-has-marks-below-backdrop-insensitive@2.png | Bin 1590 -> 1455 bytes .../slider-horz-scale-has-marks-below-backdrop.png | Bin 786 -> 777 bytes .../slider-horz-scale-has-marks-below-backdrop@2.png | Bin 1593 -> 1437 bytes .../assets/slider-horz-scale-has-marks-below-dark.png | Bin 856 -> 851 bytes .../slider-horz-scale-has-marks-below-dark@2.png | Bin 1868 -> 1847 bytes .../slider-horz-scale-has-marks-below-hover-dark.png | Bin 866 -> 867 bytes ...slider-horz-scale-has-marks-below-hover-dark@2.png | Bin 1894 -> 1833 bytes .../slider-horz-scale-has-marks-below-hover.png | Bin 1008 -> 962 bytes .../slider-horz-scale-has-marks-below-hover@2.png | Bin 2270 -> 2034 bytes ...er-horz-scale-has-marks-below-insensitive-dark.png | Bin 738 -> 756 bytes ...-horz-scale-has-marks-below-insensitive-dark@2.png | Bin 1483 -> 1436 bytes .../slider-horz-scale-has-marks-below-insensitive.png | Bin 772 -> 802 bytes ...lider-horz-scale-has-marks-below-insensitive@2.png | Bin 1591 -> 1504 bytes .../assets/slider-horz-scale-has-marks-below.png | Bin 1008 -> 1003 bytes .../assets/slider-horz-scale-has-marks-below@2.png | Bin 2184 -> 2058 bytes .../slider-vert-scale-has-marks-above-active-dark.png | Bin 912 -> 916 bytes ...lider-vert-scale-has-marks-above-active-dark@2.png | Bin 1941 -> 1964 bytes .../slider-vert-scale-has-marks-above-active.png | Bin 988 -> 982 bytes .../slider-vert-scale-has-marks-above-active@2.png | Bin 2218 -> 2257 bytes ...lider-vert-scale-has-marks-above-backdrop-dark.png | Bin 777 -> 759 bytes ...der-vert-scale-has-marks-above-backdrop-dark@2.png | Bin 1482 -> 1469 bytes ...cale-has-marks-above-backdrop-insensitive-dark.png | Bin 722 -> 748 bytes ...le-has-marks-above-backdrop-insensitive-dark@2.png | Bin 1432 -> 1425 bytes ...ert-scale-has-marks-above-backdrop-insensitive.png | Bin 841 -> 791 bytes ...t-scale-has-marks-above-backdrop-insensitive@2.png | Bin 1597 -> 1491 bytes .../slider-vert-scale-has-marks-above-backdrop.png | Bin 830 -> 769 bytes .../slider-vert-scale-has-marks-above-backdrop@2.png | Bin 1594 -> 1456 bytes .../assets/slider-vert-scale-has-marks-above-dark.png | Bin 897 -> 887 bytes .../slider-vert-scale-has-marks-above-dark@2.png | Bin 1912 -> 1921 bytes .../slider-vert-scale-has-marks-above-hover-dark.png | Bin 898 -> 890 bytes ...slider-vert-scale-has-marks-above-hover-dark@2.png | Bin 1902 -> 1918 bytes .../slider-vert-scale-has-marks-above-hover.png | Bin 998 -> 997 bytes .../slider-vert-scale-has-marks-above-hover@2.png | Bin 2133 -> 2184 bytes ...er-vert-scale-has-marks-above-insensitive-dark.png | Bin 722 -> 724 bytes ...-vert-scale-has-marks-above-insensitive-dark@2.png | Bin 1432 -> 1460 bytes .../slider-vert-scale-has-marks-above-insensitive.png | Bin 841 -> 799 bytes ...lider-vert-scale-has-marks-above-insensitive@2.png | Bin 1597 -> 1520 bytes .../assets/slider-vert-scale-has-marks-above.png | Bin 1035 -> 1041 bytes .../assets/slider-vert-scale-has-marks-above@2.png | Bin 2256 -> 2285 bytes .../slider-vert-scale-has-marks-below-active-dark.png | Bin 938 -> 933 bytes ...lider-vert-scale-has-marks-below-active-dark@2.png | Bin 2018 -> 2052 bytes .../slider-vert-scale-has-marks-below-active.png | Bin 1042 -> 1034 bytes .../slider-vert-scale-has-marks-below-active@2.png | Bin 2242 -> 2320 bytes ...lider-vert-scale-has-marks-below-backdrop-dark.png | Bin 767 -> 757 bytes ...der-vert-scale-has-marks-below-backdrop-dark@2.png | Bin 1542 -> 1524 bytes ...cale-has-marks-below-backdrop-insensitive-dark.png | Bin 715 -> 734 bytes ...le-has-marks-below-backdrop-insensitive-dark@2.png | Bin 1490 -> 1512 bytes ...ert-scale-has-marks-below-backdrop-insensitive.png | Bin 812 -> 787 bytes ...t-scale-has-marks-below-backdrop-insensitive@2.png | Bin 1661 -> 1520 bytes .../slider-vert-scale-has-marks-below-backdrop.png | Bin 804 -> 773 bytes .../slider-vert-scale-has-marks-below-backdrop@2.png | Bin 1664 -> 1499 bytes .../assets/slider-vert-scale-has-marks-below-dark.png | Bin 896 -> 893 bytes .../slider-vert-scale-has-marks-below-dark@2.png | Bin 1958 -> 2021 bytes .../slider-vert-scale-has-marks-below-hover-dark.png | Bin 917 -> 908 bytes ...slider-vert-scale-has-marks-below-hover-dark@2.png | Bin 2004 -> 1949 bytes .../slider-vert-scale-has-marks-below-hover.png | Bin 1013 -> 1016 bytes .../slider-vert-scale-has-marks-below-hover@2.png | Bin 2166 -> 2230 bytes ...er-vert-scale-has-marks-below-insensitive-dark.png | Bin 715 -> 735 bytes ...-vert-scale-has-marks-below-insensitive-dark@2.png | Bin 1490 -> 1489 bytes .../slider-vert-scale-has-marks-below-insensitive.png | Bin 812 -> 803 bytes ...lider-vert-scale-has-marks-below-insensitive@2.png | Bin 1661 -> 1548 bytes .../assets/slider-vert-scale-has-marks-below.png | Bin 1041 -> 1047 bytes .../assets/slider-vert-scale-has-marks-below@2.png | Bin 2294 -> 2286 bytes .../Adwaita/assets/text-select-end-active-dark.png | Bin 928 -> 829 bytes .../Adwaita/assets/text-select-end-active-dark@2.png | Bin 2070 -> 1727 bytes gtk/theme/Adwaita/assets/text-select-end-active.png | Bin 992 -> 941 bytes gtk/theme/Adwaita/assets/text-select-end-active@2.png | Bin 2072 -> 1871 bytes gtk/theme/Adwaita/assets/text-select-end-dark.png | Bin 913 -> 826 bytes gtk/theme/Adwaita/assets/text-select-end-dark@2.png | Bin 1995 -> 1768 bytes .../Adwaita/assets/text-select-end-hover-dark.png | Bin 916 -> 789 bytes .../Adwaita/assets/text-select-end-hover-dark@2.png | Bin 2058 -> 1624 bytes gtk/theme/Adwaita/assets/text-select-end-hover.png | Bin 960 -> 933 bytes gtk/theme/Adwaita/assets/text-select-end-hover@2.png | Bin 1972 -> 1785 bytes gtk/theme/Adwaita/assets/text-select-end.png | Bin 947 -> 916 bytes gtk/theme/Adwaita/assets/text-select-end@2.png | Bin 1952 -> 1889 bytes .../Adwaita/assets/text-select-start-active-dark.png | Bin 895 -> 787 bytes .../assets/text-select-start-active-dark@2.png | Bin 1931 -> 1646 bytes gtk/theme/Adwaita/assets/text-select-start-active.png | Bin 958 -> 908 bytes .../Adwaita/assets/text-select-start-active@2.png | Bin 1946 -> 1805 bytes gtk/theme/Adwaita/assets/text-select-start-dark.png | Bin 859 -> 766 bytes gtk/theme/Adwaita/assets/text-select-start-dark@2.png | Bin 1828 -> 1638 bytes .../Adwaita/assets/text-select-start-hover-dark.png | Bin 868 -> 740 bytes .../Adwaita/assets/text-select-start-hover-dark@2.png | Bin 1899 -> 1504 bytes gtk/theme/Adwaita/assets/text-select-start-hover.png | Bin 911 -> 883 bytes .../Adwaita/assets/text-select-start-hover@2.png | Bin 1842 -> 1718 bytes gtk/theme/Adwaita/assets/text-select-start.png | Bin 861 -> 859 bytes gtk/theme/Adwaita/assets/text-select-start@2.png | Bin 1838 -> 1806 bytes 120 files changed, 0 insertions(+), 0 deletions(-) commit 35e6a8eb0db5cd8952188bda9cff90c40df63a5a Author: Lapo Calamandrei Date: Wed Oct 5 11:35:47 2016 +0200 Adwaita: update assets svg correct colors for pointy sliders assets. gtk/theme/Adwaita/assets.svg | 598 +++++++++++++++++++++++++++++-------------- 1 file changed, 402 insertions(+), 196 deletions(-) commit 7fca502115920fac57601cba8d0259b9f56e8774 Author: Daniel Boles Date: Thu Dec 1 12:38:43 2016 +0000 ComboBox: Do not select item before menu realised For a menu mode CB with wrap_width == 0 and an active item, that item is selected in gtk_combo_box_menu_popup. Selection causes the MenuShell to activate and hence take a grab. This was done before the menu was popped up. A patch distributed in Debian sid - after being proposed on our BZ - revealed that on the 1st popup of any such ComboBox, within grab_add, the MenuShell's toplevel's GdkWindow is NULL. This causes a Gdk-CRITICAL assertion fail on the 1st time opening any such CB, on Debian and if that patch were merged to GTK+. By selecting after popup, we ensure the MenuShell is realised before its grab_add and so avoid the critical. https://bugzilla.gnome.org/show_bug.cgi?id=771242 gtk/gtkcombobox.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit f50ed5b358bd8f89b88a1f0e37691128ee22fc1c Author: William Hua Date: Wed Sep 28 18:33:24 2016 -0400 gtkcombobox: pass trigger event when popping up menu https://bugzilla.gnome.org/show_bug.cgi?id=771242 gtk/gtkcombobox.c | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) commit 3971439a17aa7e4b29d8c48ac54ae7dd08141951 Author: Daniel Boles Date: Thu Dec 1 12:36:30 2016 +0000 ComboBox: Fix whitespace * Replace tabs for indentation with spaces * Remove whitespace at ends of lines gtk/gtkcombobox.c | 54 +++++++++++++++++++++++++++--------------------------- gtk/gtkcombobox.h | 2 +- 2 files changed, 28 insertions(+), 28 deletions(-) commit 43b2b107f123a97e2040ddb7f429b611a16bdc41 Author: Matthias Clasen Date: Wed Nov 30 13:43:54 2016 -0500 wayland: Don't warn if we loose the compositor connection And instead, exit cleanly. This avoids filling the logs with these warnings from every single application that has a connection to the compositor. gdk/wayland/gdkeventsource.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit c70ba3a4f0043e11fffe0023685f99ec3990c644 Author: Matthias Clasen Date: Wed Nov 30 13:43:17 2016 -0500 x11: Don't warn if the display is closed This causes a storm of warnings from all applications in the logs whenever the display goes away, and is not useful. gdk/x11/gdkmain-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 57a14565c649a83d37060b63a6edd39aea150b40 Author: Olivier Fourdan Date: Tue Nov 29 14:21:57 2016 +0100 wayland: Check for subsurface looking up the toplevel gdk_window_get_toplevel() walks up the windows tree looking for the corresponding toplevel window, but needs to account for subsurfaces as well on Wayland. https://bugzilla.gnome.org/show_bug.cgi?id=775319 gdk/gdkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 197eaaacb7dbff0b2cb168c6bc85e3ccae4e943d Author: Matthias Clasen Date: Tue Nov 29 16:39:21 2016 -0500 gtk-demo: Add a demo for tabs One of the least-appreciated features in pango. It deserves a demo. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/tabs.c | 63 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) commit f7fb610278191be9dd19642b21c3e1c3ab9d8776 Author: Matthias Clasen Date: Tue Nov 29 14:42:35 2016 -0500 Don't leak a pixbuf reference in dnd https://bugzilla.gnome.org/show_bug.cgi?id=775316 gtk/gtkdragsource.c | 1 - 1 file changed, 1 deletion(-) commit 17ec4f10e48a7d540954338d6d07876e01c20bf7 Author: Matthias Clasen Date: Mon Nov 28 15:00:10 2016 -0500 Fix reference handling in GtkScaleButton We were leaking the adjustment, since we confuse ourselves with a property whose initial value comes out of a template. Stop doing that. https://bugzilla.gnome.org/show_bug.cgi?id=775212 gtk/gtkscalebutton.c | 5 +++-- gtk/ui/gtkscalebutton.ui | 6 ------ 2 files changed, 3 insertions(+), 8 deletions(-) commit cf4fd0d3e384e525b1f21ec02b898c9d7c14eebc Author: Matthias Clasen Date: Mon Oct 17 15:26:29 2016 -0400 Reduce a warning to a message The warning interferes with having a testcase to check this behavior, so reduce this to a message. gdk/wayland/gdkcursor-wayland.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 0b129f3534381e8ef659c57d470aeb17fe87b252 Author: Andrew Chadwick Date: Fri Nov 18 15:12:57 2016 +0000 win32 event: check for NULL display or dev mgr The recent Wintab testing revealed an interesting edge case: we cannot for certain say that windowing system messages will not be received while the default display and its device manager are still being set up. We've ruled out the Wintab case now, but cannot rule out some future bit of runtime DLL code doing stuff at this critical time. This commit detects and avoids a potential null pointer dereference in the message handling code while detecting grabs. Grabs don't really exist yet, if the default display and/or its device manager are not yet globally known. https://bugzilla.gnome.org/show_bug.cgi?id=774379 gdk/win32/gdkevents-win32.c | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) commit f8d90378a4e83664a34627a8f403f77d815fe049 Author: Anders Jonsson Date: Mon Nov 28 14:05:07 2016 +0000 Update Swedish translation po/sv.po | 473 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 239 insertions(+), 234 deletions(-) commit 2f940d91a0a41b6114d0e51aaa8e35bc266b3890 Author: Sébastien Wilmet Date: Sat Nov 26 12:23:14 2016 +0100 docs: fix a parameter name of GtkEntry::populate-popup Trivial commit. The documentation block refers to @widget, not @popup. @widget is a better name since the type is GtkWidget. gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca757482234c963ea29b41922ddf80bffcb7e98f Author: Sébastien Wilmet Date: Fri Nov 25 21:32:09 2016 +0100 docs: fix docs of functions to convert layout_index <-> text_index Trivial commit. The documentation was swapped. The documentation for the parameters and the return values is good. gtk/gtkentry.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 5282991ab9765282d695a7b04d54ff2e4ba54603 Author: Cosimo Cecchi Date: Fri Nov 25 18:53:21 2016 +0100 Adwaita: make rubberband selection work again for libgd apps libgd views still use the old style class. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) commit 6c0cd1a16d12834cb4de8d93c5e2a97fbf248818 Author: Matthias Clasen Date: Fri Nov 25 08:55:33 2016 -0500 Make gtk-encode-symbolic-svg work for icons with dotted names We were producing org.symbolic.png from org.gnome.Recipes-symbolic.svg, which is not useful. Look for the last dot in the original name, to produce the expected org.gnome.Recipes-symbolic.symbolic.png instead. gtk/encodesymbolic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 605303681b19f8778d61b08f953027ba79313bbe Author: Olivier Fourdan Date: Wed Nov 23 14:55:40 2016 +0100 wayland: Place subsurfaces relative to their parent Now that subsurfaces can be created as child of another GdkWindow (and not just the root window), they must be placed according to the location of their parent, i.e. the abs_x/abs_y must be updated and taken into account when placing and moving subsurfaces under Wayland. https://bugzilla.gnome.org/show_bug.cgi?id=774917 gdk/gdkwindow.c | 7 +++++-- gdk/wayland/gdkwindow-wayland.c | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) commit 4cd8796c0e4edef6442945da516502b64461ed25 Author: Matthias Clasen Date: Wed Nov 23 19:16:16 2016 -0500 inspector: Respect text-scaling-factor value initially This was pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774893 gtk/inspector/visual.c | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) commit cc6335d94d1c0f46e62b30cd90781447139bffa3 Author: Florian Müllner Date: Wed Nov 23 16:34:15 2016 +0100 GtkLabelAccessible: Initialize link before setting parent Since at-spi-atk commit 96621a5e95 fixed PropertyChange notifications for AccessibleParent, setting the parent will result in a call to ref_state_set() which assumes that the object is fully initialized. https://bugzilla.gnome.org/show_bug.cgi?id=774939 gtk/a11y/gtklabelaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ecb38bc8247ee3585ca6488d6da49619d60220e2 Author: Christian Hergert Date: Sun Nov 20 15:40:10 2016 -0800 inspector: ensure controller is a GtkGesture While GtkEventController implementations today are all GtkGesture, it is possible to create a GtkEventController manually. This is an extrac check to ensure we only add gestures to the list. https://bugzilla.gnome.org/show_bug.cgi?id=774760 gtk/inspector/gestures.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit dd3cf38c53239cdd93f5ff887120ee453292fe5d Author: Stas Solovey Date: Wed Nov 23 20:42:59 2016 +0000 Update Russian translation po/ru.po | 460 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 240 insertions(+), 220 deletions(-) commit 43b9b7f4e6e1ec2b28eb21fbe4d8d2d29cf11949 Author: Matthias Clasen Date: Wed Nov 23 14:50:16 2016 -0500 menu: Don't leak check menu items Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774686 gtk/gtkmenu.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d695068e2634e7dcc2aa9943ed577b806cb0af7 Author: Matthias Clasen Date: Wed Nov 23 14:44:37 2016 -0500 notebook: Don't leak arrow gadgets This was pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774743 gtk/gtknotebook.c | 4 ++++ 1 file changed, 4 insertions(+) commit da9bd46aed82a9c1067f3cf7b680201560bd2176 Author: Matthias Clasen Date: Wed Nov 23 13:55:28 2016 -0500 text handle: Don't leak adjustments This can happen if the weak pointer is triggered before the adjustments are unset. Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774790 gtk/gtktexthandle.c | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) commit 6e856f6226d17fc5258eb2c0b1be45fb6ab58279 Author: Balázs Meskó Date: Tue Nov 22 13:41:01 2016 +0000 Update Hungarian translation po/hu.po | 483 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 244 insertions(+), 239 deletions(-) commit 66a08bf3a65c41cf549642c7b4293c917f881e34 Author: Andrew Chadwick Date: Sun Nov 20 01:57:07 2016 +0000 wintab: init only after the display is assigned Only attempt to initialize Wintab after the display manager announces that the first default display has been set. Fixes a segfault during initialization of specific tablet drivers' wintab32.dlls. Add assertions and verbose comments explaining this nonsense because this stuff is a pain to have to keep fixing. https://bugzilla.gnome.org/show_bug.cgi?id=774379 gdk/win32/gdkdevicemanager-win32.c | 46 +++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) commit dd6a00bb31051c5ee86f7e4a1d62f878a1cd99f7 Author: Andrew Chadwick Date: Tue Nov 22 10:28:40 2016 +0000 wintab tilt: Check return location for validity https://bugzilla.gnome.org/show_bug.cgi?id=774265 gdk/win32/gdkdevicemanager-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 61a57465ea2120bcaf5a28c9a99136b01c86d858 Author: Andrew Chadwick Date: Sat Nov 19 18:34:29 2016 +0000 win32: Fix tilt from Wintab devices Move the orientation sanity-checks into the packet decode func. Rationale: the packet handling func may otherwise read beyond the end of device->last_axis_data. Also expand them to cope with my test Huion's weird reporting. Also correct the azimuth angle to align with GDK's presentation. Most importantly, fix annoying comment typo. https://bugzilla.gnome.org/show_bug.cgi?id=774265 gdk/win32/gdkdevicemanager-win32.c | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) commit f40191ff19484f2d4f4eee2906981b667161bcab Author: Andrew Chadwick Date: Sat Nov 19 03:26:29 2016 +0000 wintab: fix skipping of odd-numbered devices Fix a regression introduced in 4ce6d1060104e7072eec347370999bfd3fe69dc0 which causes devices with an odd-numbered zero-based index in the list to be passed over incorrectly. This might present as yet another "device does not send pressure" bug for ~50% of devices out there. This commit also closes off another potential segfault for wintab_devices lists which have an odd length. https://bugzilla.gnome.org/show_bug.cgi?id=774699 gdk/win32/gdkdevicemanager-win32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit aa1307a787a9186119feb7c91fa755c852b69135 Author: Gustavo Noronha Silva Date: Thu Nov 17 15:15:50 2016 -0200 Fix off by one in check for GtkRoundedBox containing a rectangle When checking if a rectangle is contained by the rounded box, the code will refuse a rectangle which is the exact size as the one backing the rounded box, since it checks for greater or equal width and height. Check for greater only instead. https://bugzilla.gnome.org/show_bug.cgi?id=774114 gtk/gtkroundedbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5301644a3fed0a15351080e2d3e797d92a087344 Author: Matthias Clasen Date: Sat Nov 19 13:51:50 2016 -0500 Document gtk_menu_place_on_monitor gtk/gtkmenu.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 157b630d72c97584d0daa967b112f1b0f2994c6c Author: Matthias Clasen Date: Sat Nov 19 13:29:17 2016 -0500 Add a since tag gtk/gtkimcontextsimple.c | 2 ++ 1 file changed, 2 insertions(+) commit 462a5df64489ebeafeaf24996dc5158fd45d459d Author: Matthias Clasen Date: Sat Nov 19 12:51:17 2016 -0500 docs: Add gtk_menu_place_on_monitor docs/reference/gtk/gtk3-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 4bc2904daea70128717e6713bec6c7f8d162d12f Author: Baurzhan Muftakhidinov Date: Sat Nov 19 12:15:59 2016 +0000 Update Kazakh translation po/kk.po | 422 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 213 insertions(+), 209 deletions(-) commit 4569bb372f838a9a68c9b134ef18865abe77001c Author: Matthias Clasen Date: Fri Nov 18 13:55:21 2016 -0500 3.22.4 NEWS | 23 +++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) commit dc184902d780a5302e154abd182ac7ba11ad5923 Author: Timm Bäder Date: Tue Nov 15 10:51:41 2016 +0100 filechooserwidget: Forward file filter to entry And in the entry, apply the currently used filter as a second step to the completion items. https://bugzilla.gnome.org/show_bug.cgi?id=773007 gtk/gtkfilechooserentry.c | 95 ++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkfilechooserentry.h | 2 + gtk/gtkfilechooserwidget.c | 6 +++ 3 files changed, 99 insertions(+), 4 deletions(-) commit 0b46c5b176fb7c53de526dd6d8a3fce9d9bd6547 Author: Olivier Fourdan Date: Tue Nov 15 14:49:03 2016 +0100 gdkwindow: Allow native subsurface for all parents Under Wayland, a subsurface can have another surface as parent, but gdk would not allow native windows if the parent is not the root window. Allow native subsurface for all parent under Wayland, not just for the root window. https://bugzilla.gnome.org/show_bug.cgi?id=774475 gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 48057800160d0179bdb8ce2e6f2cdc28bb1aa9fc Author: Carlos Garnacho Date: Tue Nov 15 15:07:39 2016 +0100 wayland: Keep last scale factor on surfaces after it left all outputs This can be triggered on workspace switches, and on hidpi results in the scale factor being reset to 1 while the window is not in the current workspace. https://bugzilla.gnome.org/show_bug.cgi?id=774476 gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 042e37e6cc71259d6cf4ee0d2eacf1cb4627668f Author: Мирослав Николић Date: Fri Nov 18 09:15:04 2016 +0100 Updated Serbian translation po/sr.po | 415 ++++++++++++++++++++++++++++++--------------------------- po/sr@latin.po | 415 ++++++++++++++++++++++++++++++--------------------------- 2 files changed, 434 insertions(+), 396 deletions(-) commit 748a1450a8a135a425814b62dd3b2fc1788f8a0d Author: Matthias Clasen Date: Thu Nov 17 13:50:25 2016 -0500 placeview: Don't leak the file enumerator Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774634 gtk/gtkplacesview.c | 1 + 1 file changed, 1 insertion(+) commit 8b334fef637b95c28be686df28bf59ce28f1373e Author: Charles Monzat Date: Thu Nov 17 18:47:41 2016 +0000 Update French translation po/fr.po | 405 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 213 insertions(+), 192 deletions(-) commit 595ef21febdae53ec15e991883d7cdbc41e85289 Author: Matthias Clasen Date: Thu Nov 17 09:35:04 2016 -0500 docs: Fix print-related includes Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774614. docs/reference/gtk/gtk3-sections.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 71b859a9ce0ee5d3130f8270d79716e321021818 Author: Matthias Clasen Date: Thu Nov 17 08:51:16 2016 -0500 gtk-demo: Set local-only to FALSE for the file chooser No good reason for that. demos/gtk-demo/pickers.c | 1 + 1 file changed, 1 insertion(+) commit 504beaddb1c1836a9582e66facc95e7d0f6b6f5e Author: Michael Koloberdin Date: Tue Nov 15 01:00:10 2016 +0200 gdk: Fix screen geometry detection for non-randr setups https://bugzilla.gnome.org/show_bug.cgi?id=773601 gdk/x11/gdkscreen-x11.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit c5f6d6178305773037855c2e98af7f23525bef89 Author: Matthias Clasen Date: Thu Nov 17 06:17:11 2016 -0500 docs: Update an example Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774490 docs/reference/gtk/text_widget.sgml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) commit dbcbaac98238ec1fbcff13605a0cbb016f47ac31 Author: Caolán McNamara Date: Thu Nov 17 10:04:29 2016 +0000 spin entry should be a child of spin context https://bugzilla.gnome.org/show_bug.cgi?id=774609 demos/gtk-demo/foreigndrawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0103bbf5eb6efa817e2d42643d73dd0133fdb003 Author: Rafael Fontenelle Date: Thu Nov 17 04:21:21 2016 +0000 Update Brazilian Portuguese translation po/pt_BR.po | 672 +++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 392 insertions(+), 280 deletions(-) commit 24f5d99be9d59033e2fb7007af3d50e23feef4d2 Author: Piotr Drąg Date: Wed Nov 16 13:08:19 2016 +0100 Update Polish translation po/pl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 528b80a165e26728fb307d27666b5831a64f163d Author: Piotr Drąg Date: Wed Nov 16 11:43:23 2016 +0100 Update Polish translation po/pl.po | 384 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 191 insertions(+), 193 deletions(-) commit 25fd5710f7d802e092c37fb27ea33e9a35ea393b Author: Chun-wei Fan Date: Wed Nov 16 11:50:32 2016 +0800 Visual Studio builds: Fix Broadway builds After building GDK with broadway, we need to copy the GDK DLL from [Release|Debug]_Broadway\bin to [Release|Debug]\bin, so that the introspection builds can be done normally with CFG=[Release|Debug]. As we renamed the projects, we needed to update the property sheets that does the copying, which was accidently missed. Fix that. build/win32/vs10/gtk3-copy-gdk-broadway.props | 2 +- build/win32/vs9/gtk3-copy-gdk-broadway.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 13ccbd01116f40b7234529b91f1b1f1819f0295e Author: Marek Cernocky Date: Tue Nov 15 14:39:14 2016 +0100 Updated Czech translation po/cs.po | 398 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 202 insertions(+), 196 deletions(-) commit 7f7501b1e74b99aaf3f1787d8e71e434bcffca1e Author: Matthias Clasen Date: Sat Nov 12 22:29:02 2016 -0500 Allow replacing input file in gtk-builder-tool simplify docs/reference/gtk/gtk-builder-tool.xml | 13 +++- gtk/gtk-builder-tool.c | 125 ++++++++++++++++++++++++++------ 2 files changed, 113 insertions(+), 25 deletions(-) commit 9a257e1f6a18a35fe6503dd4fcd707eb838e4e74 Author: Matthias Clasen Date: Mon Nov 14 15:18:25 2016 -0500 entry: Avoid recursion in gtk_entry_ensure_layout This was unintentional, and lead to a memory leak. gtk/gtkentry.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit a28022e9161415ef65ae3f21f0c4052f5db8558b Author: Lauri Kasanen Date: Fri Nov 11 11:36:20 2016 +0200 recent-manager: Fix a memory leak caused by "recent-manager: Add a limit to the list's size" Signed-off-by: Lauri Kasanen https://bugzilla.gnome.org/show_bug.cgi?id=773587 gtk/gtkrecentmanager.c | 3 +++ 1 file changed, 3 insertions(+) commit 14545342d5c3639895bb5c5c0f42fcd449694758 Author: Matthias Clasen Date: Mon Nov 14 14:19:58 2016 -0500 appchooser: Plug a memory leak We were not dropping the reference that the model gives us. https://bugzilla.gnome.org/show_bug.cgi?id=774352 gtk/gtkappchooserwidget.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit cc0c2868697cf078f5ccaa3fa9e3acb11540932d Author: Matthias Clasen Date: Mon Nov 14 08:20:32 2016 -0500 widget-factory: Better progressbar testing Hook the two top progressbars up to the scale with marks. Your turn, Lapo. demos/widget-factory/widget-factory.c | 16 ++++++++++++++++ demos/widget-factory/widget-factory.ui | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) commit 57f551a114fdcccbf04940067e2b862e753f56a6 Author: Olivier Fourdan Date: Wed Nov 2 10:08:17 2016 +0100 gtkstack: reorder size_allocate and move_window Unlike other container widgets, GtkStack would allocate its children prior to moving its windows, which might prevent further valid size allocation signals to be emitted. Re-order the size allocation of child widgets to be performed after moving the GtkStack windows. Thanks to Owen for spotting the real issue here. https://bugzilla.gnome.org/show_bug.cgi?id=767713 gtk/gtkstack.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit f70039cb9603a02d2369fec4038abf40a1711155 Author: Olivier Fourdan Date: Wed Nov 2 10:13:11 2016 +0100 Revert "gdkwindow: configure native windows in move_native_children()" This reverts commit 12579fe71b3b8f79eb9c1b80e429443bcc437dd0. gdk/gdkwindow.c | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) commit c1507cf680ab9dfb46fec049763d85042c62d0a9 Author: Olivier Fourdan Date: Wed Nov 2 10:13:01 2016 +0100 Revert "gdk: Get rid of unused variables" This reverts commit 6f7a6f769f1a8a7aa0214acc3d063940a33779c5. gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit a820acee0031cf6635415b4773f34df1f374d533 Author: Chun-wei Fan Date: Mon Nov 14 16:27:21 2016 +0800 Visual Studio builds: Fix .pc generation We want to look for the gdk-pixbuf-2.0 package, and we should leave a space between -ldwmapi and -lzlib1 when we enable Broadway. Also copy the generated gdk-3.0.pc and gtk+-3.0.pc as gdk-win32-3.0.pc and gtk+-win32-3.0.pc respectively, to be in-line with the autotools builds. build/win32/gtkpc.py | 6 +++--- build/win32/vs10/gtk3-install.propsin | 2 ++ build/win32/vs9/gtk3-install.vspropsin | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) commit d3bdd384a18edaf90eab0d387a08beb8e7044f62 Author: Chun-wei Fan Date: Fri Nov 11 21:03:46 2016 +0800 gdkscreen-win32.c: Also define _WIN32_WINNT As in the last commit on gdkdisplay-win32.c, we need to define that to be 0x0600 (Vista) or later so that the items needed in the Windows headers be activated. See: https://bugzilla.gnome.org/show_bug.cgi?id=768081#c62 gdk/win32/gdkscreen-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 27b68ff1931a2750a1a3effd6a06414142630867 Author: Chun-wei Fan Date: Fri Nov 11 20:53:41 2016 +0800 gdkdisplay-win32.c: Define _WIN32_WINNT ... to be for Vista (0x0600) or later. This is so that the necessary items in the Windows headers be activated so that the code will build properly on mingw-w64, and we already require Vista or later for GTK+. Thanks Ting-Wei Lan for pointing this out. See: https://bugzilla.gnome.org/show_bug.cgi?id=768081#c62 gdk/win32/gdkdisplay-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit bf560369f2401e2cdd16f962f248e98c890835d0 Author: Lauri Kasanen Date: Thu Oct 27 16:51:29 2016 +0300 recent-manager: Add a limit to the list's size This fixes a DOS where any app can cause all running gtk apps to use arbitrary amounts of memory. Originally reported against mate-panel, where running a big slideshow in eye-of-mate caused increasing RAM usage in mate-panel. v2: Hardcode the value Signed-off-by: Lauri Kasanen https://bugzilla.gnome.org/show_bug.cgi?id=773587 gtk/gtkrecentmanager.c | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) commit cb535626590b9493e5ea1ee14d7536034df2ab26 Author: Jan Alexander Steffens (heftig) Date: Mon Oct 10 16:34:28 2016 +0200 gdkscreen-x11: Fix screen and monitor size calculation The monitors are already in scaled pixels, so scaling again when retrieving the screen size is wrong. With GDK_SCALE unset, the initial monitor sizes are unscaled, and when the xsettings client sets a scale > 1, the monitor sizes should be updated. The end result is that the monitor sizes start out wrong, and get corrected on the first xrandr event, while the screen size starts out right and becomes wrong after the event. This patch fixes Firefox misplacing menus and popovers when the xrandr configuration changes while it is running. Fix for the X11 side of https://bugzilla.gnome.org/show_bug.cgi?id=772202 gdk/x11/gdkscreen-x11.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) commit 275bbbf88d6d8707cda671891e8d6a0909c4eb6b Author: Matthias Clasen Date: Thu Nov 10 15:16:05 2016 -0500 places sidebar: Don't leak a reference Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774185 gtk/gtkplacessidebar.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 9e5510420c26121effdc6e5b70aec352fdb0cf86 Author: Matthias Clasen Date: Thu Nov 10 15:07:08 2016 -0500 Fix a copy-paste error Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774185#c3 gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53474fa404d8bb54b4f8f95d6f6eb0c6001b1e0c Author: Matthias Clasen Date: Thu Nov 10 15:03:16 2016 -0500 headerbar: Don't leak widgets We were not properly freeing separators that we end up not using. https://bugzilla.gnome.org/show_bug.cgi?id=774066 gtk/gtkheaderbar.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit f8900e5ac46463a6149a94babb328b6c0073bb21 Author: Matthias Clasen Date: Thu Nov 10 14:46:21 2016 -0500 spinbutton: Fix some gadget handling issues We were not adding the down_button gadget to the parent, and we were not unreffing the button gadgets. https://bugzilla.gnome.org/show_bug.cgi?id=774046 gtk/gtkspinbutton.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 4657e21be8a925ff99cdf2a5ecc7ef993196e022 Author: Massimo Valentini Date: Sat Nov 5 14:21:22 2016 +0100 GdkGLContext: chain finalize handler https://bugzilla.gnome.org/show_bug.cgi?id=773979 gdk/gdkglcontext.c | 1 + 1 file changed, 1 insertion(+) commit f9796b01ffd61ab0df41d1d7ea2c48d47ccf997c Author: Thibaut Girka Date: Sun Nov 6 21:49:00 2016 +0000 Fix loading cached compose tables https://bugzilla.gnome.org/show_bug.cgi?id=773916 gtk/gtkcomposetable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 04f3940488bc9fc41c9239fc1533f0b8d78488d2 Author: Gustavo Noronha Silva Date: Thu Nov 10 16:13:47 2016 -0200 cssshadowvalue: scale the blur surface by the same factor as the target Making sure the surfaces are using the same scale factor makes it more likely a fast path will be used when pixman gets involved, as pointed out by Benjamin Otte. https://bugzilla.gnome.org/show_bug.cgi?id=772075 gtk/gtkcssshadowvalue.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit 255225584e200029c041a308dc7cf0eda555ae97 Author: Carlos Garcia Campos Date: Tue Nov 8 11:44:44 2016 +0100 printing: Do not truncate job names in GtkPrintOperation We are currently truncating job names to 255 bytes, because that's the maximum allowed length of job-name attribute in CUPS. This is a CUPS limitation that GtkPrintOperation shouldn't need to know, and it shouldn't affect other backends, that might have other limitations or even no limitation at all. This has another side effect, that what you set as GtkPrintOperation:job-name could be different to what you get if the property is truncated, this is not documented in gtk_print_operation_set_job_name(). So, I think the job name should be truncated by the CUPS backend, right before setting the job-name attribute. https://bugzilla.gnome.org/show_bug.cgi?id=774097 gtk/gtkprintoperation.c | 24 ++++-------------------- modules/printbackends/cups/gtkprintbackendcups.c | 20 ++++++++++++++++++-- 2 files changed, 22 insertions(+), 22 deletions(-) commit 0bccddb2ffecd19eae74c8a053cac1b80353b197 Author: Florian Müllner Date: Mon Oct 10 12:33:54 2016 +0200 wayland: Set startup ID from GApplication platform data The GApplication platform data may contain a startup ID that on X11 is used to set the startup notification ID when activated. Do the same on the wayland backend to make startup notifications work for DBus-activated applications where the DESKTOP_STARTUP_ID environment variable is not set. https://bugzilla.gnome.org/show_bug.cgi?id=768531 gtk/gtkapplication-wayland.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 75ee402c6a1ae32678045d51b0a2beaef7ef2e9a Author: Florian Müllner Date: Mon Oct 10 12:33:54 2016 +0200 gdkdisplay-wayland: Add API to set startup notification ID For wayland clients, the startup notification ID is currently only set from the DESKTOP_STARTUP_ID environment variable. As that variable is only set for clients launched via exec(), startup completion is not indicated correctly for DBus-activated applications unless an explicit ID is specified - usually that is not the case, as the default handling uses gdk_notify_startup_complete(). To address this, we need API to set the startup notification ID from GTK as we have on X11. https://bugzilla.gnome.org/show_bug.cgi?id=768531 gdk/wayland/gdkdisplay-wayland.c | 27 +++++++++++++++++++++++++++ gdk/wayland/gdkwaylanddisplay.h | 3 +++ 2 files changed, 30 insertions(+) commit 305f473f73df458e595f5e4f561f8c7e00eee80f Author: hanniedu Date: Tue Nov 8 11:05:48 2016 +0100 Updated Dutch translation 3.22 po/nl.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2bdfed2da2691654f830f166c9f1814ee0d075ab Author: Piotr Drąg Date: Tue Nov 8 10:08:14 2016 +0100 Update POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit dbc0337498e384730036c21dd2249ab5d3800b09 Author: Benjamin Otte Date: Tue Nov 8 02:24:40 2016 +0100 range: Don't leak pointers to discarded gadgets gtk/gtkrange.c | 4 ++++ 1 file changed, 4 insertions(+) commit 96e7fbde2e3d919d784b3000237d979fb81386a5 Author: Benjamin Otte Date: Tue Nov 8 02:23:30 2016 +0100 reftests: Add reftest for the last 2 fixes Makes sure that the clipping we do when pushing a group is at the correct place and in particular doesn't influence shadows. testsuite/reftests/Makefile.am | 9 ++++++--- testsuite/reftests/box-shadow-with-blend-mode.css | 19 +++++++++++++++++++ testsuite/reftests/box-shadow-with-blend-mode.ref.ui | 20 ++++++++++++++++++++ testsuite/reftests/box-shadow-with-blend-mode.ui | 19 +++++++++++++++++++ 4 files changed, 64 insertions(+), 3 deletions(-) commit a68460847efb827e60cb4eaebd6e16afdeb70591 Author: Benjamin Otte Date: Tue Nov 8 02:20:40 2016 +0100 render: Draw shadows outside of potential push_group() call Before, the shadows were clipped. gtk/gtkrenderbackground.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 34d45def3707ee34e08235ab6ff4010483086d77 Author: Benjamin Otte Date: Tue Nov 8 02:15:43 2016 +0100 render: Clip the correct rectangle We translated before. gtk/gtkrenderbackground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 11a4dcba77ad79d43a2233cb36ecfda82df219bb Author: Matthias Clasen Date: Mon Nov 7 11:51:26 2016 -0500 Forgotten NEWS edit NEWS | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 99fed96b4470cf02f8fa522551d2a05e01a1bf8a Author: Matthias Clasen Date: Mon Nov 7 11:00:34 2016 -0500 3.22.3 NEWS | 21 +++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 23 insertions(+), 2 deletions(-) commit a61d7f7acf93467d55a259dc6d837beef1f7e82d Author: Matthias Clasen Date: Mon Nov 7 11:23:53 2016 -0500 Avoid deprecation warnings The recent round of deprecation additions has caused some warnings that we should avoid. gdk/x11/gdkwindow-x11.c | 2 ++ gtk/deprecated/gtktrayicon-x11.c | 4 ++++ gtk/gtkmenu.c | 4 ++++ gtk/gtknotebook.c | 2 ++ gtk/gtkscrolledwindow.c | 2 ++ gtk/gtksocket.c | 4 ++++ gtk/gtkstylecontext.c | 2 ++ 7 files changed, 20 insertions(+) commit 4add92a4314c152b852f2f4ffdb0d4a64d60e361 Author: Chun-wei Fan Date: Mon Jun 27 13:16:43 2016 +0800 GDK-Win32: Enable HiDPI support for Windows This enables HiDPI support for GTK+ on Windows, so that the fonts and window look better on HiDPI displays. Notes for the current work: -The DPI awareness enabling can be disabled if and only if an application manifest is not embedded in the app to enable DPI awareness AND a user compatibility setting is not set to limit DPI awareness for the app, via the envvar GDK_WIN32_DISABLE_HIDPI. The app manifest/user setting for DPI awareness will always win against the envvar, and so the HiDPI items will be always setup in such scenarios, unless DPI awareness is disabled. -Both automatic detection for the scaling factor and setting the scale factor using the GDK_SCALE envvar are supported, where the envvar takes precedence, which will therefore disable automatic scaling when resolution changes. -I am unable to test the wintab items because I don't have such devices around. https://bugzilla.gnome.org/show_bug.cgi?id=768081 gdk/win32/gdkdevice-win32.c | 26 +- gdk/win32/gdkdevice-wintab.c | 10 +- gdk/win32/gdkdevicemanager-win32.c | 11 +- gdk/win32/gdkdisplay-win32.c | 330 +++++++++++++++++++++ gdk/win32/gdkdisplay-win32.h | 47 +++ gdk/win32/gdkevents-win32.c | 125 ++++---- gdk/win32/gdkgeometry-win32.c | 33 ++- gdk/win32/gdkmain-win32.c | 1 + gdk/win32/gdkmonitor-win32.c | 18 +- gdk/win32/gdkprivate-win32.h | 12 +- gdk/win32/gdkscreen-win32.c | 72 +++-- gdk/win32/gdkwindow-win32.c | 573 ++++++++++++++++++++++++------------- gdk/win32/gdkwindow-win32.h | 15 + 13 files changed, 952 insertions(+), 321 deletions(-) commit a64a0bc6179e2f644ef0a147bf5dc31504bc6343 Author: Hannie Dumoleyn Date: Sat Nov 5 17:45:58 2016 +0100 Updated Dutch translation 3-22 po/nl.po | 96 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) commit bd2d1ccc13f2dc77b9cf538026cbb64855b029c6 Author: Piotr Drąg Date: Sat Nov 5 08:51:34 2016 +0100 Update POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 04db216026afa575207894c64e9e55b5141ae113 Author: Benjamin Otte Date: Sat Nov 5 03:31:10 2016 +0100 gtk-demo: Add fishbowl demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 4 + demos/gtk-demo/fishbowl.c | 334 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/fishbowl.ui | 27 +++ 4 files changed, 366 insertions(+) commit 03de0c3444ac3cf5e9491661fdb7f00df8f9777a Author: Benjamin Otte Date: Sat Oct 29 04:43:30 2016 +0200 widget: Deprecate gtk_widget_is_composited() Also GtkWidget::composited-changed is gone. gtk/gtkwidget.c | 6 +++++- gtk/gtkwidget.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) commit b3e3946b2ffaaa8fb634c1762886a301fe21e29e Author: Georges Basile Stavracas Neto Date: Wed Nov 2 00:46:10 2016 -0200 levelbar: update css nodes even when no offset value is found GtkLevelBar supports adding custom offsets as style classes, and they are applied whenever the :value property matches. The current code, however, only updates any CSS nodes when an offset is found, causing it to not update when a discrete value changes but no custom offset is added. Fix that by always updating the CSS nodes. https://bugzilla.gnome.org/show_bug.cgi?id=773799 gtk/gtklevelbar.c | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) commit c5a9c0db80b41034008c1a9ca33c142e02e74f8e Author: Rui Matos Date: Wed Nov 2 19:00:34 2016 +0100 gdkwindow-x11: Add support for gdk_window_fullscreen_on_monitor This way we can recommend that applications use the fullscreen_on_monitor() API on both X and Wayland otherwise they'd have to keep a path for each backend to achieve this functionality. https://bugzilla.gnome.org/show_bug.cgi?id=773857 gdk/x11/gdkwindow-x11.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit a47a3fbd3b9c71e35d45e5fd5b81e702a7dbebab Author: Lapo Calamandrei Date: Thu Nov 3 18:52:54 2016 +0100 Adwaita: correctly style headerbars in a stack corners are correctly rounded now. Stacked splitted headerbars are not supported yet though. gtk/theme/Adwaita/_common.scss | 11 +++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 15 insertions(+), 2 deletions(-) commit 39a8a6ef72ace7bd5638a7da745a0063f454b998 Author: Ernestas Kulik Date: Thu Nov 3 12:58:41 2016 +0200 popover: pop down when pressing escape Simply hiding the popover may introduce inconsistencies in application behavior, since popping up/down is the usual use case. https://bugzilla.gnome.org/show_bug.cgi?id=773885 gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dbd5fb43abcd8f20814d84289ac86ac875028189 Author: Matthias Clasen Date: Thu Nov 3 08:32:31 2016 -0400 Add a testcase for stacked headerbars This currently has some theming issues. This example is for Lapo to work those out. tests/Makefile.am | 2 + tests/teststackedheaders.c | 43 ++++++++++++++++ tests/teststackedheaders.ui | 123 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 168 insertions(+) commit 209e01fd91dc8be26997d47fa12b46c880a9ad0b Author: Olivier Fourdan Date: Wed Nov 2 11:51:54 2016 +0100 wayland: check valid pending cairo surface gdk_wayland_window_attach_image() is normally called from gdk_window_end_paint() to notify the compositor of newly staged drawing. If any of the drawing code inadvertently dispatches the wayland event loop (for instance with a gdk_flush() call), then it's possible that by the time gdk_window_end_paint() is called, the staged drawing is already destroyed. This commit bypasses the attach_image call in scenarios where the staged drawing is prematurely dropped. https://bugzilla.gnome.org/show_bug.cgi?id=773274 gdk/wayland/gdkwindow-wayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 29b2828c9dcb89726fc2b5c4a30da43d9173ba62 Author: Chun-wei Fan Date: Wed Nov 2 10:37:07 2016 +0800 Visual Studio projects: Fix RootNamespace This is more of a cosmetic fix, but make things more consistent across the board. build/win32/vs10/gtk-builder-tool.vcxproj | 2 +- build/win32/vs10/gtk-query-settings.vcxproj | 2 +- build/win32/vs10/gtk-update-icon-cache.vcxproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 5fa8def9dfaac2c6a710eb95540af6fe1302f21b Author: Juan Pablo Ugarte Date: Tue Nov 1 10:59:05 2016 -0300 Use GLSL version 110 for OpenGL 2 shaders. According to docs and Intel legacy drivers, GLSL version 130 is for GL 3.0 not GL 2.0/2.1 Validated files with reference compiler from https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/ gdk/resources/glsl/gl2-texture-2d.fs.glsl | 2 +- gdk/resources/glsl/gl2-texture-2d.vs.glsl | 4 +--- gdk/resources/glsl/gl2-texture-rect.fs.glsl | 2 +- gdk/resources/glsl/gl2-texture-rect.vs.glsl | 4 +--- gdk/resources/glsl/gl3-texture-2d.vs.glsl | 2 -- gdk/resources/glsl/gl3-texture-rect.vs.glsl | 2 -- 6 files changed, 4 insertions(+), 12 deletions(-) commit 28ce953caac7175aae666cd88e0319fe0b31979c Author: Juan Pablo Ugarte Date: Fri Oct 28 17:30:46 2016 -0300 gdk/Makefile.am: fixed glsl resources extra dist files. Use the same wildcard partern used to generate gdk.gresource.xml to include files in EXTRA_DIST var. gdk/Makefile.am | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit 0ad5d51d8ac4a6e8670ea9fc4cdfa66decebd77e Author: Lapo Calamandrei Date: Sat Oct 29 17:18:58 2016 +0200 Adwaita: no rounded corners for solid-csd. gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) commit b67a1c7f39375753f99dcc4efd5f2f2c312325bd Author: Chun-wei Fan Date: Fri Oct 14 19:04:49 2016 +0800 GDK-Win32: Improve GL on Windows Update the GDKGL implementation: -Allow legacy contexts to be created. -Use finer-grained attributes to ask for a pixel format when possible, which also adds support for anti-aliasing In fact the changes here are required for GTKGL to work properly on Windows for 4.x. Note that creation of gles contexts are not done here, as the system does not support such contexts directly on Windows, but only through means such as ANGLE, which is a totally different issue here. https://bugzilla.gnome.org/show_bug.cgi?id=773528 gdk/win32/gdkdisplay-win32.h | 2 + gdk/win32/gdkglcontext-win32.c | 365 +++++++++++++++++++++++++++++++++-------- 2 files changed, 299 insertions(+), 68 deletions(-) commit 45cf4c7d570a2620a6ee5b829adbd39cb66fa951 Author: Chun-wei Fan Date: Fri Oct 28 15:49:29 2016 +0800 gtk/gtkmenu.c: Avoid compound literals We only start requiring compound literals from GTK+-3.90, so fix this so that pre-C99 compilers can build GTK+-3.22 properly. gtk/gtkmenu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit be1af1e01b4d0dfdd5d615a8e6d7f493b8dc1b19 Author: Benjamin Otte Date: Fri Oct 28 06:04:58 2016 +0200 visual: Deprecate querying APIs They are going away in 4.0 and nobody should be using them anyway. gdk/gdkvisual.c | 28 ++++++++++++++++++++++++++++ gdk/gdkvisual.h | 20 ++++++++++---------- 2 files changed, 38 insertions(+), 10 deletions(-) commit eb43c3e6b631c25745089a379f48233a4c367a10 Author: Мирослав Николић Date: Thu Oct 27 19:56:03 2016 +0200 Updated Serbian translation po/sr.po | 131 ++++++++++++++++++++++++++++++--------------------------- po/sr@latin.po | 131 ++++++++++++++++++++++++++++++--------------------------- 2 files changed, 136 insertions(+), 126 deletions(-) commit dd91ac7086288e03b5225c33e553aefc7d6bacb5 Author: Sébastien Wilmet Date: Thu Oct 27 12:05:37 2016 +0200 docs: consistent get/set function order for GtkScrolledWindow Trivial commit. For all the other GtkScrolledWindow functions, the order was get -> set. Except for 3 functions, so fix that. docs/reference/gtk/gtk3-sections.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 038766a82f894655dffc00887c277bc6ff25c2a2 Author: Chun-wei Fan Date: Thu Oct 27 14:44:12 2016 +0800 MSVC builds: Simplify install process for MSVC 2010+ Use a for loop to copy the logo files. Unfortunately the MSVC 2008 projects don't like this approach, seemingly. build/win32/vs10/gtk3-install.propsin | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit 271211da8c17d2c85bfdc65e34468fb12d7f5efc Author: Chun-wei Fan Date: Thu Oct 27 12:30:04 2016 +0800 build/win32/vs10/gtk3-install.vcxproj: Fix project references There is a typo for gtk-update-icon-cache, which may cause problems when running the install project. Fix this. build/win32/vs10/gtk3-install.vcxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c54f348edfb1f8bb798f0060b8190d5bd08c2d9c Author: Matthias Clasen Date: Wed Oct 26 14:28:17 2016 -0400 color chooser: Fix a problem with show-editor=TRUE For some reason we end up allocating the colorplane widget before it is realized, and then never initialize the surface. Fix this by explicitly doing it on realize. https://bugzilla.gnome.org/show_bug.cgi?id=773474 gtk/gtkcolorplane.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 94c6d19415ec5ec01d3272a1d11c09b9dc790cb9 Author: Sébastien Wilmet Date: Wed Oct 26 15:20:25 2016 +0200 docs: fix copy/paste errors in the docs of GtkScrolledWindow Trivial commit. gtk/gtkscrolledwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 21d0de30ac1d4e14e00a6ec48ecf36c3603c857c Author: Sébastien Wilmet Date: Wed Oct 26 14:11:57 2016 +0200 docs: update section file for GtkScrolledWindow Trivial commit. - More logical ordering (re-group related things). - Add missing functions: max_content_width/height. docs/reference/gtk/gtk3-sections.txt | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) commit 27029a79fa4391562db7eec26c0ecfe2c0ac8276 Author: Felix Riemann Date: Tue Oct 25 15:45:24 2016 +0200 GtkShortcutType: Fix typos in developer documentation https://bugzilla.gnome.org/show_bug.cgi?id=773479 gtk/gtkshortcutsshortcut.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f2bdf6e372e6931ebbc35c279edc3babd4774e62 Author: Matthias Clasen Date: Sun Oct 23 23:08:59 2016 -0400 3.22.2 NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 42 insertions(+), 2 deletions(-) commit a1115c05be1a8bc6e3e299e72accbbee12bd77a7 Author: Emmanuele Bassi Date: Fri Oct 21 21:21:39 2016 +0100 gl: Set legacy bit depending on OpenGL version GDK defaults to asking for an OpenGL 3.2 Core Profile, but if we get a legacy profile from the underlying windowing system, the OpenGL version will be fixed to 3.0. If that happens, we need to set the legacy bit on the GdkGLContext, since that bit will be used to determine the version and type of GLSL shaders that will be used by application and toolkit code alike. (cherry picked from commit 31c05771e957f2f54fb197a391b63e6ef3394a26) Signed-off-by: Emmanuele Bassi gdk/gdkglcontext.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 4cdd4d03cc6ec9aba543cf3463c59f8bf7c2121f Author: Emmanuele Bassi Date: Sat Oct 22 02:37:53 2016 +0100 gl: Check whether use_es is positive Now that the use_es field is an int with a possible negative value, we cannot use it its truth value directly; we need to check if it's a positive value, instead. (cherry picked from commit 8e85f55240d4e3a2191c7945c7e76a6f20a4d32d) Signed-off-by: Emmanuele Bassi gdk/gdkglcontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ffb1ac56a8ae8b0261b9007115faed6206d4b06b Author: Mario Blättermann Date: Fri Oct 21 23:44:55 2016 +0000 Update German translation po/de.po | 75 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 38 deletions(-) commit e51d73afa3d94116ea99136263d300e25ead38ad Author: Matthias Clasen Date: Fri Oct 21 14:39:10 2016 -0400 Emit ::style-set after setting priv->style This was inadvertedly changed with an optimization a while ago, and can lead to application crashes. https://bugzilla.gnome.org/show_bug.cgi?id=773029 gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ad1677a3a96c245ffc0d2090c4706e164dfb712 Author: Jonas Ådahl Date: Fri Oct 14 16:41:50 2016 +0800 GtkMenu: Try using gdk_window_move_to_rect() more often With best-effort, try to use gdk_window_move_to_rect() more often, when all pieces fit together. For the non-legacy paths to be triggered for when gtk_menu_popup_for_device() or gtk_menu_popup() were used, the following conditions must be met: 1) There is no custom positioning function specified 2) The menu is attached to a widget (using gtk_menu_attach_to_widget()) 3) There is a associated grab device https://bugzilla.gnome.org/show_bug.cgi?id=772922 gtk/gtkmenu.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 48 insertions(+), 11 deletions(-) commit 2b527d6e976c623246d77deb504cc76f6f39adfc Author: Pavel Grunt Date: Mon Oct 17 10:32:04 2016 +0200 overlay: Document availability of properties Add missing "Since" https://bugzilla.gnome.org/show_bug.cgi?id=773082 gtk/gtkoverlay.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 6ee17810d1c44766ed3b56587ac68272bd01b556 Author: Robert Roth Date: Thu Oct 20 09:17:45 2016 +0300 Fix css documentation typo for color definition 'ligher' should be 'lighter', of course. https://bugzilla.gnome.org/show_bug.cgi?id=773246 docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 803362bb5d376613d671eb84f1ca642259158e20 Author: Emmanuele Bassi Date: Wed Oct 19 13:43:17 2016 +0100 gdk/gl: Allow autodetection for GL/GLES If the GdkGLContext was not explicitly instructed to use or not GLES, we can detect whether the underlying API is going to be desktop GL or GLES. https://bugzilla.gnome.org/show_bug.cgi?id=773180 gdk/gdkglcontext.c | 26 +++++++++++++++++++++----- gdk/gdkglcontext.h | 2 +- 2 files changed, 22 insertions(+), 6 deletions(-) commit d40c6f180fc832d6917a69b7a05080e402dc927e Author: Adam Jackson Date: Tue Oct 18 15:26:18 2016 -0400 gdk: Don't second-guess whether a context is GLES We've already set ->use_es correctly at context creation time, all this can possibly do is change our mind about what kind of GL we're using. Signed-off-by: Adam Jackson https://bugzilla.gnome.org/show_bug.cgi?id=773180 gdk/gdkglcontext.c | 1 - 1 file changed, 1 deletion(-) commit 440ff48bba1165cae184c97eab84c3dd692f85b8 Author: Victor Toso Date: Mon Oct 17 18:21:06 2016 +0200 tests: fix clipboard test by loading correct icon The icon name changed from "terminal" to "utilities-terminal" in Adwaita-icon-theme. Signed-off-by: Victor Toso https://bugzilla.gnome.org/show_bug.cgi?id=773113 tests/testclipboard.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit eaff061b48ee18ef45d2b70c5a9a4e0aeafe397f Author: Matthias Clasen Date: Fri Oct 21 11:08:07 2016 -0400 docs: Expand icon-palette example Add a warning color, and show that hex colors work here. docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cd495a26b7cdbb554b5b14adc7108166220ac3d7 Author: Matthias Clasen Date: Fri Oct 21 10:43:34 2016 -0400 Deprecate gdk_window_set_debug_updates This is gone in GTK+ 4, so lets deprecate it. gdk/gdkwindow.c | 3 ++- gdk/gdkwindow.h | 2 +- gtk/gtkmain.c | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) commit a372f554ebc46f9f68df70b2d30f00f6eae8d30a Author: Matthias Clasen Date: Fri Oct 21 10:21:44 2016 -0400 Deprecate GtkContainer::child It is gone in GTK+ 4, so let it deprecate here. gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 72baa374529f2b97a5f1040b1fa6c58901281520 Author: Matthias Clasen Date: Thu Oct 20 14:51:31 2016 -0400 Deprecate the gdk_window_set_background* functions These functions are gone in GTK+ 4, so deprecate them here. gdk/gdkwindow.c | 16 +++++++++++++--- gdk/gdkwindow.h | 8 ++++---- gdk/x11/gdkdnd-x11.c | 2 ++ 3 files changed, 19 insertions(+), 7 deletions(-) commit 796107c833d4cd2308aa6c095d50772bd56309a2 Author: Matthias Clasen Date: Thu Oct 20 14:26:43 2016 -0400 Deprecate gtk_window_set_wmclass This function was already documented as "don't use", and it is removed in GTK+ 4, so deprecate it properly. gtk/gtkwindow.c | 3 ++- gtk/gtkwindow.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit b109d25e8ba1ff56160654fe9ac713ae01ba3c31 Author: Matthias Clasen Date: Thu Oct 20 13:58:49 2016 -0400 Some forgotten deprecation cleanup gtk/gtkwindow.c | 2 ++ modules/input/gtkimcontextxim.c | 2 ++ 2 files changed, 4 insertions(+) commit 0ca9b468b83ea664ef83cb3f64a341d9e63d1bea Author: Matthias Clasen Date: Thu Oct 20 13:48:05 2016 -0400 Deprecate gtk_drag_dest_set_proxy gtk/gtkdragdest.c | 2 ++ gtk/gtkdragdest.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit d3ad642519a94fb90f4ae2d533b64da885b6d14e Author: Matthias Clasen Date: Thu Oct 20 13:44:23 2016 -0400 Deprecate more to-be-removed screen apis These will be removed in GTK+ 4, therefore, we're deprecating them now. gdk/gdkapplaunchcontext.c | 2 ++ gdk/gdkdevice.c | 4 ++++ gdk/gdkdisplay.c | 2 ++ gdk/gdkmain.h | 8 ++++---- gdk/gdkscreen.c | 30 ++++++++++++++++++++++++++++++ gdk/gdkscreen.h | 14 +++++++------- gdk/gdkwindow.c | 4 ++-- gdk/x11/gdkapplaunchcontext-x11.c | 2 +- gdk/x11/gdkdnd-x11.c | 4 ++-- gdk/x11/gdkmain-x11.c | 2 +- gdk/x11/gdkscreen-x11.c | 36 ++++++++++++++++++------------------ gdk/x11/gdkscreen-x11.h | 3 +++ gdk/x11/gdkwindow-x11.c | 4 ++-- gtk/inspector/general.c | 2 ++ 14 files changed, 80 insertions(+), 37 deletions(-) commit 61fc7ddd87421348b419f6246b786761fbb136e5 Author: Matthias Clasen Date: Thu Oct 20 11:59:21 2016 -0400 Deprecate to-be-removed screen API GTK+ 4 is removing the monitor-related screen APIs. We should deprecate them in 3.22 so people know to port away from them. gdk/gdkscreen.c | 25 ++++++++++++++++++++++++- gdk/gdkscreen.h | 20 ++++++++++---------- gdk/wayland/gdkwindow-wayland.c | 6 ++++++ gdk/x11/gdkcursor-x11.c | 5 +++++ gtk/inspector/visual.c | 2 ++ 5 files changed, 47 insertions(+), 11 deletions(-) commit 0d104b041a269003c654c64b4dc44a5b002720fd Author: Jaime Velasco Juan Date: Mon Oct 17 14:33:47 2016 +0100 win32 theme: Fix tooltip borders https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ebd2487df2b5633e05d4dc7462d4f1dc8341b20d Author: Jaime Velasco Juan Date: Fri Oct 14 14:13:09 2016 +0100 win32 theme: Fix combobox https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 96 ++++++++++++++++++-------------------- 1 file changed, 46 insertions(+), 50 deletions(-) commit ad258bc81c4742171a08695c85638345783f1be1 Author: Jaime Velasco Juan Date: Fri Oct 14 12:16:57 2016 +0100 win32 theme: Fix column headers https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit d47d34201256ec2b92e4672d56a1afa3760f7c2d Author: Jaime Velasco Juan Date: Fri Oct 14 10:49:55 2016 +0100 win32 theme: Fix popup window decorations Windows such as combobox's popup were using toplevel window's borders https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk.css | 6 ++++++ 1 file changed, 6 insertions(+) commit c46c744529b705e7857cade893a5ec61e0b3d4a2 Author: Jaime Velasco Juan Date: Fri Oct 14 09:47:11 2016 +0100 gtkwin32theme: delete #if 0 code https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/gtkwin32theme.c | 11 ----------- 1 file changed, 11 deletions(-) commit 49f2ed37cde17bd13c6c99c7d481aa54c1e8b39a Author: Jaime Velasco Juan Date: Thu Oct 13 12:50:51 2016 +0100 win32 theme: Fix scale widget It was invisible before. https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 191 ++++++++++++++----------------------- 1 file changed, 74 insertions(+), 117 deletions(-) commit 424b59aec6173a62b54e8f6ad3b07a2b5d687498 Author: Jaime Velasco Juan Date: Fri Oct 14 09:24:13 2016 +0100 win32 theme: No need to create a DC for GetThemePartSize https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/gtkwin32theme.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit db41f815c7f8feebfd6eee7566c20455bcddc87b Author: Jaime Velasco Juan Date: Fri Oct 14 09:18:46 2016 +0100 win32 theme: use TS_TRUE in GetThemePartSize Several styles return a size of 0x0px when using TS_DRAW, as we don't pass a RECT to draw into. https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/gtkwin32theme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit bece404043612266668b3cc826324468df405033 Author: Jaime Velasco Juan Date: Thu Oct 13 12:38:05 2016 +0100 win32 theme: Fix scrollbars The fix is only partial, when both scrollbars are visible their ends overlap. https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 140 +++++++++++++++++++------------------ 1 file changed, 71 insertions(+), 69 deletions(-) commit 91d4879f825cd812a7db3e7a7de4e927f5fa75c9 Author: Jaime Velasco Juan Date: Thu Oct 13 12:27:43 2016 +0100 Fix CSS warnings in win32 theme https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit eda51b4ef5539d76e41980fe5be6f27dabe23c5f Author: Jaime Velasco Juan Date: Thu Oct 13 12:26:09 2016 +0100 Fix tiny fonts in win32 theme broken since df08fc91... (css: always get default font size in pixels) https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2dfaae6737c7307d29a287361a70fad0a15ce7f7 Author: Carlos Garnacho Date: Tue Oct 18 19:18:14 2016 +0200 wayland: Allow grabless xdg_popups xdg_shell v6 allows grabless popups, whose behavior is not that different from override redirect windows with no grab to take keyboard input (and pointer events outside). This means we can relax the requirement to have a grab before creating an xdg_popup. The warning is still useful to have so people stop relying on gdk_window_show();gdk_device_grab() being an ok pattern to popup a window, it's been moved to wayland implementation of gdk_device_grab() instead, so we warn if trying to grab a GDK_WINDOW_TEMP window that's already visible. https://bugzilla.gnome.org/show_bug.cgi?id=771694 gdk/wayland/gdkdevice-wayland.c | 9 +++++++++ gdk/wayland/gdkwindow-wayland.c | 31 ++++++------------------------- 2 files changed, 15 insertions(+), 25 deletions(-) commit e75314ec1782794fb331488dec9cb005df160563 Author: Lapo Calamandrei Date: Wed Oct 19 15:56:41 2016 +0200 Adwaita: make circular button border looking nice the darker bottom border used on buttons looks bad on circular ones so now a gradient clipped on the border-box and a transparent border is used in that partcular case. See https://bugzilla.gnome.org/show_bug.cgi?id=771205 for details. gtk/theme/Adwaita/_common.scss | 22 ++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 26 +++++++++++++++++++++++++- gtk/theme/Adwaita/gtk-contained.css | 26 +++++++++++++++++++++++++- 3 files changed, 72 insertions(+), 2 deletions(-) commit f3d78aff12b7f10497e5ed680ece21ea726c510b Author: Lapo Calamandrei Date: Tue Oct 18 13:55:37 2016 +0200 Adwaita: sass, make button mixin export a global $button_fill var $button_fill contains the background-image property value of buttons, having it readable outside the drawing mixin allows, for example, stacking background images in an easier way. gtk/theme/Adwaita/_drawing.scss | 73 +++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 40 ++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 40 ++++++++--------- 3 files changed, 88 insertions(+), 65 deletions(-) commit d93f8b00ad2a0a315837235c25cd819b43b955a5 Author: Chun-wei Fan Date: Wed Oct 19 18:46:59 2016 +0800 Remove gtk3-install.props's during re-generation This is to ensure the changes in the generated build/win32/vs10/gtk3-install.props are applied in build/win32/vs[11|12|14] as well. build/win32/vs10/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit b1bb8c2e859c02cbcaa96cbdddc35ee4bbfcf2a9 Author: Chun-wei Fan Date: Wed Oct 19 14:48:08 2016 +0800 build/: Force MSVC project file generation on Makefile.am changes Make the Makefile.am targets for generating the Visual Studio projects re-generate the project files and the header listings whenever the Makefile.am's that include build/Makefile.msvcproj changes, so that whenever a source/header is added, they will be reflected in the projects and in the property sheets that are used to copy the headers. Also ensure that these are applied to the vs11, vs12 and vs14 projects when this happens, as they are copied and processed from the Visual Studio 2010 projects. build/Makefile-newvs.am | 2 +- build/Makefile.msvcproj | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) commit 38056d0f6e3a1db222d3bd85fbab3bd08622cb8a Author: Lapo Calamandrei Date: Tue Oct 18 13:16:07 2016 +0200 Adwaita: sass cleanup aggregate circular button style to the main button structure. gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++++------ gtk/theme/Adwaita/gtk-contained.css | 11 +++++------ 3 files changed, 17 insertions(+), 19 deletions(-) commit 6660dc5186c2440da4897aa732cc54012d4f5fcb Author: Lapo Calamandrei Date: Tue Oct 18 13:08:02 2016 +0200 widget-factory: use circular style class on the circular button... ...in place of the circular-button one, killing the custom style shipped, realying on the theme style. demos/widget-factory/widget-factory.css | 5 ----- demos/widget-factory/widget-factory.ui | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) commit 29e586fe2edd4188f454ecc4a9129386f8d3120b Author: Kjartan Maraas Date: Tue Oct 18 07:50:37 2016 +0200 Updated Norwegian bokmål translation from Kjartan Maraas. po/nb.po | 47 ++++++++++++++++++++++------------------------- 1 file changed, 22 insertions(+), 25 deletions(-) commit 6f7a6f769f1a8a7aa0214acc3d063940a33779c5 Author: Benjamin Otte Date: Sun Oct 16 18:07:39 2016 +0200 gdk: Get rid of unused variables gdk/gdkwindow.c | 5 ----- 1 file changed, 5 deletions(-) commit bc99feffe2e040532d5e8586a73d0282db4f946c Author: Aurimas Černius Date: Sat Oct 15 22:07:11 2016 +0300 Updated Lithuanian translation po/lt.po | 78 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 42 insertions(+), 36 deletions(-) commit 00cf0587a9459d171800bceddca3e7315acb30a0 Author: Kjartan Maraas Date: Sat Oct 15 16:29:33 2016 +0200 Updated Norwegian bokmål translation. po/nb.po | 904 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 491 insertions(+), 413 deletions(-) commit 149351048ef9ff2122901e0835715e85aa757429 Author: Matthias Clasen Date: Fri Oct 14 11:15:27 2016 -0400 Avoid 0/FALSE confusion Since this is supposedly exemplary code, lets get it right. https://bugzilla.gnome.org/show_bug.cgi?id=772683 demos/gtk-demo/glarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e2e736d0d5e6df6dd492df0bf0556cfb7567896 Author: Alan Jenkins Date: Fri Oct 14 12:16:07 2016 +0100 shortcutswindow: working version of set_section_name() (testing before+after, it actually works now) https://bugzilla.gnome.org/show_bug.cgi?id=772926 gtk/gtkshortcutswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17bcd0d1270314ec131198b896f2d44b05345808 Author: Christian Hergert Date: Wed Oct 12 13:56:57 2016 -0700 menusectionbox: add support for "text-direction" attribute This allows the use of a "text-direction" hint set to one of "none", "rtl", or "ltr" to enforce the text direction of a "horizontal-buttons" display-hint. This is useful when a menu has buttons that map to physical space in the UI and therefore must match the application widgetry. https://bugzilla.gnome.org/show_bug.cgi?id=772775 gtk/gtkapplicationwindow.c | 3 +++ gtk/gtkmenusectionbox.c | 14 ++++++++++++++ gtk/gtkmenutrackeritem.c | 10 ++++++++++ gtk/gtkmenutrackeritem.h | 2 ++ 4 files changed, 29 insertions(+) commit 45528cf5b5831f7863080a0d352158d94bc75061 Author: Alan Jenkins Date: Thu Oct 13 09:20:57 2016 +0100 scrolledwindow: fix leak of pan_gesture https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkscrolledwindow.c | 1 + 1 file changed, 1 insertion(+) commit 29fbeea84d338d71a0257b93b1c2654ca3779e60 Author: Alan Jenkins Date: Wed Oct 12 16:38:13 2016 +0100 headerbar: fix leak of label_sizing_box Since the widget is not added to a container, we have the responsibility to sink the initial floating reference, and ultimately to unref it. https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkheaderbar.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 3eb53e9e7c31f47b2dad472437abe650ba11ee04 Author: Alan Jenkins Date: Wed Oct 12 16:18:47 2016 +0100 headerbar: fix leak of separator https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkheaderbar.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit b3af4608606efd94365db38afdc94e283d2ca099 Author: Alan Jenkins Date: Wed Oct 12 18:03:43 2016 +0100 headerbar: fix leak of start_box/end_box gtk_widget_destroy() removes widgets from their container. However _internal_ widgets must be unref'ed using gtk_widget_unparent() instead. This is symmetric with the fact that these widgets were ref'ed by direct call to gtk_widget_set_parent(). It's also the method that was used in gtk_headerbar_destroy(). https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkheaderbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4100a848a7a92b7e5386bac814f9f42015a153d1 Author: Alan Jenkins Date: Wed Oct 12 16:16:57 2016 +0100 shortcutsgroup: fix leak of title like previous commit, albeit simpler this time https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkshortcutsgroup.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit e2f5425a1da3ba928052ae1329d8498d06165568 Author: Alan Jenkins Date: Wed Oct 12 13:33:39 2016 +0100 applicationwindow: fix leak of help_overlay > Due to Gtk+ keeping a reference to the window internally, > gtk_window_new() does not return a reference to the caller. > To delete a GtkWindow, call gtk_widget_destroy(). Caller(s) aren't expecting a need to delete help_overlay themselves once they've installed it. (E.g. see gtk_application_window_added()). I didn't notice any direct precedents, but there's a parallel in the current implementation of gtk_container_destroy() which uses gtk_widget_destroy() on any added widget. This avoids leaking 100s of kB per window, when I tested nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkapplicationwindow.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 12579fe71b3b8f79eb9c1b80e429443bcc437dd0 Author: Olivier Fourdan Date: Thu Oct 6 16:49:39 2016 +0200 gdkwindow: configure native windows in move_native_children() ClutterEmbed on Wayland uses a subsurface and relocates it on configure events, but when placed within a scrolled window, no configure event is emitted and the ClutterEmbed subsurface remains static. Emit a configure event for native windows in GdkWindow's internal move_native_children() so that custom widgets relying on configure events such as ClutterEmbed can relocate their stuff. Similarly, when switching to/from normal/maximized/fullscreen states which change the shadows' size and possibly shows/hides a header bar, we need to emit a configure event even if the abs_x/abs_y haven't changed to make sure the subsurface is size appropriately. https://bugzilla.gnome.org/show_bug.cgi?id=771320 https://bugzilla.gnome.org/show_bug.cgi?id=767713 gdk/gdkwindow.c | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) commit dd9a9d9dcca9f02de1038ace3f278f8ef14a7052 Author: Matthias Clasen Date: Wed Oct 12 13:46:25 2016 -0400 Deprecate gtk_menu_popup and gtk_menu_popup_for_device These functions don't work well on backends without global coordinates (such as Wayland or Mir), and the gtk_menu_popup_at_ variants are better alternatives. https://bugzilla.gnome.org/show_bug.cgi?id=772552 gtk/gtkmenu.c | 17 +++++++++++++++++ gtk/gtkmenu.h | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) commit 0ecc4ac7de8f332b4adcf45e49935cc4ffd04598 Author: Piotr Drąg Date: Wed Oct 12 19:49:08 2016 +0200 Update Polish translation po-properties/pl.po | 75 +++++++++++++++++++------------------ po/pl.po | 104 ++++++++++++++++++++++++++-------------------------- 2 files changed, 89 insertions(+), 90 deletions(-) commit c41294e2be202d2ac968166c8153a44874081760 Author: Lapo Calamandrei Date: Wed Oct 12 19:30:30 2016 +0200 Adwaita: dodge drop active style for window and decoration nodes to hilight drop target there is a wildcard selector which turns the border and shadow to green, this clearly shouldn't happen when the whole window is a drop target. 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 9af1353e6d6953a0ec9a70e55beeb93a15f2eec3 Author: Hannie Dumoleyn Date: Wed Oct 12 17:00:55 2016 +0200 Updated Dutch translation gtk+-properties3.22 po-properties/nl.po | 4448 +++++++++++++++++++++++++++++---------------------- 1 file changed, 2519 insertions(+), 1929 deletions(-) commit f60605e7583bedc895ac015fb2caf5081a3f3e38 Author: Hannie Dumoleyn Date: Wed Oct 12 16:36:51 2016 +0200 Updated Dutch translation 3.22 po/nl.po | 3014 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1883 insertions(+), 1131 deletions(-) commit e74dc54567e2363e283b7e5dd8e8e0e8d0b1c2aa Author: Tom Tryfonidis Date: Tue Oct 11 11:05:21 2016 +0000 Update Greek translation po-properties/el.po | 2227 +++++++++++++++++++++++++++------------------------ 1 file changed, 1173 insertions(+), 1054 deletions(-) commit 90ac58443798184b7e678fe9cfeb3df6aa2fd223 Author: Christian Hergert Date: Mon Oct 10 13:52:50 2016 -0700 shortcuts: the accelerator should always be LTR Even on RTL languages, we want the shortcut to be LTR so that we always have to the left of the accel keyval. https://bugzilla.gnome.org/show_bug.cgi?id=772695 gtk/gtkshortcutlabel.c | 3 +++ 1 file changed, 3 insertions(+) commit bfc6287910011002cda3eb90b149b70eef4f9f47 Author: djb Date: Sun Oct 2 23:16:46 2016 +0100 gtkplacesviewrow: stop busy_spinner from offsetting the other widgets when visible ...by putting it in a stack. The busy_spinner and eject_button are mutually exclusive, but only the latter was coded to ensure that its visibility did not cause the rest of the row to reflow. By putting both widgets in a stack and setting child_visible on that, the row allocates enough space to show one - or none - at once, avoiding any misalignment. https://bugzilla.gnome.org/show_bug.cgi?id=772345 https://bugzilla.gnome.org/show_bug.cgi?id=772348 gtk/gtkplacesviewrow.c | 31 +++++++++++++++++++++---------- gtk/ui/gtkplacesviewrow.ui | 45 ++++++++++++++++++++++++++------------------- 2 files changed, 47 insertions(+), 29 deletions(-) commit 19aa3a4fca07ebda54b277e2e355c726c9ecaa4c Author: Adam Jackson Date: Mon Oct 10 14:12:40 2016 -0400 Use eglGetPlatformDisplay{,EXT} if available Calling eglGetDisplay forces libEGL to guess what kind of pointer you passed it. Different EGL libraries will do different things here, and in particular glvnd will do something different than Mesa. Since we do have an API that allows us to explicitly type the display, use it. The explicit call to eglGetProcAddress is working around a bug in libepoxy 1.3, which does not understand the EGL concept of client extensions. Since it does not, the normal epoxy resolver for eglGetPlatformDisplayEXT would not find any provider for that entry point, and crash when you attempted to call it. Signed-off-by: Adam Jackson https://bugzilla.gnome.org/show_bug.cgi?id=772415 gdk/wayland/gdkglcontext-wayland.c | 37 ++++++++++++++++++++++++++++++++++++- gtk/inspector/general.c | 36 +++++++++++++++++++++++++++++++++++- 2 files changed, 71 insertions(+), 2 deletions(-) commit 0757914abab0f71370492fc778754df5c76ba9d6 Author: Adam Jackson Date: Mon Oct 10 14:10:38 2016 -0400 Fix some EGLDisplay * abuse EGLDisplays are already opaque pointers, and eglGetDisplay returns an EGLDisplay not a pointer to one. Signed-off-by: Adam Jackson https://bugzilla.gnome.org/show_bug.cgi?id=772415 gdk/wayland/gdkglcontext-wayland.c | 2 +- gtk/inspector/general.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit e11df6cca0c400f964d815bbe575cf04cc178a7c Author: Ask Hjorth Larsen Date: Sun Oct 9 22:05:52 2016 +0200 Updated Danish translation po/da.po | 55 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 25 deletions(-) commit 8c0738113eeb10b35c262fc4effe1e1ed777e480 Author: Rūdolfs Mazurs Date: Sun Oct 9 19:33:18 2016 +0300 Update Latvian translation po/lv.po | 101 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 49 deletions(-) commit 0a08a199d8c28c28a5496f3657de87d0fff14a3e Author: gogo Date: Thu Oct 6 16:16:32 2016 +0000 Update Croatian translation po/hr.po | 905 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 496 insertions(+), 409 deletions(-) commit 051fddaa610c91c966e92cff151424e6d2834049 Author: gogo Date: Thu Oct 6 16:08:43 2016 +0000 Update Croatian translation po-properties/hr.po | 1964 +++++++++++++++++++++++++++------------------------ 1 file changed, 1043 insertions(+), 921 deletions(-) commit 154b2a124b6605feef15de8ed101acfb984e5f9e Author: Kalev Lember Date: Thu Oct 6 16:42:22 2016 +0200 Revert "Add GDK_AVAILABLE_IN_3_90" Revert 3.90 macros on the 3.22 branch. This reverts commit 13e00b70c08d85750784ea014080d1ce52604dac. gdk/gdkversionmacros.h.in | 16 ---------------- 1 file changed, 16 deletions(-) commit 1eed051c413378bf1e07a903e80927edc68a6d46 Author: Milo Casagrande Date: Thu Oct 6 11:57:05 2016 +0000 Updated Italian translation po/it.po | 1069 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 584 insertions(+), 485 deletions(-) commit 8d14c5c7cd5a658659c823f1f389b64b16ee76a7 Author: Milo Casagrande Date: Thu Oct 6 11:53:32 2016 +0000 Updated Italian translation po-properties/it.po | 2184 +++++++++++++++++++++++++++------------------------ 1 file changed, 1155 insertions(+), 1029 deletions(-) commit 17c08d062f016de8be2842d70540464ecd6a725a Author: Matthias Clasen Date: Wed Oct 5 12:20:14 2016 -0400 entry: Fix a corner case of overwrite mode We currently beep when a character is appended at the end in overwrite mode. That is obviously not right. Patch based on a patch by Ian MacDonald. https://bugzilla.gnome.org/show_bug.cgi?id=772389 gtk/gtkentry.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ae7a1e0d08a19184b659ca38623431b210d0f84a Author: Matthias Clasen Date: Fri Sep 30 15:29:50 2016 -0400 3.22.1 NEWS | 38 ++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 40 insertions(+), 2 deletions(-) commit ae8ffc775dabaa4b4050714348f8a5cece8a6a65 Author: Christoph Reiter Date: Tue Sep 27 11:39:04 2016 +0200 widget: Don't print underallocation warnings by default See similar changes: https://git.gnome.org/browse/gtk+/commit/?id=1b15588732f2c4e3c59994a59613d4e5c963e283 https://git.gnome.org/browse/gtk+/commit/?id=54fdcb3ffac3383432b379f3e16e8cb0086b8101 https://bugzilla.gnome.org/show_bug.cgi?id=770388 gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9701b58c4efb6375843a7bb67c8a3cdfac1d3f2a Author: Victor Toso Date: Thu Sep 29 18:45:42 2016 +0200 icon-theme: Fix leaks on error 13 bytes in 1 blocks are definitely lost in loss record 766 of 16,875 at 0x4C2DB9D: malloc (vg_replace_malloc.c:299) by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so) by 0xA2453FC: g_vasprintf (gprintf.c:316) by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514) by 0xA21539C: g_strdup_printf (gstrfuncs.c:540) by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360) by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322) by 0x5FAE6F2: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4492) by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622) by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711) by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118) by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170) 14 bytes in 1 blocks are definitely lost in loss record 801 of 16,875 at 0x4C2DB9D: malloc (vg_replace_malloc.c:299) by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so) by 0xA2453FC: g_vasprintf (gprintf.c:316) by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514) by 0xA21539C: g_strdup_printf (gstrfuncs.c:540) by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360) by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322) by 0x5FAE68E: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4482) by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622) by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711) by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118) by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170) 15 bytes in 1 blocks are definitely lost in loss record 838 of 16,875 at 0x4C2DB9D: malloc (vg_replace_malloc.c:299) by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so) by 0xA2453FC: g_vasprintf (gprintf.c:316) by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514) by 0xA21539C: g_strdup_printf (gstrfuncs.c:540) by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360) by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322) by 0x5FAE6C3: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4487) by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622) by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711) by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118) by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170) 16,384 bytes in 1 blocks are definitely lost in loss record 16,847 of 16,875 at 0x4C2DADE: malloc (vg_replace_malloc.c:298) by 0x4C2FC91: realloc (vg_replace_malloc.c:785) by 0xA1F89FA: g_realloc (gmem.c:159) by 0xA1BAD2E: g_array_maybe_expand (garray.c:779) by 0xA1BA566: g_array_set_size (garray.c:555) by 0xA1BBCB8: g_byte_array_set_size (garray.c:1752) by 0x8D1CC48: g_file_load_contents (gfile.c:6766) by 0x5FAE767: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4501) by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622) by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711) by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118) by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170) https://bugzilla.gnome.org/show_bug.cgi?id=772215 gtk/gtkicontheme.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 6c7d78f07d54b9691a35a9406b9978bb23665a83 Author: Dušan Kazik Date: Fri Sep 30 16:46:41 2016 +0000 Updated Slovak translation po-properties/sk.po | 713 ++++++++++++++++++++++------------------------------ 1 file changed, 298 insertions(+), 415 deletions(-) commit f7c0661a61f4fe46fa691ee2133a39877e110736 Author: Jonas Ådahl Date: Fri Sep 16 15:42:37 2016 +0800 wayland: Only 'moved-to-rect' if move_to_rect() was used Don't emit the 'moved-to-rect' signal if move_to_rect() was used. https://bugzilla.gnome.org/show_bug.cgi?id=771516 gdk/wayland/gdkwindow-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 13e00b70c08d85750784ea014080d1ce52604dac Author: Richard Hughes Date: Wed Sep 28 14:14:02 2016 +0100 Add GDK_AVAILABLE_IN_3_90 gdk/gdkversionmacros.h.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 769ee1156de0cb2b4528e56234315848fc73acc8 Author: Carlos Garnacho Date: Wed Sep 28 19:56:49 2016 +0200 popover: Update scrollable on relative-to hierarchy changes The relative-to widget may be reparented itself into/out of a scrollable. In this cases make the hierachy-changed handler to unset the parent scrollable when unparented, and look up again the parent scrollable after it's reparented. https://bugzilla.gnome.org/show_bug.cgi?id=771812 gtk/gtkpopover.c | 4 ++++ 1 file changed, 4 insertions(+) commit 588a1dce2b1fb97acb8304799a7711fa62d0a2aa Author: Carlos Garnacho Date: Wed Sep 28 19:53:10 2016 +0200 popover: Add helper functions around setting up an scrollable gtk_popover_set_scrollable_full() takes care of the signal connected on the scrollable itself, in addition to the adjustment signals the popover listens to. gtk_popover_update_scrollable() looks up the current relative-to widget hierarchy and updates the current scrollable. The places where the scrollable is being maintained have been updated to use these functions. https://bugzilla.gnome.org/show_bug.cgi?id=771812 gtk/gtkpopover.c | 57 +++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 17 deletions(-) commit 73d09c8f7449e505bcfc5a6394702183319a2637 Author: Christian Hergert Date: Wed Sep 28 12:37:41 2016 -0700 scrolledwindow: handle NULL cursor safely It's possible to get a NULL cursor back if there are improperly configured or missing cursors on the system. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7292b035593008e79cf4aae1b8dcf0f7a83bc55f Author: Gustavo Noronha Silva Date: Mon Sep 26 10:56:42 2016 +0200 wayland: always sync state after a frame is painted Opaque region, margin and input region were only being synced when a cairo paint happened. That caused GL paints to sometimes end up with bad state. Move calls to sync state to gdk_window_impl_wayland_end_paint. https://bugzilla.gnome.org/show_bug.cgi?id=771553 gdk/wayland/gdkwindow-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit dbd0923b5f7b4a7cdea182c8d20085c013c4571c Author: Olivier Fourdan Date: Tue Sep 27 16:48:57 2016 +0200 wayland: Avoid negative size constraints Setting the shadow width earlier as done with commit 4cb1b96 to address bug 771561 proved to cause unexpected side effects on size_allocate signal propagation. As the window is sized correctly earlier, the size_allocate signal is not emitted again in gtk_widget_size_allocate_with_baseline() which prevents clutter-gtk from relocating its child widget correctly. To avoid this issue, revert commit 4cb1b96 but make sure the values passed as min and max size is never negative in Wayland as this is a protocol error. With this, the min/max size will be wrong for a short amount of time, during the state transition, until the shadow width is updated from gdk_window_set_shadow_width(). This approach is much safer and less intrusive than changing the size_allocate logic in gtk. This reverts commit 4cb1b9645e84054c059f174240e8e288c4befe05. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=771915 gdk/wayland/gdkwindow-wayland.c | 8 ++++---- gtk/gtkwindow.c | 14 -------------- 2 files changed, 4 insertions(+), 18 deletions(-) commit b684b23c74202cd78dcc1885effcb30c97bea9d8 Author: Christian Hergert Date: Tue Sep 27 14:12:43 2016 -0700 entry: handle NULL cursor when updating cursors If we got a NULL cursor from gdk_cursor_new_from_name(), we need to handle that when unreffing. gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ecd3378771f2aab230cd53f191ff4f6b9474699 Author: Christian Hergert Date: Tue Sep 27 14:09:02 2016 -0700 entry: handle NULL cursor when releasing reference If we happen to have gotten NULL back for a cursor, then we need to check before unreffing it. gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3c775eb2b808c6f7b1b7a6eab5fefe1085d74c5a Author: Christian Hergert Date: Tue Sep 27 12:41:55 2016 -0700 treeviewcolumn: use g_clear_object when freeing cursor There is the chance that the cursor returned NULL on systems with missing cursors. This defensively handles that by checking for a NULL cursor. gtk/gtktreeviewcolumn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8a7d0ab4813457088335685e956313afbd1d65a1 Author: Matthias Clasen Date: Tue Sep 27 15:12:47 2016 -0400 Make gtk_init_with_args behave as documented This docs say it should return FALSE if the display can't be opened, but it was failing. https://bugzilla.gnome.org/show_bug.cgi?id=771959 gtk/gtkmain.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 6181ff255251ce9cde231c6db8c04e4f4bb1d71b Author: Matthias Clasen Date: Tue Sep 27 14:55:13 2016 -0400 paned: quietly handle missing cursors The row-/col-resize cursors should really be present, but if they aren't we don't need to crash. https://bugzilla.gnome.org/show_bug.cgi?id=771963 gtk/gtkpaned.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fea851b3eb4b3fd9d450ab71530465963354baf8 Author: Gautier Pelloux-Prayer Date: Tue Sep 27 15:51:50 2016 +0200 Fix wrong URL link in gtkshortcutswindow documentation https://bugzilla.gnome.org/show_bug.cgi?id=772057 gtk/gtkshortcutswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fa23641992e0fc1e7ec64c56975d7b13d7d0de1b Author: Daniel Drake Date: Mon Sep 26 13:18:59 2016 -0600 _gtk_icon_helper_draw: get style earlier After checking for rendered_surface, the call to gtk_css_node_get_style can invalidate the style and result in rendered_surface being set to NULL. This was result in some icon views appearing blank on Endless OS on armv7hl, and this error: Gtk-CRITICAL **: gtk_css_style_render_icon_surface: assertion 'surface != NULL' failed Call gtk_css_node_get_style earlier to ensure we always pass a valid surface to gtk_css_style_render_icon_surface. https://bugzilla.gnome.org/show_bug.cgi?id=765649 https://phabricator.endlessm.com/T13524 gtk/gtkiconhelper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fe216b0039bb4344d715421245327ce3547c0a08 Author: Andreas Pokorny Date: Sun Aug 14 01:29:35 2016 +0200 Do not filter out small scroll event fractions The scroll motion values are subject of batching and scaling. Either through scaling or by using a touchpad smooth scroll motion changes below 0.5 are possible. https://bugzilla.gnome.org/show_bug.cgi?id=769554 Signed-off-by: Andreas Pokorny gdk/mir/gdkmireventsource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ea0436c3b5cf9699e757b658903c4ff1039509b2 Author: Charles Monzat Date: Mon Sep 26 08:45:58 2016 +0000 Updated French translation po/fr.po | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit 4a4ef04020f0774d2198d5d52ab40b9270b6e874 Author: Piotr Drąg Date: Sat Sep 24 18:17:34 2016 +0200 bloatpad: replace single quotes with double quotes in menus.ui Double quotes are more friendly to some l10n tools, and this sets a good example for application authors to follow. examples/bp/gtk/menus.ui | 78 ++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 39 deletions(-) commit ebc852249a06bcb9850f1425a257331b27a07c43 Author: Lapo Calamandrei Date: Sat Sep 24 16:08:39 2016 +0200 Adwaita: always use images for button backgrounds transitions gets messed up when some background-image and background-color are in the mix. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=769500 gtk/theme/Adwaita/_drawing.scss | 19 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 140 ++++++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 140 ++++++++++--------------------- 3 files changed, 92 insertions(+), 207 deletions(-) commit 17ff570023d2a64706b0efb31a3d8637a456f6d5 Author: gogo Date: Sat Sep 24 10:12:21 2016 +0000 Updated Croatian translation po/hr.po | 9585 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 5328 insertions(+), 4257 deletions(-) commit e023fac417a266e2ad5725cfb59e1afea6016d1d Author: gogo Date: Sat Sep 24 10:07:29 2016 +0000 Updated Croatian translation po-properties/hr.po | 10360 +++++++++++++++++++++++++++++--------------------- 1 file changed, 5935 insertions(+), 4425 deletions(-) commit 506426a30e7bd43f5a51752b499ed807a5866bea Author: Philip Withnall Date: Fri Sep 23 21:10:13 2016 -0700 gtktreeviewcolumn: Fix typo in typedef documentation gtk/gtktreeviewcolumn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad32a48765dedcf2c795321e7930dc8aa65add31 Author: Balázs Meskó Date: Fri Sep 23 08:50:09 2016 +0000 Updated Hungarian translation po/hu.po | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit a7484beac49ce9c8a6f9436c72cc18c0ce56db9d Author: Rafael Fontenelle Date: Fri Sep 23 00:13:40 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit 94425acc00c3a40736176e98d7c6e68c9c43e647 Author: Anders Jonsson Date: Thu Sep 22 20:09:46 2016 +0000 Updated Swedish translation po/sv.po | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) commit ad152590f84f26cbac0bf0a55e11e3d91662b47b Author: Yosef Or Boczko Date: Thu Sep 22 23:06:57 2016 +0300 Updated Hebrew translation po/he.po | 402 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 387 insertions(+), 15 deletions(-) commit aa49f861d5a6f0ccecc242f538e0b8257cee2e0f Author: Dušan Kazik Date: Thu Sep 22 20:00:54 2016 +0000 Updated Slovak translation po/sk.po | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) commit caaad3520766b77a5e7b9f47b7e2e4ff8c2dc904 Author: Mario Blättermann Date: Thu Sep 22 18:14:38 2016 +0000 Updated German translation po/de.po | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit 9aceb34429d410cf8c61a6ee12920e9df14288a5 Author: Matthias Clasen Date: Thu Sep 22 11:01:45 2016 -0700 Fix another type in the css docs docs/reference/gtk/css-overview.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c0048b426b49c2fa45711f2e05aa58ccb2276f97 Author: Matthias Clasen Date: Thu Sep 22 10:58:34 2016 -0700 Fix a typo in the css docs docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5cf367b9aa484a72991076dc0b0cffca0ed8b8ef Author: Baurzhan Muftakhidinov Date: Thu Sep 22 16:25:29 2016 +0000 Updated Kazakh translation po/kk.po | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit 7ac07ff09a2ad597b951f0814a7274083d247f1a Author: Piotr Drąg Date: Thu Sep 22 18:17:20 2016 +0200 Updated Polish translation po/pl.po | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit 539e616ad6e4e41285f97d30f9b58655d5b97d20 Author: Changwoo Ryu Date: Thu Sep 22 15:27:05 2016 +0000 Updated Korean translation po/ko.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d7af39efbc4367644233eda7e2c394c570f5cc12 Author: Marek Černocký Date: Thu Sep 22 17:26:05 2016 +0200 Updated Czech translation po/cs.po | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit dca4565980085a051279e9d8dddf1dec72a87a2b Author: Changwoo Ryu Date: Thu Sep 22 15:25:20 2016 +0000 Updated Korean translation po/ko.po | 91 ++++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 51 insertions(+), 40 deletions(-) commit cc814fdeac6e116c271365e679701dd3ce329362 Author: Carlos Soriano Date: Thu Sep 22 16:56:51 2016 +0200 gtkplacesview: mark string as translatable We missed it. https://bugzilla.gnome.org/show_bug.cgi?id=771666 gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3f1596069ae966ffa785e85327a868e041560c4 Author: Rico Tzschichholz Date: Thu Sep 22 13:56:47 2016 +0200 Add some missing (nullable) annotations https://bugzilla.gnome.org/show_bug.cgi?id=771826 gdk/gdkdisplay.c | 6 +++--- gdk/gdkdnd.c | 2 +- gdk/gdkglcontext.c | 8 ++++---- gdk/gdkkeys.c | 4 ++-- gtk/deprecated/gtknumerableicon.c | 8 ++++---- gtk/deprecated/gtkstatusicon.c | 12 ++++++------ gtk/deprecated/gtkstyle.c | 2 +- gtk/deprecated/gtkthemingengine.c | 4 ++-- gtk/gtkactionable.c | 2 +- gtk/gtkcellrenderer.c | 6 +++--- gtk/gtkcsscustomproperty.c | 2 +- gtk/gtkdragdest.c | 2 +- gtk/gtkicontheme.c | 2 +- gtk/gtkrecentmanager.c | 8 ++++---- gtk/gtkstylecontext.c | 4 ++-- gtk/gtkstyleproperty.c | 2 +- gtk/gtkstyleprovider.c | 4 ++-- gtk/gtkwidgetpath.c | 4 ++-- gtk/gtkwindow.c | 2 +- 19 files changed, 42 insertions(+), 42 deletions(-) commit 54fdcb3ffac3383432b379f3e16e8cb0086b8101 Author: Timm Bäder Date: Thu Sep 22 08:58:14 2016 +0200 widget: Don't print missing allocation warning by default This was meant to be silenced unless expicitly requested but G_ENABLE_DEBUG is defined by default unless --disable-debug is passed to configure, so use G_ENABLE_CONSISTENCY_CHECKS instead which is only defined if --enable-debug is explicitly passed. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 06b2adb107688798bfcd7dd98b9b6b07f11bed66 Author: Lapo Calamandrei Date: Wed Sep 21 17:46:19 2016 +0200 encodesymbolic: handle circle objects add circle objects to the injected style for recoloring. Should avoid randomly colored symbolic icon bits when circles are in the mix as in network-vpn-acquiring-symbolic for example. gtk/encodesymbolic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26dcb6aa8ee9686cc4beff1e6f6160bbcc5377ca Author: Khaled Hosny Date: Wed Sep 21 09:05:35 2016 +0200 Update Arabic translation po/ar.po | 428 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 219 insertions(+), 209 deletions(-) commit b74cd23e299418d67114c63ca4bc66dcf5af47e1 Author: Emmanuele Bassi Date: Tue Sep 20 23:32:00 2016 +0100 docs: Add a diagram for GtkListBox nodes GtkListBox's API reference for CSS nodes should follow the template of other widget classes. gtk/gtklistbox.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit f88c8e45e7bc7d4f702f3f4edfb1e34834dd3699 Author: Inaki Larranaga Murgoitio Date: Mon Sep 19 13:22:33 2016 +0200 Update Basque language po-properties/eu.po | 4722 ++++++++++++++++++++++++++------------------------- 1 file changed, 2412 insertions(+), 2310 deletions(-) commit c75e7cc1466356fdb963f91bcdabd23b33caf37b Author: Inaki Larranaga Murgoitio Date: Mon Sep 19 13:21:55 2016 +0200 Update Basque language po/eu.po | 4061 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 2224 insertions(+), 1837 deletions(-) commit b51255b6a7a883e4e5977057707205ab8f225d55 Author: Matthias Clasen Date: Mon Sep 19 10:07:29 2016 -0700 3.22.0 NEWS | 32 ++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 34 insertions(+), 2 deletions(-) commit d9c3fc1aed67b52a9b97cf977a0b3cdfa2553278 Author: Daniel Korostil Date: Tue Sep 20 00:05:57 2016 +0300 Updated Ukrainian translation po/uk.po | 1212 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 594 insertions(+), 618 deletions(-) commit f2a18709d5b93eecf9e5163543e6f22ec5d78283 Author: Ask Hjorth Larsen Date: Mon Sep 19 22:31:14 2016 +0200 Updated Danish translation po/da.po | 4279 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2273 insertions(+), 2006 deletions(-) commit d8776ae7564f3f1821895d7b4e13f32e2786dec5 Author: Jakub Steiner Date: Mon Sep 19 22:21:23 2016 +0200 Adwaita: sync svg assets with css - scale slider strokes were lighter on the SVG variants gtk/theme/Adwaita/assets.svg | 350 +++++---------------- ...ider-horz-scale-has-marks-above-active-dark.png | Bin 890 -> 890 bytes ...er-horz-scale-has-marks-above-active-dark@2.png | Bin 1831 -> 1816 bytes .../slider-horz-scale-has-marks-above-active.png | Bin 985 -> 985 bytes .../slider-horz-scale-has-marks-above-active@2.png | Bin 2071 -> 2129 bytes ...er-horz-scale-has-marks-above-backdrop-dark.png | Bin 775 -> 775 bytes ...-horz-scale-has-marks-above-backdrop-dark@2.png | Bin 1464 -> 1449 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 739 -> 739 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 1433 -> 1412 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 810 -> 810 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 1542 -> 1599 bytes .../slider-horz-scale-has-marks-above-backdrop.png | Bin 813 -> 813 bytes ...lider-horz-scale-has-marks-above-backdrop@2.png | Bin 1538 -> 1601 bytes .../slider-horz-scale-has-marks-above-dark.png | Bin 853 -> 845 bytes .../slider-horz-scale-has-marks-above-dark@2.png | Bin 1790 -> 1790 bytes ...lider-horz-scale-has-marks-above-hover-dark.png | Bin 883 -> 849 bytes ...der-horz-scale-has-marks-above-hover-dark@2.png | Bin 1777 -> 1811 bytes .../slider-horz-scale-has-marks-above-hover.png | Bin 958 -> 1010 bytes .../slider-horz-scale-has-marks-above-hover@2.png | Bin 1998 -> 2177 bytes ...horz-scale-has-marks-above-insensitive-dark.png | Bin 739 -> 739 bytes ...rz-scale-has-marks-above-insensitive-dark@2.png | Bin 1433 -> 1412 bytes ...ider-horz-scale-has-marks-above-insensitive.png | Bin 810 -> 810 bytes ...er-horz-scale-has-marks-above-insensitive@2.png | Bin 1542 -> 1598 bytes .../assets/slider-horz-scale-has-marks-above.png | Bin 970 -> 983 bytes .../assets/slider-horz-scale-has-marks-above@2.png | Bin 2070 -> 2119 bytes ...ider-horz-scale-has-marks-below-active-dark.png | Bin 894 -> 894 bytes ...er-horz-scale-has-marks-below-active-dark@2.png | Bin 1853 -> 1962 bytes .../slider-horz-scale-has-marks-below-active.png | Bin 965 -> 965 bytes .../slider-horz-scale-has-marks-below-active@2.png | Bin 2094 -> 2152 bytes ...er-horz-scale-has-marks-below-backdrop-dark.png | Bin 772 -> 772 bytes ...-horz-scale-has-marks-below-backdrop-dark@2.png | Bin 1462 -> 1508 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 738 -> 738 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 1408 -> 1483 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 772 -> 772 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 1556 -> 1590 bytes .../slider-horz-scale-has-marks-below-backdrop.png | Bin 786 -> 786 bytes ...lider-horz-scale-has-marks-below-backdrop@2.png | Bin 1547 -> 1593 bytes .../slider-horz-scale-has-marks-below-dark.png | Bin 860 -> 856 bytes .../slider-horz-scale-has-marks-below-dark@2.png | Bin 1794 -> 1868 bytes ...lider-horz-scale-has-marks-below-hover-dark.png | Bin 876 -> 866 bytes ...der-horz-scale-has-marks-below-hover-dark@2.png | Bin 1801 -> 1894 bytes .../slider-horz-scale-has-marks-below-hover.png | Bin 962 -> 1008 bytes .../slider-horz-scale-has-marks-below-hover@2.png | Bin 2021 -> 2270 bytes ...horz-scale-has-marks-below-insensitive-dark.png | Bin 738 -> 738 bytes ...rz-scale-has-marks-below-insensitive-dark@2.png | Bin 1408 -> 1483 bytes ...ider-horz-scale-has-marks-below-insensitive.png | Bin 772 -> 772 bytes ...er-horz-scale-has-marks-below-insensitive@2.png | Bin 1556 -> 1591 bytes .../assets/slider-horz-scale-has-marks-below.png | Bin 983 -> 1008 bytes .../assets/slider-horz-scale-has-marks-below@2.png | Bin 2073 -> 2184 bytes 49 files changed, 81 insertions(+), 269 deletions(-) commit 4cb1b9645e84054c059f174240e8e288c4befe05 Author: Olivier Fourdan Date: Mon Sep 19 16:11:54 2016 +0200 gtkwindow: Update shadow size on state change Otherwise, with CSD, we could have a discrepancy where gtk uses the right values for the shadows whereas the gdk backend still uses the old values, leading in some cases to invalid or negative min size being computed (which, in Wayland, leads a protocol error). https://bugzilla.gnome.org/show_bug.cgi?id=771561 gtk/gtkwindow.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit b6ac1b4bbf46221ee33fcca8f49c2c67c6cb6ed8 Author: Jeremy Tan Date: Sat Sep 17 20:46:30 2016 +0800 GDK W32: Ignore autorepeated key presses on modifier keys The X11 backend does not send autorepeated messages for modifier keys, and doing so prevents motion compression from working. https://bugzilla.gnome.org/show_bug.cgi?id=771568 gdk/win32/gdkevents-win32.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit a5c8fedf47759d5dbdd92e9b57e830040153f710 Author: Jeremy Tan Date: Sat Sep 17 17:19:59 2016 +0800 GDK W32: Always process all available messages The GLib main loop blocks on MsgWaitForMultipleObjectsEx to determine if there are any incoming messages while also allowing for background tasks to run. If all available messages are not processed after MsgWaitForMultipleObjectsEx has signaled that there are available, CPU usage will skyrocket. From my limited understanding (by inspection of profiling under Visual Studio): Key is pressed - MsgWaitForMultipleObjectsEx unblocks, and sends message to GDK's event handler. Some event is now queued. g_poll unblocks, calls the g_event_dispatch which finally resolves to gdk_event_dispatch. This then calls _gdk_win32_display_queue_events, but since a message is already queued, it fails to call PeekMessage and returns immediately. At the next iteration, g_poll again calls MsgWaitForMultipleObjectsEx which queues yet another event and returns almost immediately, since there are events available which haven't been processed by PeekMessage. The dispatch function is then called and the process repeats. https://bugzilla.gnome.org/show_bug.cgi?id=771568 gdk/win32/gdkevents-win32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 6d722f2aaff3a5a41fc577829749f26112cd9b00 Author: David King Date: Sun Sep 18 14:12:06 2016 +0200 Update British English translation po-properties/en_GB.po | 5118 +++++++++++++++++++++++++++--------------------- po/en_GB.po | 326 +-- 2 files changed, 2928 insertions(+), 2516 deletions(-) commit efcc2b6b540a14b471be4b7d9fafb33cc34154b8 Author: Baurzhan Muftakhidinov Date: Sun Sep 18 08:47:39 2016 +0000 Updated Kazakh translation po/kk.po | 65 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 30 deletions(-) commit 0274b2c94e3d935632468a09977f7129d83b12f8 Author: Руслан Ижбулатов Date: Sat Sep 17 15:13:45 2016 +0000 GDK W32: Set is_modifier field in GdkKeyEvent This hardcodes Control, Alt and Shift as modifier keys. https://bugzilla.gnome.org/show_bug.cgi?id=602773 gdk/win32/gdkevents-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 08e443e0db6f74ade5836f8028073aeac14aab38 Author: Emmanuele Bassi Date: Sat Sep 17 12:47:39 2016 +0100 docs: Update gtk_window_get_size() The main corpus of the documentation for gtk_window_get_size() is still full of X11-isms, so we should port it to something that is more backend-agnostic. Additionally, having some examples would be nice for application authors looking at a way to appropriately use this function. gtk/gtkwindow.c | 133 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 76 insertions(+), 57 deletions(-) commit b40469638b5c7a21c36ce809067286b6897c41f3 Author: Tom Tryfonidis Date: Fri Sep 16 13:43:18 2016 +0000 Updated Greek translation po/el.po | 1062 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 578 insertions(+), 484 deletions(-) commit 28b1d5cc22e911908eb7328590b834908a77d6ee Author: Fran Dieguez Date: Fri Sep 16 10:34:20 2016 +0200 Updated Galician translations po/gl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fa97b19246482339c051a79a7af6657f04679f68 Author: Anders Jonsson Date: Thu Sep 15 21:54:18 2016 +0000 Updated Swedish translation po-properties/sv.po | 2192 +++++++++++++++++++++++++++------------------------ 1 file changed, 1158 insertions(+), 1034 deletions(-) commit e7a6d28e4f0b21e43da7ca8d006f438f312baadb Author: Claude Paroz Date: Thu Sep 15 12:37:43 2016 +0000 Updated French translation po-properties/fr.po | 96 +++++++++++++++++------------------------------------ 1 file changed, 30 insertions(+), 66 deletions(-) commit bb705837bc878b6028069fd7537e89975d50d2ee Author: Emmanuele Bassi Date: Thu Sep 15 10:05:05 2016 +0100 Ensure drawing context is set If somebody decides to use gtk_widget_set_double_buffered() in the middle of a draw() then there's the risk of calling end_draw_frame() with an invalid pointer. Some overeager compilers may warn about the double_buffered bit field changing values and leading to a potentially uninitialized variable. In order to avoid compiler warnings or crashes, we can simply store the value of the double_buffered bit field at the beginning of the rendering and use that instead of the actual bit field. https://bugzilla.gnome.org/show_bug.cgi?id=771463 gtk/gtkwidget.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 638c3e2e6bccea5c52c46ff57ed55b32f068accf Author: Dušan Kazik Date: Thu Sep 15 09:15:48 2016 +0000 Updated Slovak translation po/sk.po | 135 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 70 insertions(+), 65 deletions(-) commit 5ea69a136bd7e4970b3a800390e20314665aaed2 Author: Timm Bäder Date: Wed Sep 14 18:06:54 2016 -0400 widget: Only warn about missing allocation if G_ENABLE_DEBUG Not all occurrences of this warning can be fixed today, so put it behind a G_ENABLE_DEBUG flag since it still shows legitimate problems even if some of them are false positives. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 108a4f88bfb076882629125d21651db4be408f91 Author: Daniel Mustieles Date: Wed Sep 14 20:43:32 2016 +0200 Updated Spanish translation po-properties/es.po | 233 +++++++++++++++++++++++++++------------------------- 1 file changed, 120 insertions(+), 113 deletions(-) commit 66db47217d998d2e14c77d998b0991dae609b5a2 Author: Daniel Mustieles Date: Wed Sep 14 20:43:22 2016 +0200 Updated Spanish translation po/es.po | 293 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 151 insertions(+), 142 deletions(-) commit 21bdf617cea13d0625e88d9cb0d03bd0df169e2d Author: Matthias Clasen Date: Tue Sep 13 10:45:06 2016 -0400 Implement gdk_screen_get_monitor_scale_factor generically This was forgotten when the other screen monitor apis were ported to GdkMonitor. https://bugzilla.gnome.org/show_bug.cgi?id=771349 gdk/gdkscreen.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 323a59577b861250f010cfc1d1dd675b7edabc07 Author: Rafael Fontenelle Date: Wed Sep 14 05:13:58 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 85 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 45 insertions(+), 40 deletions(-) commit c529d0a96e688099c01f0c3fc1b9361f7875f9c8 Author: Jonas Ådahl Date: Mon Sep 12 18:46:44 2016 +0800 wayland: Move and resize popup after it was configured A popup may have moved and resized when configured. Make sure every layer knows about this and call gdk_window_move_resize() with the configured dimension and position. This won't actually move the window, but might resize it. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit d792400d7c258b349c1dbaed0a12eee796a4b958 Author: Jonas Ådahl Date: Mon Sep 12 18:41:36 2016 +0800 wayland: Transform moved_to_rect result properly The result of move_to_rect, received from the xdg_popup.configure event, needs to be translated to the correct coordinate space; that is from real parent window geometry to coordinates relative to the gdk window set as transient-for. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) commit 74d237df410f850e31d5d20e0380ca3ad1caf766 Author: Jonas Ådahl Date: Mon Sep 12 18:39:06 2016 +0800 wayland: Use helper to translate to real parent window geometry Use a helper to translate a coordinate from non-real GdkWindow parent to window geometry coordinate space of the real GdkWindow parent, meaning the coordinate space of the GdkWindow of the parent used as a xdg_popup parent where (0, 0) is inside of the shadow margin. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) commit bc6630bb7dd71cfc3a5ed1f93e2ef56c987acb30 Author: Jonas Ådahl Date: Mon Sep 12 18:24:50 2016 +0800 wayland: Don't pass parent when creating dynamic positioner When using the dynamic positioner (i.e. positioning from move_to_rect) we can always rely on having a proper transient-for to position relative to, so lets drop the ignored parameter. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9a2ce3a485d31a28824fa94258ffa55de69a4a1c Author: Jonas Ådahl Date: Mon Sep 12 18:24:14 2016 +0800 wayland: Don't pass transient-for when getting real parent It's always derived from transient-for so no need to pass it. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 50e33308db37bd4565efdda7c6d42c1a274b56e1 Author: Jonas Ådahl Date: Mon Sep 12 15:01:24 2016 +0800 wayland: Fix south-west anchor rect calculation https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4d2c0a843a1278c159e0a880c5c180c180a4b2fc Author: Jonas Ådahl Date: Mon Sep 12 15:00:21 2016 +0800 wayland: Don't pass non-changing state when calculating popup rects https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit e656a14764f409aaf1e7cc127188b8bdc67bbd7d Author: Jonas Ådahl Date: Mon Sep 12 14:53:51 2016 +0800 wayland: Move move_to_rect related code closer together Move the code used for calculating the result of move_to_rect (final_rect, flipped_rect etc) closer to the other move_to_rect functions (i.e. next to create_dynamic_positioner), and let the xdg_popup configure handler just call the calculation function. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 283 ++++++++++++++++++++++------------------ 1 file changed, 157 insertions(+), 126 deletions(-) commit 0b07884587efd37fbb781cd3dec4bfaa01c8b051 Author: Jordi Mas Date: Tue Sep 13 19:52:46 2016 +0200 Update Catalan translation po-properties/ca.po | 238 +-- po/ca.po | 4021 ++++++++++++++++++++++++++++----------------------- 2 files changed, 2310 insertions(+), 1949 deletions(-) commit 14c7f4b3fbcd30ee7fa690dc3f5cfd0daf23d599 Author: Arash Mousavi Date: Tue Sep 13 18:08:46 2016 +0430 [l10n] update Persian translations po/fa.po | 64 +++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 35 insertions(+), 29 deletions(-) commit 68a87196c45a451d6e5bbe134d6884f07f97b798 Author: Charles Monzat Date: Tue Sep 13 10:18:34 2016 +0000 Updated French translation po/fr.po | 108 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 57 insertions(+), 51 deletions(-) commit a36170581784353275b022d8312c13169b3dc0e6 Author: Matthias Clasen Date: Tue Sep 13 00:25:15 2016 -0400 3.21.6 NEWS | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) commit 8ea88d9f4e7f774dff5c690a21f93984ed114465 Author: Fran Dieguez Date: Tue Sep 13 11:09:41 2016 +0200 Updated Galician translations po/gl.po | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) commit 63a22894c25fa77cc758102fcbef3c4a74cb7707 Author: Marek Černocký Date: Tue Sep 13 10:59:29 2016 +0200 Updated Czech translation po/cs.po | 134 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 70 insertions(+), 64 deletions(-) commit 063b38167f815ab58065da4de1db87dd7d5c11f6 Author: Erwan Georget Date: Mon Sep 12 21:30:41 2016 +0000 Updated French translation po-properties/fr.po | 2460 +++++++++++++++++++++++++++------------------------ 1 file changed, 1326 insertions(+), 1134 deletions(-) commit 7e148697ad2c92e3ac23a370f78aae5bdf1cf298 Author: Aurimas Černius Date: Mon Sep 12 20:49:17 2016 +0300 Updated Lithuanian translation po/lt.po | 247 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 121 insertions(+), 126 deletions(-) commit c7f2d19b5e1b47ba66ed0297c3895eb2d39a83d1 Author: Piotr Drąg Date: Mon Sep 12 19:46:09 2016 +0200 Add more options to XGETTEXT_OPTIONS in Makevars po-properties/Makevars | 2 +- po/Makevars | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a5fcde9b5f7f2e4eb3d59bb62d9736f9f907fb85 Author: Jiri Grönroos Date: Mon Sep 12 17:27:09 2016 +0000 Updated Finnish translation po/fi.po | 125 +++++++++++++++++---------------------------------------------- 1 file changed, 34 insertions(+), 91 deletions(-) commit 8af6bade640ae967498b868326d2239ac5eb61df Author: Balázs Meskó Date: Mon Sep 12 09:06:21 2016 +0000 Updated Hungarian translation po/hu.po | 107 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 51 insertions(+), 56 deletions(-) commit eb17ee1c26bb5faf08d50264dbe5fcfc79e0666c Author: Olivier Fourdan Date: Mon Sep 5 17:53:38 2016 +0200 wayland: unmap popup along with its toplevel If an application umaps the toplevel from its popup callback, this can lead to a protocol error. Make sure we mark popup parent and use that to check if their parent is the toplevel being unmapped in which case we shall unmap the popup first to avoid the protocol error. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=770906 gdk/wayland/gdkwindow-wayland.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 50595cc63f35f4a7c7ae0be3763dd6c2a7706b2d Author: Ask Hjorth Larsen Date: Mon Sep 12 03:16:16 2016 +0200 Updated Danish translation po/da.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dbc7ff70d9b2781893371f09de00901e174eb68a Author: Ask Hjorth Larsen Date: Mon Sep 12 03:13:53 2016 +0200 Updated Danish translation po-properties/da.po | 2205 +++++++++++++++++++++++++++------------------------ 1 file changed, 1158 insertions(+), 1047 deletions(-) commit 764457fcce04652741d934774249fa10509600bb Author: Ask Hjorth Larsen Date: Mon Sep 12 03:11:36 2016 +0200 Updated Danish translation po/da.po | 4190 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2009 insertions(+), 2181 deletions(-) commit edca0b1ad273362500e62fa2e98f16a68953353f Author: Anders Jonsson Date: Sun Sep 11 19:44:01 2016 +0000 Updated Swedish translation po/sv.po | 85 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 40 deletions(-) commit b6b3d1ba4fbc5b09c4658ae4e3a33b768ba1b2b7 Author: Stas Solovey Date: Sun Sep 11 18:20:55 2016 +0000 Updated Russian translation po/ru.po | 1070 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 584 insertions(+), 486 deletions(-) commit 8217d941b68c1175ad6982a79800497123b8f878 Author: Mario Blättermann Date: Sun Sep 11 17:00:23 2016 +0000 Updated German translation po/de.po | 87 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 46 insertions(+), 41 deletions(-) commit 1e32d8687161400bac4d9a1d61947b83ccc1b26d Author: Piotr Drąg Date: Sun Sep 11 18:55:25 2016 +0200 Updated Polish translation po/pl.po | 52 +++++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 23 deletions(-) commit 29faa2db44b04b9cf7f4d96e32691f424490c730 Author: Matthias Clasen Date: Sun Sep 11 11:47:55 2016 -0400 Redo focus handling in treeview once more The fix for bug 767468 had some unintended side-effects. This is an attempt at doing the same fix (don't grab focus when we are grab-shadowed), while avoiding the breakage, by using GTK+'s internal tracking for grab-shadowed-ness. https://bugzilla.gnome.org/show_bug.cgi?id=770508 gtk/gtktreeview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d7b446ec06afa93bdbb686d4f322aa568146c763 Author: Matthias Clasen Date: Sun Sep 11 11:21:19 2016 -0400 Add a --version option to gtk3-widget-factory This was missing, for no good reason. demos/widget-factory/widget-factory.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit ac95470c0196feec1f2353425460d676a669a896 Author: Matthias Clasen Date: Sun Sep 11 11:04:40 2016 -0400 Add a --version option to gtk3-demo This was missing, for no good reason. demos/gtk-demo/main.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit 3f102c27aaeb6c8c1a51e1aa26108ab2be93ac46 Author: Matthias Clasen Date: Sun Sep 11 10:51:19 2016 -0400 gtk-launch: Add help string for --version This was missing for no good reason. gtk/gtk-launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bce313881cae06ced9abac7d479a2cc22b1e1691 Author: Yosef Or Boczko Date: Sat Sep 10 23:43:57 2016 +0300 Updated Hebrew translation po/he.po | 131 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 65 insertions(+), 66 deletions(-) commit d2718ab12d46e13ced4ee147c905a528a49f203b Author: Dušan Kazik Date: Sat Sep 10 14:33:24 2016 +0000 Updated Slovak translation po-properties/sk.po | 4883 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 2898 insertions(+), 1985 deletions(-) commit 22ae9d0884fffb61ee826ec450e8d62ad1cdb957 Author: Mohammed Sadiq Date: Tue Sep 6 23:26:22 2016 +0530 examples: use G_DECLARE_FINAL_TYPE in applications G_DECLARE_FINAL_TYPE was introduced in glib 2.44. We shall use that now so that lots of boilerplate code can be reduced. https://bugzilla.gnome.org/show_bug.cgi?id=770278 examples/application1/exampleapp.c | 5 ----- examples/application1/exampleapp.h | 8 +------- examples/application1/exampleappwin.c | 5 ----- examples/application1/exampleappwin.h | 7 +------ examples/application10/exampleapp.c | 5 ----- examples/application10/exampleapp.h | 7 +------ examples/application10/exampleappprefs.c | 5 ----- examples/application10/exampleappprefs.h | 7 +------ examples/application10/exampleappwin.c | 5 ----- examples/application10/exampleappwin.h | 8 +------- examples/application2/exampleapp.c | 5 ----- examples/application2/exampleapp.h | 7 +------ examples/application2/exampleappwin.c | 5 ----- examples/application2/exampleappwin.h | 7 +------ examples/application3/exampleapp.c | 5 ----- examples/application3/exampleapp.h | 7 +------ examples/application3/exampleappwin.c | 5 ----- examples/application3/exampleappwin.h | 7 +------ examples/application4/exampleapp.c | 5 ----- examples/application4/exampleapp.h | 7 +------ examples/application4/exampleappwin.c | 5 ----- examples/application4/exampleappwin.h | 7 +------ examples/application5/exampleapp.c | 5 ----- examples/application5/exampleapp.h | 7 +------ examples/application5/exampleappwin.c | 5 ----- examples/application5/exampleappwin.h | 7 +------ examples/application6/exampleapp.c | 7 +------ examples/application6/exampleapp.h | 7 +------ examples/application6/exampleappprefs.c | 5 ----- examples/application6/exampleappprefs.h | 7 +------ examples/application6/exampleappwin.c | 7 +------ examples/application6/exampleappwin.h | 7 +------ examples/application7/exampleapp.c | 5 ----- examples/application7/exampleapp.h | 7 +------ examples/application7/exampleappprefs.c | 5 ----- examples/application7/exampleappprefs.h | 7 +------ examples/application7/exampleappwin.c | 5 ----- examples/application7/exampleappwin.h | 7 +------ examples/application8/exampleapp.c | 5 ----- examples/application8/exampleapp.h | 7 +------ examples/application8/exampleappprefs.c | 5 ----- examples/application8/exampleappprefs.h | 7 +------ examples/application8/exampleappwin.c | 5 ----- examples/application8/exampleappwin.h | 7 +------ examples/application9/exampleapp.c | 5 ----- examples/application9/exampleapp.h | 7 +------ examples/application9/exampleappprefs.c | 5 ----- examples/application9/exampleappprefs.h | 7 +------ examples/application9/exampleappwin.c | 5 ----- examples/application9/exampleappwin.h | 7 +------ 50 files changed, 27 insertions(+), 279 deletions(-) commit d817d525e6bbc4a5abeb304f037d30a29c6c76b4 Author: Fran Dieguez Date: Sat Sep 10 01:10:49 2016 +0200 Updated Galician translations po/gl.po | 4030 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2175 insertions(+), 1855 deletions(-) commit d4bf2156119c7be55d1a7cc6cada9f800a33b024 Author: Christian Kellner Date: Mon Sep 5 13:41:16 2016 +0200 placesview: keep reference during network fetching Analogous to (un)mount operation, we now keep a reference around during the ongoing operation and make use of the destroyed flag to check if we are still alive or if we have been cancelled as a result of the widget being destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=764979 gtk/gtkplacesview.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 7cdc04c8d200fe78e4fe8d1ae37747573526c309 Author: Christian Kellner Date: Mon Sep 5 13:19:29 2016 +0200 placesview: override destory to cancel ongoing ops Since we hold on to a reference during (un)mount operations, we don't trigger the cancellation of operations in finalize anymore. Instead we now override the GtkWidget's destroy() and cancel any ongoing operations there. https://bugzilla.gnome.org/show_bug.cgi?id=764979 gtk/gtkplacesview.c | 64 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 50 insertions(+), 14 deletions(-) commit 0e5b0b75c591e91e5bd4af401660b5dd0bb1d020 Author: Christian Kellner Date: Sun Sep 4 15:28:11 2016 +0200 placesview: properly recover from cancellation The current code wrongly assumes that cancellation can only happen as a result widget finalization, and consequentially does not properly recover from it. Therefore if the operation is cancelled as a result of user interaction, the entry is will stay disabled and the spinner will keep spinning. This is fixed by removal of the early bail out in case of cancellation. https://bugzilla.gnome.org/show_bug.cgi?id=764979 gtk/gtkplacesview.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit 3ed25941ac80a4630b5c25a420307f9562a59ece Author: Christian Kellner Date: Sun Sep 4 11:47:55 2016 +0200 placesview: hold onto ref during (un)mount ops During mount and unmount opertions we keep a reference to the GtkPlacesView around, so we have a valid view for the callback code, even in the case that othe external references have been dropped (i.e. the containing window gets destroyed). https://bugzilla.gnome.org/show_bug.cgi?id=764979 gtk/gtkplacesview.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f2ba6ca47322a17b37fb92662fc9552b4f106f10 Author: Takao Fujiwara Date: Sat Sep 10 01:54:13 2016 +0900 gdkscreen-x11: Enable RandR on VirtualBox RandR 1.5 is enabled on VirtualBox guest of Fedora 25 but XRROutputInfo->name is "default". If init_randr15() does not return TRUE, the monitor size sets 0 because gdk_screen_get_width() returns 0. This problem causes GtkStatusIcon not to show the activate menu. https://bugzilla.gnome.org/show_bug.cgi?id=771033 gdk/x11/gdkscreen-x11.c | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) commit 221caf19f7d6dff3350060a4f0b3c7f48611faf2 Author: Tiago Santos Date: Fri Sep 9 16:59:19 2016 +0000 Updated Portuguese translation po-properties/pt.po | 538 +++++++++++++++++++++++++++------------------------- 1 file changed, 283 insertions(+), 255 deletions(-) commit 952c990e25131589b91130ce1b3e15fff01471a1 Author: Arash Mousavi Date: Fri Sep 9 18:26:04 2016 +0430 [l10n] update Persian translations po/fa.po | 1001 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 542 insertions(+), 459 deletions(-) commit 4cd8e6c5ef52ac638014ce2d3c02f84f53e16196 Author: Fran Dieguez Date: Thu Sep 8 23:03:03 2016 +0200 Update Galician translations Signed-off-by: Fran Dieguez po-properties/gl.po | 4713 ++++++++++++++++++++++++++------------------------- po/gl.po | 3992 ++++++++++++++++++++----------------------- 2 files changed, 4311 insertions(+), 4394 deletions(-) commit f73e808c50d4478f915e96224ef1ad637125bcc5 Author: Rūdolfs Mazurs Date: Thu Sep 8 21:18:24 2016 +0300 Update Latvian translation po-properties/lv.po | 2203 +++++++++++++++++++++++++++------------------------ po/lv.po | 1073 ++++++++++++++----------- 2 files changed, 1756 insertions(+), 1520 deletions(-) commit 21a23fcc97f0708fef659e95e76ee2e81be53975 Author: Bruce Cowan Date: Thu Sep 8 11:10:05 2016 +0000 Updated British English translation po/en_GB.po | 5438 +++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 3446 insertions(+), 1992 deletions(-) commit fbca09ecb441a91b94be486d7a57345c306f49bd Author: Timm Bäder Date: Thu Sep 8 11:18:16 2016 +0200 gdkdisplay: Unref seats in finalize gdk/gdkdisplay.c | 1 + 1 file changed, 1 insertion(+) commit 476c1c44a5c52b21312515327ec0b671b34bb79b Author: Timm Bäder Date: Thu Sep 8 10:45:25 2016 +0200 gdkdisplay-wayland: Fix some memory leaks gdk/wayland/gdkdisplay-wayland.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 16cd3c136374aa3ff964f741ccecb74dfbddeb07 Author: Anders Jonsson Date: Thu Sep 8 07:57:11 2016 +0000 Updated Swedish translation po/sv.po | 522 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 262 insertions(+), 260 deletions(-) commit ba261799597c54bab95352d8d06b12a481dd4315 Author: Rafael Fontenelle Date: Tue Sep 6 12:46:30 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 977 ++++++++++++++++++++++++++----------------------- 1 file changed, 515 insertions(+), 462 deletions(-) commit c39ad8497022832cef88d76d448d7377ca76f698 Author: Tristan Van Berkom Date: Tue Sep 6 21:29:03 2016 +0900 Revert "about dialog: Set a max-content-height on credits" This reverts commit 6af5033386b60bdf71cc21d99d579c2a8c389880. Scrolled window behavior of propagating child natural sizes has now been made optional, so there is no need to work around this by setting a hard coded maximum content height anymore. gtk/ui/gtkaboutdialog.ui | 1 - 1 file changed, 1 deletion(-) commit fd065f63b0c5eebf215403189fe89f5820c71d1d Author: Tristan Van Berkom Date: Tue Sep 6 21:09:26 2016 +0900 Revert "Add a release note for scrolled windows" This reverts commit 76af90767634f5caea622c2abc13d21adb41550c. The behavioral change described in the migration guide has now been made optional with new scrolled window API, so no need to mention this in the migration guide. docs/reference/gtk/migrating-3xtoy.xml | 9 --------- 1 file changed, 9 deletions(-) commit 6be8979c645387a205f9fbbd91aa669c651ca791 Author: Tristan Van Berkom Date: Tue Sep 6 20:23:20 2016 +0900 Revert "widget factory: Adapt to new scrolled window behavior" This reverts commit 37e913d76bea6b58a38db1b7996958b81984a114. This is no longer needed since the natural size propagation of scrolled window children is now an optional behavior. Reverting this also makes the widget factory scrolled window sizes behave the same as with the gtk+ 3.20 branch. demos/widget-factory/widget-factory.ui | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit e51fd7cb18cd1c74d41f11337257b2faa7b250d2 Author: Matthias Clasen Date: Tue Sep 6 06:37:47 2016 -0400 css: Complete the cross-fade implementation We need to actually compute the images. Otherwise, bad things happen when we try to draw. https://bugzilla.gnome.org/show_bug.cgi?id=767391 gtk/gtkcssimagecrossfade.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit c2ab49e963f9823d8aeedbc925865df7c08611c5 Author: Matthias Clasen Date: Tue Sep 6 06:21:06 2016 -0400 Fix whitespace gtk/gtkcssimagefallback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c30ee622fef079201fc340245d545780d939bc14 Author: Matthias Clasen Date: Tue Sep 6 06:16:40 2016 -0400 css: Set meaningful fallback color This code was passing out-of-range values into gdk_cairo_set_source_rgb, which cannot really make anything better. gtk/gtkcssimagefallback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bd374b8070deb3352041f27ba880819a1b760b2f Author: Yosef Or Boczko Date: Tue Sep 6 11:47:45 2016 +0300 Updated Hebrew translation po-properties/he.po | 4647 ++++++++++++++++++++++++++------------------------- 1 file changed, 2354 insertions(+), 2293 deletions(-) commit a43a6d7fffd774afe201dd7c2b8bd5d35ca250b8 Author: Piotr Drąg Date: Tue Sep 6 01:40:13 2016 +0200 Updated Polish translation po-properties/pl.po | 160 ++++++++++++++++++++++++++-------------------------- po/pl.po | 104 +++++++++++++++++----------------- 2 files changed, 132 insertions(+), 132 deletions(-) commit d1f82577a9b4f9f315a6ac0f49cac0f6c12e0ee4 Author: GNOME Translation Robot Date: Mon Sep 5 14:24:37 2016 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 932 ++++++++++++++++++++++++++++------------------------ 1 file changed, 510 insertions(+), 422 deletions(-) commit 8ca055cf131c26e08bb516904c9d30517dd50702 Author: GNOME Translation Robot Date: Mon Sep 5 14:17:15 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 427 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 209 insertions(+), 218 deletions(-) commit eaa6ca4a4920ee2146a91a20dbacc321ea55908b Author: Tristan Van Berkom Date: Mon Sep 5 16:08:27 2016 +0900 GtkScrolledWindow: Bug 766569 - fix return types in added APIs In gtkscrolledwindow.c, the return type of _get_propagate_natural_width() and _get_propagate_natural_height() were accidentally gint instead of gboolean, fixed to match the type correctly declared in the header file. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 26f575014d76c36d0fcf807c1fdb4638da64625a Author: Matthias Clasen Date: Sun Sep 4 21:45:31 2016 -0400 gtk3-demo: Avoid underallocating columns Setting a fixed width on the columns causes the headers to be be underallocated. It is not necessary either. demos/gtk-demo/tree_store.c | 5 ----- 1 file changed, 5 deletions(-) commit 953b82a584a4f9c10d2afcb1997672aa16f92ac6 Author: Matthias Clasen Date: Sun Sep 4 15:38:43 2016 -0400 label: take padding into account when measuring When doing height-for-width measurements, we need to take padding into account. This was causing various allocation errors. https://bugzilla.gnome.org/show_bug.cgi?id=770849 gtk/gtklabel.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit 61e8c69460bdb031ed2e7e9a16860489b4ef784d Author: Matthias Clasen Date: Sun Sep 4 15:38:00 2016 -0400 label: Fix indentation Trivial, but annoying. gtk/gtklabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f5ce6c88eedfa3f19e709f3d44948bb3e961db76 Author: Marek Černocký Date: Sun Sep 4 21:22:08 2016 +0200 Updated Czech translation po-properties/cs.po | 191 +++++++++++++++++++++++++++------------------------- 1 file changed, 100 insertions(+), 91 deletions(-) commit 5b21c7d79f91613aa3e529026c288dd75fc94266 Author: Matthias Clasen Date: Sun Sep 4 09:43:51 2016 -0400 range: Ensure we don't underallocate the highlight gadget This was causing warnings in HighContrast. https://bugzilla.gnome.org/show_bug.cgi?id=770614 gtk/gtkrange.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit 9ddd40f61e9b4bcb861ec8c66a877da0f65dc5f2 Author: Matthias Clasen Date: Sun Sep 4 08:21:49 2016 -0400 Fix a variable name misspelling No semantic change here; the misspelling just annoyed me. gtk/theme/HighContrast/_common.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 2eeda22606ba21eb5d298ca9ba993dccdee3d11c Author: Aurimas Černius Date: Sun Sep 4 12:21:43 2016 +0300 Updated Lithuanian translation po-properties/lt.po | 537 +++++++++++++++++++++++++++------------------------- 1 file changed, 277 insertions(+), 260 deletions(-) commit 770e44c83ef42a391d8cfef5fa7c7d931ee17f72 Author: Baurzhan Muftakhidinov Date: Sat Sep 3 17:56:09 2016 +0000 Updated Kazakh translation po-properties/kk.po | 2180 +++++++++++++++++++++++++++------------------------ 1 file changed, 1149 insertions(+), 1031 deletions(-) commit 59937e865427d75f6a3299193170a2c9c67d7650 Author: Baurzhan Muftakhidinov Date: Sat Sep 3 17:55:38 2016 +0000 Updated Kazakh translation po/kk.po | 831 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 459 insertions(+), 372 deletions(-) commit d6adda99c7e69a3f6a7e83d1225af35ab522c584 Author: Changwoo Ryu Date: Sat Sep 3 14:35:58 2016 +0000 Updated Korean translation po/ko.po | 1091 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 580 insertions(+), 511 deletions(-) commit e9acfc97f12a0b074020e8ebd8f629557c2f503d Author: Changwoo Ryu Date: Sat Sep 3 14:35:32 2016 +0000 Updated Korean translation po-properties/ko.po | 2181 +++++++++++++++++++++++++++------------------------ 1 file changed, 1144 insertions(+), 1037 deletions(-) commit f9658a2faf6929889be7d7042b3d8ee46456fb85 Author: Joaquim Rocha Date: Thu Sep 1 13:25:23 2016 +0200 listbox: Select the last row on page down when there are few rows When pressing page down doesn't retrieve a valid row (because the list box has few rows), the last visible one should be selected instead. https://bugzilla.gnome.org/show_bug.cgi?id=770703 gtk/gtklistbox.c | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) commit adabec7d2565ccd55940b3589e00407bcbf439a9 Author: Joaquim Rocha Date: Thu Sep 1 13:23:14 2016 +0200 listbox: Avoid crashing on page down if the list has few rows The code always assumed that getting a row at a certain 'y' was possible but if the list box has more empty space than rows then a valid row may not be retrieved. https://bugzilla.gnome.org/show_bug.cgi?id=770703 gtk/gtklistbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 857997be8cbac07d86683c48fb410e4b2e3f1233 Author: Timm Bäder Date: Sat Sep 3 09:58:27 2016 +0200 popover: Skip first frame when transitioning Similar to what we do in GtkStack. gtk/gtkpopover.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit a145211acc164169f284749ef74ed3c2e83779fb Author: Jiri Grönroos Date: Sat Sep 3 09:16:40 2016 +0000 Updated Finnish translation po/fi.po | 1143 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 600 insertions(+), 543 deletions(-) commit 63c18bba51806884684d15ea8305255f9f45d10a Author: Jakub Steiner Date: Tue Aug 23 13:11:48 2016 +0200 Adwaita,HC: fix icon name - while we don't use steppers anymore, for some reason they are still defined in the theme and if you sacrifice a chicken and jump on one leg at full moon, you can enable them. https://bugzilla.gnome.org/show_bug.cgi?id=769498 gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ++-- gtk/theme/HighContrast/gtk-contained.css | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) commit e5f0a77ad4ee1734f4eca8076fcd46d0d8f8355a Author: Bernd Homuth Date: Fri Sep 2 14:04:21 2016 +0000 Updated German translation po-properties/de.po | 184 +++++++++++++++++++++++++++------------------------- 1 file changed, 96 insertions(+), 88 deletions(-) commit 98b0f78200d8808384e631f286aae09686f97d2b Author: Jonas Ådahl Date: Fri Sep 2 18:51:34 2016 +0800 wayland: Warn when an application tries to map popup incorrectly When a popup is mapped but will not be the top most popup (for example the parent is not the current top most popup, or if there already is a popup mapped but the parent is a toplevel), warn and ignore it instead of continuing, as continuing would be a protocol violation. https://bugzilla.gnome.org/show_bug.cgi?id=770745 gdk/wayland/gdkdisplay-wayland.h | 2 ++ gdk/wayland/gdkwindow-wayland.c | 12 ++++++++++++ 2 files changed, 14 insertions(+) commit c32a31f223b5d66ac1e70dc8ae88a8ce1c285c27 Author: Balázs Meskó Date: Fri Sep 2 08:16:23 2016 +0000 Updated Hungarian translation po-properties/hu.po | 165 +++++++++++++++++++++++++++------------------------- 1 file changed, 85 insertions(+), 80 deletions(-) commit f4f57f8600234b9fe6d432cde6f1c03114d16874 Author: Мирослав Николић Date: Thu Sep 1 18:14:09 2016 +0200 Updated Serbian translation po-properties/sr.po | 177 ++++++++++++++++++++++------------------------ po-properties/sr@latin.po | 177 ++++++++++++++++++++++------------------------ 2 files changed, 168 insertions(+), 186 deletions(-) commit ce1ae60da2305e89575b80c3858bcc8e868821a1 Author: Timm Bäder Date: Thu Sep 1 15:20:12 2016 +0200 popover: Propagate drawing gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c04941c5cca73740fe7b6ae3c49e5b4ab195c71 Author: Timm Bäder Date: Thu Sep 1 15:16:58 2016 +0200 popover: Fix hfw/wfh size request Since we're using _get_rect_coords in size-allocate when allocating the size of the child widget, use the newly introduced _get_rect_for_size to calculate the difference between the passed size_for and the one we're supposed to pass on to the child widget. gtk/gtkpopover.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) commit 7f1ab32e6079917d5d4e0cbca36131f09a555804 Author: Timm Bäder Date: Thu Sep 1 15:15:18 2016 +0200 popover: Introduce _get_rect helper for a size When calculating the requested size of a popover, we need to do the exact same same thing _get_rect_coords did, but not for the current popopver allocation. Add _get_rect_for_size that can be used for this purpose gtk/gtkpopover.c | 110 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 58 insertions(+), 52 deletions(-) commit 4f7ec1f1c0969cf0f7d36d56ac8227a544e8f56d Author: Timm Bäder Date: Thu Aug 18 11:42:21 2016 +0200 gtk{info,search}bar.ui: Remove some leftover attributes gtk/ui/gtkinfobar.ui | 2 -- gtk/ui/gtksearchbar.ui | 2 -- 2 files changed, 4 deletions(-) commit 533de822ba21ccdd3d4b16b669461ef763499238 Author: Arnaud Bonatti Date: Wed Aug 31 07:46:34 2016 +0200 Use 'focused' everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=770624 gtk/gtklabel.c | 2 +- gtk/gtktreeview.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3c3a11591b06bb4de0833748baeaf7646f51457d Author: Arnaud Bonatti Date: Wed Aug 31 07:43:44 2016 +0200 Fix typos. https://bugzilla.gnome.org/show_bug.cgi?id=770624 gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a89b3c1b9e55b45477fc872b46b9afda18b4d18d Author: Piotr Drąg Date: Thu Sep 1 02:59:03 2016 +0200 Updated Polish translation po-properties/pl.po | 158 +++++++++++++++++++++++++++------------------------- 1 file changed, 83 insertions(+), 75 deletions(-) commit 4a035403d3ba83c8efc35b5216ff64f6cc7ebfcb Author: Matthias Clasen Date: Wed Aug 31 15:04:57 2016 -0400 Fix the scrolledwindow test These tests were written for the propagate-nat-size semantics, so opt in to it. testsuite/gtk/scrolledwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 0984d1622d022bf67207f985f7842b6299818e20 Author: Tristan Van Berkom Date: Wed Aug 31 13:54:25 2016 +0900 GtkScrolledWindow: Bug 766569 - Make propagation of natural child sizes optional Making propagation of child natural sizes mandatory (or default, even) was evidently a mistake as this causes dynamic content in a scrolled window to resize it's parent when the scrolled window is competing for space with an adjacent widget. This patch instead adds API to control whether natural width and height of the child should be propagated through the scrolled windows size requests. docs/reference/gtk/gtk3-sections.txt | 4 + gtk/gtkscrolledwindow.c | 178 +++++++++++++++++++++++++++++++++-- gtk/gtkscrolledwindow.h | 12 +++ 3 files changed, 184 insertions(+), 10 deletions(-) commit 738b1e3eece46703106640fe764bb8eacad411cc Author: Matthias Clasen Date: Wed Aug 31 07:07:01 2016 -0400 Require wayland-protocols 1.7 Needed for xdg-shell v6. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9757b87a16eab4664bb8c22e8b954e69d46fa4f Author: Christian Kirbach Date: Wed Aug 31 07:10:52 2016 +0000 Updated German translation po-properties/de.po | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) commit 92520a38d58da742ebfbc6fa97c10cd600016df7 Author: Gábor Kelemen Date: Tue Aug 30 07:39:03 2016 +0000 Updated Hungarian translation po-properties/hu.po | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) commit 852bdae85f7ac74cc0b5637c37a09695307e2687 Author: Matthias Clasen Date: Mon Aug 29 13:34:05 2016 -0400 3.21.5 NEWS | 8 +++++++- configure.ac | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) commit c9749ad7dca87628caeeb87ac967d95871643698 Author: Matthias Clasen Date: Mon Aug 29 15:49:24 2016 -0400 x11: Fix a trap mixup There was a return between a push/pop of an error trap, and this managed to trigger the 'unpopped trap' warning in the displayclose test now. Fix this. gdk/x11/gdkdevicemanager-xi2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ea1295c9ab40ab8c1b5b80ccf1575710c5ff6b86 Author: Lionel Landwerlin Date: Thu Aug 25 20:38:52 2016 +0100 gtk: window: don't forget to realize popovers of subwindows https://bugzilla.gnome.org/show_bug.cgi?id=770307 gtk/gtkwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit bdbe2de57d206f3d1cbb5774f8a97bfc40571388 Author: Matthias Clasen Date: Mon Aug 29 13:12:56 2016 -0400 Document handle-related Wayland api In particular, note that this API depends on an unstable Wayland protocol and thus may have to change. docs/reference/gdk/gdk3-sections.txt | 4 ++ gdk/wayland/gdkwindow-wayland.c | 74 ++++++++++++++++++++++++++++++++---- 2 files changed, 71 insertions(+), 7 deletions(-) commit 340b5964dd82fc60471e62304b3d0d0dcd8d8648 Author: Jonas Ådahl Date: Wed Jul 13 15:24:19 2016 +0800 wayland: Add API for setting an exported as a parent Add an API that enables an application to, given an exported window handle, set its own window as a transient of the window associated with the exported window handle. https://bugzilla.gnome.org/show_bug.cgi?id=769788 gdk/wayland/gdkdisplay-wayland.c | 6 ++++ gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkwaylandwindow.h | 4 +++ gdk/wayland/gdkwindow-wayland.c | 70 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) commit f98c9fec6ca18a94a152c0a27b9d9b68af769936 Author: Jonas Ådahl Date: Wed Jul 13 15:22:59 2016 +0800 window: Add Wayland implementation of gtk_window_export_handle https://bugzilla.gnome.org/show_bug.cgi?id=769788 gtk/gtkwindow.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) commit 127d2ac956cec1bb26df7d66f9b0859129a900e5 Author: Jonas Ådahl Date: Tue Jul 12 11:49:39 2016 +0800 wayland: Add API for creating exported window handles Using the xdg_foreign protocol, expose a way to get handles to windows that may be shared between processes. https://bugzilla.gnome.org/show_bug.cgi?id=769788 configure.ac | 2 +- gdk/wayland/Makefile.am | 2 + gdk/wayland/gdkdisplay-wayland.c | 7 ++++ gdk/wayland/gdkdisplay-wayland.h | 2 + gdk/wayland/gdkwaylandwindow.h | 12 ++++++ gdk/wayland/gdkwindow-wayland.c | 87 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 111 insertions(+), 1 deletion(-) commit e1a03ead7a541a2118816b1632e957cc2bb44c8f Author: Benjamin Otte Date: Mon Aug 29 16:00:17 2016 +0200 Use NULL for generic marshallers in g_signal_new() glib will use the correct marshaller automatically. And as a side effect, we also get all glib optimizations, like a va marshaller. gtk/deprecated/gtkactiongroup.c | 4 ++-- gtk/deprecated/gtkcolorsel.c | 2 +- gtk/deprecated/gtkhandlebox.c | 4 ++-- gtk/deprecated/gtkhsv.c | 4 ++-- gtk/deprecated/gtkstyle.c | 4 ++-- gtk/deprecated/gtkuimanager.c | 4 ++-- gtk/gtkadjustment.c | 4 ++-- gtk/gtkappchooserbutton.c | 2 +- gtk/gtkappchooserwidget.c | 4 ++-- gtk/gtkbutton.c | 12 +++++----- gtk/gtkcalendar.c | 14 ++++++------ gtk/gtkcelleditable.c | 4 ++-- gtk/gtkcellrenderer.c | 2 +- gtk/gtkcellrenderertoggle.c | 2 +- gtk/gtkcheckmenuitem.c | 2 +- gtk/gtkclipboard-quartz.c | 2 +- gtk/gtkclipboard.c | 2 +- gtk/gtkcolorbutton.c | 2 +- gtk/gtkcontainer.c | 8 +++---- gtk/gtkcssnode.c | 5 +---- gtk/gtkdialog.c | 4 ++-- gtk/gtkeditable.c | 2 +- gtk/gtkentry.c | 18 +++++++-------- gtk/gtkentrycompletion.c | 2 +- gtk/gtkexpander.c | 2 +- gtk/gtkfilechooserbutton.c | 2 +- gtk/gtkfilechooserembed.c | 4 ++-- gtk/gtkfilechooserentry.c | 2 +- gtk/gtkfilechooserwidget.c | 24 ++++++++++---------- gtk/gtkfilesystemmodel.c | 2 +- gtk/gtkimcontext.c | 8 +++---- gtk/gtklabel.c | 6 ++--- gtk/gtklevelbar.c | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtkmarshalers.list | 10 --------- gtk/gtkmenu.c | 2 +- gtk/gtkmenuitem.c | 12 +++++----- gtk/gtkmenushell.c | 12 +++++----- gtk/gtknotebook.c | 2 +- gtk/gtkplacessidebar.c | 12 +++++----- gtk/gtkplug.c | 2 +- gtk/gtkradiobutton.c | 2 +- gtk/gtkradiomenuitem.c | 2 +- gtk/gtkrange.c | 6 ++--- gtk/gtkscalebutton.c | 2 +- gtk/gtkscrolledwindow.c | 2 +- gtk/gtksearchentry.c | 8 +++---- gtk/gtksocket.c | 2 +- gtk/gtkspinbutton.c | 6 ++--- gtk/gtkswitch.c | 2 +- gtk/gtktextbuffer.c | 12 +++++----- gtk/gtktextlayout.c | 2 +- gtk/gtktexttagtable.c | 4 ++-- gtk/gtktextview.c | 22 +++++++++--------- gtk/gtktogglebutton.c | 2 +- gtk/gtktoolitem.c | 2 +- gtk/gtktrashmonitor.c | 2 +- gtk/gtktreemenu.c | 2 +- gtk/gtktreemodel.c | 2 +- gtk/gtktreeselection.c | 2 +- gtk/gtktreesortable.c | 2 +- gtk/gtktreeview.c | 4 ++-- gtk/gtktreeviewcolumn.c | 2 +- gtk/gtkwidget.c | 50 ++++++++++++++++++++--------------------- gtk/gtkwindow.c | 8 +++---- gtk/inspector/strv-editor.c | 2 +- 66 files changed, 178 insertions(+), 193 deletions(-) commit 6af5033386b60bdf71cc21d99d579c2a8c389880 Author: Matthias Clasen Date: Mon Aug 29 10:01:20 2016 -0400 about dialog: Set a max-content-height on credits This keeps the credits section from making the dialog grow when there are lots of credits. https://bugzilla.gnome.org/show_bug.cgi?id=770458 gtk/ui/gtkaboutdialog.ui | 1 + 1 file changed, 1 insertion(+) commit cfe4c9e0f41e37eb1d4e469c20579337b501e385 Author: Carlos Soriano Date: Mon Aug 29 14:39:48 2016 +0200 gtkplacessidebar: fix signal marshal We were using __VOID for the SHOW_OTHER_LOCATION signal that uses flags named SHOR_OTHER_LOCATION_WITH_FLAGS. However, if a signal uses flags the marshal needs to use __FLAGS. This patch addresses this using VOID__FLAGS as the marshaler parameter. Thanks to Jan Steffens for pointing this out. https://bugzilla.gnome.org/show_bug.cgi?id=770550 gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0ff0de6a5e72f221c34112c952eea0eac94c870 Author: Мирослав Николић Date: Sun Aug 28 21:55:26 2016 +0200 Updated Serbian translation po-properties/sr.po | 2202 +++++++++++++++++++++++--------------------- po-properties/sr@latin.po | 2204 ++++++++++++++++++++++++--------------------- 2 files changed, 2331 insertions(+), 2075 deletions(-) commit 349170c011f496f04222b31041f926d3bbbf70b1 Author: Мирослав Николић Date: Sun Aug 28 21:54:20 2016 +0200 Updated Serbian translation po/sr.po | 1106 ++++++++++++++++++++++++++++++-------------------------- po/sr@latin.po | 1082 +++++++++++++++++++++++++++++------------------------- 2 files changed, 1192 insertions(+), 996 deletions(-) commit b05ed13710dc52c11bb1fde6f6aaf064d8ce5c58 Author: Руслан Ижбулатов Date: Fri Aug 26 20:46:27 2016 +0000 GDK W32: Remove obsolete assertions gdk/win32/gdkkeys-win32.c | 2 -- 1 file changed, 2 deletions(-) commit f6935de5170cfff34bbc7bf64b781b2c4f969dc4 Author: Piotr Drąg Date: Fri Aug 26 13:46:38 2016 +0200 Updated Polish translation po-properties/pl.po | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) commit fcfbffc1458730bf278aab3e5c8ddcb8dc0baae2 Author: Matthias Clasen Date: Fri Aug 26 01:09:40 2016 -0400 Updates NEWS | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 35c96c2c1f15c6c2a52a380ef6b8fa1062597b8d Author: Benjamin Otte Date: Thu Aug 25 23:01:28 2016 +0200 Add braces to appease gcc -ftrack-macro-expansion=0 doesn't like if statements without braces when evaluating indentation levels. gtk/gtkcomposetable.c | 4 +++- gtk/gtkcssselector.c | 12 +++++++++--- gtk/gtksizerequest.c | 6 ++++-- 3 files changed, 16 insertions(+), 6 deletions(-) commit c8b301f1ea24ed4958af114c4cd30530de3ccc5b Author: Benjamin Otte Date: Thu Aug 25 21:05:25 2016 +0200 uimanager: Correctly indent code gtk/deprecated/gtkuimanager.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit da8cef16dc577026bb8ae77ba43e3f4345b6a9a8 Author: Benjamin Otte Date: Thu Aug 25 21:05:07 2016 +0200 a11y: Correctly indent code gtk/a11y/gtkaccessibility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 12e590e99a73f3fc4d87dd2562f68ad8183ce466 Author: Matej Urbančič Date: Thu Aug 25 22:16:17 2016 +0200 Updated Slovenian translation po-properties/sl.po | 1333 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 922 insertions(+), 411 deletions(-) commit 9dfff0d21d2979d52a743ced929e879c690bb40d Author: Matej Urbančič Date: Thu Aug 25 22:09:16 2016 +0200 Updated Slovenian translation po-properties/sl.po | 84 ++++++++++++++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) commit f53706b0033d4fdb1d4a4daf106548d7187e0e2c Author: Matthias Clasen Date: Thu Aug 25 07:48:20 2016 -0400 cell renderer text: Allow entries to shrink Set a small max-width on entries used for editing cells, so they adapt to small columns and don't overlap the next column. https://bugzilla.gnome.org/show_bug.cgi?id=770374 gtk/gtkcellrenderertext.c | 1 + 1 file changed, 1 insertion(+) commit 9f57fe9960b419fce2000ff2509f265912757ec3 Author: Olivier Fourdan Date: Tue Apr 5 18:17:40 2016 +0200 wayland: add min/max size from xdg-shell v6 Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764413 gdk/wayland/gdkwindow-wayland.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit b7964cf5a7615bcd3bcc064bf5db0349272dab2c Author: Jonas Ådahl Date: Fri Jul 8 16:54:36 2016 +0800 wayland: Implement move_to_rect Translate move_to_rect parameter into xdg_positioner requests, and use the generated xdg_positioner to create the popup. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 512 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 462 insertions(+), 50 deletions(-) commit ceada4adc26868b894a0a450fe3ff80a4b4846ad Author: Jonas Ådahl Date: Fri Jul 1 17:03:36 2016 +0800 wayland: Port to xdg_shell unstable v6 https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/Makefile.am | 4 +- gdk/wayland/gdkdisplay-wayland.c | 21 +-- gdk/wayland/gdkdisplay-wayland.h | 4 +- gdk/wayland/gdkwindow-wayland.c | 335 ++++++++++++++++++++++++++------------- 4 files changed, 240 insertions(+), 124 deletions(-) commit 643f0339238f1cd4d853a81d4cdb3e149d660ee8 Author: Jonas Ådahl Date: Fri Jul 1 17:02:11 2016 +0800 wayland: Move window geometry calculation to helper We'll use it from more places later. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) commit d2a80cd2353c95a9657387af37256ca8f1ad81f3 Author: Jonas Ådahl Date: Fri Jul 1 16:51:32 2016 +0800 wayland: Only update the window title if it actually updated This makes the protocol log less spammy. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 82706991191e4d3b49c2fd12dbfec944d52bfed6 Author: Jonas Ådahl Date: Fri Jul 1 16:48:16 2016 +0800 wayland: Only sync surface regions once per commit Only set input, opaque and window geometry regions once per commit. They are double buffered anyway, so the last one would only take effect either way; this way reading protocol logs are much more pleasent. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) commit d2385bec093a85f62a06a65208bce5617a10b9a2 Author: Jonas Ådahl Date: Tue Jan 26 10:14:54 2016 +0800 wayland: Remove gdk_wayland_display_get_xdg_shell() Don't expose the xdg_shell struct as it is not yet a stable type that will stay the same. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkdisplay-wayland.c | 18 ------------------ gdk/wayland/gdkwaylanddisplay.h | 2 -- 2 files changed, 20 deletions(-) commit e53d381430dd2eeaf8bb04ca4ffc7a9107fbb9ac Author: Jonas Ådahl Date: Tue Jun 28 15:01:22 2016 +0800 wayland: Get tiled state from gtk_shell instead of xdg_shell Use our the 'tiled' entry from our new 'state' enum sent via xdg_surface.configure. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 53 ++++++++++++++++++++++++++++++-------- gdk/wayland/protocol/gtk-shell.xml | 10 +++++++ 2 files changed, 52 insertions(+), 11 deletions(-) commit 80dd7566d54bb662ac64d6eed0efd945e98c1456 Author: Jonas Ådahl Date: Tue Jun 28 15:01:04 2016 +0800 wayland: Fix indentation https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit b8f464e102bb7445a5beadaacb6321a77e6b556a Author: Matthias Clasen Date: Thu Aug 25 00:13:13 2016 -0400 wayland: Add some more debug spew gdk/wayland/gdkselection-wayland.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit ae720784d921d1e0134870eae3c91466dc389c52 Author: Matthias Clasen Date: Wed Aug 24 23:59:46 2016 -0400 wayland: Replace g_debug by GDK_NOTE We have this framework, lets use it. gdk/wayland/gdkdevice-wayland.c | 106 +++++++++++++++++++++++-------------- gdk/wayland/gdkselection-wayland.c | 28 +++++----- 2 files changed, 81 insertions(+), 53 deletions(-) commit f66a76d99846d34f861bd7d5253b9f0b3486f3cb Author: Matthias Clasen Date: Wed Aug 24 14:43:58 2016 -0400 Document window-icon related api as 'may not work' Some platforms simply don't have window icons (such as Wayland). gdk/gdkwindow.c | 5 ++++- gtk/gtkwindow.c | 13 ++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) commit ae636ba0c2faeba5944097eca5a2f1a7c72e0d46 Author: Matthias Clasen Date: Wed Aug 24 14:10:35 2016 -0400 notebook: Update arrow state when switching pages Otherwise, we may end up showing clickable arrows that don't do anything. https://bugzilla.gnome.org/show_bug.cgi?id=770332 gtk/gtknotebook.c | 3 +++ 1 file changed, 3 insertions(+) commit 07e9b399d5352b10ca5997f564903a36d5f0dd19 Author: Matthias Clasen Date: Wed Aug 24 12:58:54 2016 -0400 scale: Document interaction between rounding and autoscrolling This is a bit of a gotcha, so better document it. gtk/gtkscale.c | 5 +++++ 1 file changed, 5 insertions(+) commit f7c87fb3b78863d258092ea4cf57dd6c4480d02d Author: Matthias Clasen Date: Wed Aug 24 12:53:28 2016 -0400 widget-factory: Fix smooth autoscrolling of scales There is annoying interference between formatting the value (for which we set the number of digits to show) and the small frame-to-frame value changes that we do for autoscrolling. To work around this, turn off the digits-based rounding entirely and format the value ourselves with ::format-value. demos/widget-factory/widget-factory.c | 9 ++++++++- demos/widget-factory/widget-factory.ui | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) commit ceb18a989e6ed9238ea1afc449aeaecbf3a5dfbb Author: Matthias Clasen Date: Wed Aug 24 11:11:57 2016 -0400 gtk-demo: Make the scale demo fully functional The adjustments need to have step-increment and page-increment set up, or keynav and autoscrolling will not work. demos/gtk-demo/scale.ui | 6 ++++++ 1 file changed, 6 ins