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