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(-)