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 insertions(+) commit 6163b3b2b5184274f6bfa52f59876be2acb3d6a9 Author: Matthias Clasen Date: Wed Aug 24 10:54:00 2016 -0400 Allow activating the desktop portal for inhibit We allow it everywhere else, and there is nothing wrong with it. gtk/gtkapplication-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f456028ae0e2324fa38357d47fbba382a4dbbed Author: Marek Černocký Date: Wed Aug 24 14:10:11 2016 +0200 Updated Czech translation po-properties/cs.po | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) commit 2a8826dea5bdbeb116f907a1336494c9c500c6d3 Author: Daniel Mustieles Date: Wed Aug 24 10:05:51 2016 +0000 Updated Spanish translation po-properties/es.po | 390 +++++++++++++++++++++++++++------------------------- 1 file changed, 204 insertions(+), 186 deletions(-) commit a12567cafd3fad6ed90fe341ed235011978fe6f6 Author: Piotr Drąg Date: Tue Aug 23 21:57:59 2016 +0200 Update POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 1 + po/POTFILES.in | 1 + po/POTFILES.skip | 1 + 4 files changed, 4 insertions(+) commit 5d99b7d538ce5792080b616556aa9d405e16e1b8 Author: Carlos Garnacho Date: Tue Aug 23 20:18:10 2016 +0200 demos: Use stateful actions for rings/strips in "Touch and Drawing Tablets" demo https://bugzilla.gnome.org/show_bug.cgi?id=770026 demos/gtk-demo/event_axes.c | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) commit e9771d642fb4ecc5fca94ff6a2a63466c3541df6 Author: Carlos Garnacho Date: Tue Aug 23 20:16:02 2016 +0200 GtkPadController: Make ring/strip actions be activated with the axis value This way these axes may be used in detail by the implementors of pad GActions. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gtk/gtkpadcontroller.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit b24a865d9bcc7f716a81fd218a3b637faee13f0e Author: Carlos Garnacho Date: Tue Aug 23 20:31:29 2016 +0200 GtkEventController: Add some comment describing the filter_event private vfunc It might not be entirely clear what the boolean return value means. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gtk/gtkeventcontrollerprivate.h | 3 +++ 1 file changed, 3 insertions(+) commit ae29157a63adce584f4191061bd118487b47ca7c Author: Carlos Garnacho Date: Thu Aug 4 19:51:24 2016 +0200 demos: Add pad support to "event axes" demo And rename it to "Touch and Drawing Tablets", since it's no longer about "axes" really. As for pad support in the demo, just keep it "simple", make the controller handle all pad devices, and make all the actions have the same callback. https://bugzilla.gnome.org/show_bug.cgi?id=770026 demos/gtk-demo/event_axes.c | 110 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 106 insertions(+), 4 deletions(-) commit e66a821a74087db40c5faef5f81623b370ea5129 Author: Carlos Garnacho Date: Thu Aug 4 19:49:27 2016 +0200 GtkPadController: Notify actions back to the windowing on wayland This allows applications to provide descriptions of the actions performed by each pad feature. pass the GtkPadActionEntry labels for this. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gtk/gtkpadcontroller.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit 87af999b5dca473db1509b9f5ed403da4c6e54ee Author: Carlos Garnacho Date: Thu Aug 4 19:47:13 2016 +0200 wayland: Offer wayland-specific method to set pad actions feedback The wayland tablet protocol allows notifying the compositor with descriptions of the actions performed by each tablet element. This API call allows to hook up in to this wayland-specific feature. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 62 +++++++++++++++++++++++++++++++++++++++++ gdk/wayland/gdkwaylanddevice.h | 6 ++++ 2 files changed, 68 insertions(+) commit 27f879b835e1de2a49246496f35041a54203823e Author: Carlos Garnacho Date: Thu Aug 4 19:46:04 2016 +0200 wayland: Support pad devices in gdk_wayland_device_get_node_path() We can return the node path on those too, so do that. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 7e961b8bcce4d4f5550c06e566a096a37f6b21c0 Author: Carlos Garnacho Date: Thu Aug 4 19:44:44 2016 +0200 wayland: Implement pad event emission We now send all the set of button/ring/strip/group_mode events. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 101 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 100 insertions(+), 1 deletion(-) commit cca51b71cbc68707797ee3a616cb8a0357a84e22 Author: Carlos Garnacho Date: Thu Aug 4 19:42:23 2016 +0200 wayland: Create/expose pad devices These devices are kind of an strange case. Their "master" device is the keyboard, because they share toplevel focus with it, regardless of stylus focus. Nonetheless, they are only expected to send the GdkEventPad* set of events. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 82a46faf41999d9d58657a45ac4c020b1a3f10c6 Author: Carlos Garnacho Date: Thu Aug 4 19:40:14 2016 +0200 wayland: Add GdkWaylandDevicePad This is a subclass of GdkWaylandDevice that implements GdkDevicePad, all pad features are looked up from the info obtained through the tablet v2 interface. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 166 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 166 insertions(+) commit feb09e384c018c7a1d929d88f9b19b574260b22e Author: Carlos Garnacho Date: Thu Aug 4 19:36:32 2016 +0200 wayland: Implement backbone of pad support All pad interfaces and features are poked, we just now need exposing those. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 399 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 397 insertions(+), 2 deletions(-) commit a0b9586465bc86c06105129208ab6eb4de8a357a Author: Carlos Garnacho Date: Thu Aug 4 19:22:34 2016 +0200 gtk: Add GtkPadController This GdkEventController is a helper object to handle pad events, it allows setting a mapping to action names, to be triggered in the given action group. In order to help on places where advanced mapping/configurability of pad features is not desirable, this controller also allows passing a NULL pad device, meaning it will listen on all pads, and/or passing -1 on mode/index, so an action applies to all modes/features (eg. strips/rings). https://bugzilla.gnome.org/show_bug.cgi?id=770026 docs/reference/gtk/gtk-docs.sgml | 3 +- docs/reference/gtk/gtk3-sections.txt | 22 ++ docs/reference/gtk/gtk3.types.in | 1 + gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkpadcontroller.c | 467 +++++++++++++++++++++++++++++++++++ gtk/gtkpadcontroller.h | 99 ++++++++ 7 files changed, 594 insertions(+), 1 deletion(-) commit 3a6d0ff2ab05c66f18fd1aa740029976b30ac1bc Author: Carlos Garnacho Date: Thu Aug 4 19:17:21 2016 +0200 gtk: Add minimal handling of pad events No real handling is yet performed, to be done through a GdkEventController https://bugzilla.gnome.org/show_bug.cgi?id=770026 gtk/gtkmain.c | 5 +++++ gtk/gtkwidget.c | 5 +++++ 2 files changed, 10 insertions(+) commit b8a77d4da310556014b06cf34cca2e9592da63fd Author: Carlos Garnacho Date: Thu Aug 4 19:12:57 2016 +0200 gdk: Add GdkDevicePad This is an interface meant to be implemented by the "pad" devices. This device-specific interface exposes the mapping of all pad features, it allows retrieving: - The number of buttons/rings/strips - The number of groups - The number of modes a group has - Whether a given button/ring/strip belongs to a given group https://bugzilla.gnome.org/show_bug.cgi?id=770026 docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 19 +++++ docs/reference/gdk/gdk3.types | 1 + gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkdevicepad.c | 150 +++++++++++++++++++++++++++++++++++ gdk/gdkdevicepad.h | 74 +++++++++++++++++ gdk/gdkdevicepadprivate.h | 45 +++++++++++ 8 files changed, 294 insertions(+) commit f1a9cd466e48243ff6a3592b933bab2336e8c04d Author: Carlos Garnacho Date: Thu Aug 4 19:10:21 2016 +0200 gdk: Address pad events similarly to keyboard events We want the same treatment for those, the event will be emitted on the toplevel, which will then decide what to do with the event. It just doesn't make much sense to propagate those up/down the hierarchy, when we want specifically one action being triggered from those. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0dcb9b316e704071e98d67668c99a20e3a9cd425 Author: Carlos Garnacho Date: Thu Aug 4 19:04:36 2016 +0200 gdk: Add pad event structs, enum values, and event mask bit GDK_PAD_BUTTON*,RING and STRIP will be emitted respectively when pad buttons, rings or strips are interacted with. Each of those pad components belong to a group (a pad can contain several of those), which may be in a given mode. All this information is contained in the event. GDK_PAD_GROUP_MODE is emitted when a group in the pad switches mode, which will generally result in a different set of actions being triggered from the same buttons/rings/strips in the group. https://bugzilla.gnome.org/show_bug.cgi?id=770026 docs/reference/gdk/gdk3-sections.txt | 3 + gdk/gdkevents.c | 17 ++++++ gdk/gdkevents.h | 106 +++++++++++++++++++++++++++++++++++ gdk/gdktypes.h | 2 + gdk/gdkwindow.c | 5 ++ 5 files changed, 133 insertions(+) commit 3f56af373891bf6e3e01079c07521928613bdb1b Author: Carlos Garnacho Date: Thu Aug 4 19:01:38 2016 +0200 gdkdevice: Add GDK_SOURCE_TABLET_PAD input source type for GdkDevices This will represent a tablet pad. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevice.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 3ac56e60c7eb44843b8b3fa0119e1746f271d923 Author: Carlos Garnacho Date: Thu Aug 4 18:59:09 2016 +0200 wayland: Add wayland-specific method to retrieve a device node path This will be useful at least for g-c-c, in order to match libwacom data with GdkDevices. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 32 ++++++++++++++++++++++++++++++++ gdk/wayland/gdkwaylanddevice.h | 2 ++ 2 files changed, 34 insertions(+) commit 942d144d3b893177a5c2b3ab4a8cbb209f710c68 Author: Carlos Garnacho Date: Thu Aug 4 18:52:51 2016 +0200 gdk: Pass hardware ID on gdk_device_tool_new() And implement this on wayland, where this information is already obtained. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevicetool.c | 2 ++ gdk/gdkdevicetoolprivate.h | 2 ++ gdk/wayland/gdkdevice-wayland.c | 4 +++- gdk/x11/gdkdevicemanager-xi2.c | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) commit 40f75e74be35605d1b77fc81e560b8f9e20e2311 Author: Carlos Garnacho Date: Thu Aug 4 18:49:13 2016 +0200 gdk: Add a getter for the hardware id of a GdkDeviceTool Although scarcely used, this information may be useful to retrieve from the windowing systems that offer this information. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevicetool.c | 39 +++++++++++++++++++++++++++++++++++++++ gdk/gdkdevicetool.h | 3 +++ 2 files changed, 42 insertions(+) commit d3c204c77460f0142901dafb11a2252e098a2c59 Author: Philip Withnall Date: Mon Aug 22 15:39:02 2016 +0100 gtkbindings: Add an example for gtk_binding_entry_add_signal() Otherwise the way the varargs are supposed to be used is completely opaque. https://bugzilla.gnome.org/show_bug.cgi?id=770236 gtk/gtkbindings.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 8f198718767202f2f4a171b83d02854077b817ef Author: Jordi Mas Date: Mon Aug 22 21:52:18 2016 +0200 Update Catalan translation po-properties/ca.po | 1001 +++++++------ po/ca.po | 4153 ++++++++++++++++++++++++--------------------------- 2 files changed, 2494 insertions(+), 2660 deletions(-) commit 3cf304ecd0225e2e548badae9cc95ad98107ffc5 Author: Piotr Drąg Date: Mon Aug 22 20:00:39 2016 +0200 Updated Polish translation po-properties/pl.po | 2666 ++++++++++++++++++++++++++------------------------- po/pl.po | 1046 ++++++++++---------- 2 files changed, 1945 insertions(+), 1767 deletions(-) commit 92a95c7de73f56fe558323e2012d6d6e2ddf2eb0 Author: Philip Withnall Date: Mon Aug 22 17:10:47 2016 +0100 gtkbindings: Clarify that widgets need has-focus for bindings to work https://bugzilla.gnome.org/show_bug.cgi?id=770242 gtk/gtkbindings.c | 6 ++++++ 1 file changed, 6 insertions(+) commit a6409458f0d50d673a4dc370b9251993b7835b6b Author: Lapo Calamandrei Date: Mon Aug 22 14:17:34 2016 +0200 Adwaita: increase border radius on button.circular... ...to allow huge circular buttons. See https://bugzilla.gnome.org/show_bug.cgi?id=770166 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 74bd3f3810133d44f333aa5f8d02ae3de19a6834 Author: Emmanuele Bassi Date: Mon Aug 22 09:23:02 2016 +0100 quartz: Fix typo that broke debug builds gdk/quartz/gdkeventloop-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00545dfee4156e16a2a729290f4c1f113a13b7c1 Author: Alexandre Franke Date: Mon Aug 22 08:20:01 2016 +0000 Updated French translation po/fr.po | 1195 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 650 insertions(+), 545 deletions(-) commit 16a92214c7334c6c8391013e3060e52af530facd Author: Rafael Fontenelle Date: Mon Aug 22 04:13:36 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 389 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 195 insertions(+), 194 deletions(-) commit 2a5b37de6b3094fdb9d200f931720eef61621c4b Author: Mario Blättermann Date: Sun Aug 21 20:26:50 2016 +0000 Updated German translation po-properties/de.po | 45 ++++++++++++++++----------------------------- 1 file changed, 16 insertions(+), 29 deletions(-) commit 34cf1b189ca88519bbbc5461b2d161f5d863c887 Author: Mario Blättermann Date: Sun Aug 21 09:37:59 2016 +0000 Updated German translation po/de.po | 508 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 255 insertions(+), 253 deletions(-) commit 5c696a7ee31bdf801471f46349fe3c2253bc35ca Author: Timm Bäder Date: Sat Aug 20 20:49:09 2016 +0200 popover: Clarify transitions-enabled deprecation https://bugzilla.gnome.org/show_bug.cgi?id=769706 gtk/gtkpopover.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a0f5d4bec13fca7de4b86c923994a03ab28d6ce9 Author: Balázs Úr Date: Sat Aug 20 14:43:18 2016 +0000 Updated Hungarian translation po-properties/hu.po | 1703 +++++++++++++++++++++++++-------------------------- 1 file changed, 843 insertions(+), 860 deletions(-) commit 73b949173eaba4cf3a8cd0425082f52bf34c4ab6 Author: Timm Bäder Date: Thu Jul 14 21:09:25 2016 +0200 stylepropertyimpl: Remove double assignment gtk/gtkcssstylepropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3bbeb48bd4aeb6f22e52fa845f7c125c123d29e Author: Carlos Garnacho Date: Thu Aug 4 18:44:36 2016 +0200 gdk: Fix gdk_device_tool_get_serial() return value This is a guint64, not just a guint. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevicetool.c | 2 +- gdk/gdkdevicetool.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7e11fcaa184cd1d7f5dafb4415496e6a95a65966 Author: Carlos Garnacho Date: Thu Aug 4 18:40:57 2016 +0200 gdk: Fix GdkDevice::tool-changed signal marshaller GdkDeviceTool is an object, not a boxed type. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 09004b51a98d9f6e3cbcbed3065ee61983d1806c Author: Руслан Ижбулатов Date: Mon Jun 27 11:52:12 2016 +0000 Update GTK+ Windows icon (now scles up to 256x256) Also add the SVG file that was used to produce it (derived from the old raster logo). https://bugzilla.gnome.org/show_bug.cgi?id=768081 gdk/win32/rc/gtk.ico | Bin 25214 -> 422926 bytes gdk/win32/rc/gtk.svg | 482 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 482 insertions(+) commit f9b91197c0a5ab29ba0c962b86e2f7ec535d5455 Author: Olivier Fourdan Date: Thu Jun 30 12:56:21 2016 +0200 wayland: Use keyboard serial for implicit grab An xdg-popup requires a serial that the compositor will compare against its own serial and will dismiss the popup if it doesn't match. gtk+ uses either a pointer or touch serial for its helper function _gdk_wayland_seat_get_last_implicit_grab_serial() but if the menu is triggered before the user has had any pointer or touch interaction with the client, using a keyboard shortcut, there is neither pointer nor touch serial available, and gtk+ will use 0 as the default. As a result, the compositor will instantly dismiss the xdg-popup. In this case, gtk+ should use the keyboard serial instead. Track keyboard serial as well and use the keyboard serial as the value if there is no newer pointer or touch serial available. https://bugzilla.gnome.org/show_bug.cgi?id=768017 gdk/wayland/gdkdevice-wayland.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 967e2e0cd371e0a3e4ac59aa55957b251c8bc2a6 Author: Matthias Clasen Date: Fri Aug 19 23:24:47 2016 -0400 Minor doc cleanup gtk-doc is smart about plural links, nowadays. gdk/gdkdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88248e34b1bf55c435b908cfe3fc831f18b87f18 Author: Matthias Clasen Date: Fri Aug 19 23:24:08 2016 -0400 Remove an outdated comment It described as TODO what the code right below it already does. gdk/wayland/gdkglcontext-wayland.c | 1 - 1 file changed, 1 deletion(-) commit 3b0d3d251395b2d5e937003c6e290e2af1a72499 Author: Balázs Úr Date: Fri Aug 19 21:58:57 2016 +0000 Updated Hungarian translation po/hu.po | 638 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 335 insertions(+), 303 deletions(-) commit 9920ef0298b03f65b4c8bc5f0eb03e85ea9f9ad9 Author: Christian Kirbach Date: Fri Aug 19 20:43:57 2016 +0000 Updated German translation po-properties/de.po | 1927 +++++++++++++++++++++++++++------------------------ 1 file changed, 1024 insertions(+), 903 deletions(-) commit edce8f4d15b455578c6c71857f51d62f42c1ded5 Author: Piotr Drąg Date: Thu Aug 18 14:15:19 2016 +0200 Update POTFILES.skip po/POTFILES.skip | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit cc019de6a5c77a7fc3a291de9f25659e76ac7e4f Author: Jonas Ådahl Date: Mon Aug 8 15:00:42 2016 +0800 wayland: Postpone processing move_to_rect params until showing At the time of move_to_rect() is called, not all state may have been set up on the impl gdk window, causing the position to sometimes be slightly offset due to drap shadow margins. For now, work around this by postponing the processing of the move_to_rect() parameters until showing, when its more likely that all state (such as shadow margin) has been set correctly. https://bugzilla.gnome.org/show_bug.cgi?id=769402 gdk/wayland/gdkwindow-wayland.c | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit f6929cfef81171f1b59a3950e88e2ce5599d3286 Author: Jonas Ådahl Date: Thu Aug 4 13:56:15 2016 +0800 gdkwindow: Use toplevel for getting root cords in move_to_rect() The Wayland backend manages a set of fake root coordinate spaces, where each non-relative positioned toplevel (i.e. not popups, popovers, tooltips etc) make up the basis of separate fake root coordinate spaces. This means that the Wayland backend doesn't have the abilitiy get a proper root coordinate when querying on a non-toplevel GdkWindow. To avoid this issue, first find the toplevel, while translating the anchor rect coordinates so that they are in the toplevel window coordinate space. Then use this toplevel to translate the coordinates to root window coordinate space. https://bugzilla.gnome.org/show_bug.cgi?id=769402 gdk/gdkwindowimpl.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit 4e0ebd0cdf5eefcb19f35aa85e1d84c0ef1f2a7d Author: Jonas Ådahl Date: Thu Aug 4 14:07:47 2016 +0800 wayland: Don't traverse transient-ofs when faking root coordinate space The position of each transient-of will be in fake-root coordinate space; thus we should not accumulate all the positions making it an offset; each window is already in fake root coordinate space. https://bugzilla.gnome.org/show_bug.cgi?id=769402 gdk/wayland/gdkwindow-wayland.c | 99 +++++++++++++---------------------------- 1 file changed, 32 insertions(+), 67 deletions(-) commit 1f7094a3e527513e1541bead4323afa80703e8ee Author: Jonas Ådahl Date: Thu Aug 4 14:05:06 2016 +0800 wayland: Use effective toplevel as popup parent When using the set transient-for as a popup parent, fetch the effective toplevel instead, otherwise we will position against the wrong coordinate. https://bugzilla.gnome.org/show_bug.cgi?id=769402 gdk/wayland/gdkwindow-wayland.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a985e62b25132c7f0043fa1073e371f19bbef4c5 Author: Timm Bäder Date: Wed Aug 10 19:18:27 2016 +0200 Use gtk_popover_popdown/popup where appropriate https://bugzilla.gnome.org/show_bug.cgi?id=769706 gtk/gtkcolorswatch.c | 2 +- gtk/gtkentry.c | 6 +++--- gtk/gtkfilechooserwidget.c | 8 ++++---- gtk/gtkmenubutton.c | 4 ++-- gtk/gtkmodelbutton.c | 2 +- gtk/gtkplacessidebar.c | 6 +++--- gtk/gtkscalebutton.c | 4 ++-- gtk/gtkshortcutswindow.c | 2 +- gtk/gtktextview.c | 4 ++-- gtk/inspector/actions.c | 2 +- gtk/inspector/css-node-tree.c | 2 +- gtk/inspector/prop-list.c | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) commit a6b9b3648da6271dbd38840aef69dea20b013066 Author: Timm Bäder Date: Wed Aug 10 18:46:35 2016 +0200 GtkPopover: Deprecate transitions-enabled The effect of transitions-enabled=true can now be achieved using gtk_popover_popup/popdown and the effect of transitions-enabled=false can be achieved using gtk_widget_show/hide. https://bugzilla.gnome.org/show_bug.cgi?id=769706 docs/reference/gtk/migrating-3xtoy.xml | 11 ++++++++++- gtk/gtkpopover.c | 10 +++++++++- gtk/gtkpopover.h | 4 ++-- 3 files changed, 21 insertions(+), 4 deletions(-) commit 1f7b6c1d6f822ee660b8cca3b08a2bcc1c48b359 Author: Timm Bäder Date: Wed Aug 10 18:28:14 2016 +0200 GtkPopover: Add gtk_popover_popdown/popup Since not chaining up in gtk_widget_show/gtk_widget_hide is not allowed, we can't just implicitly delay the hiding in GtkPopover's hide implementation. Fix this by introducing gtk_popover_popup() and gtk_popover_popdown() to show or hide a popover with transition and revert GtkPopover's show/hide implementation to apply their effect without the transition. https://bugzilla.gnome.org/show_bug.cgi?id=769706 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkpopover.c | 146 +++++++++++++++++++++++++++-------- gtk/gtkpopover.h | 7 ++ 3 files changed, 124 insertions(+), 31 deletions(-) commit a782d632f8cf768a2df819fc38df9e6d1fb92f3e Author: Andika Triwidada Date: Mon Aug 15 06:49:41 2016 +0000 Updated Indonesian translation po-properties/id.po | 584 ++++++++++++++++++++++++++++------------------------ 1 file changed, 310 insertions(+), 274 deletions(-) commit 37e3407ee6258455db59e34a1248dcf58bee137b Author: Andika Triwidada Date: Mon Aug 15 06:30:29 2016 +0000 Updated Indonesian translation po/id.po | 366 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 183 insertions(+), 183 deletions(-) commit 7665ee42089cd303ec627d796c15573ea09e7e3e Author: William Hua Date: Fri Aug 12 11:35:38 2016 -0400 mir: group DND, tooltips, and notifications with menu-type windows gdk/mir/gdkmirwindowimpl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit b2719c0383f68955e84b368d893caa43c4ec61e2 Author: Andreas Pokorny Date: Tue Jul 19 10:46:06 2016 +0200 Remove outdated comments https://bugzilla.gnome.org/show_bug.cgi?id=768138 gdk/mir/gdkmirwindowimpl.c | 1 - 1 file changed, 1 deletion(-) commit 3334e0a21d175e5396464cbdc247b11ea324feea Author: Andreas Pokorny Date: Tue Jul 19 10:45:33 2016 +0200 Use Menus to implement tooltips The order in which tooltips are created, drawn, shown and then positioned, always requires repositioning the surface. The tooltip window type only has limited capability to do so. An alternative could be to use bufferstreams. https://bugzilla.gnome.org/show_bug.cgi?id=768138 gdk/mir/gdkmirwindowimpl.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) commit 056ddf2567032443f2f7bce03f4c291c253ee7c2 Author: Andreas Pokorny Date: Tue Jul 19 10:36:45 2016 +0200 Fix execution of dialog When a dialog is created, the mir event source is already executed on the call stack. So without the recurse flag it will not be run in the main loop used for the dialog. https://bugzilla.gnome.org/show_bug.cgi?id=768138 gdk/mir/gdkmireventsource.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 4e418ed71d1610903dab7568a6f79611d984137b Author: Matthias Clasen Date: Thu Aug 11 12:22:01 2016 -0400 file chooser: align date formatting with nautilus We were treating 'yesterday' not quite the same way. https://bugzilla.gnome.org/show_bug.cgi?id=769568 gtk/gtkfilechooserwidget.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit 64c15545c32f49d7f417d460f978cd63d3253861 Author: Matthias Clasen Date: Thu Aug 11 09:28:58 2016 -0400 docs: Fix a dangling link https://bugzilla.gnome.org/show_bug.cgi?id=769601 docs/reference/gtk/question_index.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 007ac65f19ac827cf9ee13f7974a5e39e33ef7ce Author: Matthias Clasen Date: Thu Aug 11 07:07:05 2016 -0400 Really fix unlinkage for shm_open Reported in https://bugzilla.gnome.org/show_bug.cgi?id=769603 gdk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f95d270372f1b798d67c0de18b6da37c6560ec9e Author: Andreas Pokorny Date: Tue Jul 12 16:25:01 2016 +0200 Only apply type hint if it would map to a different mir surface type Signed-off-by: Andreas Pokorny gdk/mir/gdkmirwindowimpl.c | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) commit da17eae747a060ebaa05e777ab3ae68b070d0ef4 Author: Andreas Pokorny Date: Tue Jul 12 16:11:46 2016 +0200 Apply geometry hints to mir surface Signed-off-by: Andreas Pokorny gdk/mir/gdkmirwindowimpl.c | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) commit 96dcf8915548c14e1ebea07c38a4763aca488ef2 Author: Andreas Pokorny Date: Tue Jul 12 12:44:34 2016 +0200 Apply and forward title changes of gdk windows Signed-off-by: Andreas Pokorny gdk/mir/gdkmirwindowimpl.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit 6dfb554558baf34b321fbdc8ff941297c8eb323a Author: Andreas Pokorny Date: Tue Jul 19 14:53:22 2016 +0200 Only update surface spec when there is no spec change pending gdk/mir/gdkmirwindowimpl.c | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) commit 5a8af1af757df48c4cc445540906a5a0aa38051c Author: Andreas Pokorny Date: Tue Jul 19 14:48:59 2016 +0200 Rework window construction - only recreate surface when necessary Signed-off-by: Andreas Pokorny gdk/mir/gdkmir-private.h | 2 +- gdk/mir/gdkmirdisplay.c | 2 +- gdk/mir/gdkmirscreen.c | 2 +- gdk/mir/gdkmirwindowimpl.c | 165 ++++++++++++++++++++++++++------------------- 4 files changed, 98 insertions(+), 73 deletions(-) commit 83471052cf1535c41370cfc8eead80e6899b3b51 Author: Andreas Pokorny Date: Tue Jul 19 14:44:42 2016 +0200 Forward repeated key presses as further down keys Signed-off-by: Andreas Pokorny gdk/mir/gdkmireventsource.c | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) commit 097ed2b40a9654ec2c96b13276781f9411899493 Author: Andreas Pokorny Date: Tue Jun 28 16:37:06 2016 +0200 Fix warning on newer version so mir 0.22 and newer Signed-off-by: Andreas Pokorny configure.ac | 2 +- gdk/mir/gdkmirscreen.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit bc4df6d4b300dea4ad7e66d5ea000b2e322e22be Author: Andreas Pokorny Date: Tue Jun 28 16:35:36 2016 +0200 Fix gcc warning on potentially uninitialized gdk_event. gdk/mir/gdkmireventsource.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit 252ccb846fd94327f75ed25b90d53e427b3b3e50 Author: Andreas Pokorny Date: Tue Jul 19 14:56:34 2016 +0200 Use the surface output event to keep track of the suggested scale value The event will be sent when the surface becomes visible on an output. With this change the GdkMirWindowImpl keeps track of the scale value and sends a configure event on change. Signed-off-by: Andreas Pokorny gdk/mir/gdkmir-private.h | 2 ++ gdk/mir/gdkmireventsource.c | 10 ++++++++++ gdk/mir/gdkmirwindowimpl.c | 44 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 54 insertions(+), 2 deletions(-) commit bdb77b6cc26b0cf98bbc2afee53ed40fd3e65361 Author: Timm Bäder Date: Wed Aug 10 15:23:13 2016 +0200 widget-factory: Don't initially show popover It'll be set as the popover of a GtkMenuButton later anyway which will hide it again. demos/widget-factory/widget-factory.ui | 1 - 1 file changed, 1 deletion(-) commit 0d17421ffdc3b6d3d47eaa38791f84e6111fe3f0 Author: Timm Bäder Date: Tue Aug 9 19:29:41 2016 +0200 popover: Make some public API NULL-safe Instad of potentially dereferencing a NULL-pointer, use the NULL-safe gtk_popover_get_instance_private before the g_return_if_fail precondition check. gtk/gtkpopover.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 57ef6312166537e9145088d576dc3a60bac81ca2 Author: Timm Bäder Date: Tue Aug 9 15:13:01 2016 +0200 label: Remove some useless casts These were casts of a const GdkEvent* to GdkEvent* even though the function they are passed to takes a const GdkEvent*. gtk/gtklabel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b0f793c8e71b7d187a30a0010720ae53e7ac74ed Author: Ignacio Casal Quinteiro Date: Wed Aug 10 12:29:01 2016 +0200 Use g_snprintf instead of snprintf. snprintf is not compatible with msvc. gtk/gtkscale.c | 3 ++- gtk/gtkspinbutton.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit da2e612fa8f00ae2eca72d136037652d87c27d2a Author: Emmanuele Bassi Date: Tue Aug 9 17:20:40 2016 +0100 git.mk: Add config.rpath to the list of ignored files This finally cleans up the `git status` output. git.mk | 1 + 1 file changed, 1 insertion(+) commit 2d2f8e3fa3d39228f3be548789fc21774eaf52a6 Author: Emmanuele Bassi Date: Tue Aug 9 17:16:17 2016 +0100 Remove config.rpath from EXTRA_DIST The config.rpath script was added by running gettextize, but it's not really needed, as config.rpath is generated by autotools and it's included in the dist tarball automatically. Upstream gettextize has been fixed so it does not happen any more: http://savannah.gnu.org/bugs/index.php?48729 Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 0be9adc5a3131821ba3307370203905dc2c69445 Author: Marek Černocký Date: Tue Aug 9 12:19:03 2016 +0200 Updated Czech translation po-properties/cs.po | 2180 ++++++++++++++++++++++++++------------------------- po/cs.po | 1084 +++++++++++++------------ 2 files changed, 1708 insertions(+), 1556 deletions(-) commit 1c9154b29178f1b4580564b32f817eadc0a08c4e Author: Dušan Kazik Date: Mon Aug 8 07:38:30 2016 +0000 Updated Slovak translation po/sk.po | 499 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 252 insertions(+), 247 deletions(-) commit a12ee84ec3466e2f4262d0bd484ef93f766a6545 Author: Matthias Clasen Date: Sun Aug 7 16:11:55 2016 -0400 wayland: Link against librt This is required for shm_open. https://bugzilla.gnome.org/show_bug.cgi?id=769603 gdk/wayland/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5fefc7a71432c05e30ff2954ef8157907efd27c3 Author: Matthias Clasen Date: Fri Aug 5 01:08:44 2016 -0400 headerbar: Fix size allocation The GtkHeaderBar gadget implementation was subtly broken: it called gtk_widget_set_allocation both in gtk_header_bar_size_allocate (with the actual allocation) and in gtk_header_bar_allocate_contents (with the content allocation of the main gadget). Dropping the second call fixes the render node conversion for GtkHeaderBar. gtk/gtkheaderbar.c | 2 -- 1 file changed, 2 deletions(-) commit cb3fc956c5cebdbeee1fe9dd1038b1f9ccc61852 Author: Yosef Or Boczko Date: Sun Aug 7 16:05:42 2016 +0300 Updated Hebrew translation po-properties/he.po | 2172 +++++++++++++++++++++++++++------------------------ 1 file changed, 1133 insertions(+), 1039 deletions(-) commit 6a2cba08c9fb4080e66d319521ea98dc0846681f Author: Yosef Or Boczko Date: Sun Aug 7 15:56:25 2016 +0300 Updated Hebrew translation po/he.po | 353 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 179 insertions(+), 174 deletions(-) commit 7b40fdbc2109ed40faff051bcf2c323ffb280741 Author: Philip Withnall Date: Wed Nov 20 17:21:28 2013 +0000 gdkwindow: Fix potential NULL pointer dereferences in event code The event code could potentially dereference pointer_info if the invariant that ENTER_NOTIFY and LEAVE_NOTIFY events are only emitted on devices which have pointers is violated elsewhere. Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gdk/gdkwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 76721e736e9605b3a7ec76d3676d8cb5f4172490 Author: Philip Withnall Date: Wed Aug 3 21:12:27 2016 +0100 gtkicontheme: Don’t emit warning about fallback theme when in unit tests In order to eliminate g_test_expect_message() (which doesn’t work with G_LOG_USE_STRUCTURED), make the warning about the fallback theme not existing be conditional on the icon theme search path containing a system path. Any application code which modifies the search path does so through appends and prepends, so this should not affect whether the warning is emitted in production. https://bugzilla.gnome.org/show_bug.cgi?id=769485 testsuite/gtk/icontheme.c | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) commit 1306f780abc1aa928c140107eace3896e43535bb Author: Matthias Clasen Date: Sat Aug 6 17:10:43 2016 -0400 tests: Avoid g_test_expect_message Instead of using g_test_expect_message, just ignore the warning. testsuite/gtk/treestore.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 64521345b9480cce790e0b299ffa20b44d9461ff Author: Colomban Wendling Date: Fri Jul 29 00:39:30 2016 +0200 GtkMenuButton: use :toggled instead of :clicked :toggled is triggered on :clicked, so using :toggled lead to the menu to be popped up at the same time, while allowing to use the toggle state and avoiding any need to a hack to prevent recursion, which somehow wasn't enough for double emission of GtkMenuToolButton:show-popup. https://bugzilla.gnome.org/show_bug.cgi?id=769287 gtk/gtkmenubutton.c | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) commit 41be1e7e1fec1d744e70b8c6bc21b2ca3812e4e0 Author: Piotr Drąg Date: Thu Aug 4 21:09:45 2016 +0200 Updated Polish translation po-properties/pl.po | 962 ++++++++++++++++++++++++++-------------------------- po/pl.po | 606 ++++++++++++++++----------------- 2 files changed, 782 insertions(+), 786 deletions(-) commit 2f9b22243a087c224f25a72f0c028ed46d043b4e Author: Timm Bäder Date: Thu Aug 4 17:32:05 2016 +0200 csslookup: Remove useless cast The style passed to _gtk_css_lookup_resolve is already a GtkCssStaticStyle. gtk/gtkcsslookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be2e0e0baf2177c1e7d928f2fa189b93d567e46d Author: Bernd Homuth Date: Thu Aug 4 18:38:09 2016 +0000 Updated German translation (cherry picked from commit 070c4f74868c31cc9316bbad38e2ad42adc43443) po-properties/de.po | 801 ++++++++++++++++++++++++++-------------------------- 1 file changed, 400 insertions(+), 401 deletions(-) commit 5e6c1928b4b45e34fd70d56f5cd229cfb2f30518 Author: Руслан Ижбулатов Date: Sat Jul 16 09:23:22 2016 +0000 W32: Prefer the deadkey combinations that the OS uses Pick the W32 API for possible deadkey+ combinations and prefer these to other sources of deadkey combos. Specifically, if W32 API supports at least one combo for a particular deadkey, only use that data and do not attempt to do other, unsupported combinations, even if they make sense otherwise. This is needed to, for example, correctly support US-International keyboard layout, which produces a combined character for <' + a> combo, but not for <' + s>, for example. This is achieved by stashing all the deadkeys that we find in an array, then doing extra loop through all virtual key codes and trying to combine them with each of these deadkeys. Any combinations that produce a single character are cached for later use. In GTK Simple IM context, call a new GDK W32 function to do a lookup on that cached combination table early on, among the "special cases" (which are now partially obsolete). A limitation of this code is that combinations with more than one deadkey are not supported, except for combinations that consist entirely of 2 known deadkeys. The upshot is that lookups should be relatively fast, as deadkey array stays small and the combination tree stays shallow. Note that the use of ToUnicodeEx() seems suboptimal, as it should be possible to just load a keyboard library (KBD*.DLL) manually and obtain and use its key table directly. However, that is much more complicated and would result in a significant rewrite of gdkkeys-win32. The code from this commit, though hacky, is a direct addition to existing code and should cover vast majority of the use-cases. https://bugzilla.gnome.org/show_bug.cgi?id=569581 gdk/win32/gdkkeys-win32.c | 403 ++++++++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkwin32keys.h | 25 +++ gtk/gtkimcontextsimple.c | 29 ++++ 3 files changed, 443 insertions(+), 14 deletions(-) commit 52c7e07948f0d82ade7c730e99c53dea3e13ca67 Author: Руслан Ижбулатов Date: Wed Jul 13 11:41:35 2016 +0000 GDK W32: Cache multiple keyboard layouts simultaneously This changes the group/level semantic. Previously W32 backend used "group 0/1" to denote "AltGr OFF/ON" and "level 0/1" to denote "Shift is OFF/ON". Now "group" means "keyboard layout" and there can be up to 255 groups, while AltGr and Shift are combined into a single level enum that takes values between 0 and 4. Unlike X, W32 doesn't do effective group overriding, meaning that it will never tell the caller that a different group was actually used (even for universal keys, such as Enter), because key symbol table is completely fabricated and there's no point in trying to save a few of kilobytes of RAM by not duplicating universal key records for all groups. Also contains many whitespace changes (tab elimination, fixed indentation) and cleanup (axed a few global variables, these are now accessed via the default keymap). https://bugzilla.gnome.org/show_bug.cgi?id=768722 gdk/gdkkeyuni.c | 8 +- gdk/win32/gdkevents-win32.c | 12 +- gdk/win32/gdkkeys-win32.c | 983 +++++++++++++++++++++++++++++-------------- gdk/win32/gdkmain-win32.c | 1 + gdk/win32/gdkprivate-win32.h | 12 +- 5 files changed, 679 insertions(+), 337 deletions(-) commit 60f3c02080fe8d0ad1177d05e5e4e1ab399f26c1 Author: Timm Bäder Date: Thu Aug 4 13:33:07 2016 +0200 shortcutlabel: Make parameter names match gtk/gtkshortcutlabel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50a0c5f2425aaf403867a95993b728c5fd6261f5 Author: Timm Bäder Date: Sat Jul 9 18:22:27 2016 +0200 widget: remove some unneeded function prototypes gtk/gtkwidget.c | 16 ---------------- 1 file changed, 16 deletions(-) commit 6032e7b216d8513f4d4b9acfdf446cfa6c8f0d92 Author: Timm Bäder Date: Fri Jul 1 10:51:06 2016 +0200 filechooserwidget: Remove unused enum gtk/gtkfilechooserwidget.c | 5 ----- 1 file changed, 5 deletions(-) commit 41c8446631066505b145914fe58fb84ff4fad997 Author: Timm Bäder Date: Tue Jul 19 14:40:52 2016 +0200 label: Destroy the popup menu on unmap gtk/gtklabel.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 6107e50c98c1b36bc65e14779ee3a1c1824fd00a Author: Daniel Mustieles Date: Wed Aug 3 12:28:56 2016 +0000 Updated Spanish translation po-properties/es.po | 71 ++++++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 34 deletions(-) commit 445286c2c3fdb7a3c246491da8ceb2a82c07dfd4 Author: Emmanuele Bassi Date: Wed Aug 3 11:52:08 2016 +0100 Modify git.mk to handle our split NLS directories GTK+ has two directories for translations: the default 'po' and the additional 'po-properties' for the GObject properties translation domain. Since the content of the translations directories are filled by autoreconf and gettext, and are duplicated between the two gettext domains we use, we should handle this ad hoc inside git.mk, instead of trying to catch up by adding po-properties files in GITIGNOREFILES. Makefile.am | 10 ++-------- git.mk | 40 +++++++++++++++++++++++----------------- 2 files changed, 25 insertions(+), 25 deletions(-) commit 9e1afd7ba8dfc0edade1f8af7bd0635067589133 Author: Emmanuele Bassi Date: Wed Aug 3 11:49:15 2016 +0100 Add ignore file for macro dir The contents of the macro directory are too complicated for git.mk to handle: the contents are filled by autotools and may change between systems or autotools releases; and we additionally ship our own m4 macros. To avoid unnecessary noise on the `git status` output we should simply add an ignore file specifically for the macro directory. m4/.gitignore | 3 +++ 1 file changed, 3 insertions(+) commit 80d329a3e70fdba725e707ee663fe16d8a0ad3a7 Author: Matthias Clasen Date: Tue Aug 2 23:59:34 2016 -0400 Skip GtkShortcutLabel::accelerator in notify test This property is not freely settable, since the string gets parsed. testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2de6b0800d88702d3e4208defb6136fa635b7143 Author: Matthias Clasen Date: Tue Aug 2 23:42:11 2016 -0400 menu: Fix up new properties The new positioning-related properties had some quality of implementation issues, such as incorrect initial values and excessive change notification. This broke the notify test. gtk/gtkmenu.c | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) commit 5ab2b8f562095a3f4d44b8e5c86916e419f527aa Author: Matthias Clasen Date: Tue Aug 2 23:23:43 2016 -0400 Make icontheme test work with structured logging Since we've opted in to G_LOG_USE_STRUCTURED, this test now needs to do its thing using a log writer function. testsuite/gtk/icontheme.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) commit d9c07c0a6afc5fb5eae1ae8148f520b59b53937c Author: Matthias Clasen Date: Tue Aug 2 22:32:25 2016 -0400 Skip GdkDrawingContext in default value tests GdkDrawingContext objects can't be freely constructed. testsuite/gtk/defaultvalue.c | 1 + 1 file changed, 1 insertion(+) commit 43a533112531d2e9d1ba390bc3116554a4d05ba3 Author: Emmanuele Bassi Date: Tue Aug 2 22:13:54 2016 +0100 Require a new version of GLib We need GLib 2.49.4 because of the new API requirements introduced by commit 936c1649. https://bugzilla.gnome.org/show_bug.cgi?id=769451 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 60c393d32f6f4f2ab2d4c744b3ff59e4029a21fd Author: Daniel Mustieles Date: Tue Aug 2 16:52:29 2016 +0200 Updated Spanish translation po-properties/es.po | 108 ++++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 55 deletions(-) commit 55a95682641d1187a41a09d13c039acec8ba49fc Author: Daniel Mustieles Date: Tue Aug 2 16:52:19 2016 +0200 Updated Spanish translation po/es.po | 136 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 66 insertions(+), 70 deletions(-) commit 831d8b12612bdc3c45334836fa6d0a4b4e96b2bf Author: Emmanuele Bassi Date: Tue Aug 2 12:28:00 2016 +0100 Update the docs for gtk_window_get_position() Drop mentions of GnomeClient, and add mentions of different windowing systems instead of just assuming that we're using X11. gtk/gtkwindow.c | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) commit 0989614d2d94dec8bcc764d1e3c8180deead04a2 Author: Matthias Clasen Date: Mon Aug 1 09:09:19 2016 -0400 Add a release not about GtkTable expand flags docs/reference/gtk/migrating-3xtoy.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit 4556d0f0fe969e8f2144602696b4580b9718b71e Author: Christoph Reiter Date: Tue Jul 26 13:09:21 2016 +0200 gtkbox: remove unnecessary queue_compute_expand() The expand child property does not have any effect on the expand state of the GtkBox, so queuing a compute_expand when changing it is not needed. https://bugzilla.gnome.org/show_bug.cgi?id=769162 gtk/gtkbox.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit a72f1c76c87de7a8124a809fe9692194273c563e Author: Christoph Reiter Date: Tue Jul 26 12:37:55 2016 +0200 gtktable: don't try to propagate expand related child props in compute_expand() It tried to set the expand state if either xexpand/yexpand where true. Due to a missing queue_compute_expand when adding a child it actually only computed the expand state in case a child queued after being added or in case a child had the expand property set (see optimization in gtk_widget_set_parent) In my case this broke layouts as a child of GtkCombBox started setting an exand flag with 3.20 which queued a compute_expand, which in turn propagated an expand child props set for a cell in the same table up and overrode the expand child prop of a parent GtkBox. This removes the custom compute_expand implementation to match the behaviour of GtkBox (don't propagate child prop expand flags but let child expand flags override the child props) and not get random expand behaviour depending on whether and when child widgets set their expand state. https://bugzilla.gnome.org/show_bug.cgi?id=769162 gtk/deprecated/gtktable.c | 63 ++--------------------------------------------- 1 file changed, 2 insertions(+), 61 deletions(-) commit e4c072fc11fb9f20705f1a4d4b5958f94b16dabe Author: Aurimas Černius Date: Sun Jul 31 19:58:56 2016 +0300 Updated Lithuanian translation po-properties/lt.po | 1375 +++++++++++++++++++++++++++------------------------ po/lt.po | 614 ++++++++++++----------- 2 files changed, 1038 insertions(+), 951 deletions(-) commit 64739f46fc87a551d346267710423f14c9a78f2b Author: Bastien Nocera Date: Wed Jul 27 19:13:31 2016 +0200 demos: Fix build failure gtk+/demos/gtk-demo/css_blendmodes.c: In function ‘update_css_for_blend_mode’: gtk+/demos/gtk-demo/css_blendmodes.c:49:26: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] blend_mode); ^~~~~~~~~~ https://bugzilla.gnome.org/show_bug.cgi?id=769236 demos/gtk-demo/css_blendmodes.c | 3 +++ 1 file changed, 3 insertions(+) commit 331af2afb6883d42b39dfdb4dd04fbeb19f14780 Author: Sébastien Wilmet Date: Thu Jul 28 20:51:05 2016 +0200 docs: trivial build fix The error was: gtk3-scan.c:193: undefined reference to `gtk_shortcuts_label_get_type' collect2: error: ld returned 1 exit status It's since commit 7543cd8ce419a4d660f0ff7614f0c6e1cac81804, which made the GtkShortcutLabel class public. docs/reference/gtk/gtk3.types.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b01e975667ead36ac27e24c7e16733edc26d32bd Author: Matthias Clasen Date: Tue Jul 26 15:45:39 2016 -0400 Port GtkPrintOperationPortal to gtk_window_export_handle gtk/gtkprintoperation-portal.c | 75 +++++++++++++++++++++++++++--------------- 1 file changed, 49 insertions(+), 26 deletions(-) commit 936c1649dea3cd9b686fdd05949f45777c3b2335 Author: Matthias Clasen Date: Tue Jul 26 15:44:49 2016 -0400 Port gtk_show_uri_on_window to gtk_window_export_handle As part of this, make it use the new g_app_info_launch_default_for_uri_async, since we need a way to unexport the window handle afterwards. gtk/gtkshow.c | 57 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 22 deletions(-) commit 237df66a33267ba4aad6141a041ab8f2a28ae6f8 Author: Matthias Clasen Date: Tue Jul 26 15:48:18 2016 -0400 Port GtkFileChooserNativePortal to gtk_window_export_handle gtk/gtkfilechoosernativeportal.c | 149 ++++++++++++++++++++++++--------------- 1 file changed, 91 insertions(+), 58 deletions(-) commit 18aa05110fe7b8ed72843a993e36a52b88600722 Author: Matthias Clasen Date: Tue Jul 26 15:46:41 2016 -0400 Put window exporting behind a display protocol agnostic API Introduce a private API meant for abstracting how to get a handle of a window that can be shared with other processes. The API is async, since some implementations will require that. Currently, only X11 is supported, which doesn't. Based on a patch by Jonas Adahl. gtk/gtkwindow.c | 30 ++++++++++++++++++++++++++++++ gtk/gtkwindowprivate.h | 11 +++++++++++ 2 files changed, 41 insertions(+) commit 2233566f4854c07d89deeeb8505e82bad544787c Author: Руслан Ижбулатов Date: Sun Jul 24 14:26:06 2016 +0000 GDK W32: Support UTF-16 surrogate pairs passed via VK_PACKET This is, essentially, a piece of g_utf16_to_ucs4() built into GDK W32 keyboard message processing. https://bugzilla.gnome.org/show_bug.cgi?id=769126 gdk/win32/gdkevents-win32.c | 75 ++++++++++++++++++++++++++++++++++++++------- gdk/win32/gdkwindow-win32.h | 8 +++++ 2 files changed, 72 insertions(+), 11 deletions(-) commit 5ccc0e40f5eaa9c0e2121674913c398e9963f0be Author: Benjamin Otte Date: Thu Jul 28 11:41:21 2016 -0400 css: Fix case where we didn't convert pt => px Fixes gtk_widget_override_font() not behaving properly since commit df08fc91bdc1d2e4c866122304fabe4dd298a7de. https://bugzilla.gnome.org/show_bug.cgi?id=768902 gtk/gtkcssshorthandpropertyimpl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit f4222080401ddd06c99f96d6bd07d574340b04e9 Author: Benjamin Otte Date: Thu Jul 28 11:31:30 2016 -0400 css: Rename functions I don't want to use a generic function for font sizes as font sizes are special. Plus, the function is only used in one place. gtk/gtkcssstylepropertyimpl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit ca6c928c5ba9516e70f4e22f1717aa113fb6f20a Author: Emilio Pozuelo Monfort Date: Thu Jul 28 17:13:15 2016 +0200 Properly declare the font CSS property https://bugzilla.gnome.org/show_bug.cgi?id=769004 testsuite/reftests/label-sizing.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9f61e3a8e8040bd7719c4d85b6e623ee75420a3 Author: Emilio Pozuelo Monfort Date: Thu Jul 28 17:12:25 2016 +0200 Don't use one-stop gradients They are deprecated, which causes a warning that makes the test fail. https://bugzilla.gnome.org/show_bug.cgi?id=769004 testsuite/reftests/linear-gradient-transition-to-other.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0fd69ce99a323bf4e4d60b9b424cff63cf0aff28 Author: Murray Cumming Date: Thu Jul 28 11:12:54 2016 +0200 Fix tiny typo. gtk/gtkactionable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 15b2dbf9a8e6de17fb74eef989ed5923ef6c6180 Author: Lapo Calamandrei Date: Wed Jul 27 22:54:20 2016 +0200 Adwaita: use a transition to animate checks and radios see https://bugzilla.gnome.org/show_bug.cgi?id=762260 gtk/theme/Adwaita/_common.scss | 41 ++++++++++++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 45 ++++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 45 ++++++++++++-------------------- 3 files changed, 51 insertions(+), 80 deletions(-) commit ddee89f4a3b17f99faef5fcea528dc1e5d963061 Author: Georges Basile Stavracas Neto Date: Tue Jul 26 17:12:31 2016 -0300 shortcut-label: add 'disabled-text' property When there's no useful shortcut accelerator set, GtkShortcutLabel doesn't show any useful information. To work around that, add a new property to set the text to be displayed when there's no accelerator available. https://bugzilla.gnome.org/show_bug.cgi?id=769205 gtk/gtkshortcutlabel.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkshortcutlabel.h | 7 +++++ 2 files changed, 83 insertions(+), 2 deletions(-) commit 7543cd8ce419a4d660f0ff7614f0c6e1cac81804 Author: Georges Basile Stavracas Neto Date: Tue Jul 26 16:00:47 2016 -0300 shortcut-label: make it public GtkShortcutLabel is a widget that displays a single shortcut accelerator or gesture in the user interface, and is currently used by the shortcuts window. This widget, however, has public value as other applications also may want to expose their own shortcuts. For instance, it'll be useful for the Keyboard panel on Control Center and the new shortcut editor in Pitivi, among others. This patch exposes GtkShortcutLabel as a public widget, and adds the necessary documentation. https://bugzilla.gnome.org/show_bug.cgi?id=769205 docs/reference/gtk/gtk3.types.in | 1 + gtk/Makefile.am | 2 +- gtk/gtk.h | 1 + gtk/gtkshortcutlabel.c | 49 +++++++++++++++++++++- ...tkshortcutlabelprivate.h => gtkshortcutlabel.h} | 7 +++- gtk/gtkshortcutsshortcut.c | 2 +- 6 files changed, 58 insertions(+), 4 deletions(-) commit 8e6a68c5fc1d203cdc6a3e2dbf177ce8ef6892ec Author: Carlos Garnacho Date: Wed Jul 27 20:23:35 2016 +0200 GtkScrolledWindow: reset scroll history if it contained no real history Scroll history must refer to a timespan for the values to be valid, otherwise we return FALSE, in this case the stored event(s) should be discarded anyway. gtk/gtkscrolledwindow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 9eb356d9f29a881e05937a0089d88154cfc6364a Author: Carlos Garnacho Date: Wed Jul 27 20:19:30 2016 +0200 GtkScrolledWindow: Always uninstall scroll cursor when starting deceleration It could be the case that the last scroll event is received long after any previous scroll event, in this case the last scroll event discards all "old" scroll events, and scroll_history_finish() returns FALSE because there's no time/offset deltas in the scroll history. This is desired so we don't trigger the deceleration effect if there was no effective velocity, we still must reset the installed scroll cursor, so take it out of this if() condition. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c0f66ed1ea39f5a0b09f87055198921cb718c7ba Author: Tiago Santos Date: Wed Jul 27 07:35:14 2016 +0000 Updated Portuguese translation po-properties/pt.po | 376 ++++++++++++++++++++++++++++------------------------ 1 file changed, 202 insertions(+), 174 deletions(-) commit 0f329195035eddc5dbc5f640bf4eb58348b439c5 Author: Matthias Clasen Date: Tue Jul 26 07:25:01 2016 -0400 Stop using one-stop gradients in reftests This is causing warnings now that make the tests fail. testsuite/reftests/background-image-multiple.css | 10 +++++----- testsuite/reftests/background-size-zero.css | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) commit 45957100b0e5b981e6da994cf0ee597f1e7e6edb Author: Matthias Clasen Date: Tue Jul 26 00:21:48 2016 -0400 Revert a mistaken change I thought I needed ot rearrange the ordering of the animation-direction values for the parser, overlooking the fact that we already parse them backwards to address this very problem. gtk/gtkcssenumvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit af5ef152b1c1949f580e96fa0ef125a96ece878e Author: Sébastien Wilmet Date: Sun Jul 24 17:20:29 2016 +0200 docs: GtkWidget::style-updated vs GtkStyleContext::changed Explain the difference between those two signals. Add "Since: 3.0" for GtkStyleContext::changed, since that signal has been added in commit 9f84e101bf150a85f82e15c56130b1f98b8fdbf0, present since 2.91.6. https://bugzilla.gnome.org/show_bug.cgi?id=769047 gtk/gtkstylecontext.c | 13 +++++++++++++ gtk/gtkwidget.c | 9 ++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) commit 3432587f890e58584907776d45bb54b82cf25f89 Author: Sébastien Wilmet Date: Sun Jul 24 13:16:31 2016 +0200 docs: add missing info for gtk_widget_get_style_context() It is important to know whether the returned object can or cannot change, for a certain widget. For example to connect to the GtkStyleContext::changed signal. https://bugzilla.gnome.org/show_bug.cgi?id=769047 gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f089d7503b5e23caa8e99090439ff0ffd8d815cb Author: Matthias Clasen Date: Mon Jul 25 09:11:21 2016 -0400 GtkApplication: some cleanups Always return an error if we fail to get a dbus proxy; the callers are only looking whether error is set, not whether the return value is NULL. Use the same function for the inhibit proxy as well, and clean up the sm_proxy in finalize. gtk/gtkapplication-dbus.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit f65c116d2a326e195a7fd7e64fb210b2c8486899 Author: Simon McVittie Date: Mon Jun 6 09:48:36 2016 +0100 Don't apply GDK_HINT_RESIZE_INC to GDK_WINDOW_STATE_TILED windows This matches the behaviour of Mutter, Metacity and traditional X11 window managers on the window manager side, and is what we want for at least gnome-terminal. I can't think of any reason why we'd want incremental resize in any other tiled window. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=760944 https://bugzilla.gnome.org/show_bug.cgi?id=755947 gdk/wayland/gdkwindow-wayland.c | 10 +++++----- gtk/gtkwindow.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) commit d9dd7eb7576c905312cae5bc5a0b86a13d2c6465 Author: Cosimo Cecchi Date: Sat Jul 16 11:48:32 2016 -0700 reftests: override GSETTINGS_SCHEMA_DIR when running tests The reftest depends on a schema we install ourselves. Instruct GIO to look in the build directory to avoid a cyclic dep. https://bugzilla.gnome.org/show_bug.cgi?id=768930 testsuite/reftests/Makefile.am | 16 ++++++++++++++++ testsuite/reftests/gtk-reftest.c | 6 ++++++ 2 files changed, 22 insertions(+) commit f44baf51d9e8616acd9b929d9cfef83a4a3ad00a Author: Matthias Clasen Date: Mon Jul 25 08:32:24 2016 -0400 Avoid a division by zero It appears that xvfb returns nonsense in its xrandr resources. Avoid a crash when that happens. https://bugzilla.gnome.org/show_bug.cgi?id=768999 gdk/x11/gdkscreen-x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8db8891c66e9b5dc07deba631f2facc9383b7c2e Author: Matthias Clasen Date: Mon Jul 25 08:32:08 2016 -0400 Use g_clear_object in a few more places gtk/gtkwidget.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit bab906f83846f96b407510e42cf21c281e492451 Author: Lapo Calamandrei Date: Sun Jul 24 19:11:27 2016 +0200 Adwaita: use margins for entry image spacing there used to be a padding, since it was the only option in the past, that makes little sense now, hence use margins. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 6 insertions(+), 10 deletions(-) commit bc070a70a57f19df349c3af93cd1642e39bf1b76 Author: Lapo Calamandrei Date: Sun Jul 24 18:58:45 2016 +0200 HC: export unfocused_insensitive_color... ...to reflect Adwaita changes. gtk/theme/HighContrast/_colors.scss | 1 + gtk/theme/HighContrast/gtk-contained-inverse.css | 3 ++- gtk/theme/HighContrast/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit f84b8c1c26b6b9aa6a7f059b832b9fea98faf85d Author: Lapo Calamandrei Date: Sun Jul 24 18:04:51 2016 +0200 Adwaita: export yet another named color for insensitive bg/fg... ...which was needed, but not there, use responsibly. gtk/theme/Adwaita/_colors-public.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit dd09e252c937302f9519b088ff6963e826a95b85 Author: Timm Bäder Date: Sat Jul 23 14:07:47 2016 +0200 Fix a few documentation parameter names gtk/gtkfilechooser.c | 2 +- gtk/gtkfilefilter.c | 2 +- gtk/gtkpapersize.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 82fd72a477682dce8383485372192130aa440f77 Author: Matthias Clasen Date: Fri Jul 22 23:11:44 2016 -0400 Opt in to structured logging Define G_LOG_USE_STRUCTURED, so that all our g_debug, g_warning, etc calls directly use structured logging and provide source information. gdk/Makefile.am | 1 + gdk/broadway/Makefile.am | 1 + gdk/mir/Makefile.am | 1 + gdk/quartz/Makefile.am | 1 + gdk/wayland/Makefile.am | 1 + gdk/win32/Makefile.am | 1 + gdk/x11/Makefile.am | 1 + gtk/Makefile.am | 1 + 8 files changed, 8 insertions(+) commit 4a9f17c690c450f4a937badf3cb631743e663eed Author: Carlos Garnacho Date: Fri Jul 22 20:58:55 2016 +0200 wayland: Fix build Missing include pointing to tablet-unstable-v1-client-protocol.h, pays me for not testing on a clean checkout. gdk/wayland/gdkdisplay-wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9fe0c1e12625e510c3bd39f68da7b4c743253c14 Author: Carlos Garnacho Date: Fri May 13 15:25:25 2016 +0200 wayland: Use wl_fixed_t on wp_tablet_tool angle arguments This is an incompatible change in tablet protocol v2. gdk/wayland/gdkdevice-wayland.c | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit 536017646e802044a4c20e2ef74b8aa3ed42f39a Author: Carlos Garnacho Date: Fri May 13 15:19:04 2016 +0200 wayland: Update current tablet support to using v2 Only update to using v2 headers/structs. The incompatible changes to tool events are dealt with in the next commit. Pads aren't handled in this commit either. configure.ac | 2 +- gdk/wayland/Makefile.am | 4 +- gdk/wayland/gdkdevice-wayland.c | 132 +++++++++++++++++++++------------------ gdk/wayland/gdkdisplay-wayland.c | 6 +- gdk/wayland/gdkdisplay-wayland.h | 2 +- 5 files changed, 78 insertions(+), 68 deletions(-) commit 1b0ade8bdd8337728f2e64ff90e8c95295b335a1 Author: Lapo Calamandrei Date: Fri Jul 22 14:10:56 2016 +0200 Adwaita: dim calendar `uninteresting` days some more see https://bugzilla.gnome.org/show_bug.cgi?id=769003 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 80b28a17f73a61df180503e531b008a7199fc14f Author: Lapo Calamandrei Date: Wed Jul 20 22:48:25 2016 +0200 Adwaita: clean calendar styling remove some non working props and generally simplify and clean up the code, in the process address: https://bugzilla.gnome.org/show_bug.cgi?id=769003 gtk/theme/Adwaita/_common.scss | 35 +++++++++----------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 18 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 18 ++++++++-------- 3 files changed, 28 insertions(+), 43 deletions(-) commit d266b39407e92a23e07c136b5cc1000dc1ad57aa Author: Daniel Mustieles Date: Wed Jul 20 10:38:39 2016 +0000 Updated Spanish translation po-properties/es.po | 285 +++++++++++++++++++++++++++++----------------------- 1 file changed, 160 insertions(+), 125 deletions(-) commit 4185e9eaa3460a36bc2bce1a666f1c0258402972 Author: Piotr Drąg Date: Tue Jul 19 17:14:30 2016 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 3 +++ po/POTFILES.skip | 3 +++ 2 files changed, 6 insertions(+) commit 748ebd3d72ebfbcedc6e03d9df2462caafa81987 Author: William Hua Date: Mon Jul 4 15:31:16 2016 -0400 mir: implement gdk_window_move_to_rect () https://bugzilla.gnome.org/show_bug.cgi?id=756579 gdk/mir/gdkmirwindowimpl.c | 130 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 114 insertions(+), 16 deletions(-) commit 8701e34f749cf196c9726c01c03f35ce4eb39836 Author: William Hua Date: Tue Jul 12 14:08:36 2016 -0400 port to new gtk_menu_popup_at_* () functions https://bugzilla.gnome.org/show_bug.cgi?id=756579 demos/gtk-demo/clipboard.c | 2 +- demos/gtk-demo/main.c | 2 +- demos/gtk-demo/search_entry.c | 3 +- gtk/deprecated/gtkcolorsel.c | 53 ++----- gtk/gtkappchooserwidget.c | 3 +- gtk/gtkcombobox.c | 285 ++++++++++----------------------- gtk/gtkentry.c | 88 +++-------- gtk/gtklabel.c | 65 ++------ gtk/gtklinkbutton.c | 73 ++------- gtk/gtkmenubutton.c | 294 ++++++++++++++++------------------ gtk/gtkmenuitem.c | 358 ++++++++++++++++++------------------------ gtk/gtkmenuitemprivate.h | 1 - gtk/gtkmountoperation.c | 39 +---- gtk/gtknotebook.c | 83 +++++----- gtk/gtkplacesview.c | 26 +-- gtk/gtkrecentchooserdefault.c | 57 ++----- gtk/gtktextview.c | 147 +++++------------ gtk/gtktoolbar.c | 95 ++++------- gtk/gtkwindow.c | 21 +-- 19 files changed, 553 insertions(+), 1142 deletions(-) commit 05b9bc5cff5f2bd625412ddac2184af8c026895b Author: William Hua Date: Thu Jun 23 10:54:22 2016 -0400 add demo for testing gtk_menu_popup_at_* () https://bugzilla.gnome.org/show_bug.cgi?id=756579 tests/Makefile.am | 1 + tests/popupat.ui | 2933 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/testpopupat.c | 64 ++ 3 files changed, 2998 insertions(+) commit b03361366a936836e76ae10e1bc2a5dbcb7ce19e Author: William Hua Date: Tue Jun 14 15:42:13 2016 -0400 gtkmenu: add gtk_menu_popup_at_* () Adds the following functions: gtk_menu_popup_at_rect () gtk_menu_popup_at_widget () gtk_menu_popup_at_pointer () https://bugzilla.gnome.org/show_bug.cgi?id=756579 docs/reference/gtk/Makefile.am | 3 + docs/reference/gtk/gtk3-sections.txt | 3 + docs/reference/gtk/images/popup-anchors.png | Bin 0 -> 17514 bytes docs/reference/gtk/images/popup-at.svg | 745 +++++++++++++++++++++++++ docs/reference/gtk/images/popup-flip.png | Bin 0 -> 21504 bytes docs/reference/gtk/images/popup-slide.png | Bin 0 -> 45993 bytes gtk/gtkmarshalers.list | 1 + gtk/gtkmenu.c | 809 +++++++++++++++++++++++++--- gtk/gtkmenu.h | 16 + gtk/gtkmenuprivate.h | 18 + 10 files changed, 1521 insertions(+), 74 deletions(-) commit b3a530cb727c504923d047347b982a9fcd1490b7 Author: William Hua Date: Wed Jun 15 11:00:38 2016 -0400 gdkwindow: add gdk_window_move_to_rect () https://bugzilla.gnome.org/show_bug.cgi?id=756579 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdk-private.c | 3 +- gdk/gdk-private.h | 16 +++ gdk/gdkmarshalers.list | 1 + gdk/gdkwindow.c | 95 +++++++++++++ gdk/gdkwindow.h | 43 ++++++ gdk/gdkwindowimpl.c | 253 +++++++++++++++++++++++++++++++++++ gdk/gdkwindowimpl.h | 7 + 8 files changed, 418 insertions(+), 1 deletion(-) commit 48108c401ec474a3841b93745e563b4645a3f0d0 Author: William Hua Date: Fri Jul 15 20:52:35 2016 -0400 gdkwindow: store transient_for window https://bugzilla.gnome.org/show_bug.cgi?id=756579 gdk/gdkinternals.h | 1 + gdk/gdkwindow.c | 2 ++ 2 files changed, 3 insertions(+) commit 0a5bee2751af93791b2ae042f6af9a9d335b9a1a Author: William Hua Date: Thu Jun 16 11:20:35 2016 -0400 gdkwindow: store shadow sizes https://bugzilla.gnome.org/show_bug.cgi?id=756579 gdk/gdkinternals.h | 4 ++++ gdk/gdkwindow.c | 5 +++++ 2 files changed, 9 insertions(+) commit 2235f211e39fcf52cb2584a387fc7fa3e37f71ac Author: Daniel Mustieles Date: Mon Jul 18 16:48:16 2016 +0200 Updated Spanish translation po-properties/es.po | 207 +++++++++++++++++++++++++--------------------------- 1 file changed, 101 insertions(+), 106 deletions(-) commit 718b3a9ad46d31ce8963c70fea97f5947aacba68 Author: Daniel Mustieles Date: Mon Jul 18 16:48:06 2016 +0200 Updated Spanish translation po/es.po | 343 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 172 insertions(+), 171 deletions(-) commit 246549323752c58509b1fd9bb322fdd127f9ee21 Author: Руслан Ижбулатов Date: Mon Jul 18 10:32:04 2016 +0000 Try to delete any existing W32 status icons when DPI changes Fixes some or all of the issues reported in https://github.com/hexchat/hexchat/issues/1423 gtk/deprecated/gtkstatusicon.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 02c89f7e8fe055c5523c8c221d2678ada12b055d Author: Matthias Clasen Date: Sun Jul 17 23:27:35 2016 -0400 3.21.4 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16dbc0fd10cac4198d52715b3e1d906d6ce10ecb Author: Matthias Clasen Date: Sun Jul 17 14:07:47 2016 -0400 Updates NEWS | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit e9078e3abb90aa107f3c329940fa1e7454a31fcb Author: Chao-Hsiung Liao Date: Sat Jul 16 02:46:17 2016 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 2251 +++++++++++++++++++++++++----------------------- 1 file changed, 1175 insertions(+), 1076 deletions(-) commit 6906252b386b5a38d8b033d934740dc1e87430c2 Author: Chao-Hsiung Liao Date: Sat Jul 16 02:45:07 2016 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 1511 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 803 insertions(+), 708 deletions(-) commit 01129a0ba06af7596a27afd8659862204f13172f Author: Piotr Drąg Date: Thu Jul 14 17:06:21 2016 +0200 Add Language headers to po files Future versions of gettext will fail if this header is missing. po-properties/as.po | 2 +- po-properties/az.po | 2 +- po-properties/az_IR.po | 2 +- po-properties/be@latin.po | 2 +- po-properties/bn.po | 2 +- po-properties/bn_IN.po | 2 +- po-properties/br.po | 2 +- po-properties/ca@valencia.po | 2 +- po-properties/crh.po | 1 + po-properties/dz.po | 2 +- po-properties/en.po | 2 +- po-properties/en@shaw.po | 1 + po-properties/en_CA.po | 2 +- po-properties/es.po | 2 +- po-properties/et.po | 1 + po-properties/gu.po | 2 +- po-properties/hy.po | 2 +- po-properties/ia.po | 2 +- po-properties/io.po | 2 +- po-properties/kg.po | 1 + po-properties/km.po | 2 +- po-properties/ko.po | 2 +- po-properties/lg.po | 1 + po-properties/mai.po | 2 +- po-properties/ml.po | 2 +- po-properties/ms.po | 2 +- po-properties/nb.po | 2 +- po-properties/nds.po | 2 +- po-properties/sq.po | 2 +- po-properties/sr@ije.po | 2 +- po-properties/sr@latin.po | 2 +- po-properties/tt.po | 2 +- po-properties/ug.po | 2 +- po-properties/ur.po | 2 +- po-properties/uz.po | 2 +- po-properties/uz@cyrillic.po | 2 +- po-properties/wa.po | 2 +- po-properties/yi.po | 2 +- po-properties/zh_HK.po | 2 +- po/as.po | 2 +- po/az_IR.po | 2 +- po/be@latin.po | 2 +- po/bn_IN.po | 2 +- po/br.po | 1 + po/ca@valencia.po | 2 +- po/crh.po | 2 +- po/dz.po | 2 +- po/en.po | 2 +- po/en@shaw.po | 1 + po/en_CA.po | 2 +- po/es.po | 2 +- po/gu.po | 2 +- po/hy.po | 2 +- po/io.po | 2 +- po/kg.po | 1 + po/km.po | 2 +- po/ko.po | 2 +- po/ku.po | 2 +- po/lg.po | 2 +- po/mai.po | 2 +- po/mi.po | 2 +- po/ms.po | 2 +- po/nb.po | 2 +- po/nds.po | 2 +- po/sl.po | 2 +- po/sq.po | 2 +- po/sr@ije.po | 2 +- po/sr@latin.po | 2 +- po/tt.po | 2 +- po/ug.po | 2 +- po/ur.po | 2 +- po/uz.po | 2 +- po/uz@cyrillic.po | 2 +- po/wa.po | 2 +- po/yi.po | 2 +- po/zh_HK.po | 2 +- 76 files changed, 76 insertions(+), 68 deletions(-) commit 846087fcff18456f369c280efa445b38c0e47c1f Author: Javier Jardón Date: Wed Jul 13 21:15:15 2016 +0100 Add LINGUAS file to po-properties po-properties/LINGUAS | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) commit 473ae67a139bf1c0a4e84da0d8ade880ca4bff99 Author: Tiago Santos Date: Wed Jul 13 16:49:10 2016 +0000 Updated Portuguese translation po/pt.po | 339 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 170 insertions(+), 169 deletions(-) commit 45a9aed72124ca8bfe84945d8355f9d65964414d Author: Tiago Santos Date: Wed Jul 13 16:47:18 2016 +0000 Updated Portuguese translation po-properties/pt.po | 91 ++++++++++++++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 43 deletions(-) commit 793d5291d99fd0aa97b64e18db375baa180c37dd Author: Matthias Clasen Date: Wed Jul 13 11:23:47 2016 -0400 link button: Use gtk_show_uri_on_window This gives slightly better behavior in the sandboxed case and makes no difference otherwise. gtk/gtklinkbutton.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 6184edc31896dca557c76fbcc6d13cc1e84a14eb Author: Patrick Griffis Date: Wed Jul 13 01:44:34 2016 -0400 GtkFileChooserNativePortal: Use correct response code for accept As per the documentation of GtkFileChooserNative. https://bugzilla.gnome.org/show_bug.cgi?id=768756 gtk/gtkfilechoosernativeportal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d8815f3e4ee090cf22156a96873909db10d384f4 Author: Chun-wei Fan Date: Mon Jul 11 17:50:13 2016 +0800 gtk/gtkfilechoosernativeportal.c: Don't use g_autoptr() This code is also built by non-GCC/CLang compilers, so use the normal ref/unref steps for the GVariant. https://bugzilla.gnome.org/show_bug.cgi?id=768659 gtk/gtkfilechoosernativeportal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 500c9dbe96d56895a95b6594c6ab5f011c747e3f Author: Matthias Clasen Date: Tue Jul 12 21:57:46 2016 -0400 Remove a few mentions of GtkVBox in the docs We only have GtkBox nowadays. gtk/gtkmessagedialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8f1fd7d964c4d447253a2317caa7929a8ee0fabf Author: Emmanuele Bassi Date: Tue Jul 12 18:09:20 2016 +0100 docs: Fix typo. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0dae6c14638672f490a96af8c96fef63ce75e5c Author: Emmanuele Bassi Date: Tue Jul 12 12:43:31 2016 +0100 docs: Attempt a better explanation for gtk_widget_destroy() Clarify the nature of this function, and the expectations after it's been called. gtk/gtkwidget.c | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) commit 3831b2a725880ac1d17cd71c25e174d75ecf4d72 Author: Piotr Drąg Date: Tue Jul 12 13:31:21 2016 +0200 placesview: fix spelling of WebDAV in a translatable string gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9747312e6c2d5b4c37a52b4270108ef652603784 Author: Razvan Chitu Date: Tue Jul 12 12:08:23 2016 +0300 placesview: fix open action for locations without a mount or volume In the "Other Locations" view, locations can be opened from the context menu based on their mount or volume. However, some locations, like "Computer", do not have either of those so they cannot be opened from the context menu. In order to fix this, the file associated with the location can be used as well. https://bugzilla.gnome.org/show_bug.cgi?id=768657 gtk/gtkplacesview.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit b5a2bba84071265ffd2c2327e710b8bee3318ea4 Author: Emmanuele Bassi Date: Mon Jul 11 16:55:10 2016 +0100 docs: Improve gdk_window_create_similar_image_surface() The sizes passed are in device pixels and do not take into account the scaling factor of the window itself. We cannot change the semantics of the function, so let's at least add a warning for this trap door. gdk/gdkwindow.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 53a1f0ba7822d314003a170dc2c905af6f4b0cbb Author: Lapo Calamandrei Date: Sat Jul 9 00:56:32 2016 +0200 Adwaita: remove old popover checkbutton/radiobutton style remove some now disfunctional style regarding checkbuttons and radiobuttons inside popovers which shouldn't be needed anymore. gtk/theme/Adwaita/_common.scss | 3 --- gtk/theme/Adwaita/gtk-contained-dark.css | 40 +++++++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 40 +++++++++++--------------------- 3 files changed, 26 insertions(+), 57 deletions(-) commit 725d5b14779e3acb2ec21f4c08d50ed85d2d9e1e Author: Lapo Calamandrei Date: Fri Jul 8 22:08:27 2016 +0200 Adwaita: remove some check and radio related cruft remove superfluous padding which was there before the css node conversion of the widget. gtk/theme/Adwaita/_common.scss | 7 ------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ---------------- gtk/theme/Adwaita/gtk-contained.css | 16 ---------------- 3 files changed, 39 deletions(-) commit ae8c13753e0daaeeda0255bf98e1c839ff1487cb Author: Piotr Drąg Date: Fri Jul 8 21:49:21 2016 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 3756a1eca291ab638d2b5c0da9e0c8284431c7c1 Author: Matthias Clasen Date: Fri Jul 8 10:26:22 2016 -0400 Fix up the documentation of GtkTextView::move-viewport Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=768546 gtk/gtktextview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 25fed0342094686bae8a97981838235204b818c7 Author: Matthias Clasen Date: Tue Jul 5 01:36:56 2016 -0400 Add portal support to GtkPrintOperation Make GtkPrintOperation talk to org.freedesktop.portal.Print when running in a sandbox. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/Makefile.am | 8 +- gtk/gtkprintoperation-portal.c | 626 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkprintoperation-portal.h | 40 +++ gtk/gtkprintoperation-unix.c | 138 ++++++--- 4 files changed, 777 insertions(+), 35 deletions(-) commit 56ebfc6ca574633ffb21a0cd9de16a04e60933d2 Author: Matthias Clasen Date: Mon Jul 4 00:04:38 2016 -0400 print job: Add api to send data from an fd This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkprintjob.c | 35 +++++++++++++++++++++++++++++++++++ gtk/gtkprintjob.h | 4 ++++ 2 files changed, 39 insertions(+) commit cc97e55f8a1c13dbf554e089a9a4ba6a43443146 Author: Matthias Clasen Date: Sat Jul 2 20:29:51 2016 -0400 page setup: Add api to serialize to a GVariant This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 3 ++ gtk/gtkpagesetup.c | 83 ++++++++++++++++++++++++++++++++++++ gtk/gtkpagesetup.h | 5 +++ 3 files changed, 91 insertions(+) commit 42ae48a23e4f95f5c975890b4f3636102ebc40c4 Author: Matthias Clasen Date: Wed Jul 6 21:31:49 2016 -0400 Add api to serialize a GtkPaperSize to a GVariant This will be useful in portalized printing. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkpapersize.c | 87 ++++++++++++++++++++++++++++++++++++ gtk/gtkpapersize.h | 5 +++ 3 files changed, 94 insertions(+) commit a3764e27a4b8b7bafc8ba431d6c841b9211e4aea Author: Matthias Clasen Date: Sat Jul 2 20:29:08 2016 -0400 print settings: Add api to serialize to a GVariant This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkprintsettings.c | 65 ++++++++++++++++++++++++++++++++++++ gtk/gtkprintsettings.h | 6 ++++ 3 files changed, 73 insertions(+) commit 04cec61aa154910d36202c26cf32d37a35a7b99a Author: Matthias Clasen Date: Fri Jul 1 21:19:12 2016 -0400 Support the Inhibit portal xdg-desktop-portal now has a portal for inhibiting session status changes. We don't need to use it if we can talk to the session manager, but if can't, try org.freedesktop.portal.Inhibit. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkapplication-dbus.c | 184 +++++++++++++++++++++++++++++++++++--------- gtk/gtkapplicationprivate.h | 4 + 2 files changed, 150 insertions(+), 38 deletions(-) commit 4600209962e051d97b6fac6a81424bcf54707f46 Author: Matthias Clasen Date: Tue Jul 5 22:13:22 2016 -0400 Implement combobox apis for GtkFileChooserNativePortal https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernative.c | 130 ++++++++++++++++++++++++++++++++++++++ gtk/gtkfilechoosernativeportal.c | 130 +++++++++++++++++++------------------- gtk/gtkfilechoosernativeprivate.h | 9 +++ 3 files changed, 203 insertions(+), 66 deletions(-) commit 5839c138434cd2ba3b0bec400e17b6334a020800 Author: Matthias Clasen Date: Tue Jul 5 22:11:44 2016 -0400 Implement combobox apis in GtkFileChooserWidget https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechooserutils.c | 49 +++++++++++++++ gtk/gtkfilechooserwidget.c | 146 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 195 insertions(+) commit 6fc7485077505c946ec8f0878e22e418a46a7679 Author: Matthias Clasen Date: Tue Jul 5 22:09:56 2016 -0400 GtkFileChooser: Add abstract api for comboboxes and checkbuttons This commit adds API for adding combo boxes and check buttons to GtkFileChooser, and getting the selected value back in ::response. In contrast to gtk_file_chooser_set_extra_widget, these APIs are abstract and suitable for implementation in GtkFileChooserNative. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechooser.c | 96 +++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkfilechooser.h | 17 ++++++++ gtk/gtkfilechooserprivate.h | 16 +++++++- 3 files changed, 128 insertions(+), 1 deletion(-) commit 2b77eaa1ae8ab835e42dd082375e406c6b4bd906 Author: Matthias Clasen Date: Wed Jul 6 12:54:29 2016 -0400 Adapt to simplified file chooser portal api OpenFiles is gone, just set the 'multiple' option instead. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 445d12e5cbe0d155035682d1ddbdd6fe701a4173 Author: Matthias Clasen Date: Sun Jun 26 14:35:12 2016 -0400 file chooser portal: Port to new Request API The portal API has changed, we need to adapt. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 51 +++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 29 deletions(-) commit 6cf71ed6bba0dbb8d01e4c6d566ff1467cfa0b25 Author: Matthias Clasen Date: Sat Jun 11 10:23:27 2016 -0400 Use the portal when sandboxed Use the sandbox helper api to find out whether to use the file chooser portal. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 3b3e1eca2bc3accff3960dfc2394d1deb5e7ea20 Author: Matthias Clasen Date: Sat Jun 11 01:30:50 2016 -0400 portal: Sent more data along Send the current_name, current_folder or current_file fields to the portal. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 0acb6a0e9836d0d7d565b3eb3461809a3d0615d6 Author: Matthias Clasen Date: Sat Jun 11 00:46:12 2016 -0400 portal: Send file filters to the portal https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 35181e793d48da87bdc37c2db23a4b93cf1b7039 Author: Matthias Clasen Date: Sat Jun 11 00:45:27 2016 -0400 Add api to serialize GtkFileFilter to a variant This will be used to send filters over D-Bus in future commits. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 5 ++ gtk/gtkfilefilter.c | 100 +++++++++++++++++++++++++++++++++++ gtk/gtkfilefilter.h | 5 ++ 3 files changed, 110 insertions(+) commit 01d0bac83e7f12338d12e5669c408da3078f6010 Author: Alexander Larsson Date: Wed Nov 11 16:31:53 2015 +0100 Initial version of file chooser portal support Implement GtkFileChooserNative for sandboxed applications by talking to org.freedesktop.portal.FileChooser. Currently, this supports OPEN and SAVE mode. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/Makefile.am | 1 + gtk/gtkfilechoosernative.c | 28 ++- gtk/gtkfilechoosernativeportal.c | 392 ++++++++++++++++++++++++++++++++++++++ gtk/gtkfilechoosernativeprivate.h | 3 + 4 files changed, 423 insertions(+), 1 deletion(-) commit e47957406d60345efa624dea6517f7d793fc1a13 Author: Matthias Clasen Date: Tue Jul 5 08:04:13 2016 -0400 about dialog: Use gtk_show_uri_on_window This allows us to handle things slightly better in the portal case. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkaboutdialog.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit c6416aec748da82de04deaf75f58639af5096b44 Author: Matthias Clasen Date: Sat Jun 18 17:59:40 2016 -0400 Add gtk_show_uri_on_window The gtk_show_uri API doesn't let us specify a parent window. With portals, there may be an intermediate dialog, for which it is nice to have parent window information, to place it properly. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkshow.c | 66 +++++++++++++++++++++++++++++++++++- gtk/gtkshow.h | 8 +++++ 3 files changed, 74 insertions(+), 1 deletion(-) commit 96d8afbccb08709db70995be6f273309a6e484e5 Author: Matthias Clasen Date: Mon Jul 4 20:29:59 2016 -0400 Add a portal helper Instead of open-coding checks for sandboxing in multiple places, add a helper function that caches the information. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkprivate.c | 24 ++++++++++++++++++++++++ gtk/gtkprivate.h | 2 ++ 2 files changed, 26 insertions(+) commit b840a59766af16e1be365aa23cd69ff12351d400 Author: Owen W. Taylor Date: Wed Jul 6 09:46:43 2016 -0400 Change the priority of the window-close idle to G_PRIORITY_DEFAULT If we have an application that never goes idle (or takes a long time to go idle), the close buttons in CSD decoration don't work properly. While it's not clear why the usage of an idle was added in the first place, keep on using it to avoid unexpected reentrancy problems, but change the priority to G_PRIORITY_DEFAULT. https://bugzilla.gnome.org/show_bug.cgi?id=768485 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7654c737c8b23ff9b2f41af1c77bbc8acf266d0 Author: Matthias Clasen Date: Tue Jul 5 13:16:43 2016 -0400 Add a css parser test for background-blend-mode testsuite/css/parser/Makefile.am | 2 ++ testsuite/css/parser/background-blend-mode.css | 19 +++++++++++++++++++ testsuite/css/parser/background-blend-mode.ref.css | 19 +++++++++++++++++++ 3 files changed, 40 insertions(+) commit 93f20315d159463b0b8f8cb2a445b807cf6dfd45 Author: Matthias Clasen Date: Mon Jul 4 09:58:15 2016 -0400 gtk3-demo: Simplify the blendmodes example a bit Just put all of the template into the resource. demos/gtk-demo/css_blendmodes.c | 37 +------------------------------------ demos/gtk-demo/css_blendmodes.css | 28 +++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 37 deletions(-) commit e032c83822d98cc831d019f29f4f8f4afc2a9131 Author: Olivier Fourdan Date: Wed Jun 29 15:19:42 2016 +0200 wayland: remove unneeded statement seat->pointer_info.focus is already set to NULL 2 lines above, no need to repeat it there. gdk/wayland/gdkdevice-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit 298221bfba9b784cddaf5d6ac121e9bb3f25c0db Author: Olivier Fourdan Date: Wed Jun 29 15:08:06 2016 +0200 wayland: return child only in device_query_state() On X11, device_query_state() uses XIQueryPointer() which will return a child window only if the pointer is within an actual child of the given window. Wayland backend would return the pointer->focus window independently of the given window, but that breaks the logic in get_device_state() and later in gdk_window_get_device_position_double() because the window is searched based on coordinates from another window without sibling relationship, breaking gtkmenu sub-menus further down the line. Fix the Wayland backend to mimic X11's XIQueryPointer() to return a child only if really a child of the given window. That's the most sensible thing to do to fix the issue, but the API here seems to be modeled after the X11 implementation and the description of gdk_window_get_device_position_double() is not entirely accurate. https://bugzilla.gnome.org/show_bug.cgi?id=768016 gdk/wayland/gdkdevice-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4c01ab8945a8e6a07dbc93b157bc6aa1808e7819 Author: Piotr Drąg Date: Mon Jul 4 00:41:24 2016 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 507e58df4e0c6a4dea6ae7a4e209681db7bf511f Author: Matthias Clasen Date: Sun Jul 3 18:29:21 2016 -0400 gtk3-demo: Make blendmodes example non-resizable It doesn't need to. demos/gtk-demo/blendmodes.ui | 1 + 1 file changed, 1 insertion(+) commit 3c4be3c9127a2880519bc85ae910f7656dfada12 Author: Matthias Clasen Date: Sun Jul 3 17:54:19 2016 -0400 Fix parsing of some css properties Our property parser stops at the first match when looking for enums, so we need to order our values so that we don't end up with prefixes of longer names being found first. I noticed this when the parser tried to interpret background-blend-mode: color-burn; as "color, with junk at the end". It also affects animation-direction, which is also fixed here. gtk/gtkcssenumvalue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 34986231f48704d13c9c97b347818346baf9b9cd Author: Matthias Clasen Date: Sun Jul 3 17:46:30 2016 -0400 css parser: Improve an error message Say what property we are dealing with when we complain about the value. gtk/gtkcssprovider.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 1d93cc2b0b88bcc02f8a15d80b8a75d61d0cb24a Author: Georges Basile Stavracas Neto Date: Fri Jul 1 19:39:04 2016 -0300 demo: add a demo for blend modes After introducing the CSS blend mode enum values and including the background-blend-mode CSS property, it is very important to actually provide an example of the new feature. This patch adds a new demo to gtk3-demo which shows how the background-blend-mode CSS property works. https://bugzilla.gnome.org/show_bug.cgi?id=768305 demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/blendmodes.ui | 391 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/blends.png | Bin 0 -> 788 bytes demos/gtk-demo/cmy.jpg | Bin 0 -> 55825 bytes demos/gtk-demo/css_blendmodes.c | 178 +++++++++++++++++ demos/gtk-demo/css_blendmodes.css | 51 +++++ demos/gtk-demo/demo.gresource.xml | 8 + demos/gtk-demo/ducky.png | Bin 0 -> 248546 bytes 8 files changed, 629 insertions(+) commit 27fea1c4fc7e178fd435a4bb0c5d5c836d72ed09 Author: Georges Basile Stavracas Neto Date: Fri Jul 1 10:01:43 2016 -0300 css: add documentation for background-blend-mode After introducing the new CSS property, it is natural to add some documentation explaining the behavior of it and our support coverage. https://bugzilla.gnome.org/show_bug.cgi?id=768305 docs/reference/gtk/css-properties.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 369db4a40650bbbcd6125b9b97f486925d93541e Author: Georges Basile Stavracas Neto Date: Fri Jul 1 09:54:23 2016 -0300 css: add background-blend-mode support CSS supports blend modes, in which a series of layers are merged together according to the given operation or set of operations. Support for blend modes landed on Cairo, which exposes all the commons and also the exquisites blend modes available. Adding support for blend modes, then, is just a matter of using the available Cairo operations. This patch adds the background-blend-mode CSS enum property, and adapts the background rendering code to blend the backgrounds using the available blend modes when they're set. https://bugzilla.gnome.org/show_bug.cgi?id=768305 gtk/gtkcssenumvalue.c | 61 ++++++++++++++++++++++++++++++ gtk/gtkcssenumvalueprivate.h | 4 ++ gtk/gtkcssstylepropertyimpl.c | 28 ++++++++++++++ gtk/gtkcsstypes.c | 40 ++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 22 +++++++++++ gtk/gtkrenderbackground.c | 88 +++++++++++++++++++++++++++++++++++++++++-- 6 files changed, 240 insertions(+), 3 deletions(-) commit c8a74a1f5021fe47c9eaf199390a43a16e9809dd Author: Matthias Clasen Date: Sun Jul 3 17:22:14 2016 -0400 Simplify the xfce session manager support We don't have to check name owners twice; reuse the information we already have. gtk/gtkapplication-dbus.c | 60 +++++++++++++++++++---------------------------- 1 file changed, 24 insertions(+), 36 deletions(-) commit 3c7cd7ac23408195dc99642f4c0ef41f466541f9 Author: Eric Koegel Date: Tue Jun 28 11:56:35 2016 +0300 GtkApplication: Add support for the Xfce session manager Xfce4-session-manager added support for managing dbus based clients. This patch adds support for checking if Xfce session manager is around after trying the gnome one. https://bugzilla.gnome.org/show_bug.cgi?id=693203 gtk/gtkapplication-dbus.c | 126 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 103 insertions(+), 23 deletions(-) commit 22b6df025e5c17c0576826ddea62590532b9ce15 Author: Matthias Clasen Date: Sun Jul 3 13:54:11 2016 -0400 Fix example Makefiles Put OBJS before LIBS on the commandline to make things work better. https://bugzilla.gnome.org/show_bug.cgi?id=768142 examples/application1/Makefile.example | 2 +- examples/application10/Makefile.example | 2 +- examples/application2/Makefile.example | 2 +- examples/application3/Makefile.example | 2 +- examples/application4/Makefile.example | 2 +- examples/application5/Makefile.example | 2 +- examples/application6/Makefile.example | 2 +- examples/application7/Makefile.example | 2 +- examples/application8/Makefile.example | 2 +- examples/application9/Makefile.example | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit a43fce058c3cb69dcca24e58a89d6e0151a35216 Author: Matthias Clasen Date: Sat Jul 2 18:08:38 2016 -0400 print dialog: Apply initial capabilities I was struggling to understand why calling gtk_print_unix_dialog_set_manual_capabilities (...,0) was not having the expected effect of hiding the preview button. The initial capabilities were not applied at all. gtk/gtkprintunixdialog.c | 2 ++ 1 file changed, 2 insertions(+) commit 0d30ad279f0ed1a60abf123693981d42b57090d2 Author: Carlos Garnacho Date: Wed Jun 29 17:13:55 2016 +0200 wayland: Separate selection buffers and other per-selection atom data This has most notably impact in selection buffers, because those were shared across all selection atoms. This turned out wrong on 2 situations: - Because the selection atom was set at SelectionBuffer creation time, the GDK_SELECTION_NOTIFY events generated will have unexpected info if the buffer is attempted to be reused for another selection. - Anytime different selections imply different stored content for the same target. This is better separated into per-selection buffers, so it's not possible to get collisions if a same target is used across different selections. https://bugzilla.gnome.org/show_bug.cgi?id=768177 gdk/wayland/gdkselection-wayland.c | 98 +++++++++++++++++++++++--------------- 1 file changed, 60 insertions(+), 38 deletions(-) commit 4b003a75aa4bc7a5210792082380b24c78abc8d5 Author: Carlos Garnacho Date: Mon Jun 27 11:57:21 2016 +0200 wayland: Implement gdk_utf8_to_string_target The sanitize_utf8() function has been copied from X11 so both backends behave the same. This allows interaction with older clients (mainly through Xwayland, and the STRING selection target) that request non-utf8 text. https://bugzilla.gnome.org/show_bug.cgi?id=768082 gdk/wayland/gdkselection-wayland.c | 60 +++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) commit 51444b7909cca57238149c519ff8c353b2c47b7b Author: Chun-wei Fan Date: Thu Jun 30 18:00:47 2016 +0800 gtk/gtkstylecascade.c: Fix formatting My previous patch on this file did not take into the account of the formatting, sorry! gtk/gtkstylecascade.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 386d17db6d885376dc028ad862574a69e523eed5 Author: Ray Strode Date: Wed Jun 29 09:20:55 2016 -0400 headerbar: don't throw a warning if title widget is hidden commit 0015ebc4a8f269f6888fcacef3e83e3167241d67 reworked some of the titlebar size allocation code. Those changes inadvertently introduced a warning when the application sets the headerbar title widget to be hidden. This commit fixes that warning. https://bugzilla.gnome.org/show_bug.cgi?id=768184 gtk/gtkheaderbar.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit b480d9c2ed8034fc1d45cc001de3aa19d38ad8c0 Author: Ignacio Casal Quinteiro Date: Wed Jun 29 15:14:00 2016 +0200 configure: fix "AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS" configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 46748b420ae4aa10dc30f90eeebc7351010a045e Author: Ignacio Casal Quinteiro Date: Wed Jun 29 15:10:39 2016 +0200 gdk: actually fix the previous commit We do not want it on windows gdk/gdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 38fbe68e83133fbbe4487fc9e8f77dfee5bbba00 Author: Ignacio Casal Quinteiro Date: Wed Jun 29 15:05:08 2016 +0200 gdk: do not provide display command line argument on windows There is no need to specify a display on windows. gdk/gdk.c | 2 ++ 1 file changed, 2 insertions(+) commit 92de947d5e9be41c3805d58b780132d779c7c3cf Author: Timm Bäder Date: Tue Jun 28 20:54:25 2016 +0200 GtkWindow: Check for GtkWidget-window-dragging in multipress gesture This partly reverts 9f5b9c0e075e2426d6627f867473e911fca0c7ae, which removed the check for GtkWidget-window-dragging in the multipress gesture. This check is still needed for widgets which have this style property set (e.g. menubars and toolbars) can maximize the window on double click -- but those widgets which have it set to FALSE shouldn't maximize the window. gtk/gtkwindow.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 0c1cc9832f091ae8606baa789b34759e166c6df0 Author: Ondrej Holy Date: Wed Jun 22 14:04:00 2016 +0200 gtkfilesystem: Improve heuristics to detect remote filesystem Use G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE to detect remote filesystems instead of hardcoded list of filesystem types. Bump required GLib version accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=767965 configure.ac | 2 +- gtk/gtkfilesystem.c | 21 ++------------------- 2 files changed, 3 insertions(+), 20 deletions(-) commit 9f5b9c0e075e2426d6627f867473e911fca0c7ae Author: Timm Bäder Date: Mon Jun 27 19:23:12 2016 +0200 GtkWindow: Fix dragging on non-titlebar widgets gtk/gtkwindow.c | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) commit d52f6ff7102d1f0955a5c48e4209bca826625793 Author: Timm Bäder Date: Sat Jun 11 07:53:33 2016 +0200 widget: Don't unnecessarily export function _gtk_widget_get_translation_to_window is only used in gtkwidget.c gtk/gtkwidget.c | 2 +- gtk/gtkwidgetprivate.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) commit 5f525839da5208f4f70ebf50f1a1abd61b15354f Author: Chun-wei Fan Date: Mon Jun 27 11:58:42 2016 +0800 gtk/gtkstylecascade.c: Declare variables at beginning of block gtk/gtkstylecascade.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit cd44f6d875c0011931a360901c233f79c1bfde10 Author: Chun-wei Fan Date: Mon Jun 27 11:53:30 2016 +0800 Fix build of commit f23e99b Commit f23e99b made use of snprintf(), which is not universally available. Fix this by using g_snprintf(). gtk/gtkscale.c | 2 +- gtk/gtkspinbutton.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 325fc609311a451686750328a153a7bac1e660e5 Author: Andika Triwidada Date: Sun Jun 26 22:25:51 2016 +0000 Updated Indonesian translation po-properties/id.po | 1851 ++++++++++++++++++++++++++------------------------- 1 file changed, 957 insertions(+), 894 deletions(-) commit 0587f250c3c65981b3013d4fc1c8409feac74c5e Author: Andika Triwidada Date: Sun Jun 26 22:21:22 2016 +0000 Updated Indonesian translation (cherry picked from commit 23673851b7e51c67a02f8171161b89111fec249b) po-properties/id.po | 3356 +++++++++++++++++++++++++++------------------------ 1 file changed, 1760 insertions(+), 1596 deletions(-) commit 4731be094295c34c63760b29df9c651a4764bb08 Author: Yosef Or Boczko Date: Sun Jun 26 16:15:06 2016 +0300 Updated Hebrew translation po/he.po | 1806 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 760 insertions(+), 1046 deletions(-) commit ebccc8b23f77ce47ba75a8ea3dda3a32d04d9ab7 Author: Lapo Calamandrei Date: Sat Jun 25 18:29:51 2016 +0200 Adwaita: color the selection of entries with error... ...or warning style class applied. This particular style bit wasn't converted to the saner 3.20 way so `entry:selected` used in place of `entry selection`. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=768025 gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++---------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++---------- 3 files changed, 14 insertions(+), 22 deletions(-) commit d74e4af1a2cabb16d851f85a7d40d0de003109e5 Author: Lapo Calamandrei Date: Sat Jun 25 18:17:59 2016 +0200 Adwaita: restrict infobar styling to, well, infobars we used to style infobars by using the .info, .question, .warning and .error selectors directly, which used to be ok when we had just styleclasses all over the place, now it needs to be more specific or it interferes with everything with those styleclasses applied like entries. gtk/theme/Adwaita/_common.scss | 60 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 193 ++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 195 ++++++++++--------------------- 3 files changed, 152 insertions(+), 296 deletions(-) commit b5920a22e6058af06b1ef09f68cf1c20162cd0a4 Author: Andika Triwidada Date: Sat Jun 25 07:57:53 2016 +0000 Updated Indonesian translation po/id.po | 740 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 410 insertions(+), 330 deletions(-) commit 21c94dea5ec0c84235645c191367e76c6f8c5cf2 Author: Andika Triwidada Date: Sat Jun 25 03:18:54 2016 +0000 Updated Indonesian translation (cherry picked from commit 3abb9ffa917611e81cc4cb50b7ddd38879a49b8f) po/id.po | 2153 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1214 insertions(+), 939 deletions(-) commit 0015ebc4a8f269f6888fcacef3e83e3167241d67 Author: Ray Strode Date: Fri Jun 24 07:53:49 2016 -0400 headerbar: support expand property for children The header bar currently ignores the expand property on its children. This commit changes the code to honor that property. It divvies up any free space and distributes it equally to packed children (with any left over space given out a pixel at a time on a first come, first serve basis). This commit also adds support for the title widget to be made expandable. It accomplishes this by using up the padding the title widget is centered with. https://bugzilla.gnome.org/show_bug.cgi?id=724332 docs/reference/gtk/migrating-3xtoy.xml | 7 ++++ gtk/gtkheaderbar.c | 59 ++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) commit 847a43c4311c1952a5027381521120e3a817ee04 Author: Ray Strode Date: Fri Jun 24 12:16:40 2016 -0400 headerbar: compute nominal size of sides up front In order to support the expand property on children, we're going to need to look at the size of the packed children on each side of the title widget, up front, before allocating them (to compute how much extra allocation each expanded child gets). This commit lays the groundwork for that analysis by splitting the size calculation of each side of the header bar outside of the loop that allocates each child of the header bar. https://bugzilla.gnome.org/show_bug.cgi?id=724332 gtk/gtkheaderbar.c | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) commit eccfce50d6835206f7260937579bf363bdec1477 Author: Ray Strode Date: Fri Jun 24 07:57:06 2016 -0400 headerbar: simplify some size allocation code With a headerbar, the widget in the center may be a label, constructed internally, or a custom widget, constructed externally. The size allocation code needs to handle either case the same way for the most part. There's more than one place in the code that checks which of the two widgets to use and does some operation on the selected one. This commit simplifies the code by checking up front which one is the center (title) widget and storing that in a temporary variable, This allows reducing duplicated logic later on in the function. https://bugzilla.gnome.org/show_bug.cgi?id=724332 gtk/gtkheaderbar.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit e0bebba4701395b8db6027bd8626e879a4cde90d Author: Ray Strode Date: Thu Jun 23 16:31:24 2016 -0400 headerbar: simplify calculation in size allocation code There's some extraneous MIN() calls that have predetermined answers. This commit drops them and then simplifies a few redudant checks into one MIN call. https://bugzilla.gnome.org/show_bug.cgi?id=724332 gtk/gtkheaderbar.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 8430be75ed1c4f747170138ac29aaef485aa78bc Author: Matthias Clasen Date: Thu Jun 23 15:46:45 2016 -0400 Fix an array overrun When I introduced the new input source enum value for track points, I forgot that there is a fixed-size array with names for those in the inspector. gtk/inspector/general.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 78eccd0db9e79fac187d4fd82f1ce8b5b7e3a2a2 Author: Ray Strode Date: Thu Jun 23 09:16:40 2016 -0400 headerbar: don't use GTK_PACK_* as indices into array The size allocation code maintains an array of two elements, to track the allocation of children packed into the two sides of a header bar. Sometimes this array is indexed with 0 and 1, and sometimes its indexed with GTK_PACK_START and GTK_PACK_END. The latter happen to have the values 0 and 1, respectively, but that's not really obvious. For clarity, this commit changes the code to index those arrays consistently, sticking to 0 and 1 across the board. gtk/gtkheaderbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 01eda209e19f02b507a8ddd73ae3b2bf74e7d5c2 Author: Ray Strode Date: Thu Jun 23 08:57:55 2016 -0400 headerbar: don't allocate both label and custom title It's only possible to have a label or a custom title, not both. The size allocate code confusingly treats them as independent. That is confusing, because, as the code is written, it makes it look like the space for the custom title isn't getting accounted for. This commit else-ifies some parts of the size allocate code for clarity. gtk/gtkheaderbar.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 3947ff44c900326b20b571fbff564ee7757bc387 Author: Tiago Santos Date: Wed Jun 22 13:12:03 2016 +0000 Updated Portuguese translation po-properties/pt.po | 692 +++++++++++++++++++++++++++------------------------- 1 file changed, 355 insertions(+), 337 deletions(-) commit 40ee61a686826ac8e937af720bc152895b10392b Author: Emmanuele Bassi Date: Wed Jun 22 10:56:27 2016 +0100 gtk: Keep Firefox working in the DrawingContext world Firefox does a bunch of interesting things with GTK. If the top-level GtkWindow does not have a "csd" style class associated, Firefox will happily draw the contents of the container used to render HTML and XUL directly on the top level's GdkWindow; on the other hand, if a "csd" style class is found, the MozContainer will create a new child window, and draw on it. Then, Firefox will proceed to disable double buffering on both the top-level window and the MozContainer (unless they are backed by the same GdkWindow, in which case only the top-level will be single-buffered) *and* it will add a GDK_EXPOSURE_MASK flag to the MozContainer events for good measure (even if this is only needed for GTK+ 2.x). After landing the GdkDrawingContext API in GdkWindow, GTK enabled automatic double buffering on all top-level windows backed by a native surface, ad most users of single buffering rely on child widgets instead of top-levels, and we'd still like to have the same double buffering behaviour for all top-levels on all backends. Obviously, with Firefox disabling double buffering on the top-level window, the change broke their drawing mechanism. Ideally, Firefox could be fixed to not disable double buffering on the top-level window when MozContainer has a separate GdkWindow — i.e. the CSD case — but since we did introduce a slight change of behaviour in fringe users of the GTK+ API, let's keep backwards compatibility with the old code for a little while longer, and create an intermediate Cairo context unbound from the GdkDrawingContext, like we used to do until GTK+ 3.20. gtk/gtkwidget.c | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) commit c2ba9ca810cd70658d8cc9839693b9518824d4be Author: Chun-wei Fan Date: Wed Jun 22 15:16:09 2016 +0800 Visual Studio builds: Make .pc generation more flexible Allow the use of ${exec_prefix} for libdir and includedir when passing them in as arguments to the script. build/win32/pc_base.py | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) commit f44b9ef1f0b9bce88f01b258714338a9006f60e1 Author: Carlos Garnacho Date: Tue Jun 21 13:57:20 2016 +0200 GtkColorEditor: Keep ref on pre-popup focus widget And ensure it's still visible before returning the keyboard focus to it. Because of the extra ref, add a dispose handler that will ensure the ref is lost (by popping down), although this should be already ensured through other paths (eg. when the popup widget loses visibility). This fixes a possible crash in dispose paths, where we might be restoring focus on an already destroyed widget, and at a time where, if the toplevel is being itself disposed, no new focus should be set. https://bugzilla.gnome.org/show_bug.cgi?id=767849 gtk/gtkcoloreditor.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 3b98a2d93596aac73efa91a04042b66fda8ec823 Author: Carlos Garnacho Date: Tue Jun 21 12:30:29 2016 +0200 demos: Simplify popovers demo Don't do much unconventional stuff here. This is a demo, not a test. https://bugzilla.gnome.org/show_bug.cgi?id=767851 demos/gtk-demo/popover.c | 4 ---- 1 file changed, 4 deletions(-) commit ed227f9e7b7be4b3558ea9b7f8cdbf83e69f71ef Author: Carlos Garnacho Date: Tue Jun 21 12:24:05 2016 +0200 GtkPopover: Honor widget margins when calculating tail position If there are widget margins set, the whole popover will be displaced. However the calculation of the tail position doesn't have this into account, ending up with the tail being detached from the popover if the margin grew too big. We should not render the arrows invariably next to the GdkWindow edge, but optionally displaced inside it depending on the widget margins. Fixes the gtk3-demo "Popovers" demo case, whose GtkEntry popovers set widget margins for some reason. https://bugzilla.gnome.org/show_bug.cgi?id=767851 gtk/gtkpopover.c | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) commit 3724592efb87567691d47e6f02a7cfb2dc014a3d Author: Christian Hergert Date: Mon Jun 20 15:17:00 2016 -0700 listbox: short-circuit if no sort function is set do_sort will crash if sort_func is not defined. Instead of adding a check there in the hot path, just check for sort_func before invalidating the sort of the underlying GSequence. gtk/gtklistbox.c | 3 +++ 1 file changed, 3 insertions(+) commit 49bd5a97ce9a4bfd1267133c13b1f8883b7e76b9 Author: Matthias Clasen Date: Mon Jun 20 14:17:07 2016 -0400 3.21.3 NEWS | 2 ++ configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 1ebfe1db56cc881102d70b8723456093ae811102 Author: Matthias Clasen Date: Mon Jun 20 15:26:26 2016 -0400 Skip GdkDrawingContext in some tests GdkDrawingContext is not freely constructible, so we need to skip it in the notify and finalize tests. testsuite/gtk/notify.c | 1 + testsuite/gtk/objects-finalize.c | 1 + 2 files changed, 2 insertions(+) commit 0eeaa935b9a38cc1f4735b53c21ec0d9e507563e Author: Olivier Fourdan Date: Mon Jun 20 15:52:32 2016 +0200 wayland: do not set PRIMARY selection if focus is lost If keyboard focus is (already) lost, do not advertise PRIMARY selection. https://bugzilla.gnome.org/show_bug.cgi?id=767848 gdk/wayland/gdkdevice-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit dff61b02baf67d3f21d4c3920cbf710ded2dc7d0 Author: Matthias Clasen Date: Mon Jun 20 00:20:01 2016 -0400 Updates NEWS | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) commit e01f35ef5f6d4520cc8e10ce284348ca542f2b89 Author: Matthias Clasen Date: Sun Jun 19 23:54:07 2016 -0400 gtk3-demo: Make the filter model example more interesting Allow editing values in the first treeview, to see the derived models update in real time. demos/gtk-demo/filtermodel.c | 30 +++++++++++++++++++++++++++++- demos/gtk-demo/filtermodel.ui | 16 ++++++++++++++-- 2 files changed, 43 insertions(+), 3 deletions(-) commit 8a2812217b9fbf92bfe2ad287f188fed9fe3e1e8 Author: Matthias Clasen Date: Sun Jun 19 23:24:44 2016 -0400 shortcuts: Try harder to disambiguate search items I noticed that some of the gestures did not show up in the search results in the builder example in gtk3-demo, because they share the same title and don't have an accelerator to disambiguate. Include the shortcut type to handle this case. gtk/gtkshortcutswindow.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 815cc23c4cad2664752965b1739bddbc28df1ab2 Author: Matthias Clasen Date: Sun Jun 19 23:07:17 2016 -0400 gtk-demo: Use max-content-height in the popover example This is what the property was invented for. demos/gtk-demo/popover.c | 3 --- demos/gtk-demo/popover.ui | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) commit c2534af15ef8e8fb1173d9e7501fe8e505471308 Author: Matthias Clasen Date: Sun Jun 19 22:56:20 2016 -0400 gtk3-demo: Fix the modelbutton example The color menu buttons didn't have the necessary target property to be successfully activated. demos/gtk-demo/modelbutton.ui | 3 +++ 1 file changed, 3 insertions(+) commit 2fd984987d1f66a01f0667aad461fdea5963af4c Author: Matthias Clasen Date: Sun Jun 19 22:47:57 2016 -0400 gtk-demo: Fix up some warnings The search entry example was a bit sloppy in cleaning up its sources, causing warnings. demos/gtk-demo/search_entry.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 76af90767634f5caea622c2abc13d21adb41550c Author: Matthias Clasen Date: Sun Jun 19 22:23:06 2016 -0400 Add a release note for scrolled windows Mention the changed sizing behavior and how to address it. docs/reference/gtk/migrating-3xtoy.xml | 9 +++++++++ 1 file changed, 9 insertions(+) commit 37e913d76bea6b58a38db1b7996958b81984a114 Author: Matthias Clasen Date: Sun Jun 19 22:16:11 2016 -0400 widget factory: Adapt to new scrolled window behavior Set a max-content-width on some of the scrolled windows to keep things looking mostly the same, now that GtkScrolledWindow passes along the natural size of its child. demos/widget-factory/widget-factory.ui | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e33e23a6d9403f634003e6fc611ba7d02b5cf950 Author: Carlos Garnacho Date: Mon Jun 13 23:44:31 2016 +0200 treeview: Ensure the treeview has the implicit grab before grabbing focus The cellrenderer signals might be taking the grab somewhere else, at which point it's dubious we should attempt to take the keyboard focus into the treeview. This concretely breaks popovers triggered from cellrenderer signals on button press, because the treeview will attempt to grab focus inconditionally then. https://bugzilla.gnome.org/show_bug.cgi?id=767468 gtk/gtktreeview.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 51799d41e46553633a7e98a3b721eadba67bd5ba Author: Matthew Leeds Date: Wed Jun 15 16:41:58 2016 -0400 GtkActionHelper: Change a message to a warning It's almost certainly a programmer error if an action isn't activatable because its target and parameter type don't match. This commit changes the existing g_message to a g_warning. https://bugzilla.gnome.org/show_bug.cgi?id=767705 gtk/gtkactionhelper.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 76bacfde6e5305021c765ae690972efb1832682d Author: Philip Chimento Date: Wed Jun 15 23:02:11 2016 -0400 style cascade: Allow cascades with more ancestors Previously a style cascade's parent could not have a parent itself. That represented the two levels at which you could add a style provider: at the screen level, with gtk_style_context_add_provider_for_screen(), and at the style context level, with gtk_style_context_add_provider(). This commit changes no functionality, but this change will be necessary for adding style providers in the future that apply to a subtree of the widget tree. It relaxes the requirement that a style cascade's parent must not have a parent, since in the future a style context may be affected by any number of parent widgets' style contexts. https://bugzilla.gnome.org/show_bug.cgi?id=751409 gtk/gtkstylecascade.c | 99 +++++++++++-------- testsuite/gtk/stylecontext.c | 230 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 288 insertions(+), 41 deletions(-) commit 1c6b878e090666898acd16664851d82067fb5c9e Author: Matthias Clasen Date: Sun Jun 19 17:49:03 2016 -0400 shortcuts window: Fix handling of significant xml chars We are using markup in the labels, so we need to escape things like < and >. https://bugzilla.gnome.org/show_bug.cgi?id=767795 gtk/gtkshortcutlabel.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit ed2bb7e012989804eae3a02968944cbd70568ae5 Author: Rafael Fontenelle Date: Sat Jun 18 00:29:01 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 1767 +++++++++++++++++++++++++----------------------- 1 file changed, 919 insertions(+), 848 deletions(-) commit 552e4361289fdaeee69556df9254b0763d861e2e Author: Rafael Fontenelle Date: Fri Jun 17 23:53:20 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 718 ++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 403 insertions(+), 315 deletions(-) commit 631f6b536485829a0bd00532f5826ad302b4951b Author: Misty De Meo Date: Thu Jun 16 15:59:27 2016 -0700 configure: fix detecting CUPS 2.x https://bugzilla.gnome.org/show_bug.cgi?id=767766 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f3cb31e55d698fe6ddcc8126b9d1342268a1a98 Author: Ray Strode Date: Thu May 12 15:52:12 2016 -0400 wayland: fall back to shm_open if memfd unavailable Debian stable currently ships with a 3.16 kernel, so it doesn't have memfd available. This commit adds shm_open fall back code for that case (for now). https://bugzilla.gnome.org/show_bug.cgi?id=766341 configure.ac | 3 +++ gdk/wayland/gdkdisplay-wayland.c | 41 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 3 deletions(-) commit bb2ca3b94d53c009c78d0f364c41ae0220ea2c9e Author: Ray Strode Date: Mon May 16 10:20:10 2016 -0400 wayland: fix error handling for memfd_create We currently use syscall() directly to invoke memfd_create, since the function isn't available in libc headers yet. The code, though, mishandles how errors are passed from syscall(). It assumes syscall returns the error code directly (but negative), when in fact, syscall() uses errno. Also, the code fails to retry on EINTR. This commit moves the handling of memfd create to a helper function, and changes the code to use errno and handle EINTR. https://bugzilla.gnome.org/show_bug.cgi?id=766341 gdk/wayland/gdkdisplay-wayland.c | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) commit 080fdfa7f9495fc6cc8c286cbfefc7ecf6d61656 Author: Krzesimir Nowak Date: Thu Jun 16 12:19:54 2016 +0200 docs: Fix a typo in GDK sections file docs/reference/gdk/gdk3-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 847f9f40cf05edaf1f82d5fea4006076572cc720 Author: Matthias Clasen Date: Thu Jun 9 08:05:11 2016 -0400 Mention single-stop gradients in the release notes This is something people stumble over in their custom CSS. docs/reference/gtk/migrating-3xtoy.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit 7246538a9c024fa782505fe55d62f1cfbcce8461 Author: Daniel Mustieles Date: Mon Jun 13 13:17:11 2016 +0000 Updated Spanish translation po-properties/es.po | 1356 ++++++++++++++++++++++++++------------------------- 1 file changed, 687 insertions(+), 669 deletions(-) commit 0ca59bf85a13b8dc5b516d311df9c37e43566c1f Author: Emmanuele Bassi Date: Sun Jun 12 18:55:34 2016 +0100 gdk: Unset the DrawingContext <-> cairo_t link on dispose When disposing a GdkDrawingContext we should unset the association between the instance and the Cairo context; this avoids stale pointers in case a reference that has acquired on the Cairo context survives the lifetime of the GdkDrawingContext. gdk/gdkdrawingcontext.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 222bcf1a71dbd879fe39bfb9239c093b1da6bb4d Author: Emmanuele Bassi Date: Fri Jun 10 17:00:29 2016 +0100 gdk: Try harder at tracking drawing contexts If gdk_cairo_create() is called within a frame draw operation, we can still associate the Cairo context with a GdkDrawingContext. gdk/gdkdrawingcontext.c | 2 +- gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 17 +++++++---------- 3 files changed, 10 insertions(+), 11 deletions(-) commit 32a37351cf8a3758febff4291659d52cfb96f294 Author: GNOME Translation Robot Date: Sat Jun 11 07:54:43 2016 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 472 +++++++++++++++++++++------------------------------- 1 file changed, 188 insertions(+), 284 deletions(-) commit 2118b838d17e9fe2998c63ada7c8dd46dec8ca50 Author: GNOME Translation Robot Date: Fri Jun 10 15:35:34 2016 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 3406 ++++++++++++++++++++++++++------------------------- 1 file changed, 1745 insertions(+), 1661 deletions(-) commit beb3fd662147a6723a29f22c28dee95b57de4064 Author: GNOME Translation Robot Date: Fri Jun 10 15:15:27 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 357 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 192 insertions(+), 165 deletions(-) commit c3f4fe334dbf9aacf2e1404ac1362c180bd7274b Author: Emmanuele Bassi Date: Fri Jun 10 13:55:30 2016 +0100 Deprecate gtk_widget_send_expose() We have various replacements for what this function does, and we are not calling it internally any more. gtk/gtkwidget.c | 9 +++++++-- gtk/gtkwidget.h | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) commit a9a59ac55e01333f8e72ac8807eb6d4c9a9f5017 Author: Tristan Van Berkom Date: Fri Jun 10 21:16:53 2016 +0900 scrolledwindow: Fix calls to gdk_window_move_resize() This is a bit of fallout from 34feba1, now that we resolve the has_indicators value earlier than realize, it becomes possible to call gdk_window_move_resize() before realization. Just added the appropriate checks. gtk/gtkscrolledwindow.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 32675db49086c42d9d58f572740c16e52243031d Author: Stefan Sauer Date: Thu Jun 9 22:37:53 2016 +0200 docs: point to suggested api for deprecated functions We deprecated a bunch of _focus_on_click() functions. Point to the new API in GtkWidget. gtk/gtkbutton.c | 18 ++++++++++-------- gtk/gtkcombobox.c | 4 ++++ gtk/gtkfilechooserbutton.c | 22 +++++++++++++--------- 3 files changed, 27 insertions(+), 17 deletions(-) commit c9916fbc58923f0a43b233934ecdad0592a0ebda Author: Emmanuele Bassi Date: Thu Jun 9 21:35:36 2016 +0100 docs: Add deprecation notice for GtkButton.set_focus_on_click() To match the deprecation annotation on the function declaration. gtk/gtkbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit ddfe3374e3d79c27eabfcf10b31f1ae23457c74f Author: Emmanuele Bassi Date: Thu Jun 9 21:00:13 2016 +0100 Avoid a deprecation warning Some debugging code in GdkWindow still calls gdk_cairo_create(). gdk/gdkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit ad78daaf8081d8ea72006832ee3dd5df2e1ed3f9 Author: Emmanuele Bassi Date: Tue Jun 7 17:06:47 2016 +0100 gdk: Deprecate gdk_cairo_create() We have GdkDrawingContext, now, which is in charge of creating Cairo contexts for drawing on a GdkWindow. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkcairo.h | 2 +- gdk/gdkwindow.c | 11 +++++++++++ tests/print-editor.c | 5 +++++ tests/testinput.c | 2 ++ 4 files changed, 19 insertions(+), 1 deletion(-) commit 2d38c40f789ecc5df4de0720c13496eee0429cd7 Author: Emmanuele Bassi Date: Tue Jun 7 16:52:50 2016 +0100 gdk: Explicitly create a cairo context inside GdkDrawingContext Instead of using gdk_cairo_create(), which we'll soon deprecate. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkdrawingcontext.c | 13 +++++++++++-- gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) commit c5d0522a23fbeaccb4b7301df896012fb5288650 Author: Emmanuele Bassi Date: Tue Jun 7 16:40:43 2016 +0100 Deprecate the gdk_window_begin/end_paint family of functions They are replaced by the more appropriate gdk_window_begin_draw_frame() and gdk_window_end_draw_frame() functions. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkwindow.c | 8 +++++--- gdk/gdkwindow.h | 6 +++--- gtk/gtkwidget.c | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) commit dda6a0d385852ca93badfe4cac02e1e4ae247b09 Author: Emmanuele Bassi Date: Tue Jun 7 16:34:50 2016 +0100 Associate the drawing context to the Cairo context Instead of associating the GdkWindow that created the GdkDrawingContext we can directly bind the Cairo context to the GDK drawing context. Cairo contexts created via gdk_cairo_create() go back to not having a GdkWindow associated to them, like they did before we introduced the gdk_window_begin_draw_frame() API. https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk3-sections.txt | 2 +- gdk/gdkcairo.h | 6 ++++-- gdk/gdkdrawingcontext.c | 31 +++++++++++++++++++++++++++++++ gdk/gdkwindow.c | 29 ----------------------------- gtk/gtkwidget.c | 29 ++++++++++++++++++----------- 5 files changed, 54 insertions(+), 43 deletions(-) commit 01b4bf19208ed65760d3c0f07871701e1094b55f Author: Emmanuele Bassi Date: Mon Jun 6 12:30:46 2016 +0100 docs: Add GdkDrawingContext to the GDK API reference https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 16 ++++++++++++++++ docs/reference/gdk/gdk3.types | 1 + 3 files changed, 18 insertions(+) commit a7ef37da2af0ef5b51b1320476970827a2fdb350 Author: Emmanuele Bassi Date: Mon May 30 09:44:30 2016 +0100 Add GdkDrawingContext Instead of giving out Cairo contexts, GdkWindow should provide a "drawing context", which can then create Cairo contexts on demand; this allows us to future proof the API for when we're going to use a different rendering pipeline, like OpenGL. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkdrawingcontext.c | 275 +++++++++++++++++++++++++++++++++++++++++ gdk/gdkdrawingcontext.h | 53 ++++++++ gdk/gdkdrawingcontextprivate.h | 29 +++++ gdk/gdkinternals.h | 4 + gdk/gdkwindow.c | 91 +++++++++++--- gdk/gdkwindow.h | 7 +- gdk/gdkwindowimpl.h | 5 + gtk/gtkwidget.c | 6 +- 10 files changed, 453 insertions(+), 21 deletions(-) commit 2c7b21718f18ab743cd79784ae28cad582f58503 Author: Emmanuele Bassi Date: Fri May 20 16:59:51 2016 +0100 Simplify the widget rendering entry point Now that GDK has the appropriate API, we can simplify the widget drawing code into a single function. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gtk/gtkmain.c | 27 +----------- gtk/gtkwidget.c | 114 +++++++++++++++++++++++++++++-------------------- gtk/gtkwidgetprivate.h | 5 +++ 3 files changed, 74 insertions(+), 72 deletions(-) commit fc569f1ac6ff108afc17f7f439480273826af3a6 Author: Emmanuele Bassi Date: Fri May 20 16:55:12 2016 +0100 Add frame drawing API to GdkWindow Existing code drawing on a GDK window has to handle the direct drawing and the buffered drawing by itself, by checking the window type and whether or not the window is backed by a native windowing surface. After that, the calling code has to create a Cairo context from the window and keep an association between the context and the window itself. This is completely unnecessary: GDK can determine whether or not it should use a backing store to draw on a GdkWindow as well as create a Cairo context, and keep track of it. This allows to simplify the calling code, and enforce some of the drawing behavior we want to guarantee to users. https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk3-sections.txt | 4 + gdk/gdkcairo.h | 2 + gdk/gdkwindow.c | 450 ++++++++++++++++++++++------------- gdk/gdkwindow.h | 8 + 4 files changed, 302 insertions(+), 162 deletions(-) commit d6187c9a028f678287cc2a7f72e1ea9997fd19d0 Author: Tristan Van Berkom Date: Tue Jun 7 14:02:37 2016 +0900 scrolledwindow test: Check natural width for max content size The maximum content size does not increase the minimum request but only ensures that both minimum and natural requests do not exceed the maximum setting. testsuite/gtk/scrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 34feba1e7c5c86164592588bde479c97a5b96160 Author: Tristan Van Berkom Date: Tue Jun 7 14:09:28 2016 +0900 scrolledwindow: Resolve whether we use overlay scrollbars early. Widgets should support size requests before being realized in general, otherwise this can cause flicker/resize at initial display time as the toplevel window can make a request before realize/allocate. This also makes the added testsuite/gtk/scrolledwindow.c test work again, this was broken because we only ever calculate whether we are going to use overlay scrollbars once the scrolled window is realized (and the test case does not realize any window). gtk/gtkscrolledwindow.c | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) commit d7e242eec03a1056cdc0808aef6bcf1002b4df8b Author: Tristan Van Berkom Date: Tue Jun 7 14:04:42 2016 +0900 scrolledwindow: Bug 766569 - General size request fixes. This patch does a couple of things: o Removes the obscure 'extra_width' and 'extra_height' variables making the request code exceedingly difficult to read o Fixes the max-content-size properties introduced in bug 742281 so that they do not grow the minimum request. o Cleanup of request code in general: - min/max content sizes are clamped around the child request as needed - scrollbar requests are only added in one place, after child request sizes are calculated and without the extra_width/height thing. gtk/gtkscrolledwindow.c | 110 ++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 73 deletions(-) commit 32885605c7d589773930f095b4ef55c902cbf36d Author: Emmanuele Bassi Date: Wed Jun 8 14:20:02 2016 +0100 Fix build Commit 023f406c9617284ee3b88727df489f20cd066fd6 has a typo that results in this error: ../../../testsuite/gtk/notify.c: In function 'test_type': ../../../testsuite/gtk/notify.c:679:54: error: expected expression before ')' token (g_str_equal (pspec->name, "max-content-width") ||) ^ testsuite/gtk/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d9a6517d5f9371648c625e75b3deb413f960c2f3 Author: Timm Bäder Date: Wed Jun 8 07:31:45 2016 +0200 wayland: Make sure window titles fit into a wl_buffer A wl_buffer has a max size of 4096 bytes, of which 8 are needed for the header and another 4 for the string argument length (in this case), so make sure the we only save the first 4083 bytes that are still valid UTF8. https://bugzilla.gnome.org/show_bug.cgi?id=767241 gdk/wayland/gdkwindow-wayland.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 023f406c9617284ee3b88727df489f20cd066fd6 Author: Matthias Clasen Date: Wed Jun 8 09:03:12 2016 -0400 test: Skip GtkScrolledWindow::max-content- properties The allowed values for the max-content- properties depend on the value of the min-content- properties, in a way that our simple test is not prepared to deal with. Just skip them for now. testsuite/gtk/notify.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 85407180cf81946db15bb51c783526387931594f Author: Olivier Fourdan Date: Wed May 25 15:07:51 2016 +0200 wayland: add extended state for tiled xdg-shell allows desktop environments to extend the list of states within a given range. Use this possibility to add a new state for tiled so that gtk+ can benefit from this. https://bugzilla.gnome.org/show_bug.cgi?id=766860 gdk/wayland/gdkwindow-wayland.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 6de0ecb78eaf9e987353c83039304b7ef379cdca Author: Jakub Steiner Date: Wed Jun 8 12:15:55 2016 +0200 HC: focus outline more prominent - make visible regardless of colors used - make larger and more inset https://bugzilla.gnome.org/show_bug.cgi?id=767310 gtk/theme/HighContrast/_common.scss | 13 +++---------- gtk/theme/HighContrast/gtk-contained-inverse.css | 19 ++++++------------- gtk/theme/HighContrast/gtk-contained.css | 19 ++++++------------- 3 files changed, 15 insertions(+), 36 deletions(-) commit 199ad2c14ba9a2ed305858d23f19913c33c1178e Author: Lapo Calamandrei Date: Wed Jun 8 13:39:39 2016 +0200 Adwaita: .osd button.color remove box-shadow from colorbutton colorswatch when an ancestor has the osd styleclass applied. gtk/theme/Adwaita/_common.scss | 16 +++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 2 files changed, 14 insertions(+), 6 deletions(-) commit a0ee8f7f0a511f251da050a430da5ec93d7a1396 Author: Lapo Calamandrei Date: Wed Jun 8 13:28:07 2016 +0200 Adwaita: centralize outline-color define outline-color generally using alpha(currentColor, 0.3), which avoids setting it in a bunch of different places. gtk/theme/Adwaita/_common.scss | 7 +------ gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++----- gtk/theme/Adwaita/gtk-contained.css | 10 +++------- 3 files changed, 6 insertions(+), 18 deletions(-) commit ff5304ee13ad734b066d9b2c08185e20f137cf06 Author: Kjell Ahlstedt Date: Wed Jun 8 10:30:22 2016 +0200 Make gtk_scrolled_window_remove() smart If gtk_scrolled_window_add() has added a GtkViewport, gtk_container_remove (GTK_CONTAINER (scrolled_window), child_widget); or gtk_container_remove(GTK_CONTAINER(scrolled_window), gtk_bin_get_child(GTK_BIN(scrolled_window))); removes both the added child widget and the viewport. https://bugzilla.gnome.org/show_bug.cgi?id=710471 gtk/gtkscrolledwindow.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) commit 3f3a226090aad1f583f40cd954eb9c15f568b62d Author: Matthias Clasen Date: Tue Jun 7 23:40:32 2016 -0400 Update GtkLabel::angle docs We can have wrapped or ellipsized labels at an angle nowadays. Still no selections though. gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f23e99b063857a4a3f9e2fc81ff62021820edb77 Author: Matthias Clasen Date: Tue Jun 7 23:04:40 2016 -0400 scale, spinbutton: Avoid -0.0 This is a very longstanding bug; time to finally put it to rest. https://bugzilla.gnome.org/show_bug.cgi?id=118959 gtk/gtkscale.c | 18 +++++++++++++++++- gtk/gtkspinbutton.c | 15 ++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) commit 7f06f2818aaef1994cb7224d95522b956bfd4ab8 Author: Matthias Clasen Date: Tue Jun 7 21:28:44 2016 -0400 Ensure that GtkRange allocates enough space for the value This is a long-standing problem of GtkScale. https://bugzilla.gnome.org/show_bug.cgi?id=766372 https://bugzilla.gnome.org/show_bug.cgi?id=578626 https://bugzilla.gnome.org/show_bug.cgi?id=79229 gtk/gtkrange.c | 11 +++++++++++ gtk/gtkrange.h | 6 +++++- gtk/gtkscale.c | 26 ++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) commit dce4003c20bfd0a5100bd60dc0e923277b89684b Author: Matthias Clasen Date: Tue Jun 7 16:35:06 2016 -0400 Fix preconditions in set_max_content_size setters We must allow resetting the properties to -1. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 775e277ab9753609b45063eb8c0171b3103a252d Author: Benjamin Otte Date: Tue Jun 7 16:08:52 2016 +0200 widget: Add classes to widget path even if no style context exists yet This removes leftover code from when classes where added to the style context. Now that they get added directly to css nodes, the classes can exist without a style context. https://bugzilla.gnome.org/show_bug.cgi?id=767312 gtk/gtkwidget.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit 0d407bcd6c5ad8e9279d667dfb8225991b998d02 Author: Carlos Garnacho Date: Tue Jun 7 00:27:19 2016 +0200 searchenginetracker: Fix prefix searches With the FTS5 query syntax, when using quotes to delimit the search phrase the '*' token must happen after the quote, or will otherwise be considered a character to match, go through the tokenizer, and end up ignored in result. gtk/gtksearchenginetracker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 289fc9640bbeba1096f15bb0b735d0361cf4c9dc Author: Matthias Clasen Date: Mon Jun 6 14:29:27 2016 -0400 Revert "scrolledwindow: Bug 766569 - Report child natural size unconditionally" This reverts commit 0943c9f6b2c3ad5827ae5d8f3742f75e72782e41. The commit caused unexpected breakage in gtk3-widget-factory, and also broke the just-added max-content-size properties. gtk/gtkscrolledwindow.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 5892bd72fa5dec120a8aadbe04c01c806e29ae86 Author: Matthias Clasen Date: Mon Jun 6 14:33:25 2016 -0400 widget-factory: Use max-content-size in a popover This gives a nice example of these properties in action, in the "Open" popover on page 3. demos/widget-factory/widget-factory.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 03742e83fb0b12588a5461465a39f3e2587feafb Author: Tristan Van Berkom Date: Mon Jun 6 11:55:44 2016 +0900 scrolledwindow: Bug 767238 - Fixing up for max content sizes Needed to adjust this again after applying commit 4e5ecb7 for bug 742281. Now that we also have max content size properties, pushed the addition of possible scrollbar sizes to after the clause which clamps the child request size into min/max content sizes. gtk/gtkscrolledwindow.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 72ea348ad624c184aed437704e5a31e5eefb16cc Author: Phillip Wood Date: Mon Apr 25 13:16:21 2016 +0100 Fix hiding popover when focus moves outside Commit a01fe14 changed the behaviour of popovers when the focus leaves them to stop child popovers being hidden when the focus leaves their parent. However they are now a bit too reluctant to hide - if the focus passes to an unrelated popover the first popover is not hidden. Also if the focus passes to another widget that does not perform a gtk grab then the popover isn't hidden until the user presses a non-movement key or clicks outside the popover. The solution is to go back to checking if the focused widget is a descendant of the popover, but to include popovers and their related widgets in the ancestry chain. https://bugzilla.gnome.org/show_bug.cgi?id=765595 gtk/gtkpopover.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit 0943c9f6b2c3ad5827ae5d8f3742f75e72782e41 Author: Tristan Van Berkom Date: Sat Jun 4 20:57:23 2016 +0900 scrolledwindow: Bug 766569 - Report child natural size unconditionally This patch causes the scrolled window default behavior to change in such a way that the natural size request of the child is unconditionally reported, which probably should have been the case since day 1. This should not cause significant fallout since a scrolled window is normally used to expand/fill, eating up remaining space for scrollable content - it will however cause the scrolled window to compete for additional space with siblings, proportionally to the size of the scrolled window's content. gtk/gtkscrolledwindow.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit c4224bf9d0483ebc029e3567ba5e3c9a61e0eb28 Author: Matthias Clasen Date: Sun Jun 5 22:20:38 2016 -0400 treeview: fix an off-by-one error gtk_tree_view_get_path_at_pos() mistakenly identifies the first pixel of all but the first column in a tree view as belonging to the previous column. https://bugzilla.gnome.org/show_bug.cgi?id=708148 gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b97c490b8761a165c995b169e4f29e7fd572e288 Author: Christian Dywan Date: Tue Oct 14 12:33:00 2008 +0000 object test: Also test object type properties Old patch found in bugzilla, it still applies and doesn't cause the test to fail. https://bugzilla.gnome.org/show_bug.cgi?id=556254 testsuite/gtk/object.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 321ddb8697a22cbff67979de9e838b5233c546de Author: Matthias Clasen Date: Sun Jun 5 21:47:16 2016 -0400 Make gtk_tooltip_trigger_tooltip_query work again This was broken ever since we started looking at the source device of the event. https://bugzilla.gnome.org/show_bug.cgi?id=674215 gtk/gtktooltip.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 57d00e004abc32297dc229cc4d84aa79b280f3a8 Author: Matthias Clasen Date: Sun Jun 5 20:54:49 2016 -0400 inspector: Ellipsize accessible description. This string can be long, and we don't want to break the ui gtk/inspector/misc-info.ui | 2 ++ 1 file changed, 2 insertions(+) commit c8cab6a79ae9adbfc34b2a73e95c553d7980f39e Author: Matthias Clasen Date: Sun Jun 5 19:36:36 2016 -0400 viewport: Free gadgets in finalize This is the right place for this. gtk/gtkviewport.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit b4ebe4e5c1166b38ebb6230fea73873c7ebf5ac9 Author: Matthias Clasen Date: Sun Jun 5 19:36:09 2016 -0400 scrolled window: Free gestures and gadgets in finalize This is the right place for this. gtk/gtkscrolledwindow.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 9a8335a135f9d983d9f28696b585a08edfbc1a4b Author: Matthias Clasen Date: Sun Jun 5 19:35:36 2016 -0400 range: Free gadgets in finalize This is the right place for this. gtk/gtkrange.c | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit ca43f6ee28b7d83a92628c2562d078c0188decc2 Author: Matthias Clasen Date: Sun Jun 5 19:35:12 2016 -0400 notebook: Free gadgets in finalize This is the right place for this. gtk/gtknotebook.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit eff09fabfad0b46b985b3af21e9c1e1d875c1a90 Author: Matthias Clasen Date: Sun Jun 5 19:34:30 2016 -0400 menu: Free gadgets in finalize This is the right place to do this. gtk/gtkmenu.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 9c50b8bc2f93c487064a45db471b3035e3a8ccdb Author: Matthias Clasen Date: Sun Jun 5 19:33:21 2016 -0400 button: Free gadgets and gestures in finalize This is the right place to free them. gtk/gtkbutton.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 3962b907bb346fd86b1a95c446120b89c0bddf7f Author: Georges Basile Stavracas Neto Date: Thu Jun 2 22:32:56 2016 -0300 testsuite: add tests for scrolledwindow This patch adds a set of tests for scrolled window sizing, covering both min- and max-content width and height. https://bugzilla.gnome.org/show_bug.cgi?id=742281 testsuite/gtk/Makefile.am | 1 + testsuite/gtk/scrolledwindow.c | 139 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) commit 657fcd0717e543f0b7187e5221de9130427ac94b Author: Georges Basile Stavracas Neto Date: Wed Jun 1 23:32:35 2016 -0300 tests: adapt testscrolledwindow to have max content sizes This patch adpats the current test to show a popover with max-content-width and -height properties set. https://bugzilla.gnome.org/show_bug.cgi?id=742281 tests/testscrolledwindow.c | 147 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 145 insertions(+), 2 deletions(-) commit 4e5ecb705247df55979891cd9e4c1c0617a9b71a Author: Georges Basile Stavracas Neto Date: Wed Jun 1 23:18:37 2016 -0300 scrolledwindow: add ::max-content-width and -height properties The GtkScrolledWindow has support to set the minimum content size (both width and height) which controls the minimum space allocated, but does not exposes any way to control the maximum size the content can grow. After the introduction of GtkPopover, which always uses the minimum size of it's children widgets, the lack of max-content-width and -height properties became a concrete use case. This patch introduces the GtkScrolledWindow::max-content-width and -height properties. The properties will alter the minimum size of the scrolled window, making it grow up to the set value. They also respect the previously set ::min-content-width and -height. https://bugzilla.gnome.org/show_bug.cgi?id=742281 gtk/gtkscrolledwindow.c | 190 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkscrolledwindow.h | 11 +++ 2 files changed, 201 insertions(+) commit bd86715ed3e8dec5caab605fa3afc04ce013906a Author: Руслан Ижбулатов Date: Sun Jun 5 07:37:02 2016 +0000 GDK W32: Fix dragging AeroSnap application The original patch for commit b420c53773ca5119afb43f0f351cb8f33c2bcaf9 was applied incorrectly, doing the actual snapping in the wrong place. Move the code. gdk/win32/gdkwindow-win32.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit b42d4b5b9aff549320e2279ad839c2ecb6357845 Author: Matthias Clasen Date: Fri Jun 3 16:30:00 2016 -0400 progressbar: Render text with the text css node This is the same fix that was just applied to GtkScale. gtk/gtkprogressbar.c | 57 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 48 insertions(+), 9 deletions(-) commit 3f3c1768c947f8be1a4c43111bf04a74e016ab77 Author: Matthias Clasen Date: Fri Jun 3 10:49:29 2016 -0400 scale: Also queue a resize if font changes As Benjamin pointed out, what AFFECTS_FONT can also affect size, but the implication is not automatic, so queue a resize manually. gtk/gtkscale.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit b18ebbb164a89029f6f25f82da1ddf0d3162469a Author: Pavel Grunt Date: Thu Jun 2 15:35:38 2016 +0200 gdktypes: Update docs for GDK_GRAB_FAILED Mention in documentation that it is available since 3.16 https://bugzilla.gnome.org/show_bug.cgi?id=767165 gdk/gdktypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fd9f7babf6635c00a54e144049aa4bd932e46d8c Author: Matthias Clasen Date: Fri Jun 3 00:30:59 2016 -0400 scale: Apply css style to text Use the new functions we have to apply CSS styles to the value and marks text from their respective subnodes. gtk/gtkscale.c | 104 +++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 83 insertions(+), 21 deletions(-) commit db50849d7918cc4337042e22b29ce13377e3d454 Author: Matthias Clasen Date: Fri Jun 3 00:29:05 2016 -0400 Add a function to get a font from a css style Similar in spirit to gtk_style_context_get (ctx, state, "font", ...) but avoids the need for a style context. This will be used to for css-styled text rendering from css subnodes. gtk/gtkcssstyle.c | 19 +++++++++++++++++++ gtk/gtkcssstyleprivate.h | 1 + 2 files changed, 20 insertions(+) commit 7b0929ad388d26e7c24620c5b8e93f9401eb8859 Author: Matthias Clasen Date: Fri Jun 3 00:19:24 2016 -0400 Add a function to turn a css style into pango attributes This is _gtk_style_context_get_pango_attributes, decoupled from the GtkStyleContext. This will be used to drive css-styled text rendering from css subnodes of widgets, e.g. for the value in GtkScale. gtk/gtkcssstyle.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssstyleprivate.h | 2 ++ gtk/gtkstylecontext.c | 71 +------------------------------------------- 3 files changed, 79 insertions(+), 70 deletions(-) commit a961b05200d7a9fb8f7fc97babbd04c19b37c2cb Author: Timm Bäder Date: Thu Jun 2 21:52:11 2016 +0200 widget: Avoid a deprecation warning gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit de8af768974b12e6b290fb813ed45bbb66a24f16 Author: Matthias Clasen Date: Tue May 31 23:33:54 2016 -0400 Show a scroll cursor when appropriate When doing two-finger scrolling or click scrolling using a trackpoint, show the all-scroll cursor to indicate what is going on. https://bugzilla.gnome.org/show_bug.cgi?id=753202 gtk/gtkscrolledwindow.c | 55 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 4 deletions(-) commit 3d0f76801d008facae8aa3b6f0cdf439712775aa Author: Matthias Clasen Date: Tue May 31 23:14:30 2016 -0400 wayland: Provide information about scroll devices The Wayland protocol does not share XI2's wealth of information about individual devices, but it does provide discriminating information about the source for scroll events. Pass this on to the application by creating separate slave devices for these, and setting them as source device on the scroll events. These devices can be discriminated by their input-source property: wheel - GDK_SOURCE_MOUSE finger - GDK_SOURCE_TOUCHPAD continuous - GDK_SOURCE_TRACKPOINT https://bugzilla.gnome.org/show_bug.cgi?id=767093 fix up gdk/wayland/gdkdevice-wayland.c | 154 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 139 insertions(+), 15 deletions(-) commit 5264209bf1537682833c689ba96544b9403f87be Author: Matthias Clasen Date: Wed Jun 1 14:18:46 2016 -0400 a11y tests: Update expected output These changes were caused by the introduction of GtkStackAccessible. testsuite/a11y/about.txt | 142 ----------------------------------------- testsuite/a11y/menubutton2.txt | 4 +- testsuite/a11y/menubutton3.txt | 4 +- testsuite/a11y/stack.txt | 16 ----- 4 files changed, 4 insertions(+), 162 deletions(-) commit 1dbbe7f251787fe189e5877540852aa75120a3ed Author: Matthias Clasen Date: Wed Jun 1 13:12:19 2016 -0400 button css node test: Update for switch style changes We no longer add the redundant .slider style class in GtkSwitch. Update expected results to reflect that. testsuite/css/nodes/buttons.nodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 28b9e16272d3b3b5505c73be355a06b61c691bb6 Author: Matthias Clasen Date: Wed Jun 1 13:11:27 2016 -0400 css node tests: Update expected results We were not propagating direction changes in some places, evidently. Now we do. testsuite/css/nodes/box-packing.rtl.nodes | 8 ++++---- testsuite/css/nodes/box.rtl.nodes | 8 ++++---- testsuite/css/nodes/checkbutton.rtl.nodes | 6 +++--- testsuite/css/nodes/expander.rtl.nodes | 4 ++-- testsuite/css/nodes/levelbar.rtl.nodes | 2 +- testsuite/css/nodes/notebook.bottom.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.left.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.right.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.top.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/paned.rtl.nodes | 6 +++--- 10 files changed, 65 insertions(+), 65 deletions(-) commit f3f64d17c2451d2a4f002cf3941e5dc53887cec8 Author: Matthias Clasen Date: Wed Jun 1 11:52:20 2016 -0400 popover menu: Improved labeled separators Embed the label in the middle of the separators instead of putting it above the separator. https://bugzilla.gnome.org/show_bug.cgi?id=767108 gtk/gtkmenusectionbox.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit bb6cce4e6f9452280b09ad41513bb9c748b6b9cc Author: Bastien Nocera Date: Wed Jun 1 15:58:22 2016 +0200 Separators not correctly placed What it should look like: Bold ---- /Size/ x 0.5 x 1.0 What it looks like: Bold /Size/ ---- x 0.5 x 1.0 https://bugzilla.gnome.org/show_bug.cgi?id=767108 tests/testgmenu.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit 743d18c0f8655de44b1e7c96e040847a900acc34 Author: Matthias Clasen Date: Wed Jun 1 07:01:37 2016 -0400 scrolled window: Remove trackpoint heuristics This is now done in GDK, so we can just use the input type here. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gtk/gtkscrolledwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 660c8b8f9bb35bd5d2819f5506b609f289382efd Author: Matthias Clasen Date: Wed Jun 1 06:58:43 2016 -0400 x11: Mark trackpoints as GDK_SOURCE_TRACKPOINT This uses the same heuristics that are currently used in GtkScrolledWindow. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gdk/x11/gdkdevicemanager-xi2.c | 3 +++ 1 file changed, 3 insertions(+) commit a9f14846e40ee67abb9d4085ca62db42803fe20f Author: Matthias Clasen Date: Wed Jun 1 06:57:46 2016 -0400 gdk: Add GDK_SOURCE_TRACKPOINT Having this as an input source type will let us do the heuristics in the GDK backends. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gdk/gdkdevice.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3ab7645ac180355d9c20ae0f4bd0e1046981a3bf Author: Matthias Clasen Date: Wed Jun 1 07:00:18 2016 -0400 Avoid a deprecation warning gtk/gtksizegroup.c | 2 ++ 1 file changed, 2 insertions(+) commit 7c397c621cb6ba7ba3575083b1510f226e7e25f4 Author: Olivier Fourdan Date: Tue May 31 15:25:52 2016 +0200 headerbar: do not show buttons for modals/transients GtkHeadeBar checks the window type hint to determine if the regular buttons such as menu, maximize or iconify should be visible in the header bar. However, an application may very well use a "normal" toplevel window and set it transient and modal afterwards. In such a case, the iconify button would remain visible, and the user can hide the window, but being a modal, the parent window would remain insensitive. Check for the window type, modality and transient relationship to decide whether or not the regular toplevel buttons should be visible in the header bar. https://bugzilla.gnome.org/show_bug.cgi?id=767052 gtk/gtkheaderbar.c | 14 ++++++++------ gtk/gtkwindow.c | 4 ++++ 2 files changed, 12 insertions(+), 6 deletions(-) commit 11e22aadda28160d8c62438c7af3cec0d8b054d5 Author: Matthias Clasen Date: Tue May 31 22:05:58 2016 -0400 wayland: Better debug info for scroll axes Print human readable names for axes and axis sources. gdk/wayland/gdkdevice-wayland.c | 52 +++++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 7 deletions(-) commit dbe499bcfef2504204c24eda6404bf2269fda67a Author: Matthias Clasen Date: Tue May 31 16:33:18 2016 -0400 docs: Add a release note about GtkSizeGroup::ignore-hidden docs/reference/gtk/migrating-3xtoy.xml | 8 ++++++++ 1 file changed, 8 insertions(+) commit 430916973abc2e640d8b9eca3d1028b2e980d09d Author: Matthias Clasen Date: Tue May 31 16:32:20 2016 -0400 GtkShortcutsSection: avoid deprecation warnings We could just as well remove these calls here, since they have no effect. gtk/gtkshortcutssection.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit d76c07836bce88c33c71ca75a82d1fbfa8a5f2bc Author: Matthias Clasen Date: Tue May 31 16:19:52 2016 -0400 Document GtkSizeGroup::ignore-hidden as broken ...and deprecate it, recommending GtkStack as an alternative. gtk/gtksizegroup.c | 29 +++++++++++++++++++++++++---- gtk/gtksizegroup.h | 4 ++-- 2 files changed, 27 insertions(+), 6 deletions(-) commit 69f8b4bb7776210faa64dae60d53636b5106d1be Author: Lapo Calamandrei Date: Tue May 31 20:58:35 2016 +0200 Adwaita: ensure menuitem labels are not overridden see https://bugzilla.gnome.org/show_bug.cgi?id=767058 gtk/theme/Adwaita/_common.scss | 7 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 58 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 58 ++++++++++++++++++++++---------- 3 files changed, 88 insertions(+), 35 deletions(-) commit 4dbe7c99c2390a9613fb79a436c6e8b6384808f8 Author: Timm Bäder Date: Sun May 29 18:34:35 2016 +0200 entry: Fix undershoot position wrt entry icons Draw them inside of the icons, which is where the text scrolls. gtk/gtkentry.c | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) commit 14e33ab0f58fe11f973ff8f7615b3044b2113889 Author: Matthias Clasen Date: Mon May 30 20:24:13 2016 -0400 README: Refer to release notes online We don't want to maintain this information in two places, so just link to the online documentation here. README.in | 291 ++------------------------------------------------------------ 1 file changed, 5 insertions(+), 286 deletions(-) commit 3bed458723b7dfb162f9498fc5a50b32eebdf224 Author: Matthias Clasen Date: Mon May 30 20:21:48 2016 -0400 docs: Fix a duplicate ID This was causing navigation in the online docs to be confused. docs/reference/gtk/migrating-3xtoy.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f168de3ada3a074df7184010ff43714fc8864dbe Author: Matthias Clasen Date: Mon May 30 16:14:36 2016 -0400 Add a warning for a broken situation When we emit ::draw, the widget should not have alloc_needed set anymore. If this happens, it indicates a broken situation. Add a warning to help tracking down why this might occur. See https://bugzilla.gnome.org/show_bug.cgi?id=765410 gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit d36f866b27e148bfdcd88fcd27c3a2f03a5157a5 Author: Matthias Clasen Date: Mon May 30 16:07:52 2016 -0400 gtk3-demo: Fix some css warnings Update the font: syntax to follow css. demos/gtk-demo/css_accordion.css | 2 +- demos/gtk-demo/cssview.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9d5fe264202dd92eec7611541537e7faa79f112a Author: Timm Bäder Date: Mon May 30 20:40:43 2016 +0200 build: add GtkStack accessible private header at the right place gtk/a11y/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a9845c17609d98d04efc55969cb2ffff3cf1709 Author: Daniel Mustieles Date: Mon May 30 19:16:21 2016 +0200 Updated Spanish translation po/es.po | 144 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 70 insertions(+), 74 deletions(-) commit 6301827dacc0c3e1a25ab99c65022f3e581cb2bc Author: Timm Bäder Date: Sun May 22 08:24:46 2016 +0200 range: Properly indent closing brace Make sure it's obvious what if block it belongs to. gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0b0d4765a00706be78f2485ab0937bc8cbb04031 Author: Timm Bäder Date: Sun May 29 13:51:02 2016 +0200 Add GtkStackAccessible Show only the currently visible child to a11y. gtk/a11y/Makefile.inc | 3 + gtk/a11y/gtkstackaccessible.c | 109 +++++++++++++++++++++++++++++++++++ gtk/a11y/gtkstackaccessible.h | 54 +++++++++++++++++ gtk/a11y/gtkstackaccessibleprivate.h | 32 ++++++++++ gtk/gtkstack.c | 7 +++ 5 files changed, 205 insertions(+) commit 5029e1147362b3c723da558dcaa59e5c1e08d339 Author: Timm Bäder Date: Mon May 30 08:59:46 2016 +0200 tests/scrolling-performance: Define MyTextView The type is used in widget-factory.ui, so add a dummy definition here to keep the test working. tests/scrolling-performance.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 106bc95771b9ad25cce7d5327bf528266bfc8022 Author: Cédric Valmary Date: Mon May 30 16:59:28 2016 +0000 Updated Occitan translation po/oc.po | 294 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 152 insertions(+), 142 deletions(-) commit 73708b39ac69c5444964afe465a3b7cbba85ada1 Author: Cédric Valmary Date: Mon May 30 16:58:07 2016 +0000 Updated Occitan translation po-properties/oc.po | 955 ++++++++++++++++++++++++++-------------------------- 1 file changed, 482 insertions(+), 473 deletions(-) commit 0c387b27ee9b0ac2f4041c78404cd0b489207d82 Author: Lapo Calamandrei Date: Mon May 30 14:20:33 2016 +0200 Adwaita: explicitelly set label caret-color to currentColor since it doesn't always inherit 'color' color as it should. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 26 ++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 26 ++++++++++++++------------ 3 files changed, 30 insertions(+), 24 deletions(-) commit f54e28177c51c663100a2eb8e0401fd17cc0556c Author: Lapo Calamandrei Date: Mon May 30 13:56:23 2016 +0200 Adwaita: make selection on infobars visible see https://bugzilla.gnome.org/show_bug.cgi?id=745622 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 14 ++++---------- gtk/theme/Adwaita/gtk-contained.css | 14 ++++---------- 3 files changed, 9 insertions(+), 21 deletions(-) commit 77ef33b095e9c9401e501a4ea4220fc9664c7e85 Author: Theppitak Karoonboonyanan Date: Mon May 30 12:45:19 2016 +0700 Updated Thai translation po/th.po | 376 ++++++++++++++++++++++----------------------------------------- 1 file changed, 129 insertions(+), 247 deletions(-) commit e13f04a9fae4925ae349975b71d7aa67129d0bca Author: Jordi Mas Date: Sat May 28 07:27:51 2016 +0200 Fixes to Catalan translation po/ca.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1fcf9c8f6d671a6dd0768d3a2d6b3e9c0267e841 Author: Jordi Mas Date: Sat May 28 07:21:39 2016 +0200 Update Catalan translation po-properties/ca.po | 1831 ++++++++++++++++++++++++++------------------------- 1 file changed, 936 insertions(+), 895 deletions(-) commit d1d763ce58889dda7fa537927f7b15abecfdf06c Author: Lapo Calamandrei Date: Fri May 27 11:34:47 2016 +0200 Adwaita: remove textview border see https://bugzilla.gnome.org/show_bug.cgi?id=764203 gtk/theme/Adwaita/_common.scss | 28 +--------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 18 +----------------- gtk/theme/Adwaita/gtk-contained.css | 18 +----------------- 3 files changed, 3 insertions(+), 61 deletions(-) commit a7e069509341cdbbf48a28a677548fd174cf32af Author: Theppitak Karoonboonyanan Date: Fri May 27 15:49:58 2016 +0700 Updated Thai translation po/th.po | 1510 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 801 insertions(+), 709 deletions(-) commit 694ba1298ed85ffd8ae6fc8c342c9e7f360d0baa Author: Rico Tzschichholz Date: Fri May 27 09:27:53 2016 +0200 x11: Replace RROutput with XID as used in GdkX11Monitor This avoids an unconditional use of XRandr symbol. gdk/x11/gdkscreen-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7765daf64efc4660ff619c2af6737c77283886c Author: Thomas Lange Date: Wed May 25 20:16:04 2016 +0200 placesview: Do not mark icon name as translatable https://bugzilla.gnome.org/show_bug.cgi?id=766878 gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit abdd7137b3903e26481f6217a05c62017f510170 Author: Matthias Clasen Date: Thu May 26 13:57:20 2016 -0400 3.21.2 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8fb0950398808d4618ff1122a39fe620cf496ad1 Author: Matthias Clasen Date: Thu May 26 13:56:59 2016 -0400 Updates NEWS | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) commit 73a47181fa66b213de85dfeab81af485b841a9a2 Author: Matthias Clasen Date: Thu May 26 13:21:50 2016 -0400 Teach gtk-builder-tool to leave GtkDialog::border-width alone This is one of the properties that need to be explicitly set. gtk/gtk-builder-tool.c | 1 + 1 file changed, 1 insertion(+) commit d08cc01b3c44613e1d6eb80afd749d8e47610ea4 Author: Tiago Santos Date: Thu May 26 13:44:51 2016 +0000 Updated Portuguese translation po/pt.po | 142 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 69 insertions(+), 73 deletions(-) commit 7fe65108002fac4381a8394ee5b5bda3e653b898 Author: Emmanuele Bassi Date: Thu May 26 12:45:51 2016 +0100 Silence a compiler warning Initialize the `nearest` variable. gdk/gdkdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fcd3321fa7b675e940760c9b08ca9ade9e1e8b1d Author: Руслан Ижбулатов Date: Mon May 9 12:48:07 2016 +0000 GtkFileChooser: don't override already opened folder When filechooer is re-used (instead of being created and destroyed every time it's needed), it might happen that the directory the application wishes to initially show is the same directory that was shown last time the filechooser was used. In that case, make sure filechooser knows that it does not need to do its default "select $pwd or $home" routine. https://bugzilla.gnome.org/show_bug.cgi?id=766122 gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 0fa3c3b73175a5f9de7a35c73f11bb7ea57b8e8a Author: Matthias Clasen Date: Wed May 25 15:56:04 2016 -0400 Mention CSS font property in the release notes docs/reference/gtk/migrating-3xtoy.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 17d798de114e98e1ec991f92ff6d4c1430d343b1 Author: Friedrich Herbst Date: Wed May 25 08:36:09 2016 +0000 Updated German translation po/de.po | 963 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 527 insertions(+), 436 deletions(-) commit e92e54c6460978f3e1b5fc47036c2538faa41a54 Author: Matthias Clasen Date: Wed May 25 00:55:11 2016 -0400 Move release notes to online docs This will let us expand the information e.g. with code examples, and can serve as starting material for a future 3->4 migration guide. docs/reference/gtk/Makefile.am | 2 + docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/migrating-3xtoy.xml | 395 +++++++++++++++++++++++++++++++++ 3 files changed, 398 insertions(+) commit 10b8c082030a7f07b8208d78df6e250294cb7efa Author: Matthias Clasen Date: Tue May 24 20:55:16 2016 -0400 Update migration guide a bit Resize grips are no more. docs/reference/gtk/migrating-2to3.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit c201cb3af0e7bae685366c5fb45e01db29e4c507 Author: Matthias Clasen Date: Tue May 24 20:51:55 2016 -0400 Fix a duplicate word in the docs docs/reference/gtk/migrating-2to3.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9f55dfd634808ddec5b1a82769890e217b8eb46 Author: Benjamin Otte Date: Wed May 25 01:16:52 2016 +0200 window: Unfreeze window on unmap Make sure to keep parity with the number of times we froze the window when we unmap it. Otherwise it will permanently stay frozen after being remapped. https://bugzilla.gnome.org/show_bug.cgi?id=766643 https://bugzilla.mozilla.org/show_bug.cgi?id=1225044 gtk/gtkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 5759e2a334993ffb4ad0f7204d8ff74a2ddb8d05 Author: Bastian Ilsø Date: Wed Apr 1 22:46:46 2015 +0200 gtktextview: document how to get line space adds a paragraph to gtk_text_view_get_pixels_below_lines(), describing how it can be used together with gtk_text_view_get_pixels_above_lines() to get the total amount of line spacing between two paragraphs. https://bugzilla.gnome.org/show_bug.cgi?id=747206 gtk/gtktextview.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b90ae2cfbfe7f1701b9f6bfc4a95f24390d0ab3c Author: Matthias Clasen Date: Mon May 23 20:40:03 2016 -0400 Add a deprecation note Mark GtkWidget:style property as deprecated in the docs. gtk/gtkwidget.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 30c3d6af563ec1693bcc6f1a959a735fb5be53d2 Author: Matthias Clasen Date: Mon May 23 19:25:41 2016 -0400 Improve CSS docs a bit Among other things, explain the relationship of background-color and background-image. docs/reference/gtk/css-properties.xml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit 46b51e36b4655ffd54e26b99bfe89b7e9f7946bd Author: Matthias Clasen Date: Mon May 23 19:24:07 2016 -0400 Trivial typo fix gtk/gtkcssprovider.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f39a7ecd63be3e792ddb8f63267a2442bb23533f Author: Matthias Clasen Date: Mon May 23 14:17:13 2016 -0400 Remove an unused variable gdk/gdkdisplay.c | 1 - 1 file changed, 1 deletion(-) commit 16bca98305486a4e75356276a33753efcfa344ed Author: Matthias Clasen Date: Mon May 23 14:14:32 2016 -0400 infobar: Update documentation Remove explicit reference to color from the gtk_info_bar_set_message_type() docs. https://bugzilla.gnome.org/show_bug.cgi?id=759037 gtk/gtkinfobar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b5d52a209d9cc8b0e8cc5245981d84eaa9c8255b Author: Kjartan Maraas Date: Mon May 23 18:56:30 2016 +0200 Updated Norwegian bokmål translation. po/nb.po | 3302 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2104 insertions(+), 1198 deletions(-) commit 9c3802fc4b630c4ca404194b62b1178d51bc331f Author: Emmanuele Bassi Date: Mon May 23 08:34:39 2016 +0100 gdk: Provide safe fallback for creating GL contexts If the backend does not override GdkWindowClass.create_gl_context() then we should provide a fallback that gives an error, instead of crashing. https://bugzilla.gnome.org/show_bug.cgi?id=766782 gdk/gdkwindow.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit fe684078f9f76d71c3f771a38d287ebc255eaa8e Author: Emmanuele Bassi Date: Mon May 23 08:31:47 2016 +0100 gl: Add a realize() fallback Calling gdk_gl_context_realize() should always result in a valid result, so we need to provide a default implementation, to avoid a call to a NULL function pointer. gdk/gdkglcontext.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 9318dc1f3ec6825fd46315ebf06da71dbb1d4ff3 Author: Anders Jonsson Date: Sat May 21 21:39:34 2016 +0000 Updated Swedish translation po/sv.po | 947 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 516 insertions(+), 431 deletions(-) commit 76a5e3fc3cefebff397a2dcf94f4699c32087979 Author: Carlos Garnacho Date: Sat May 21 19:43:15 2016 +0200 popover: set priv->window before setting doing add_popover() on it If the popover's relative-to widget is unparented/reparented, we end up unparenting/reparenting the popover as well. In that case, at the moment of reparenting, the widget might have been visible (and is thus mapped again), but priv->window hasn't been set yet. We must first set priv->window, and then call gtk_window_add_popover(), that way gtk_popover_map() has its prerequisites straight. https://bugzilla.gnome.org/show_bug.cgi?id=766323 gtk/gtkpopover.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ebf703ff5ac8a69c2c35f003620ea5b7a4e7eb0e Author: Khaled Hosny Date: Sat May 21 15:54:19 2016 +0200 Typo po/ar.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3d0e8cf2a8073d36387428918fc8c1cb7d253f41 Author: Khaled Hosny Date: Sat May 21 07:40:09 2016 +0200 Update Arabic translation po/ar.po | 1967 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1079 insertions(+), 888 deletions(-) commit 57efcabfd68576d974cf8917307578f96ff72f98 Author: Florian Müllner Date: Sat May 21 00:07:10 2016 +0200 stack: Only map children when necessary gtk_widget_set_parent() will map the widget if the parent is mapped and the widget is both visible and child-visible. As we currently only set the child visibility after adding the child, we immediately map all children that are added to a mapped stack, even when they are not actually shown. Avoid this by setting the child visibility before adding the child, so widgets are only mapped when shown. https://bugzilla.gnome.org/show_bug.cgi?id=766737 gtk/gtkstack.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 386ead4243b9e45d60f6a7aa6812f68e8c119ba3 Author: Lapo Calamandrei Date: Fri May 20 15:39:08 2016 +0200 Adwaita: add vertical margins to switches on a headerbar See https://bugzilla.gnome.org/show_bug.cgi?id=766642 gtk/theme/Adwaita/_common.scss | 6 +++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) commit 0d5b4779b8079ca4130dd63ad83ceb17e47a4c6f Author: Lapo Calamandrei Date: Fri May 20 15:28:58 2016 +0200 Adwaita: shave 1px from the switch make the switch height and width 1px smaller. 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 55751fc6fbea74ca98b1dca6663046ba7974946a Author: Ondrej Holy Date: Mon May 2 12:55:56 2016 +0200 Improve external drives detection Use g_drive_is_removable for external drives detection. Current heuristic fails in some cases (e.g. when removable drive is attached before login), see Bug 765457. Bump GLib version accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=765924 configure.ac | 4 ++-- gtk/gtkplacessidebar.c | 4 +--- gtk/gtkplacesview.c | 4 +--- 3 files changed, 4 insertions(+), 8 deletions(-) commit 64eca0bb2dad94164d38a89797bf7a439a321b48 Author: Ignacio Casal Quinteiro Date: Fri May 20 09:08:08 2016 +0200 gtktextview: fix < public > comment This was causing problems with the gtk# scanner gtk/gtktextview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d3adf47d9f70ed785dc26aba3b48e607f89ee5b5 Author: Matthias Clasen Date: Thu May 19 16:59:10 2016 -0400 treeview: Fix a rubberbanding-related crash When starting a rubberband selection from an empty area, we could run into crashes if the selection moves over the rows and then back out to unpopulated area. Handle this case without crashing. https://bugzilla.gnome.org/show_bug.cgi?id=766336 gtk/gtktreeview.c | 55 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 41 insertions(+), 14 deletions(-) commit eace965a197e7145d214cbdaa0bef24f2fb1bbd6 Author: Matthias Clasen Date: Thu May 19 12:25:52 2016 -0400 scale css node test: Adapt to changes The style classes are reflected in the output here. testsuite/css/nodes/scale.nodes | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6293a50501c20d25663ebfe170b0acfec3c96d2b Author: Matthias Clasen Date: Thu May 19 11:05:28 2016 -0400 color scale: Sync style classes with GtkScale We should use the same style classes here, to avoid theme confusion. gtk/gtkcoloreditor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cca2a22b637e3bb42e793563a64c9e720077ab00 Author: Lapo Calamandrei Date: Thu May 19 17:24:51 2016 +0200 color scale: Really sync style classes with GtkScale sync the alpha scale styleclass too. gtk/ui/gtkcoloreditor.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ae7f62f25c20e24e642c99c1409900d403462b3 Author: Lapo Calamandrei Date: Thu May 19 17:05:46 2016 +0200 Adwaita: fix scale theming rely on toplevel styleclass for scale with marks. See https://bugzilla.gnome.org/show_bug.cgi?id=766440 gtk/theme/Adwaita/_common.scss | 64 +++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 122 +++++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 122 +++++++++++++------------------ 3 files changed, 132 insertions(+), 176 deletions(-) commit fab70d34d443d25c8c68fea30ae7b483749b5e40 Author: Ignacio Casal Quinteiro Date: Thu May 19 16:55:24 2016 +0200 gtkselectionprivate: minor style fix This seems to make some issue with the gtk# scanner. gtk/gtkselectionprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4151cb1202a120a0eae6da04d45411dafbfaa317 Author: Matthias Clasen Date: Thu May 19 09:44:25 2016 -0400 scale: Use more succinct names for style classes Use .marks-before/after to indicate the presence of marks. As Lapo points out, compatibility with the previous names is not really that important, since everything else changed around it. https://bugzilla.gnome.org/show_bug.cgi?id=766440 gtk/gtkscale.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit de7c15636d44c3c81fbee368c867afdd20740563 Author: Matthias Clasen Date: Thu May 19 09:03:20 2016 -0400 icon theme: Add a warning Warn about the situation when we've found a resource or file path, but gdk-pixbuf fails to give us a pixbuf. This generally means that either pixbuf loaders are not found or the shared-mime database is missing. gtk/gtkicontheme.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit d14305f3806cb6f42e1f2ffe98a313836c99c221 Author: Matthias Clasen Date: Wed May 18 13:08:44 2016 -0400 wayland: Survive lack of settings This can be made to happen eg by setting XDG_DATA_DIRS and XDG_DATA_HOME to /. Not a useful value, but not a good reason to crash either. gdk/wayland/gdkscreen-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 0b58c96f06011b21aaa6337a2e4e774da4410033 Author: Olivier Fourdan Date: Thu May 19 09:48:46 2016 +0200 wayland: Make gdk_wayland_window_get_wl_output() private There is no need to make it a public API, move it to the private header instead. https://bugzilla.gnome.org/show_bug.cgi?id=766566 docs/reference/gdk/gdk3-sections.txt | 1 - gdk/wayland/gdkprivate-wayland.h | 2 ++ gdk/wayland/gdkwaylandwindow.h | 2 -- gdk/wayland/gdkwindow-wayland.c | 11 ----------- 4 files changed, 2 insertions(+), 14 deletions(-) commit 6c939c0e72e5d725989fa912a8b8a518f235da0d Author: Dušan Kazik Date: Wed May 18 18:48:18 2016 +0000 Updated Slovak translation po/sk.po | 947 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 516 insertions(+), 431 deletions(-) commit b03784eb979bb8c7fee317f1ddeeed67c35eb63e Author: Olivier Fourdan Date: Tue May 17 15:04:23 2016 +0200 wayland: Add get_monitor_at_window to Wayland backend Given that Wayland has no global coordinate, the only way for gdk to retrieve the monitor a window last entered is to retrieve it from the GdkWaylandWindow itself. Implement the backend specific get_monitor_at_window() to return the monitor that was last entered by the window. https://bugzilla.gnome.org/show_bug.cgi?id=766566 gdk/wayland/gdkdisplay-wayland.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit ca77de055baa403f7ebf397772dfb8f13656607d Author: Olivier Fourdan Date: Tue May 17 15:02:01 2016 +0200 wayland: Add API to retrieve the Wayland output In Wayland, surfaces get an enter/leave notification each time they enter or leave an output. Add an API to GdkWaylandWindow to retrieve the output the window has last entered. https://bugzilla.gnome.org/show_bug.cgi?id=766566 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/wayland/gdkwaylandwindow.h | 3 +++ gdk/wayland/gdkwindow-wayland.c | 26 ++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) commit d288a134a427e5728d230404c6a56fc9397b45d9 Author: Olivier Fourdan Date: Tue May 17 13:09:23 2016 +0200 display: Add vfunc for get_monitor_at_window Some backends (namely Wayland) do not support global coordinates so using the window position to determine the monitor will always fail on such backends. In such cases, the backend itself might be better suited to identify the monitor a given window resides on. Add a vfunc get_monitor_at_window() to the display class so that we can use the backend to retrieve the monitor, if the backend implements it. https://bugzilla.gnome.org/show_bug.cgi?id=766566 gdk/gdkdisplay.c | 11 +++++++++++ gdk/gdkdisplayprivate.h | 2 ++ 2 files changed, 13 insertions(+) commit fa9f22eec4fafd9a484864f45e0ac26ba584f0ef Author: Matthias Clasen Date: Wed May 18 12:59:39 2016 -0400 scale: Bring back marks-related style classes It turns out that it is too hard (and in some cases, impossible) to get this information from node positioning, so bring back the .scale-has-marks-above/below style classes on the main node. This should allow us to fix the 'pointy sliders'. https://bugzilla.gnome.org/show_bug.cgi?id=766440 gtk/gtkscale.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit f516faaef89d2da1a1ef99952e65223c637c30ea Author: Matthias Clasen Date: Wed May 18 07:48:26 2016 -0400 Revert "scrolledwindow: Better size requisition for GTK_SCROLL_NATURAL children" This reverts commit 096bea3f0ea8e80fe4c9a2a1a860f32c8a94cc33. This was accidentally pushed. gtk/gtkscrolledwindow.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit 1d04bdf845c5418748af8f2b34a6fb718536580f Author: Carlos Garnacho Date: Tue May 17 19:27:00 2016 +0200 x11/dnd: Ignore grab broken events from other devices than our DnD device. The GdkDragContext should only listen to GDK_GRAB_BROKEN events sent to its own pointer device. It turns out that the passive key grabs mistake GDK into sending a GdkEventGrabBroken on the master keyboard, which the DnD machinery mistakes as a signal to cancel the operation. https://bugzilla.gnome.org/show_bug.cgi?id=766442 gdk/x11/gdkdnd-x11.c | 4 ++++ 1 file changed, 4 insertions(+) commit 783c30219891e873c9ea07fb83b603b647ef3d47 Author: Carlos Garnacho Date: Thu May 12 13:34:42 2016 +0200 wayland: Avoid spurious crossing events from master touch device Only generate crossing events on wl_touch.down for the virtual master device used for touch events, and only whenever this virtual device actually moves across surfaces. This behavior resembles better what is expected in X11, where the pointer is warped to the touch position on XITouchBegin. This avoids the double emission of leave events when the pointer emulating touch is lifted, that crossing event will be instead generated when/if the focus surface changes. https://bugzilla.gnome.org/show_bug.cgi?id=766314 gdk/wayland/gdkdevice-wayland.c | 46 ++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 17 deletions(-) commit 2893526a48b6edae452d966cf9779f4ef0a23a15 Author: Matthew Waters Date: Fri Mar 18 17:17:23 2016 +1100 gdk/wayland: use the multi-thread safe wayland API This is required for proper integration with any other library/application that may perform wayland API calls and poll() the wayland fd from multiple threads. Using wl_display_dispatch{_queue}() is thread-safe if not mixed with custom poll() usage, which GSource/GMainContext does. Essentially, the problem is that multiple threads polling and reading the same fd is extremely racy. Use the wayland provided API for allowing concurrent access to the wayland display fd. See the wayland man pages for wl_display_prepare_read(), wl_display_cancel_read() and wl_display_read_events() for more details. https://bugzilla.gnome.org/show_bug.cgi?id=763852 gdk/wayland/gdkeventsource.c | 56 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 44 insertions(+), 12 deletions(-) commit 096bea3f0ea8e80fe4c9a2a1a860f32c8a94cc33 Author: Debarshi Ray Date: Tue May 17 16:28:20 2016 +0200 scrolledwindow: Better size requisition for GTK_SCROLL_NATURAL children GtkScrolledWindow leans towards using the minimum size of its child widget, unless the scrollbar policy is GTK_POLICY_NEVER. This is probably fine for most GtkScrollable implementations out there. Especially when using GTK_SCROLL_MINIMUM, which is the default for all implementations inside gtk+. However, this is not good for GTK_SCROLL_NATURAL children. eg., VteTerminal's minimum size is 1x1 and natural size is the number of visible rows and columns requested by the user. We really want to use the natural size unless the user has resized the window to change that. https://bugzilla.gnome.org/show_bug.cgi?id=766569 gtk/gtkscrolledwindow.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 0d18a429aadced1499cdcb28a6a4d8ffee1d6946 Author: Matthias Clasen Date: Tue May 17 14:16:39 2016 -0400 Update cursor docs Include new images for context-menu and for no-drop. docs/reference/gdk/Makefile.am | 1 + docs/reference/gdk/images/context_menu_cursor.png | Bin 0 -> 1496 bytes docs/reference/gdk/images/no_drop_cursor.png | Bin 1176 -> 1373 bytes gdk/gdkcursor.c | 4 ++-- 4 files changed, 3 insertions(+), 2 deletions(-) commit 4b8dfd8825bbdd49cd5ab4666fda711f294abace Author: Matthias Clasen Date: Tue May 17 13:40:52 2016 -0400 gtk-demo: Update no-drop cursor image Adwaita is using a different cursor for this now. demos/gtk-demo/no_drop_cursor.png | Bin 1176 -> 1373 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit 3078f182b0841a57df525ba7b2d61601f283881f Author: Matthias Clasen Date: Tue May 17 13:39:18 2016 -0400 gtk3-demo: Add context-menu cursor The Adwaita cursor theme covers this one now. demos/gtk-demo/context_menu_cursor.png | Bin 0 -> 1496 bytes demos/gtk-demo/demo.gresource.xml | 1 + 2 files changed, 1 insertion(+) commit c81cd94b8f450e4e762bc197b4695f90ec08abf7 Author: Debarshi Ray Date: Mon May 16 21:50:05 2016 +0200 scrolledwindow: Remove redundant use of MAX This code tries to add the minimum content size, if one is set, to the GtkScrolledWindow's size requisition. This is obvious from the check for non-negative values of min-content-height and min-content-width. Using MAX needlessly makes the code harder to read by implying that there is more to it when there actually isn't. Fall out from 0d9ebb501df60cf1803858efcd1c79542588abd8 https://bugzilla.gnome.org/show_bug.cgi?id=766569 gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2b628e9e38bedbd4128a4845c103b67dcd336e71 Author: Baurzhan Muftakhidinov Date: Tue May 17 10:18:52 2016 +0000 Updated Kazakh translation (cherry picked from commit d1585a7a60d760a0c98934f970c4403023a399c3) po/kk.po | 576 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 291 insertions(+), 285 deletions(-) commit df98140e8e0fcd9727622ba0b296a0932c70e493 Author: Debarshi Ray Date: Mon May 16 21:13:14 2016 +0200 scrolledwindow: Fix typo in get_preferred_height calculation When we are beginning to calculate the height, if the vscrollbar_policy is not GTK_POLICY_NEVER, and there is no min-content-height, then we need some small non-zero value to get started. The idea is to always ask for at least enough to fit the horizontal scrollbar. Simply put, this should be the mirror image of the corresponding width calculation code. Those who got used to the buggy behaviour might notice that their GtkScrolledWindows are not as tall as they used to be. Fall out from 55196a705f00564a44647bfc97981db0a783369a https://bugzilla.gnome.org/show_bug.cgi?id=766530 gtk/gtkscrolledwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 175cf7e32d39be2b2f1afff9ef7c16dc49b75289 Author: Matt Watson Date: Fri May 13 00:22:20 2016 -0700 stack: always update window position at transition start Sometimes on wayland we're seeing a frame draw before the first tick callback, where the window position has not yet been updated. With this change, the window is properly positioned as soon as gtk_stack_start_transition returns. https://bugzilla.gnome.org/show_bug.cgi?id=766405 gtk/gtkstack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 101da71ee30e53fe0338bc67605a98527277ee56 Author: Javier Jardón Date: Sat Jan 9 18:35:34 2016 +0000 Use upstream gettext https://bugzilla.gnome.org/show_bug.cgi?id=373745 Makefile.am | 4 +- configure.ac | 43 +------- gtk/Makefile.am | 1 + modules/input/Makefile.am | 1 + po-properties/Makefile.in.in | 245 ------------------------------------------ po-properties/Makevars | 78 ++++++++++++++ po/Makefile.in.in | 248 ------------------------------------------- po/Makevars | 78 ++++++++++++++ testsuite/gtk/Makefile.am | 1 + 9 files changed, 165 insertions(+), 534 deletions(-) commit 0dfd6a7b082effae1d6d702037609565c95b7835 Author: Daniel Mustieles Date: Mon May 16 17:13:24 2016 +0200 Updated Spanish translation po/es.po | 245 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 134 insertions(+), 111 deletions(-) commit a4c93d12ea8778895a6e64b8c6ad8dd258cc28e5 Author: Tiago Santos Date: Sun May 15 21:40:45 2016 +0000 Updated Portuguese translation po/pt.po | 1965 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1041 insertions(+), 924 deletions(-) commit 0bc752065106a89ddb65122adda7a6f03067671f Author: Tiago Santos Date: Sun May 15 21:22:46 2016 +0000 Updated Portuguese translation po-properties/pt.po | 2869 ++++++++++++++++++++++++++------------------------- 1 file changed, 1458 insertions(+), 1411 deletions(-) commit 38f71172f89d4f80a5d852a7b822bb944ba82934 Author: Matthias Clasen Date: Sun May 15 14:18:09 2016 -0400 scale: Avoid a crash gtk_scale_get_layout was not careful enough, leading to a crash when opening the inspector on a scale. gtk/gtkscale.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit cd305c19702cc80f900a0922bce19bf0c926167a Author: Alban Browaeys Date: Sat May 14 23:57:28 2016 +0200 widget: fix GtkLabelAccessible NULL links. Fix testsuite/a11y/about.ui GtkAboutDialog : "CRITICAL **: atk_hyperlink_get_start_index: assertion 'ATK_IS_HYPERLINK (link)' failed" That is set widget->priv->accessible as soon as accessible object is generated. When accessible object is created accessible->priv->widget is set, if widget->priv->accessible is not , then _gtk_label_accessible_update_links exits early, thus without creating the links on the accessible side. (This as it checks for the widget to have the accessible set before proceeding). https://bugzilla.gnome.org/show_bug.cgi?id=766458 gtk/gtkwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ddcf47026dbbe58dca3b34c7bb1ec63bb50a861a Author: Benjamin Otte Date: Sat May 14 18:35:27 2016 +0200 widget: No longer postpone style-updated on unrealized widgets GTK used to not emit GtkWidget::style-updated on widgets that weren't realized. This sped up construction of complex widgetry in the early days of GTK3 where we instantly invalidated on every change. We don't do that anymore, so in theory (and in my limited testing with widget-factory) this shouldn't be a prolem anymore. What is a problem though is that postponing style-updated leads to 2 problems: (1) Unrealized widgets will not emit style-updated which may cause them to not properly update their state and return wrong values from get_preferred_width/height() etc (2) Emitting style-updated during realize can happen too late. When a widget is not made child-visible by its parent (common examples: notebook, paned) it will also not be realized when the parent is initially shown. However, when they get realized later (after a resize of the parent), they will emit style-updated (and potentially queue a resize) during size-allocate. https://bugzilla.gnome.org/show_bug.cgi?id=765700 gtk/gtkwidget.c | 13 +------------ gtk/gtkwidgetprivate.h | 1 - 2 files changed, 1 insertion(+), 13 deletions(-) commit 30d2dc49a88bcd584f9858de83509339de574f89 Author: Benjamin Otte Date: Sat May 14 17:13:52 2016 +0200 scrolledwindow: destroy children in destroy() If we don't do that, testsuite/gtk/templates starts failing. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f0f8d6d6b036347e3f2141761bb7703dfb77ad33 Author: Timm Bäder Date: Sat Apr 30 18:46:22 2016 +0200 gdkwindow: Use GList less gdk/gdkwindow.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit d4f0c9877d488bfb9559899bdb04489bf07d3827 Author: Timm Bäder Date: Sat Apr 30 12:10:14 2016 +0200 query-settings: Indicate deprecated settings gtk/gtk-query-settings.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 0d8993fb240e7572620cdf0cadb4f92e86e02712 Author: Timm Bäder Date: Fri Feb 26 21:58:36 2016 +0100 stack: Don't underallocate the last_child gtk/gtkstack.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 292e0c266363f339b965b1272d4acfb88d72394d Author: Timm Bäder Date: Fri Feb 26 21:58:22 2016 +0100 stack: Remove some code duplication gtk/gtkstack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 301652de1fc4bc609aa6d4aaea96f85a59fd837d Author: Timm Bäder Date: Mon Apr 18 20:48:53 2016 +0200 Remove useless casts from gdk_event_triggers_context_menu calls gtk/gtkentry.c | 2 +- gtk/gtklabel.c | 2 +- gtk/gtkrange.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit c34bb3b994fa52b82605bf97fc5f236d0f136ac9 Author: Timm Bäder Date: Sat Apr 16 13:57:32 2016 +0200 query-settings: Don't compare int to uint gtk/gtk-query-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a99213100d0ef9f258d71ebf93caef08542bfd1e Author: Timm Bäder Date: Sat Apr 16 13:57:08 2016 +0200 listbox: Don't compare int to uint gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4cce90d1e2fbd2fad15066e8229d5f03174055c5 Author: Timm Bäder Date: Wed May 11 15:33:18 2016 +0200 colorbutton: Stop using state-changed gtk/gtkcolorbutton.c | 14 -------------- 1 file changed, 14 deletions(-) commit 63be0deb0f112c354d3b4d2bbee44e6512d24358 Author: Timm Bäder Date: Tue May 10 19:16:19 2016 +0200 toolbar: Limit item position to number of contained elements Greater values don't make much sense. https://bugzilla.gnome.org/show_bug.cgi?id=682080 gtk/gtktoolbar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e463e095773e65170b740ad6f96df187b784d187 Author: Matthias Clasen Date: Thu May 12 11:37:13 2016 -0400 wayland: Avoid unitialized memory reads I didn't pay attention when I replaced g_new0 with g_newa. Oops. gdk/wayland/gdkkeys-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 46b789b0f40e594ada4f277a2b0b41a7cc8ad49f Author: Lapo Calamandrei Date: Thu May 12 11:50:13 2016 +0200 Adwaita: brighter pushed button background providing more contrast with the text color. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) commit 16afc59f0420a28c3fba1fa64a186c4af39550f6 Author: Lapo Calamandrei Date: Thu May 12 11:45:34 2016 +0200 Adwaita: bold size label on font button looks more consistent with other special buttons with icons. gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+) commit b5146317bb0ce7c403352825133883696c1e2cbc Author: Lapo Calamandrei Date: Thu May 12 11:40:28 2016 +0200 Adwaita: hide separator on button.font and button.file we used to do that, got missed at some point during 3.20 cycle. gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) commit c891ceb31df1fb16c7727be46cee4d8a9fc0b447 Author: Matthias Clasen Date: Wed May 11 13:25:15 2016 -0400 Docs: Clarify life cycle issue gtk_gesture_get_last_event() wasn't very clear about how long it is safe to use the returned pointer. gtk/gtkgesture.c | 4 ++++ 1 file changed, 4 insertions(+) commit 358eec297204b438809692a24cc3649658dbab5a Author: Matthias Clasen Date: Wed May 11 13:24:04 2016 -0400 DND: Avoid a use-after-free Cancelling the gesture causes the last_event pointer to become invalid. Make a copy of the event so we can keep using it regardless of the gesture state. gtk/gtkdragsource.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 7c21a32b2887657b711b767ae90397955805b98f Author: Matthias Clasen Date: Tue May 10 21:47:20 2016 -0400 places sidebar: Avoid markup confusion in tooltips At one point, the sidebar was using gtk_treeview_set_tooltip_column, which expects tooltips to be markup. With the listbox-based sidebar, we don't do that anymore. So don't escape the tooltip text. https://bugzilla.gnome.org/show_bug.cgi?id=766175 gtk/gtkplacessidebar.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 7e7d7991cc8e7c7a2b50ce6530a8ebafd673516b Author: Matthias Clasen Date: Tue May 10 21:29:10 2016 -0400 x11: Trap possible X error XIGetClientPointer can generate X errors (e.g. when the X server does not support XI2. Trap them and carry on. https://bugzilla.gnome.org/show_bug.cgi?id=766233 gdk/x11/gdkdisplay-x11.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit f8bc35b9a62fdaa0b16d0552e7d7771f2b338d47 Author: Matthias Clasen Date: Tue May 10 15:41:03 2016 -0400 Fix scale length The vertical scales should really be of the same length, so add an empty value to be drawn by the other scale. demos/widget-factory/widget-factory.c | 7 +++++++ demos/widget-factory/widget-factory.ui | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 49d5c9ed14e47de56ff7802f53bd3591d9e4f03b Author: Matthias Clasen Date: Tue May 10 15:31:29 2016 -0400 Forgotten rename gdk/gdkevents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 327777a291a736ed3e0ebb14b2be6cdbb664c907 Author: Timm Bäder Date: Tue May 10 18:33:37 2016 +0200 Scale: Set the correct value alignment We're measuring both the width of the minimal and the maximal value for the value gadget, but only give the value the minimal width for its current value, resultnig in an always left-aligned value. Fix this by assigning the width of the value gadget to the value layout and letting pango align the text inside the layout. https://bugzilla.gnome.org/show_bug.cgi?id=766120 gtk/gtkscale.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 7b81b56f7b55b0339f20810fcb12043fa2ab81c7 Author: Timm Bäder Date: Mon May 9 18:30:14 2016 +0200 widget-factory: Let one of the scales draw a value https://bugzilla.gnome.org/show_bug.cgi?id=766120 demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4add8f3b6349e8068969d0a3a6dc55889b639dc6 Author: Matthias Clasen Date: Tue May 10 15:22:35 2016 -0400 Document new api docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 11 +++++++++++ 2 files changed, 12 insertions(+) commit 0f476590fbf7bbf10968909676c5f45a592435f7 Author: Matthias Clasen Date: Tue May 10 15:16:45 2016 -0400 Make gdk_event_get_pointer_emulated public There is not strong reason to keep the getter private. At the same time, strip _-prefixes from a few other GdkEvent APIs. Update all callers. gdk/broadway/gdkeventsource.c | 4 ++-- gdk/gdkevents.c | 6 +++--- gdk/gdkevents.h | 3 +++ gdk/gdkinternals.h | 8 ++++---- gdk/gdkprivate.h | 2 -- gdk/gdkwindow.c | 30 +++++++++++++++--------------- gdk/mir/gdkmireventsource.c | 4 ++-- gdk/quartz/gdkevents-quartz.c | 4 ++-- gdk/wayland/gdkdevice-wayland.c | 6 +++--- gdk/win32/gdkevents-win32.c | 2 +- gdk/x11/gdkdevicemanager-core-x11.c | 2 +- gdk/x11/gdkdevicemanager-xi2.c | 12 ++++++------ gtk/gtkmenu.c | 4 +--- 13 files changed, 43 insertions(+), 44 deletions(-) commit 126156e820789557ae05af6a6b76c40e3c1c2325 Author: Olivier Fourdan Date: Mon May 9 08:56:56 2016 +0200 gtkmenu: ignore left/right scroll events Menus are placed vertically by definition, it does not make much sense to support horizontal axis for scrolling. Use GDK_EVENT_STOP/GDK_EVENT_PROPAGATE instead of TRUE/FALSE and add a default case to return GDK_EVENT_PROPAGATE for unhandled events. https://bugzilla.gnome.org/show_bug.cgi?id=765939 gtk/gtkmenu.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit c134d52dd789d2f8b43e15e51fa72d9586a151ec Author: Olivier Fourdan Date: Tue May 3 16:44:14 2016 +0200 gtkmenu: ignore emulated scroll events On X11, we get both smooth and emulated scroll events, whereas other backends such as wayland will give smooth events only with touchpad scrolling. Discard emulated scroll events so that we get consistent behaviours between backends. Allow for both horizontal and vertical smooth events for scrolling so that horizontal scrolling still works without emulated scroll events as well, again for consistency between gdk backends. https://bugzilla.gnome.org/show_bug.cgi?id=765939 gtk/gtkmenu.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e405c27eee99f9dbfd5ebf83c93dacee18e568d5 Author: Olivier Fourdan Date: Tue May 3 16:15:07 2016 +0200 gdkevent: make _gdk_event_get_pointer_emulated() private And not just internal to gdk, so we can use it in gtk as well, to differentiate emulated scroll events from others. https://bugzilla.gnome.org/show_bug.cgi?id=765939 gdk/gdkinternals.h | 1 - gdk/gdkprivate.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) commit 20592a79350dd331f99f3345e23f7f9d85046043 Author: Timm Bäder Date: Tue May 10 12:50:42 2016 +0200 scale: Remove double nullable annotation Being both (allow-none) and (nullable) at the same time is a bit much. Was from 591e7f5ef8538982e227b2c2cefc536a33cafa6c. gtk/gtkscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7116988bcbd14b129fc859044e802ec98371357a Author: Timm Bäder Date: Tue May 10 12:31:56 2016 +0200 widget: Add Since annotation to gtk_widget_queue_allocate gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 092cb9e202a9f654152bc5fbb276521817346d11 Author: Chun-wei Fan Date: Mon May 9 16:37:39 2016 +0800 GTK: Fix build for pre-C99 compilers Some compilers we support, such as pre-2013 Visual Studio, does not support for INIFINITY, log2() and exp2(), so check for exp2() and log2() during configure, and use fallbacks for them and INIFINTY if they are not found. https://bugzilla.gnome.org/show_bug.cgi?id=766207 config.h.win32.in | 10 ++++++++++ configure.ac | 2 +- gtk/fallback-c89.c | 27 +++++++++++++++++++++++++++ gtk/gtkprogressbar.c | 3 ++- gtk/inspector/visual.c | 2 +- 5 files changed, 41 insertions(+), 3 deletions(-) commit 7a0941c0908df71ce5f11f76537c288ef0cba26b Author: Chun-wei Fan Date: Tue May 10 13:18:23 2016 +0800 Visual Studio builds: Refine "installation" process Split out the part where we generate/update the caches for the GSchemas and the icons, so that it is easier to ensure that things continue to function correctly when we have GlibEtcInstallRoot != CopyDir. build/win32/vs10/gtk3-install.propsin | 16 ++++++++++------ build/win32/vs10/gtk3-install.vcxproj | 16 ++++++++-------- build/win32/vs9/gtk3-install.vcproj | 16 ++++++++-------- build/win32/vs9/gtk3-install.vspropsin | 8 ++++++-- 4 files changed, 32 insertions(+), 24 deletions(-) commit 732316aca25c4616d26669e85024097324a1101c Author: Benjamin Otte Date: Tue May 10 00:59:19 2016 +0200 scrolledwindow: Remove child before destroying self Children tend to call back into the scrolled window while being removed and that doesn't work too well if the scrolled window is destroyed already as Christian Hergert found out. gtk/gtkscrolledwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 0c37b057167f5da7fb4be1e182d8dda3de413264 Author: Benjamin Otte Date: Tue May 10 00:58:50 2016 +0200 cssimage: Make it possible to shrink builtin check/optionmarks ... below 7px of size. gtk/gtkcssimagebuiltin.c | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) commit effd40c39c6f7d6a668ca5ecf3ce7220caf6f5ac Author: Cédric Valmary Date: Mon May 9 20:49:18 2016 +0000 Updated Occitan translation po/oc.po | 1739 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 864 insertions(+), 875 deletions(-) commit 6e2b9a1413fce0130ad946436a75eb6324d45b22 Author: Emmanuele Bassi Date: Mon May 9 12:45:34 2016 +0100 docs: Update examples of matching key bindings The selector for matching GtkEntry has changed to `entry` after 3.20. https://bugzilla.gnome.org/show_bug.cgi?id=766166 gtk/gtkbindings.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit ce0a7fa5606f865211e0a8da6b37bae2b12cda01 Author: Chun-wei Fan Date: Mon May 9 15:42:37 2016 +0800 gdk/Makefile.am: Dist gdkmonitorprivate.h This file needs to be distributed with the tarball as well... gdk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 8cda93d389a3d7c38667d88b5d4ef0dec145a5b9 Author: Chun-wei Fan Date: Mon May 9 15:35:26 2016 +0800 Visual Studio builds: Clean up projects a bit Consolidate the .lib's that we need to link to for GDK and GTK+ into the property sheets, and also link to setupapi.lib as that is needed by the port to the new GdkMonitor API. build/win32/vs10/gdk-3.vcxprojin | 18 +++++++++--------- build/win32/vs10/gtk-3.vcxprojin | 10 +++++----- build/win32/vs10/gtk3-build-defines.props | 20 ++++++++++++++++++-- build/win32/vs9/gdk-3.vcprojin | 16 ++++++++-------- build/win32/vs9/gtk-3.vcprojin | 8 ++++---- build/win32/vs9/gtk3-build-defines.vsprops | 16 ++++++++++++++++ 6 files changed, 60 insertions(+), 28 deletions(-) commit e24530d03bf2c7300736dd2a2829aca42fe94220 Author: Chun-wei Fan Date: Mon May 9 13:14:01 2016 +0800 gdk/win32/gdkmonitor-win32.c: Fix build on non-GCC WINBOOL is MinGW-specific, so change it to BOOL, which is universally available. Also, Visua Studio is more picky on where __stdcall (WINAPI) is placed, so fix that to be in-sync with what is done in the other sources. gdk/win32/gdkmonitor-win32.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit 534ab9a9f023673f2d72aa95d28123300e6422a6 Author: Georges Basile Stavracas Neto Date: Sun May 8 17:36:26 2016 -0300 placesview: update guiding list of protocols The previous list of protocols in the guidance popover was suboptimal and needed adjustments. This commit updates this list to match the latest mockups [1]. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/4847c79ea1aaf75046b3ec5bb1b167ac604d86ed/nautilus/nautilus-next/connect-to-server-wire.png https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/ui/gtkplacesview.ui | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) commit 1b84d75d1069432f07c339f0b0a4d8703e5f28db Author: Timm Bäder Date: Sun May 8 21:33:53 2016 +0200 dialogs: remove 2px border width again gtk/ui/gtkdialog.ui | 1 + gtk/ui/gtkfilechooserdialog.ui | 1 + gtk/ui/gtkmessagedialog.ui | 1 + gtk/ui/gtkprintunixdialog.ui | 1 + 4 files changed, 4 insertions(+) commit 840faeada1114f0524487ea732e57f820ed17385 Author: Aurimas Černius Date: Sun May 8 18:30:49 2016 +0300 Updated Lithuanian translation po-properties/lt.po | 1625 ++++++++++++++++++++++++++------------------------- po/lt.po | 936 +++++++++++++++-------------- 2 files changed, 1340 insertions(+), 1221 deletions(-) commit d1d06bc47c21595042653fc4925b4ef417055230 Author: Rafael Fontenelle Date: Sun May 8 14:25:31 2016 +0000 Updated Brazilian Portuguese translation (cherry picked from commit 207b793316a90faff00d5ea6fbe483d5a184d066) po/pt_BR.po | 554 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 275 insertions(+), 279 deletions(-) commit fd81e801ab630400abbf13c3e1ef167691596f67 Author: Timm Bäder Date: Sun May 8 15:52:56 2016 +0200 tooltip: Include gtkwidgetprivate.h That's where gtk_widget_query_tooltip is defined. gtk/gtktooltip.c | 1 + 1 file changed, 1 insertion(+) commit 640c1b5a33e8ad68c8aec5d7096914d0e6e5bf53 Author: Timm Bäder Date: Sun May 8 15:34:28 2016 +0200 gdk: Fix parameter name mismatch gdk/gdkdisplay.h | 2 +- gdk/gdkmonitor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit af49609b8f88f7802b8c32fe1a57c3397cf36b37 Author: Timm Bäder Date: Mon May 2 08:59:40 2016 +0200 infobar: Fix typo Style class names are prefixed with a '.' gtk/gtkinfobar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac5b48e40c7ab54b168627e389817030ef6c1620 Author: Matthias Clasen Date: Sat May 7 16:22:13 2016 -0400 gtk-demo: Fix revealer demo This only used by luck before. We are changing a property from the ::notify handler for that property. Now that GtkRevealer is notifying the property when it stops animations on unmap, we end up in a life lock situation where we never make it out of the notify queue. Fix this by not restarting the animation if the widget is unmapped. demos/gtk-demo/revealer.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 3cba63b2f890f5437b99145b7500f9407c30128c Author: Ray Strode Date: Fri May 6 22:29:31 2016 -0400 widget: add missing detail to ::query-tooltip emission This was an oversight in commit dfb368e29bb58b4313b578f0ce75cfc8ead9a1. gtk/gtkwidget.c | 1 + 1 file changed, 1 insertion(+) commit ed147c88e167e0a9a5aeae0c54fc14adc801c74b Author: Matthias Clasen Date: Fri May 6 20:51:25 2016 -0400 tooltip: Add a missing * This was an oversight in the previous commit. gtk/gtktooltip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1d1042892cf6c23cf995f38685a363674a5a053 Author: Matthias Clasen Date: Fri May 6 20:50:38 2016 -0400 gtk3-demo: Add a close button to the markup window demos/gtk-demo/markup.c | 1 + 1 file changed, 1 insertion(+) commit de3dabc865f2c7429b37fa47df48046064d1768b Author: Matthias Clasen Date: Fri May 6 20:47:49 2016 -0400 gtk-demo: Don't duplicate text in markup example I forgot to clear the buffer before inserting the new markup. Oops. demos/gtk-demo/markup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 82aa83b0f685f80343d2e60663d07ec51aecb688 Author: Matthieu Gautier Date: Wed May 4 12:42:40 2016 +0200 revealer: emit notify::child-revealed when animation stops Depending of float rounding during target calculation, the size of the GtkRevealer can be set to zero will the animation is not finished. If the GtkRevealer is in a GtkPaned, it will be hidden and so the animation will be stopped before it is finished. In this case, force the emission of the child-revealed signal to let client code know the animation is finished. https://bugzilla.gnome.org/show_bug.cgi?id=765973 gtk/gtkrevealer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit cd581c9e81b6a1c92b527c059df07d59ecd6c2eb Author: Matthias Clasen Date: Fri May 6 13:45:46 2016 -0400 Simplify our templates This is applying the new property name simplification. gtk/ui/gtkaboutdialog.ui | 44 ++-- gtk/ui/gtkappchooserdialog.ui | 24 +- gtk/ui/gtkappchooserwidget.ui | 20 +- gtk/ui/gtkassistant.ui | 72 +++--- gtk/ui/gtkcolorchooserdialog.ui | 12 +- gtk/ui/gtkcoloreditor.ui | 166 ++++++------- gtk/ui/gtkcombobox.ui | 6 +- gtk/ui/gtkdialog.ui | 11 +- gtk/ui/gtkfilechooserbutton.ui | 12 +- gtk/ui/gtkfilechooserdialog.ui | 11 +- gtk/ui/gtkfilechooserwidget.ui | 64 ++--- gtk/ui/gtkfontbutton.ui | 6 +- gtk/ui/gtkfontchooserdialog.ui | 12 +- gtk/ui/gtkfontchooserwidget.ui | 98 ++++---- gtk/ui/gtkinfobar.ui | 14 +- gtk/ui/gtklockbutton.ui | 6 +- gtk/ui/gtkmessagedialog.ui | 11 +- gtk/ui/gtkpagesetupunixdialog.ui | 96 +++---- gtk/ui/gtkpathbar.ui | 12 +- gtk/ui/gtkplacesview.ui | 212 +++++++--------- gtk/ui/gtkplacesviewrow.ui | 25 +- gtk/ui/gtkprintunixdialog.ui | 511 +++++++++++++++++++------------------- gtk/ui/gtkrecentchooserdefault.ui | 26 +- gtk/ui/gtkscalebutton.ui | 28 +-- gtk/ui/gtksearchbar.ui | 12 +- gtk/ui/gtksidebarrow.ui | 4 +- gtk/ui/gtkstatusbar.ui | 12 +- gtk/ui/gtktooltipwindow.ui | 19 +- gtk/ui/gtkvolumebutton.ui | 12 +- 29 files changed, 760 insertions(+), 798 deletions(-) commit 3c09783005fe74dfa9e15144766a7468281dfc23 Author: Matthias Clasen Date: Fri May 6 13:45:09 2016 -0400 Clean up builder parser data after parsing No need to have these linger around in qdata. gtk/gtkwidget.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit f16e58e9a76a8ea3778923cae5e1f396fb2571ca Author: Matthias Clasen Date: Fri May 6 13:42:30 2016 -0400 builder tool: Canonicalize property names When simplifying, convert property names to canonical form, so we don't waste time while looking them up later. gtk/gtk-builder-tool.c | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) commit 8ead17ee76dc789d34bb23395713443d2b0092a1 Author: Cédric Valmary Date: Fri May 6 18:31:42 2016 +0000 Updated Occitan translation po-properties/oc.po | 2042 +++++++++++++++++++++++++++------------------------ 1 file changed, 1068 insertions(+), 974 deletions(-) commit 1b8c9de09a70e34ade129d92a77250e8ddd6657a Author: Lapo Calamandrei Date: Fri May 6 19:34:12 2016 +0200 Adwaita: darken treeview exapanders 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 55a76cbc312738ef6c6f591702a97a2170dfd57b Author: Lapo Calamandrei Date: Fri May 6 19:01:19 2016 +0200 Adwaita: cosmetic change gtk/theme/Adwaita/_common.scss | 1 - 1 file changed, 1 deletion(-) commit 5f5a02f3e522a082c77a0901f05d6cc76ada05fb Author: Lapo Calamandrei Date: Fri May 6 18:50:37 2016 +0200 Adwaita: relocate a selector relocate treview acceleditor > label in the treeview section and add a comment for a testcase. gtk/theme/Adwaita/_common.scss | 6 ++---- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++--- gtk/theme/Adwaita/gtk-contained.css | 5 ++--- 3 files changed, 6 insertions(+), 10 deletions(-) commit 0f116135f4a5033ce4e9dfa19f10624701fa615c Author: Matthias Clasen Date: Fri May 6 10:12:14 2016 -0400 Avoid emitting ::style-set by name GtkStyle is deprecated, but we still emit ::style-set quite a bit, so lets at least not be slow while doing it. gtk/deprecated/gtkstyle.c | 2 -- gtk/gtkwidget.c | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) commit 12dfb368e29bb58b4313b578f0ce75cfc8ead9a1 Author: Matthias Clasen Date: Fri May 6 09:54:24 2016 -0400 Don't emit ::query-tooltip by name This signal is emitted quite a bit, and we can easily avoid it. gtk/gtktooltip.c | 7 +------ gtk/gtkwidget.c | 19 +++++++++++++++++++ gtk/gtkwidgetprivate.h | 6 ++++++ 3 files changed, 26 insertions(+), 6 deletions(-) commit 64710def823e4d3e92f6e8523dc1f69c95af8e1f Author: Matthias Clasen Date: Fri May 6 09:38:18 2016 -0400 Stop storing has-tooltip in qdata This is queried quite a bit, and we have room for an extra bit in GtkWidgetPrivate. gtk/gtktooltip.c | 4 +--- gtk/gtkwidget.c | 31 ++++++++----------------------- gtk/gtkwidgetprivate.h | 1 + 3 files changed, 10 insertions(+), 26 deletions(-) commit 9fac83783c873e44507b085c6fac3f348d277c25 Author: Matthias Clasen Date: Fri May 6 07:54:22 2016 -0400 Don't use qdata for getting the default css style There's no point in using qdata for looking this up, since we only ever set it on the default screen anyway. gtk/gtkcssstaticstyle.c | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) commit 1de2f21994b5baa9517c5b09894b6d1daae4f41b Author: Lapo Calamandrei Date: Fri May 6 15:36:26 2016 +0200 Adwaita: tidy treeview style properties... ...removing a double definition in the process. gtk/theme/Adwaita/_common.scss | 15 ++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 22 insertions(+), 21 deletions(-) commit b938cfe5be41bf55aec9ced843b26f27518d3c9f Author: Matthias Clasen Date: Fri May 6 07:08:56 2016 -0400 settings: Fix font names *again* This is the last time, I hope. gtk/gtksettings.c | 1 + 1 file changed, 1 insertion(+) commit ff3264b4c56196f5a0575b6595df81b66e5c30cc Author: Matthias Clasen Date: Fri May 6 06:42:43 2016 -0400 widget: Store accessible in GtkWidgetPrivate Every widget may have one of these, and they are accessed somewhat frequently. gtk/gtkwidget.c | 118 ++++++++++++++++++++----------------------------- gtk/gtkwidgetprivate.h | 2 + 2 files changed, 50 insertions(+), 70 deletions(-) commit cb8817f710f0fa5cade175238e72fe3f3d43aa85 Author: Matthias Clasen Date: Fri May 6 00:46:17 2016 -0400 Ensure we initialize a quark first The style function here can also be called before the corresponding class_init had a chance to create the quark. Fix this. gtk/deprecated/gtkstyle.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit d91b8c91d3da735b25f0f3f1754cbc043e0cd286 Author: Matthias Clasen Date: Fri May 6 00:45:05 2016 -0400 tooltip: Ensure our quark is not 0 Many of the tooltip functions can be called before a tooltip object is created, and thus initializing the quark in class_init is not good enough. gtk/gtktooltip.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 360a3c16902ec80a3f0e69aba3b4f743a75efc1e Author: Matthias Clasen Date: Fri May 6 00:21:08 2016 -0400 Use a cheaper way to store settings per display This was another very frequent use of qdata. Since we typically have only one or two display objects, storing the display-settings association in a simple array is faster than using object data or a hash table. gtk/gtksettings.c | 118 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 72 insertions(+), 46 deletions(-) commit cca894b912910fe14650a48d618964a9b1651119 Author: Matthias Clasen Date: Thu May 5 18:51:30 2016 -0400 Use a cheaper way to store debug flags This was the most frequent use of qdata *by far*. gtk/gtkmain.c | 64 ++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 23 deletions(-) commit 46edfaa89c6affd97fb4ba43fa73bc8d0474d601 Author: Matthias Clasen Date: Thu May 5 19:21:27 2016 -0400 Fix indentation mishap gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c50e774b2964c0d6d7251e195d75034b588ba326 Author: Matthias Clasen Date: Thu May 5 19:17:31 2016 -0400 Fix a typo gtk/gtkmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ebb894cd64a84ec99da493622132821740ff91ee Author: Christian Hergert Date: Fri May 6 11:31:41 2016 +0300 wayland: use g_signal_handler_disconnect() Use of g_signal_handlers_disconnect_by_func() needs to do more work than necessary to find all the matching handlers. Instead, just hold on to the signal identifier and remove it directly so we hit the fast path. Not terribly ground breaking in terms of performance gains, but its done enough to be worthwhile. https://bugzilla.gnome.org/show_bug.cgi?id=766049 gdk/wayland/gdkwindow-wayland.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit c27b8b48ab0d01e6276bb652157ed48080bcaed4 Author: Matthias Clasen Date: Thu May 5 15:37:21 2016 -0400 Update color name css style test Verify rebeccapurple too. testsuite/css/style/colornames.css | 1 + testsuite/css/style/colornames.nodes | 56 +++++++++++++++++++----------------- testsuite/css/style/colornames.ui | 1 + 3 files changed, 31 insertions(+), 27 deletions(-) commit 27210f523b291ee0372e57310a8af831218de8e4 Author: Matthias Clasen Date: Thu May 5 15:17:56 2016 -0400 scale: Fix mark positioning at the left/top edge We were failing to take the widget allocation.x/y into account when deciding whether we need to push in the mark. https://bugzilla.gnome.org/show_bug.cgi?id=765922 gtk/gtkscale.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6b64c31f6df45af6d6e670b3ba698746cc0efdd1 Author: Matthias Clasen Date: Thu May 5 14:13:03 2016 -0400 Generalize the previous commit Update all xsettings when we get a screen, to prevent similar problems from occurring in the future. gtk/gtksettings.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit fe7be14db8efb08e72e22f60c2640cdc1fdfcd6e Author: Matthias Clasen Date: Thu May 5 13:30:55 2016 -0400 settings: Avoid a crash Christian Hergert reported seeing webkit crashes with recent GTK+. The stacktrace points at the CSS machinery calling into GtkSettings to get the font name, and then getting surprised by a property notification that triggers style validation. To avoid this, query the font name xsetting right away when we get set a screen. gtk/gtksettings.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit c14572fdae9bf6d34cd6af35dc572c509f1ae144 Author: Carlos Garnacho Date: Thu May 5 19:00:28 2016 +0200 x11: Rely on passive keyboard grabs with XI2 for DnD The active keyboard grab can be spared then. This way the passive key grabs allow other key combinations (eg. alt-tab) that are not mandatory to grab here. gdk/x11/gdkdnd-x11.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 870a674283d9b59795c61ce24e713cde0a7fb7dc Author: Lapo Calamandrei Date: Thu May 5 18:36:03 2016 +0200 Adwaita: more flexible headerbar_fill mixin add an additional background layer as a parameter. gtk/theme/Adwaita/_drawing.scss | 11 +++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 11 insertions(+), 12 deletions(-) commit 27c1cce726934f20d1f0cb962f658938ab34eb47 Author: Carlos Garnacho Date: Wed May 4 14:23:17 2016 +0200 searchenginetracker: Quote fts match so it's seen as a single phrase FTS5 has a complex enough syntax that it makes not much sense to wrap in simple search boxes. https://bugzilla.gnome.org/show_bug.cgi?id=765981 gtk/gtksearchenginetracker.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit df38db70a098c9c064602c732317576a222a11de Author: Timm Bäder Date: Thu May 5 11:21:56 2016 +0200 label: Also initialize text So gtk_label_get_text returns the default value of "". Broke the GtkModelButton default value test. gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1d1d46d34036056ff16d17aaf331d9de6d89db0 Author: Timm Bäder Date: Thu May 5 08:47:40 2016 +0200 cssgadget: Remove unused function gtk/gtkcssgadget.c | 23 ----------------------- 1 file changed, 23 deletions(-) commit f7e6385506ed2ad2a7e916a66d80355e47320493 Author: Timm Bäder Date: Wed May 4 22:24:52 2016 +0200 gtkrender: Remove superfluous cairo_save/restore calls These were all surrounding functions that either call cairo_save/cairo_restore themselves or don't need to. gtk/gtkrender.c | 82 --------------------------------------------------------- 1 file changed, 82 deletions(-) commit 1c4e60975024463ffa354cbebc51346917ccc2ac Author: Matthias Clasen Date: Wed May 4 16:05:40 2016 -0400 css node: Stop extraneous change notification The ::name and ::widget-type properties are entirely independent, no need to notify both when either changes. gtk/gtkcssnode.c | 2 -- 1 file changed, 2 deletions(-) commit bf66cd1e94f298131ac16fc6b64fee95b452e8b3 Author: Matthias Clasen Date: Wed May 4 15:05:08 2016 -0400 box: Only emit ::child-notify when necessary We can easily check if the values for expand, padding and so forth actually changed, so lets do it. gtk/gtkbox.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) commit 5b19747ef8cca357156c50f8ba5d8bc3a10085e9 Author: Matthias Clasen Date: Wed May 4 13:52:09 2016 -0400 Revert "When creating a widget path, use the widget type" This reverts commit 0d78b67bca8866a05d0d55d3d5c48aa7a90ff89e. As Benjamin points out: that'll break all widgets that query style properties in their init function. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d78b67bca8866a05d0d55d3d5c48aa7a90ff89e Author: Matthias Clasen Date: Wed May 4 13:41:05 2016 -0400 When creating a widget path, use the widget type No need to pull the type out of the css node - its our own type. This will let us stop setting the type on the css node later on. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ca9a218ec049c877820d676ba25950f5e38d2fe Author: Matthias Clasen Date: Wed May 4 13:38:47 2016 -0400 Set the proper state on the css node This will almost certainly overwritten before the widget gets to the screen, but while we are doing this, we might as well use the same state that we initialize the widgets state to. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7df668f2acbf102bd03a7259921c82088a9ede6c Author: Matthias Clasen Date: Wed May 4 12:48:46 2016 -0400 css names are always set No need to check for it, we set the css name on GtkWidgetClass ourselves. gtk/gtkwidget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0efe186d956bbdb75c7cbef4e95d56ca370d3ee7 Author: Timm Bäder Date: Wed May 4 18:55:33 2016 +0200 switch: Remove .slider from slider gadget As the documentation states, neither the switch nor the slider gadget should be using any style classes. gtk/gtkswitch.c | 1 - 1 file changed, 1 deletion(-) commit 4ba1f19b038021ae22dc9443ca010f20eface472 Author: Timm Bäder Date: Wed May 4 15:25:59 2016 +0200 switch: Create less pango layouts Instead of creating 2 pango layouts in every draw() and on in _get_content_size (and calling into gettext twice in both cases), just keep the layouts around and create them in only one place. gtk/gtkswitch.c | 95 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 60 insertions(+), 35 deletions(-) commit 1da048d19ac8921a9da843fc4376f927e620b8fb Author: Matthias Clasen Date: Wed May 4 11:19:03 2016 -0400 settings: Fix xsettings handling I was somehow under the misconception that we'd get GdkEventSettings events for all the xsettings at startup. That is not in general true, so we need to make sure that we check for the xsettings value before we use them, or derived fields. Update all the private getters to do so; and fix settings_update_font_values() to cope with font descriptions that might miss the family or size. gtk/gtksettings.c | 58 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 14 deletions(-) commit 1d0ba98d5df703c0936f2334733f68143f0831f2 Author: Matthias Clasen Date: Wed May 4 06:28:59 2016 -0400 settings: Ensure derived fields are initialized I mistakenly assumed that gtk_settings_init was already doing something to trigger a notify for all properties. It doesn't, so we have to ensure that settings_update_font_values() is called at least once. https://bugzilla.gnome.org/show_bug.cgi?id=765966 gtk/gtksettings.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit adc90b9e9db783f743f35e6fb8b26c1fe6c30eb4 Author: Matthias Clasen Date: Tue May 3 23:14:05 2016 -0400 wayland: Small improvements to update_direction Avoid memory allocation if possible, and use the proper min/max keycodes. gdk/wayland/gdkkeys-wayland.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 09aa48b7485818120a31cac617be62bdeb91a23c Author: Matthias Clasen Date: Tue May 3 22:52:38 2016 -0400 wayland: Don't emit direction-changed unless it did We can easily check this, so lets do it. gdk/wayland/gdkdevice-wayland.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3b75cadc415c809189c8f77bd5710dd68498d2d5 Author: Matthias Clasen Date: Tue May 3 22:36:20 2016 -0400 trivial formatting fixes gdk/wayland/gdkdevice-wayland.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 449fd4a350da32175961934617a4ecbdc2e04e16 Author: Matthias Clasen Date: Tue May 3 22:15:17 2016 -0400 Use g_set_object in one more place gtk/gtkcsswidgetnode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 944f9d4f287d69b109aa50474aacc00d67b08574 Author: Timm Bäder Date: Tue May 3 19:26:02 2016 -0400 label: don't use set_text in gtk_label_new It would just set up lots of things with the default values, but a common case is that a few gtk_label_set_* calls follow. gtk/gtklabel.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit e0ab19a8f0ac036abfc4d9e32cf049bfccdb1e2e Author: Kjartan Maraas Date: Tue May 3 23:23:11 2016 +0200 Updated Norwegian bokmål translation. po/nb.po | 3461 ++++++++++++++++++++++++-------------------------------------- 1 file changed, 1314 insertions(+), 2147 deletions(-) commit 4ae6f10ae9decc45c0da54b21895b693bd7bbc6f Author: Timm Bäder Date: Tue May 3 16:07:50 2016 -0400 label: minimum/natural size parameters are not nullable Stop comparing them to NULL. gtk/gtklabel.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit e75894da13e378e26df076f17cbd7e4ba6284e27 Author: Timm Bäder Date: Tue May 3 16:04:58 2016 -0400 label: Don't set out parameters twice We set them later again when we calculate the vertical size, so just move the general assignment to -1 into the horizontal branch. gtk/gtklabel.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit cb419794f89ad00a2e1755adb2670efa97cdb686 Author: Timm Bäder Date: Tue May 3 17:49:20 2016 +0200 widget: Remove useless NULL check We are checking for allocation != NULL at the beginning of the function already. This also means that the allocation parameter is not nullable. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 71b360cc8e72df4f7672c7eeeafb90f0c40b5cb6 Author: Timm Bäder Date: Tue May 3 10:58:02 2016 -0400 roundedbox: Initialize the hashtable key before using it In mem_hash, we are iterating over the individual bytes of the key, so make sure all of it is initialized. gtk/gtkroundedbox.c | 1 + 1 file changed, 1 insertion(+) commit a72c4576b2815c96b55164ebe27ad62f40108da7 Author: Benjamin Otte Date: Tue May 3 12:57:50 2016 +0200 cssimagebuiltin: Remove icons that don't draw anything anymore gtk/gtkcheckbutton.c | 4 ++-- gtk/gtkcssimagebuiltin.c | 6 ++---- gtk/gtkcsstypesprivate.h | 2 -- gtk/gtkmodelbutton.c | 6 ++---- gtk/gtkrender.c | 8 ++++---- 5 files changed, 10 insertions(+), 16 deletions(-) commit b049b3de25241d39e8c096d56a538d414632dd27 Author: Benjamin Otte Date: Mon May 2 19:51:41 2016 +0200 cssimagebuiltin: Remove unused variables gtk/gtkcssimagebuiltin.c | 20 +------------------- gtk/gtkcssimagebuiltinprivate.h | 2 -- 2 files changed, 1 insertion(+), 21 deletions(-) commit 2c2c60827e79f4780409dd97985d59ce70160503 Author: Benjamin Otte Date: Mon May 2 18:36:06 2016 +0200 widget: Remove useless comment gtk/gtkwidget.c | 3 --- 1 file changed, 3 deletions(-) commit e74ecfe22e75cf4ec57b36738a66d1fba2d6fd5c Author: Olivier Fourdan Date: Tue May 3 10:44:16 2016 +0200 wayland: fix up/down mix up in discrete events The wayland specification for discrete step information for scroll and other axes reads: | The discrete value carries the directional information. e.g. a | value of -2 is two steps towards the negative direction of this axis. mutter sets a value of 1 for SCROLL_DOWN events and -1 for SCROLL_UP events. gdkdevice Wayland backend does the opposite, it translates a positive discrete value as SCROLL_UP and a negative value as SCROLL_DOWN, which ends up inverting the scrolling direction. Fix the logic in gdkdevice Wayland to use a positive value as SCROLL_DOWN and a negative value as SCROLL_UP so that it matches mutter and weston logic. https://bugzilla.gnome.org/show_bug.cgi?id=765907 gdk/wayland/gdkdevice-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit be201a5b71c7ce73ffd1fc8f1c6c264d82be9d95 Author: Matthias Clasen Date: Mon May 2 13:30:20 2016 -0400 css: Stop drawing double borders for builtins The fallback code for rendering builtin checks, radios and expanders was using border parameters. With the generic gadget borders using the same parameters, this was giving double borders. gtk/gtkcssimagebuiltin.c | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) commit 38181bc3d2fa329334ac74773047c362db10fcce Author: Timm Bäder Date: Sat Apr 30 21:06:07 2016 +0200 shadowsvalue: Don't draw invisible box shadows gtk/gtkcssshadowvalue.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit ef7ccab188ea27de30390d674c0690f90d0b21f5 Author: Matthias Clasen Date: Mon May 2 12:40:51 2016 -0400 defaultvalue test: Skip GdkMonitor::geometry We never return NULL for ::geometry and ::workarea. Just skip these properties. testsuite/gtk/defaultvalue.c | 5 +++++ 1 file changed, 5 insertions(+) commit 8dd8c4a9dedc92c93b512543f44942cf849c840e Author: Matthias Clasen Date: Mon May 2 12:40:24 2016 -0400 GdkMonitor: Fix refresh-rate property We were using g_value_set_boolean for an integer property. gdk/gdkmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b579fa82fe4559db72e6583745fef206c2b59db6 Author: Руслан Ижбулатов Date: Mon May 2 14:45:44 2016 +0000 Use default VFS, not a local one (it has no network) gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a03fc906affbe509959b36dcef0eb179876d56b Author: Matthias Clasen Date: Mon May 2 07:38:26 2016 -0400 Fix gtk_paned_set_position to set position_set consistently As pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=765676, we were failing to set position_set if the position did not change. gtk/gtkpaned.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) commit 264b2b78cd52a1e87d0090876d589b9ddbb8bc60 Author: Carlos Soriano Date: Mon May 2 11:56:23 2016 +0200 testnotebookdnd: add one GtkListBox as tab content To make sure we test regressions on widgets that bubble up motion handling and can trigger the motion handling code path on GtkNotebook. https://bugzilla.gnome.org/show_bug.cgi?id=764395 tests/testnotebookdnd.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit ddb0740a212a077793f77df7b76f4fbd25af707e Author: Carlos Soriano Date: Mon May 2 10:19:12 2016 +0200 gtknotebook: avoid tab dnd from content Before commit 6c1bee2377eba8 we were setting an attribute of GtkNotebook to track the pressed button if the pressed button happened on the tab itself. Later in the motion handling code we were checking whether the private pressed button attribute was set or not in order to handle a tab dnd or not. In commit 6c1bee2377eba8 the code changed and set the pressed button variable unconditionally, which means, a motion event from within the tab content triggered a tab reordering. This happened only if the children hierarchy have a widget that bubbles up both button press event, which sets the private pressed button attribute; and motion events, which started the tab dnd checking the private pressed button attribute. A widget that experienced the regression was GtkListBox. In order to fix it, set the button pressed variable only when it press the tab itself, not the content. https://bugzilla.gnome.org/show_bug.cgi?id=764395 gtk/gtknotebook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bab628beb23f74e8035878e0c4cc54309b2a7995 Author: Руслан Ижбулатов Date: Sun May 1 19:00:25 2016 +0000 GtkPlacesView: check for network:// URI support before using it Specifically, this URI is not supported on Windows, but GFile will do its "best" and turn it into GLocalFile("$pwd/network"), with spectacularly bad results. https://bugzilla.gnome.org/show_bug.cgi?id=765858 gtk/gtkplacesview.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit cb6b5e4017c9b2d420ac71ba287c3fa16a16e509 Author: Carlos Garnacho Date: Sun May 1 20:05:56 2016 +0200 gdkevents: Free motion events discarded by motion compression Those should be freed together with their list link. gdk/gdkevents.c | 1 + 1 file changed, 1 insertion(+) commit 73e799474a31eee2fc38c51d891c4502e1de9a46 Author: Matthias Clasen Date: Sun May 1 13:25:51 2016 -0400 dnd: Make sure to free a stashed event I am not sure if this happens in practice, but better to be safe. gtk/gtkdnd.c | 3 +++ 1 file changed, 3 insertions(+) commit 0fe0ee897d8a02ee45254b6692470a520ae6f5e7 Author: Matthias Clasen Date: Sun May 1 13:23:12 2016 -0400 gesture: Don't leak stashed events These events were never freed. gtk/gtkgesture.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit a0472694283490a39392d1158e7a2e379962af79 Author: Matthias Clasen Date: Sun May 1 13:18:55 2016 -0400 Avoid copying an event Not a big deal, but we can be a bit more efficient when generating grab-broken events. gdk/gdkdisplay.c | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) commit a7ee3a6d806e66a661d3dc393494e5d1e8b6da92 Author: Matthias Clasen Date: Sun May 1 11:28:37 2016 -0400 Small docs improvement Cross reference from gdk_event_get_keycode to gdk_event_get_scancode. gdk/gdkevents.c | 2 ++ 1 file changed, 2 insertions(+) commit 8041c012fe41e9e03ba1f352b3d4a9ccec1e07a6 Author: Matthias Clasen Date: Sun May 1 11:22:55 2016 -0400 Drop unused macros These have been sitting here forever, unused. Time to drop them gdk/gdkevents.c | 6 ------ 1 file changed, 6 deletions(-) commit 6baac526b91ebb94ef4dee562eef989bc795ec91 Author: Matthias Clasen Date: Sun May 1 11:09:05 2016 -0400 x11: drop a useless list We were keeping all the event sources in a list, only to remove them at the end of their life. Not useful. gdk/x11/gdkeventsource.c | 6 ------ 1 file changed, 6 deletions(-) commit 75e44c50ed50499dd8f48261c40fb5001fa2b277 Author: Matthias Clasen Date: Sun May 1 11:06:33 2016 -0400 wayland: drop a useless list We were keeping all the event sources in a list, only to remove them at the end of their life. Not useful. gdk/wayland/gdkeventsource.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit de894f38b521d527881806b2733509acf69dfb5d Author: Matthias Clasen Date: Sun May 1 13:26:09 2016 -0400 Fix the build I forgot to add an include here. gtk/gtkcssenumvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a829b26de1b6e399c1ce3430fbeb191770e709f3 Author: Matthias Clasen Date: Sun May 1 10:52:31 2016 -0400 wayland: Tag the event source with the acutal display name gdk/wayland/gdkeventsource.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 55ea6e4dcc4bbe6c7fc40c8e814ad2ee99b3b2e2 Author: Matthias Clasen Date: Sun May 1 10:51:41 2016 -0400 wayland: Make gdk_display_get_name work It should just return the same as gdk_screen_make_display_name. gdk/wayland/gdkdisplay-wayland.c | 8 +++++++- gdk/wayland/gdkscreen-wayland.c | 8 +------- 2 files changed, 8 insertions(+), 8 deletions(-) commit 309c6dfaf8a081166e28e4109db96c2292151edd Author: Matthias Clasen Date: Sun May 1 01:10:59 2016 -0400 css: Use setters for font size and family This avoid creating pango font descriptions all the time, when the gtk-font-name setting hasn't actually changed. gtk/gtkcssenumvalue.c | 25 +++++++------------------ gtk/gtkcssinitialvalue.c | 25 ++----------------------- 2 files changed, 9 insertions(+), 41 deletions(-) commit 71d68168171fb49f6436ca94eb0a87fe5a17c107 Author: Matthias Clasen Date: Sun May 1 01:10:33 2016 -0400 settings: Add setters for font family and size gtk/gtksettings.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtksettingsprivate.h | 3 +++ 2 files changed, 56 insertions(+) commit 449732446bf85831290c9276eb407eb2e0e9bce0 Author: Matthias Clasen Date: Sun May 1 00:40:23 2016 -0400 treeview: Use getter for gtk-enable-animations gtk/gtktreeview.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 8457dff08af03830d657bb8239439c155b0f94fa Author: Matthias Clasen Date: Sun May 1 00:40:08 2016 -0400 switch: Use getter for gtk-enable-animations gtk/gtkswitch.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit df7247837539d013fd5f1231c956fd75db6c76fc Author: Matthias Clasen Date: Sun May 1 00:39:55 2016 -0400 stack: Use getter for gtk-enable-animations gtk/gtkstack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 5ee745dfeee2e4ffac7f7f76a62c3662024db80c Author: Matthias Clasen Date: Sun May 1 00:39:34 2016 -0400 scrolled window: Use getter for gtk-enable-animations gtk/gtkscrolledwindow.c | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) commit ff0107a4ac8d321cec5e5b8c9c8d583829084bc1 Author: Matthias Clasen Date: Sun May 1 00:39:18 2016 -0400 Use getter for gtk-enable-animations gtk/gtkrevealer.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 9d038df7deeea0ea77d0546d77b6c979f5852f0c Author: Matthias Clasen Date: Sun May 1 00:39:03 2016 -0400 popover: Use getter for gtk-enable-animations gtk/gtkpopover.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit e502702dd405466215e24fc2c242e389bf07085f Author: Matthias Clasen Date: Sat Apr 30 23:15:20 2016 -0400 Use a variable consistently gdk/gdkwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 417eb0ad9c3d32b9398d0b27e55ea48b8e399732 Author: Matthias Clasen Date: Sat Apr 30 22:39:26 2016 -0400 Use a better hash for arcs gtk/gtkroundedbox.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit e5de6dd8b13c62a9a4cea65f223ed963c8537c8d Author: Matthias Clasen Date: Sat Apr 30 22:00:35 2016 -0400 css: Use a getter for the enable-animations setting gtk/gtkcsswidgetnode.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 28625c16c057c22c1af8a12dd2aaa8124081cabc Author: Matthias Clasen Date: Sat Apr 30 22:00:19 2016 -0400 dnd: Use a getter for the drag threshold gtk/gtkdnd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 8e62cee0758348e0a69f99048c0c357921603268 Author: Matthias Clasen Date: Sat Apr 30 22:00:06 2016 -0400 Add a few settings getters gtk/gtksettings.c | 34 ++++++++++++++++++++++++++++++++++ gtk/gtksettingsprivate.h | 3 +++ 2 files changed, 37 insertions(+) commit 4151b6715cd413da10de3216e90b754117f59a65 Author: Matthias Clasen Date: Sat Apr 30 21:06:38 2016 -0400 Trivial whitespace fix gdk/gdkframeclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 98f16fdf7a74d88996f0837c1fdd3bd5d8e9cbf8 Author: Matthias Clasen Date: Sat Apr 30 20:59:16 2016 -0400 Use the new getter This avoids the use of generic api in the per-event code path. gdk/gdkwindow.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 7f4b575fc35adf81ac12fafdc1a87029b045f1aa Author: Matthias Clasen Date: Sat Apr 30 20:52:09 2016 -0400 gdk: Add a private getter for GdkDevice::input-mode gdk/gdkdevice.c | 6 ++++++ gdk/gdkdeviceprivate.h | 2 ++ 2 files changed, 8 insertions(+) commit 172093db8c0e6602c09393b10b7156d600955975 Author: Matthias Clasen Date: Sat Apr 30 16:29:16 2016 -0400 Add a forgotten deprecation gdk_display_get_screen is marked as deprecated in the docs. gdk/gdkdisplay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3a095ad4547c98706bd1acece32a39925251f3a9 Author: Руслан Ижбулатов Date: Fri Apr 29 15:54:52 2016 +0000 W32: support cairo library in non-standard locations When checking for cairo_win32_surface_create_with_format in -lcairo, temporarily put CAIRO_LIBS into LIBS so that AC_CHECK_LIB() can find it in weird places like /usr/local/lib, where gcc would not look on its own. https://bugzilla.gnome.org/show_bug.cgi?id=765793 configure.ac | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 15dbf35fd8d6da3fcfb7fbb3d1b235fef4c4b8fc Author: GNOME Translation Robot Date: Fri Apr 29 08:41:50 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 294 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 140 insertions(+), 154 deletions(-) commit 2655d929fe68c40d0140896b276d09b3d146f087 Author: Руслан Ижбулатов Date: Fri Apr 29 01:19:23 2016 +0000 W32: reword the error about required cairo version 1.14.x series does not contain the functionality needed by GTK+. Advise to use 1.15.x (1.15.2 is available) or 1.16.x (yet to be released). https://bugzilla.gnome.org/show_bug.cgi?id=765790 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7afc6b1fd52295635633d16be6f1641b883fe368 Author: Matthias Clasen Date: Wed Apr 27 00:00:19 2016 -0400 settings: Cache xsettings Instead of calling out to gdk every time an XSetting is requested, cache the value (we already have the property_values array anyway). https://bugzilla.gnome.org/show_bug.cgi?id=765579 gtk/gtksettings.c | 204 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 106 insertions(+), 98 deletions(-) commit 214870891761ce4437821e974c34da99d59eed96 Author: Matthias Clasen Date: Thu Apr 28 21:55:52 2016 -0400 box gadget: Redo expand flag handling We only keep one align flag per child, so it seems odd to keep separate h/v expand flags. Just keep one expand flag and interpret it according to orientation. Allow setting the expand flag for child widgets too, though, so we can make widget expand without interfering with the recursive widget expand flag. Update all callers. Use the new possibility of expanding child widgets to make the label of check and radio buttons expand. This fixes unexpected behavior of these widgets in RTL in some places. https://bugzilla.gnome.org/show_bug.cgi?id=765742 gtk/gtkboxgadget.c | 106 ++++++++++++++++++---------------------------- gtk/gtkboxgadgetprivate.h | 16 +++---- gtk/gtkcheckbutton.c | 3 +- gtk/gtkexpander.c | 6 +-- gtk/gtknotebook.c | 14 +++--- gtk/gtkrange.c | 11 +---- gtk/gtkspinbutton.c | 12 +++--- 7 files changed, 67 insertions(+), 101 deletions(-) commit 8a308dd072ae07b98b33dd68de43975f884cf1bb Author: Matthias Clasen Date: Thu Apr 28 21:30:01 2016 -0400 expander: Reverse alignments in RTL Flip alignments of the title gadget children. gtk/gtkexpander.c | 2 ++ 1 file changed, 2 insertions(+) commit 8bf148b006cf4bfd3085cae0f3137563998e97f0 Author: Matthias Clasen Date: Thu Apr 28 21:29:32 2016 -0400 check button: Reverse alignments in RTL Flip alignments for the box gadget children. gtk/gtkcheckbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 2919e344ca505e3a1ba5b2f24d0bccaafdcbdf26 Author: Matthias Clasen Date: Thu Apr 28 21:27:02 2016 -0400 box gadget: allow reversing alignments In RTL, we want to interpret GTK_ALIGN_START and _END in the opposite way. Since we don't give gadgets a text direction, just allow setting an align_reverse flag to the box gadget. gtk/gtkboxgadget.c | 34 ++++++++++++++++++++++++++++++---- gtk/gtkboxgadgetprivate.h | 2 ++ 2 files changed, 32 insertions(+), 4 deletions(-) commit 71c1e86e62f2d2805dbcea24221d63fac50763a7 Author: Lapo Calamandrei Date: Thu Apr 28 15:45:12 2016 +0200 Adwaita: refactor levelbar styling. gtk/theme/Adwaita/_common.scss | 30 +++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 50 +++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 52 ++++++++++++++------------------ 3 files changed, 51 insertions(+), 81 deletions(-) commit 0f1e42cd80c69e5d519111ed1aabad87bffccf35 Author: Rico Tzschichholz Date: Thu Apr 28 10:20:15 2016 +0200 broadway: Fix include rules in gdkbroadwaymonitor.h Fixes 044109c8c73f5c1d9eb470c857112c08a005b0ae gdk/broadway/gdkbroadwaymonitor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 394fe0e67573cb5d5eac59acf51aedc67890ff90 Author: Daniel Mustieles Date: Thu Apr 28 08:06:10 2016 +0000 Updated Spanish translation po/es.po | 124 ++++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 88 insertions(+), 36 deletions(-) commit 952d0fd23fa9dbcf26aedf5bfd91c54a6addaf49 Author: Matthias Clasen Date: Sun Apr 10 23:52:00 2016 -0400 window: Stop using gdk_screen_get_n_monitors gtk/gtkwindow.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 03d70f16369816729ae1f60ec35a5cec0b8de83e Author: Matthias Clasen Date: Sun Apr 10 23:44:05 2016 -0400 settings: Stop comparing screen numbers There is only one screen. gtk/gtksettings.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit f5d6688d3e3525e9d61e1155ae8ac0318af2290a Author: Matthias Clasen Date: Sun Apr 10 23:45:11 2016 -0400 window: Stop using screen width/height gtk/gtkwindow.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) commit 6ae2c24bdef30b743965afe9e9cc9556c0001eff Author: Matthias Clasen Date: Sun Apr 10 23:44:28 2016 -0400 treeview: Stop using screen width/height Popups should always be placed relative to a monitor. gtk/gtktreeview.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit 29396a1e5eb354010cba627b8a49b3ca2f4b776d Author: Matthias Clasen Date: Sun Apr 10 23:43:34 2016 -0400 label: Stop using screen width/height Popups should always be placed relative to a monitor. gtk/gtklabel.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit e9a58190af6e9a326f1da04af471f4315efa895f Author: Matthias Clasen Date: Sun Apr 10 23:42:57 2016 -0400 combobox: Stop using screen width/height Popups should always be placed relative to a monitor. gtk/gtkcombobox.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit b5fb9ae3b74ae0c1d2a20bd24457ea228dd3f9e3 Author: Matthias Clasen Date: Sun Apr 10 23:01:10 2016 -0400 gtk: Port to new monitor api Use the GdkDisplay monitor api instead of the GdkScreen one. gtk/gtkcombobox.c | 62 +++++++++++---------- gtk/gtkentry.c | 29 +++++----- gtk/gtkentrycompletion.c | 32 +++++------ gtk/gtklinkbutton.c | 19 +++---- gtk/gtkmenubutton.c | 40 +++++++------- gtk/gtkmenuitem.c | 34 ++++++------ gtk/gtkrecentchooserdefault.c | 41 +++++++------- gtk/gtktextview.c | 28 +++++----- gtk/gtktoolbar.c | 36 ++++++------- gtk/gtktooltip.c | 39 ++++++-------- gtk/gtktreeview.c | 7 +-- gtk/gtkwidget.c | 10 ++-- gtk/gtkwindow.c | 123 +++++++++++++++++------------------------- 13 files changed, 224 insertions(+), 276 deletions(-) commit 1b7d7c857f35e4834a522ced67dc0509445aae13 Author: Matthias Clasen Date: Sun Apr 10 22:59:53 2016 -0400 menu: Add new monitor api This will work better with the new monitor api in gdk. gtk/gtkmenu.c | 135 +++++++++++++++++++++++++++++++++++++--------------------- gtk/gtkmenu.h | 5 +++ 2 files changed, 91 insertions(+), 49 deletions(-) commit 3952bd60a56f3e942f9a2eced5924fd20a63a65a Author: Matthias Clasen Date: Sat Apr 2 19:22:36 2016 -0400 inspector: Port to new monitor api Adapt to new monitor apis, and show more information. gtk/inspector/general.c | 236 +++++++++++++++++++++++++++++------------------ gtk/inspector/general.ui | 24 ++--- 2 files changed, 158 insertions(+), 102 deletions(-) commit 026cb53875244d252b55110dd91efacf29a1657f Author: Руслан Ижбулатов Date: Wed Apr 20 07:36:00 2016 +0000 win32: Port to new monitor api configure.ac | 50 ++- gdk/win32/Makefile.am | 8 +- gdk/win32/gdkdisplay-win32.c | 208 +++++++++++ gdk/win32/gdkdisplay-win32.h | 6 + gdk/win32/gdkmonitor-win32.c | 833 +++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkmonitor-win32.h | 57 +++ gdk/win32/gdkscreen-win32.c | 283 +++------------ gdk/win32/gdkwin32.h | 1 + gdk/win32/gdkwin32monitor.h | 50 +++ 9 files changed, 1250 insertions(+), 246 deletions(-) commit 5c1d0915afd1e1e5a84523da7a9597f9ad68df99 Author: Matthias Clasen Date: Wed Apr 27 23:08:25 2016 -0400 x11: Bring back fullscreen-on-all-monitors support It is unfortunate the EWMH requires Xinerama here - lets do this without the caching that was previously there, I don't think it is needed. gdk/x11/gdkscreen-x11.c | 45 +++++++++++++++++++++++++++++++++------------ gdk/x11/gdkwindow-x11.c | 14 ++++++-------- 2 files changed, 39 insertions(+), 20 deletions(-) commit d92fda2103bc79043465b5218323a14edd05183e Author: Matthias Clasen Date: Sun Apr 3 00:12:39 2016 -0400 x11: Port to new monitor api gdk/x11/Makefile.am | 3 + gdk/x11/gdkdisplay-x11.c | 39 +++ gdk/x11/gdkdisplay-x11.h | 3 + gdk/x11/gdkmonitor-x11.c | 102 +++++++ gdk/x11/gdkmonitor-x11.h | 43 +++ gdk/x11/gdkscreen-x11.c | 774 +++++++++++++++++++++++------------------------ gdk/x11/gdkscreen-x11.h | 8 +- gdk/x11/gdkwindow-x11.c | 5 +- gdk/x11/gdkx.h | 1 + gdk/x11/gdkx11monitor.h | 48 +++ 10 files changed, 620 insertions(+), 406 deletions(-) commit 79a0286ab13efd63cadfd2345d09d17387697592 Author: Matthias Clasen Date: Sun Apr 3 00:15:42 2016 -0400 x11: Drop Xinerama It may come back after the monitor conversion. gdk/x11/gdkscreen-x11.c | 295 ------------------------------------------------ gdk/x11/gdkscreen-x11.h | 3 - 2 files changed, 298 deletions(-) commit 044109c8c73f5c1d9eb470c857112c08a005b0ae Author: Matthias Clasen Date: Sat Apr 2 23:42:40 2016 -0400 broadway: Port to new monitor api gdk/broadway/Makefile.am | 3 ++ gdk/broadway/gdkbroadway.h | 1 + gdk/broadway/gdkbroadwaymonitor.h | 46 ++++++++++++++++++++++++++++ gdk/broadway/gdkdisplay-broadway.c | 39 ++++++++++++++++++++++++ gdk/broadway/gdkdisplay-broadway.h | 3 ++ gdk/broadway/gdkmonitor-broadway.c | 37 +++++++++++++++++++++++ gdk/broadway/gdkmonitor-broadway.h | 38 +++++++++++++++++++++++ gdk/broadway/gdkscreen-broadway.c | 62 ++++---------------------------------- 8 files changed, 173 insertions(+), 56 deletions(-) commit 9026289381b5a9a7d80d525109eb0929ddb83217 Author: Matthias Clasen Date: Sat Apr 2 10:18:56 2016 -0400 wayland: Port to new monitor api gdk/wayland/Makefile.am | 3 + gdk/wayland/gdkdisplay-wayland.c | 27 ++++ gdk/wayland/gdkdisplay-wayland.h | 2 + gdk/wayland/gdkmonitor-wayland.c | 64 +++++++++ gdk/wayland/gdkmonitor-wayland.h | 39 +++++ gdk/wayland/gdkscreen-wayland.c | 303 ++++++++++++++------------------------- gdk/wayland/gdkwayland.h | 1 + gdk/wayland/gdkwaylandmonitor.h | 48 +++++++ 8 files changed, 290 insertions(+), 197 deletions(-) commit a2f02f1ca80919fb81cb14e203de8c2f9bd3f256 Author: Matthias Clasen Date: Wed Apr 27 22:51:42 2016 -0400 integrate docs docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 29 +++++++++++++++++++++++++++++ docs/reference/gdk/gdk3.types | 1 + 3 files changed, 31 insertions(+) commit 0611cb4823c207c5468a9c1a8eac65c6eee7a214 Author: Matthias Clasen Date: Sat Apr 2 10:18:16 2016 -0400 screen: Implement old monitor apis generically Implement all the monitor-related GdkScreen apis based on GdkMonitor. gdk/gdkscreen.c | 194 +++++++++++++++++++++++++------------------------------- 1 file changed, 86 insertions(+), 108 deletions(-) commit b6c4ba0e2ad1e0a30a941594e4003399e74f5792 Author: Matthias Clasen Date: Mon Apr 25 09:07:56 2016 -0400 Add a fallback for unconverted backends If the monitor vfuncs are not implemented in a display class, fall back to providing a single monitor object representing the entire screen. This is not meant to be 'good enough', it is just to provide some implementation until all backends implement the monitor vfuncs. When that is the case, the fallback should be removed. gdk/gdkdisplay.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 9d719b99893297bdd1675217ba9a7c8575cc0d80 Author: Matthias Clasen Date: Thu Mar 31 23:10:37 2016 -0400 display: Add new monitor apis This follows our general direction of moving functionality from GdkScreen to GdkDisplay. gdk/gdkdisplay.c | 232 ++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkdisplay.h | 17 ++++ gdk/gdkdisplayprivate.h | 10 +++ 3 files changed, 259 insertions(+) commit 837244809e4ceca2209fbb513c7c71120e6a9231 Author: Matthias Clasen Date: Thu Mar 31 23:10:04 2016 -0400 Add GdkMonitor Add a simple object representing a monitor. gdk/Makefile.am | 2 + gdk/gdk.h | 1 + gdk/gdkmonitor.c | 602 ++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkmonitor.h | 95 ++++++++ gdk/gdkmonitorprivate.h | 79 +++++++ 5 files changed, 779 insertions(+) commit 8fc11ef2a513b3029c208b2d37d3716998a9389c Author: Christian Hergert Date: Wed Apr 27 19:02:25 2016 -0700 Revert "iconhelper: check if surface was invalidated" This reverts commit 88d02583974659d1d37d825df78c79bee4c95d0e. gtk/gtkiconhelper.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) commit 96c18db0daf922e7f02f54c26043d1d2ac98f5cc Author: Руслан Ижбулатов Date: Tue Apr 26 21:45:15 2016 +0000 GtkTreeView: change child repositioning to preserve locality If there was a piece of text in the cell, then when the edit entry is shown for that cell, it should have a piece of text in it roughly at the same location. Therefore, when child widget is enlarged (child preferred size exceeds cell size), extra width should be added by extending either left or right edge depending on text direction. If after that the child sticks outside of the treeivew visible region, try to push it back inside (breaking its alignment with the cell), again, giving preference (i.e. adjusting it last) to either left or right edge depending on text direction. https://bugzilla.gnome.org/show_bug.cgi?id=765471 gtk/gtktreeview.c | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) commit 88d02583974659d1d37d825df78c79bee4c95d0e Author: Christian Hergert Date: Wed Apr 27 17:45:01 2016 -0700 iconhelper: check if surface was invalidated Fetching the style may cause the surface to be invalidated. gtk/gtkiconhelper.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 055ce9f095fa66d4ea247ec24d8366d5080c9ebc Author: Balázs Meskó Date: Wed Apr 27 19:32:14 2016 +0000 Updated Hungarian translation po/hu.po | 849 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 463 insertions(+), 386 deletions(-) commit 25c38df30e95f27bf1f07463663d0ccb4607216b Author: Daniel Mustieles Date: Wed Apr 27 21:07:11 2016 +0200 Updated Spanish translation po-properties/es.po | 1143 ++++++++++++++++++++++++++------------------------- 1 file changed, 592 insertions(+), 551 deletions(-) commit 0d55542359751d80c7ae7bf5b48806e6a9f07a23 Author: Lapo Calamandrei Date: Wed Apr 27 20:04:39 2016 +0200 Adwaita: add a background to cellrendertext gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 13 insertions(+) commit d0c4747bd3a82f16b574741041d0f4aa846e4764 Author: Matthias Clasen Date: Wed Apr 27 07:37:56 2016 -0400 3.21.1 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 46abbfebe2f69bb6fdfec06c94ef97764c284c20 Author: Matthias Clasen Date: Wed Apr 27 07:37:43 2016 -0400 Updates NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 210a747ff082796fb28ee3a626be9e6bff0ea722 Author: Daniel Stone Date: Wed Apr 27 14:06:38 2016 +0200 wayland: Ignore NoSymbol keys NoSymbol is not a valid GDK symbol (it only has the concept of VoidSymbol, for some reason, which is neither the same thing nor produced by any sane keymap). Passing NoSymbol events through to GTK+ apps is unlikely to produce anything useful. In particular, this meant VTE would scroll to the end of the buffer when pressing Fn (required for Page Up/Down on Macs), as it was receiving a keypress that wasn't a modifeir. This does not happen on X11, as the KEY_FN keycode is above 255, so does not get sent to clients. https://bugzilla.gnome.org/show_bug.cgi?id=764825 gdk/wayland/gdkdevice-wayland.c | 2 ++ gdk/wayland/gdkkeys-wayland.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 605e205584f9076003e4becb5afc9814f3767fd1 Author: Georges Basile Stavracas Neto Date: Wed Apr 27 09:06:46 2016 -0300 placesview: update a leftover function name This should've been part of the previous commit. gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb8b459407a834765efd27cffd4aa448b0c45c8a Author: Georges Basile Stavracas Neto Date: Tue Apr 26 09:57:36 2016 -0300 placesview: follow up fixes This patch unmarks the addresses' prefixes as translatable, and updates the callback name to reflect what it really does now. This is a follow up fix from commit 7449add82. https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/gtkplacesview.c | 8 ++++---- gtk/ui/gtkplacesview.ui | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) commit 14967d8d7dbc36d535911425fab1fee19fb9d361 Author: Carlos Garnacho Date: Wed Apr 27 12:12:18 2016 +0200 wayland: Perform seat grab focus checks on native windows We don't care about the specific (possibly client-side) window that requested the focus here, only the toplevel. Fixes mistakenly sent focus events when the grab happens inside the current focus window. https://bugzilla.gnome.org/show_bug.cgi?id=762756 gdk/wayland/gdkdevice-wayland.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 0763a027c7f90feb446505f76b2c8d9ded05d6d1 Author: Christian Hergert Date: Tue Apr 26 19:30:30 2016 -0700 pixelcache: reuse existing timeout source when possible This avoids the g_source_remove(), g_source_destroy(), g_timer_source_new(), and g_source_set_name_by_id() in the common case. Instead, we reuse our previous source and update the ready time to our new deadline. We lose the coalescing with g_timeout_add_seconds(), but that is not going to help in the common case anyway (unless you have three hands and can scroll multiple pixelcached backed widgets at once). https://bugzilla.gnome.org/show_bug.cgi?id=765640 gtk/gtkpixelcache.c | 55 +++++++++++++++++++++++------------------------------ 1 file changed, 24 insertions(+), 31 deletions(-) commit 060c7d5c184c44102d2b2b9249337400af19b56a Author: Daniel Mustieles Date: Wed Apr 27 07:47:56 2016 +0000 Updated Spanish translation po/es.po | 818 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 420 insertions(+), 398 deletions(-) commit 1d35f273d6ae7f145e7cf8102d423fd7451f57f5 Author: Matthias Clasen Date: Tue Apr 26 22:02:34 2016 -0400 dnd: Fix some issues with drag icons In non-composited environments, we were ending up with all-black drag icons, because nothing was drawing the background of our new toplevel. Fix this by drawing background when we are not composited. We don't do this when composited, since we want to allow transparent icons. gtk/gtkdnd.c | 85 ++++++++++++++++++++++++------------------------------------ 1 file changed, 34 insertions(+), 51 deletions(-) commit 012904097a91ed7649638c1efbb5d1767aedd471 Author: Matthias Clasen Date: Tue Apr 26 21:25:02 2016 -0400 Fix indentation gtk/gtktextutil.c | 93 +++++++++++++++++++++++++++---------------------------- 1 file changed, 46 insertions(+), 47 deletions(-) commit 23df86e9236defcc32e34593b0d15de172bebd4c Author: Matthias Clasen Date: Tue Apr 26 21:23:08 2016 -0400 dnd: Set attributes from all widgets for text drag icons There is nothing textview-specific here. gtk/gtktextutil.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 7449add82ba4ce15d47f1b1cdb4f7e389e2b8628 Author: Georges Basile Stavracas Neto Date: Tue Apr 26 09:57:36 2016 -0300 placesview: provide guidance on server addresses GtkPlacesView currently provides no example of server addresses, which may confuse users. To fix that, add a helper popover with some guidance on server addresses. https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/gtkplacesview.c | 24 +++-- gtk/ui/gtkplacesview.ui | 242 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 256 insertions(+), 10 deletions(-) commit dfdc7c3e0dce66d19d9b0df6dfeeb7505a3356da Author: Matthias Clasen Date: Tue Apr 26 20:44:07 2016 -0400 progressbar: Enforce invariants When measuring gadgets, minimum must come out <= natural. Make sure we don't fail this when measuring progressbar text. https://bugzilla.gnome.org/show_bug.cgi?id=765644 gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c27c4e2048acb630feb24c31288f802345e99f4c Author: Matthias Clasen Date: Tue Apr 26 20:35:25 2016 -0400 dnd: Fix lifecycle issues with widgets as drag icons The documentation clearly says that the widget is not destroyed, but we were in fact failing to keep it alive, since it was still a child or the icon_window when we destroy that. Fix this by reparenting the icon_widget out before. Also, deal with the possibility that the application might destroy the widget halfway through, for whatever reason. gtk/gtkdnd.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit e0e114fddb8a244ae9df2fe5732828504dd79b80 Author: Matthias Clasen Date: Tue Apr 26 20:34:24 2016 -0400 testdnd2: Actually test gtk_drag_set_icon_widget I added a new test function, but didn't actually use it. No wonder I couldn't reproduce the lifecycle issues with drag widgets that firefox is experiencing. tests/testdnd2.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit 5a04edc57bcba96d8308ca2526973f3a479c01c6 Author: Bernhard Reutner-Fischer Date: Tue Apr 26 19:29:33 2016 +0200 docs: typo in GTK_STYLE_CLASS_LIST_ROW docs Fix typo in documentation of GTK_STYLE_CLASS_LIST_ROW: s/rowss/rows/g Signed-off-by: Bernhard Reutner-Fischer https://bugzilla.gnome.org/show_bug.cgi?id=765632 gtk/gtkstylecontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a4f000f3b2a3289c6bcd30b7ce259c1686ef169 Author: Jonas Ådahl Date: Tue Apr 26 15:31:33 2016 +0800 gdk/dnd: Don't use default display when getting cursor Always associate a drag context with a GdkDisplay and use that when getting a cursor for a given action. If we don't do this, dragging on a window that doesn't use the default display will make us use cursors from the wrong display. https://bugzilla.gnome.org/show_bug.cgi?id=765565 gdk/broadway/gdkdnd-broadway.c | 1 + gdk/gdkdnd.c | 5 +++-- gdk/gdkdndprivate.h | 5 ++++- gdk/quartz/GdkQuartzNSWindow.c | 2 ++ gdk/quartz/gdkdnd-quartz.c | 1 + gdk/wayland/gdkdevice-wayland.c | 3 ++- gdk/wayland/gdkdnd-wayland.c | 7 +++++-- gdk/wayland/gdkprivate-wayland.h | 3 ++- gdk/win32/gdkdnd-win32.c | 1 + gdk/x11/gdkdnd-x11.c | 4 +++- 10 files changed, 24 insertions(+), 8 deletions(-) commit f27dd214267b5b907411cefb85350acfbb26ac77 Author: Christian Hergert Date: Tue Apr 26 03:08:11 2016 -0700 frametimings: reuse previous frame timing in common case Typically, there won't be any references on old frame timings except for the most recent timing. So instead of discarding these and re-entering gslice twice, just steal the old frame timing and reuse it. https://bugzilla.gnome.org/show_bug.cgi?id=765592 gdk/gdkframeclock.c | 12 +++++++++--- gdk/gdkframeclockprivate.h | 4 +++- gdk/gdkframetimings.c | 17 +++++++++++++++++ 3 files changed, 29 insertions(+), 4 deletions(-) commit 8f64e4a8e3443eb887614e981b4a0f7b6ae3ac96 Author: Jonas Ådahl Date: Tue Apr 26 15:50:17 2016 +0800 gdk/dnd: Add missing signal parameter documentation The cancel reason parameter was missing. https://bugzilla.gnome.org/show_bug.cgi?id=765577 gdk/gdkdnd.c | 1 + 1 file changed, 1 insertion(+) commit 145b626c2f87a04223cc1902e317214144f1dfd5 Author: Jonas Ådahl Date: Tue Apr 26 11:46:25 2016 +0800 wayland: Track orphaned dialogs per display Don't track all orphaned dialogs globally, as mixing them up with each other would in most cases trigger errors when we try to pass bogus values to Wayland requests. https://bugzilla.gnome.org/show_bug.cgi?id=765474 gdk/wayland/gdkdisplay-wayland.h | 3 +++ gdk/wayland/gdkwindow-wayland.c | 31 ++++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 9 deletions(-) commit cb73becfb4cdb637bc8b19106a95f91482c95228 Author: Jonas Ådahl Date: Tue Apr 26 11:16:56 2016 +0800 wayland: Clean up naming of GdkWaylandDisplay pointers The naming of pointers to GdkWaylandDisplay's were inconsistent. Running the following commands in gtk+/gdk/wayland illustrate the inconsistency: $ grep -r '\' *.[ch] | wc -l 195 $ grep -r '\' *.[ch] | wc -l 81 This patch renames all occurrences of "wayland_display" to "display_wayland". This is also consistent with naming in the X11 backend. A couple of whitespace changes were done as well in places where the rename was already done, that added line breaks to long lines that stood out. https://bugzilla.gnome.org/show_bug.cgi?id=765474 gdk/wayland/gdkcursor-wayland.c | 31 +++++++++------- gdk/wayland/gdkdevice-wayland.c | 42 ++++++++++----------- gdk/wayland/gdkdisplay-wayland.c | 76 +++++++++++++++++++------------------- gdk/wayland/gdkdnd-wayland.c | 4 +- gdk/wayland/gdkprivate-wayland.h | 7 ++-- gdk/wayland/gdkscreen-wayland.c | 5 ++- gdk/wayland/gdkselection-wayland.c | 4 +- gdk/wayland/gdkwindow-wayland.c | 25 +++++++------ 8 files changed, 101 insertions(+), 93 deletions(-) commit 7700243bd49278692c8218fdf8358169672d7a13 Author: Chun-wei Fan Date: Tue Apr 26 20:29:23 2016 +0800 gdk/gdkglcontext.c: Avoid a GCCism Pointer arithmetic on GLvoid* (a void*) is a GCCism, so cast it to an unsigned char*, which is the type cairo_image_surface_get_data() returns. gdk/gdkglcontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 71bb1bebc0174f95f2cafd632ec3c5a91e996d20 Author: Chun-wei Fan Date: Tue Apr 26 16:27:32 2016 +0800 Visual Studio builds: Generate .pc files Generate .pc files for the package, so that it would be easier for building introspection for packages that depend on GTK+. Also split PythonPath into PythonPath and PythonPathX64 to facilitate the build of introspection files, which need to have Python that is built with the same ac=rchitecture where GTK+ is built. Clean up the formatting and spacing a bit. build/win32/Makefile.am | 2 + build/win32/gtkpc.py | 97 ++++++++++++++++++++++ build/win32/pc_base.py | 108 +++++++++++++++++++++++++ build/win32/replace.py | 13 ++- build/win32/vs10/Makefile.am | 2 + build/win32/vs10/gtk-3.vcxprojin | 4 +- build/win32/vs10/gtk3-gen-srcs.props | 37 +++------ build/win32/vs10/gtk3-install.propsin | 21 ++++- build/win32/vs10/gtk3-install.vcxproj | 50 ++++++++++-- build/win32/vs10/gtk3-install.vcxproj.filters | 13 +++ build/win32/vs10/gtk3-prebuild.vcxproj.filters | 15 ++++ build/win32/vs10/gtk3-version-paths.props.in | 6 +- build/win32/vs11/Makefile.am | 2 + build/win32/vs12/Makefile.am | 2 + build/win32/vs14/Makefile.am | 2 + build/win32/vs9/gtk-3.vcprojin | 4 +- build/win32/vs9/gtk3-gen-srcs.vsprops | 14 ++-- build/win32/vs9/gtk3-install.vcproj | 80 ++++++++++++++++-- build/win32/vs9/gtk3-install.vspropsin | 50 +++++++----- build/win32/vs9/gtk3-version-paths.vsprops.in | 4 + 20 files changed, 447 insertions(+), 79 deletions(-) commit 75df7c163d096114b23f0c590ba5448fbf7eedaa Author: Gábor Kelemen Date: Tue Apr 26 09:43:45 2016 +0000 Updated Hungarian translation po-properties/hu.po | 2515 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 1551 insertions(+), 964 deletions(-) commit 0e14456f15412b1245cc8dab7df7021793d44441 Author: Emmanuele Bassi Date: Tue Apr 26 09:10:03 2016 +0100 gdk: Ensure resources registration happens once Like GTK does it. https://bugzilla.gnome.org/show_bug.cgi?id=765576 gdk/gdk.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 4fe336930e757d506741a730f5766567177c34e8 Author: Matthias Clasen Date: Tue Apr 26 00:19:02 2016 -0400 Expand the drag widget testcase This adds a testcase which reuses the drag widget for multiple drags. tests/testdnd2.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) commit 9a3e97d6f0bc64045b503d681be0bb633098b0a2 Author: Matthias Clasen Date: Mon Apr 25 21:39:09 2016 -0400 Updates NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit a91fc65291bf868b1312e557a3d19da9174f9b06 Author: Matthias Clasen Date: Tue Apr 26 00:06:12 2016 -0400 label css style test: fix font syntax testsuite/css/style/label.css | 2 +- testsuite/css/style/label.nodes | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) commit 2968098f745cf915dc613a3ae9f906fd9a9863ae Author: Matthias Clasen Date: Tue Apr 26 00:04:55 2016 -0400 Remove debug spew testsuite/css/style/font.nodes | 4 ---- 1 file changed, 4 deletions(-) commit 78552945947094762ed70e6c13118449ed995dc3 Author: Matthias Clasen Date: Tue Apr 26 00:02:37 2016 -0400 Fix css parser tests These tests were affected by the font and linear-gradient parsing changes. testsuite/css/parser/cross-fade-basic.css | 8 ++-- testsuite/css/parser/declarations-valid-02.css | 2 +- testsuite/css/parser/declarations-valid-02.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-03.css | 2 +- testsuite/css/parser/declarations-valid-03.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-04.css | 2 +- testsuite/css/parser/declarations-valid-04.ref.css | 10 ++-- testsuite/css/parser/declarations-valid-08.css | 2 +- testsuite/css/parser/declarations-valid-08.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-18.css | 2 +- testsuite/css/parser/declarations-valid-18.ref.css | 10 ++-- testsuite/css/parser/linear-gradient.css | 56 +++++++++++----------- testsuite/css/parser/linear-gradient.ref.css | 56 +++++++++++----------- 13 files changed, 87 insertions(+), 87 deletions(-) commit 3fd9bda06f5393cf87836bdd4f544a9e23f99594 Author: Matthias Clasen Date: Tue Apr 26 00:01:59 2016 -0400 css: Fix printing of images When there is only a call in a fallback image, we were errnoneously printing out a comma before it. gtk/gtkcssimagefallback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0eefe81f3736bfbd665fcfed2d57b788fcf3c126 Author: Matthias Clasen Date: Mon Apr 25 23:25:32 2016 -0400 Raleigh: Fix font syntax gtk/theme/Raleigh/gtk-default.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit db1a39a81750c992c6f73be8626d1876a40defa7 Author: Matthias Clasen Date: Mon Apr 25 23:08:39 2016 -0400 notify test: Skip GtkFontButton::font-name This is not freely settable. testsuite/gtk/notify.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 43312bb8c2f3eb579266e928363c9fba41b660a1 Author: Matthias Clasen Date: Mon Apr 25 23:08:03 2016 -0400 font button: Fix translation of font-name default The default value should come out of regular translations, not property translations. gtk/gtkfontbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 724d3be794bc6faa79b9a17681fe77c67d280a99 Author: Christian Hergert Date: Mon Apr 25 18:10:09 2016 -0700 wayland: avoid jitter in keyboard repeat When synthesizing keyboard repeat, we can potentially drift further from the mark depending on the timing of the frame callback and how long it took to deliver the event. This patch attempts to reduce this by tracking from a stable epoch the time of our next keyboard repeat. https://bugzilla.gnome.org/show_bug.cgi?id=765567 gdk/wayland/gdkdevice-wayland.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 1951642c0e4566515f704a850224beaa1792a5e0 Author: Timm Bäder Date: Sun Apr 24 10:46:03 2016 +0200 GtkLabel: Use g_clear_object https://bugzilla.gnome.org/show_bug.cgi?id=765496 gtk/gtklabel.c | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) commit be5a105f2e8529bb56e193daaceac2aa0a9b8a8f Author: Timm Bäder Date: Sun Apr 24 10:32:55 2016 +0200 GtkLabel: Don't manually iterate over link list There are various functions to access links based on their index for a11y. We can spare quite a few lines of code by just using g_list_nth_data instead of iterating over the list ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=765496 gtk/gtklabel.c | 51 ++++++++++++++++----------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) commit f165bbda573fabd21ffa6ab7324810beb34908ea Author: Christian Hergert Date: Mon Apr 25 00:22:54 2016 -0700 builtinicon: avoid calculating font-metrics in vast majority of cases We perform lots of gadget allocations that require allocating a GtkBuiltinIcon. One notable example is the scrollbar for a scrolled window. In the process of doing this, we often calculate baseline information that isn't necessary. With how much this code path gets exercised, its worth catching the result for the common case, which is that the font-description has not changed and we are using the default language the application was started with. This simply caches the previous result and verifies that we can reuse it with pango_font_description_hash() and a simple language check. Numbers below are scrolling through a textview with GDK_KEY_Down. Before: SELF CUMULATIVE FUNCTION [ 0.08%] [ 9.26%] gtk_builtin_icon_get_preferred_size [ 0.01%] [ 8.82%] pango_context_get_metrics [ 0.02%] [ 0.16%] gtk_widget_get_pango_context [ 0.06%] [ 0.06%] pango_context_get_language [ 0.01%] [ 0.02%] g_type_check_instance_cast [ 0.02%] [ 0.02%] strlen [ 0.02%] [ 0.02%] pango_context_get_font_description [ 0.02%] [ 0.02%] g_list_foreach [ 0.01%] [ 0.01%] gtk_css_style_get_value [ 0.01%] [ 0.01%] itemize_with_font [ 0.01%] [ 0.01%] pango_context_get_type [ 0.01%] [ 0.01%] get_base_metrics [ 0.00%] [ 0.01%] pango_font_metrics_unref [ 0.01%] [ 0.01%] g_list_free [ 0.01%] [ 0.01%] gtk_builtin_icon_get_type After: SELF CUMULATIVE FUNCTION [ 0.08%] [ 0.18%] gtk_builtin_icon_get_preferred_size [ 0.02%] [ 0.02%] pango_font_description_hash [ 0.00%] [ 0.02%] gtk_widget_get_pango_context [ 0.00%] [ 0.02%] g_object_get_qdata [ 0.00%] [ 0.02%] g_datalist_id_get_data [ 0.02%] [ 0.02%] gtk_builtin_icon_get_type [ 0.01%] [ 0.01%] pango_context_get_font_description [ 0.00%] [ 0.01%] - - kernel - - [ 0.01%] [ 0.01%] pango_context_get_language [ 0.00%] [ 0.01%] gtk_css_style_get_value [ 0.00%] [ 0.01%] gtk_css_gadget_get_style https://bugzilla.gnome.org/show_bug.cgi?id=765486 gtk/gtkbuiltinicon.c | 55 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 16 deletions(-) commit 414e86fb9579796da10416c9c02278585f60223a Author: Emmanuele Bassi Date: Sat Apr 23 10:34:53 2016 +0100 docs: Add new GtkGLArea symbols docs/reference/gtk/gtk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 044b5aa3d219e3225f5c9be99c13d9d6f27c880b Author: Emmanuele Bassi Date: Sat Apr 23 10:34:14 2016 +0100 docs: Add new GdkGLContext symbols docs/reference/gdk/gdk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 79a7e881b136fd6955d4c52a087a825adaa51562 Author: Emmanuele Bassi Date: Sat Apr 23 10:33:08 2016 +0100 docs: Clarify the platform-dependency of GdkGLContext:use-es Not all platforms allow creating an OpenGL ES context. gdk/gdkglcontext.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit b45c7b508bd7be1ec6c0d589a14a783133adb0a2 Author: Emmanuele Bassi Date: Mon Apr 25 12:28:41 2016 +0100 glarea: Use the appropriate texture format for GLES The core OpenGL ES spec does not have GL_BGRA, so we need to make do with GL_RGBA and live with the format conversion. gtk/gtkglarea.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 971998de34b570fcf3eb2149198e5679b747901d Author: Emanuele Aina Date: Mon Apr 18 16:15:27 2016 +0200 glarea: Relay the use-es flag to context creation https://bugzilla.gnome.org/show_bug.cgi?id=743746 gtk/gtkglarea.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkglarea.h | 5 ++++ 2 files changed, 87 insertions(+) commit 872b5115ea1ee2335ea5277de66c813a7cd4959b Author: Emmanuele Bassi Date: Sat Apr 23 13:46:05 2016 +0100 demo: Add GLES support to the GtkGLArea demo We need new shaders, and we need to select the correct shader when building the program we use to render the triangle. demos/gtk-demo/demo.gresource.xml | 6 +++-- .../{glarea-fragment.glsl => glarea-gl.fs.glsl} | 0 .../{glarea-vertex.glsl => glarea-gl.vs.glsl} | 0 demos/gtk-demo/glarea-gles.fs.glsl | 7 ++++++ demos/gtk-demo/glarea-gles.vs.glsl | 7 ++++++ demos/gtk-demo/glarea.c | 26 ++++++++++++++++++---- 6 files changed, 40 insertions(+), 6 deletions(-) commit b993c7db6362b013b1c0f7a9c8821b652b834e08 Author: Emmanuele Bassi Date: Sat Apr 23 12:31:15 2016 +0100 tests: Add GLES support to GtkGears Use the appropriate GLSL shaders when running under an OpenGL ES context. tests/gtkgears.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 4 deletions(-) commit a92ba06383ad7fe8bb63279603ceeee2ce6217f3 Author: Emmanuele Bassi Date: Fri Apr 22 13:53:16 2016 +0100 tests: Add GLES shaders to testglarea Check if the GdkGLContext is using ES, and load the appropriate shaders in that case. tests/testglarea.c | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) commit f848450a70931133ab9368fd35b629c6c6e50fcb Author: Emmanuele Bassi Date: Mon Apr 25 13:38:22 2016 +0100 gl: Use a uniform to flip R and B colors on GLES This allows us to decide when the R and B color channels should be flipped with a much better granularity. For instance, when using GLX_EXT_texture_from_pixmap to create a GL texture from a surface we don't need to swap the R and B channels, as the internal representation of the texture data will already have the appropriate colors. We also don't need to flip color channels when blitting from a texture. gdk/gdkgl.c | 15 +++++++++++---- gdk/gdkglcontextprivate.h | 1 + gdk/gdkinternals.h | 3 ++- gdk/resources/glsl/gles2-texture.fs.glsl | 8 ++++++-- gdk/x11/gdkglcontext-x11.c | 8 ++++---- 5 files changed, 24 insertions(+), 11 deletions(-) commit 1379b4b175910a253bb4aa8df3194eec2e160213 Author: Emmanuele Bassi Date: Mon Apr 25 10:31:51 2016 +0100 gl: Add fallback for missing subimage unpacking For GLES 2.0 platforms with the subimage unpacking extension we need to upload one row of the image surface at a time. gdk/gdkglcontext.c | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) commit 88fed84d45e184490673f63bc20b556beeff7b98 Author: Emmanuele Bassi Date: Fri Apr 22 18:01:19 2016 +0100 x11: Allow creating GLES contexts We need to check for the GLX_EXT_create_context_es2_profile extension, which allows us to create a GLES context while using the GLX API. gdk/x11/gdkdisplay-x11.h | 1 + gdk/x11/gdkglcontext-x11.c | 32 ++++++++++++++++++++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) commit 74f4e6e046b890838519e689a48d3dcc252929f7 Author: Emmanuele Bassi Date: Sat Apr 23 10:13:39 2016 +0100 wayland: Bind the appropriate OpenGL API If we want to use OpenGL ES with EGL then we need to bind the API before creating the EGL context. gdk/wayland/gdkglcontext-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 7d1da94455a20ea2f2c7682e86e9cb0c905aaf51 Author: Emmanuele Bassi Date: Fri Apr 22 18:50:50 2016 +0100 wayland: Add debugging notes for EGL context creation gdk/wayland/gdkglcontext-wayland.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit d40778f728e10a0b9239c1da710d02a49d419d9a Author: Emmanuele Bassi Date: Fri Apr 22 12:45:32 2016 +0100 wayland: Honour GDK_GL=gles on context creation gdk/wayland/gdkglcontext-wayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2849f2fc9a677280124556a0d530e60de4db8545 Author: Emmanuele Bassi Date: Mon Apr 18 10:13:05 2016 +0100 wayland: Implement asking for a GLES context Wayland uses EGL, which allows us to ask for a GLES context. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/wayland/gdkglcontext-wayland.c | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) commit fe25ba3c5f735525324bad7740ae38e81736fd08 Author: Emmanuele Bassi Date: Sat Apr 23 13:52:03 2016 +0100 gl: Tweak the swizzle for GLES texture fragments Cairo surfaces are in BGRA format, but we upload them as RGBA buffers on GLES; this means that the R and B channels are flipped in the texture data. Instead of doing a costly channel flip before putting them on the GPU, we can flip the values inside the GLSL shader we use specifically for GLES. gdk/resources/glsl/gles2-texture.fs.glsl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a942e96c8fc0f6912ed2e44e81d0dd1d53645e11 Author: Emmanuele Bassi Date: Sat Apr 23 12:16:03 2016 +0100 gl: Use the appropriate formats when reading buffers on GLES We cannot use GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV when reading back from the frame buffer in the software fallback path, as they do not exist on OpenGL ES. This will make the slow path a bit slower, because of the implicit format conversion. gdk/gdkgl.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) commit 5b03cf175a40a52034612245b288352019d79843 Author: Emmanuele Bassi Date: Sat Apr 23 10:21:13 2016 +0100 gl: Use the appropriate format on GLES When uploading a Cairo image surface to a GL texture we cannot use GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV on OpenGL ES, as they do not exist in the core spec. gdk/gdkglcontext.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 1620b7bda7affde3f57764ee353cd59e6619ba46 Author: Emmanuele Bassi Date: Fri Apr 22 17:27:04 2016 +0100 gl: Add more OpenGL ES checks Check for the appropriate extensions depending on which type of API we're using. gdk/gdkgl.c | 34 ++++++++++++-- gdk/gdkglcontext.c | 113 +++++++++++++++++++++++++++++++++++++--------- gdk/gdkglcontextprivate.h | 1 + 3 files changed, 123 insertions(+), 25 deletions(-) commit 8bb4eb55448ec72338fa14d71c24a1cacc35756c Author: Emmanuele Bassi Date: Fri Apr 22 13:52:49 2016 +0100 gdk: Add GLES shaders We cannot use GL shaders with GLES. gdk/Makefile.am | 4 +++- gdk/gdkgl.c | 26 +++++++++++++++++++++++--- gdk/resources/glsl/gles2-texture.fs.glsl | 9 +++++++++ gdk/resources/glsl/gles2-texture.vs.glsl | 10 ++++++++++ 4 files changed, 45 insertions(+), 4 deletions(-) commit 3da73371b92b849758a5743212a88237696568c1 Author: Emmanuele Bassi Date: Fri Apr 22 12:40:57 2016 +0100 gdk: Add 'GDK_GL=gles' flag Allows forcing the selection of a GLES context. gdk/gdk.c | 3 ++- gdk/gdkinternals.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 55537cccbd8129ed9fd3d00e8af07c05719516ac Author: Emmanuele Bassi Date: Fri Apr 22 12:34:33 2016 +0100 gdk: Move GLSL shaders into GResource Having the shaders inlined as C strings makes them harder to edit and maintain. gdk/Makefile.am | 46 ++++++++++- gdk/gdk.c | 4 + gdk/gdkgl.c | 116 +++++++--------------------- gdk/resources/glsl/gl2-texture-2d.fs.glsl | 9 +++ gdk/resources/glsl/gl2-texture-2d.vs.glsl | 13 ++++ gdk/resources/glsl/gl2-texture-rect.fs.glsl | 9 +++ gdk/resources/glsl/gl2-texture-rect.vs.glsl | 13 ++++ gdk/resources/glsl/gl3-texture-2d.fs.glsl | 11 +++ gdk/resources/glsl/gl3-texture-2d.vs.glsl | 13 ++++ gdk/resources/glsl/gl3-texture-rect.fs.glsl | 9 +++ gdk/resources/glsl/gl3-texture-rect.vs.glsl | 13 ++++ 11 files changed, 164 insertions(+), 92 deletions(-) commit d7b5ea89eb7c103c67806b7d78a841a6c7048e90 Author: Emmanuele Bassi Date: Mon Apr 18 10:21:36 2016 +0100 gl: Relay use-es from context to paint data This way we can select the appropriate API or the appropriate shaders. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/gdkglcontext.c | 1 + 1 file changed, 1 insertion(+) commit e1cecd243a82729f10f2fbb4b745be8f6b3b8f67 Author: Emmanuele Bassi Date: Mon Apr 18 10:10:30 2016 +0100 gl: Add 'use-es' flag On some platforms we can ask the GL context machinery to create a GLES context, instead of a GL one. In order to ask for a GLES context at GdkGLContext realization time, we use a bit field like we do for forward compatible, or debug contexts. The 'use-es' bit also changes the way we select a default version, because OpenGL and OpenGLES versions differ. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/gdkglcontext.c | 46 +++++++++++++++++++++++++++++++++++++++++----- gdk/gdkglcontext.h | 5 +++++ gdk/gdkglcontextprivate.h | 1 + 3 files changed, 47 insertions(+), 5 deletions(-) commit 6225d435e6cace5ad6615e8b2b3ec20e5b9b6c45 Author: Paolo Borelli Date: Sun Apr 24 11:46:38 2016 +0200 inspector: do not leak seat capabilities descriprion Factor out an utility function for readability and free the string with the list of capabilities gtk/inspector/general.c | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) commit 0b88d7976ccd69e74f4023156edb284a33f6b21e Author: Christian Hergert Date: Sun Apr 24 00:46:15 2016 -0700 quartz: fix quartz build The quartz backend has its own implementation of these that collide since the gtkdragdest.c extraction. https://bugzilla.gnome.org/show_bug.cgi?id=764712 gtk/Makefile.am | 4 ++-- gtk/gtkdnd-quartz.c | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) commit 4f63d839550f7a9038b391e7d3e1e6fc8bdfafa6 Author: Christian Hergert Date: Sun Apr 24 02:41:26 2016 -0700 kineticscrolling: avoid stutter at tail of kinetic deceleration When decelerating the kinetic scroll, we can get into a position where it looks like we are stuttering. This happens because the amount we move is so little that it takes multiple frames to make forward progress by one pixel. This prevents that by detecting when we have reached the slow stutter of the deceleration and simply stops the deceleration phase immediately. https://bugzilla.gnome.org/show_bug.cgi?id=765493 gtk/gtkkineticscrolling.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit aa99c64fdd1cd6caccd708ea258d50f1db97b544 Author: Lapo Calamandrei Date: Fri Apr 22 14:42:47 2016 +0200 Adwaita: color tweaks use a slightly cold and slightly darker gray for the dark variant, use the same hue for the osd bg color, make it bit darker and transparent. gtk/theme/Adwaita/_colors.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 974 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 90 +-- 3 files changed, 535 insertions(+), 535 deletions(-) commit 61a454ffbe3546533d98559b94def2ec57ffc31f Author: GNOME Translation Robot Date: Fri Apr 22 12:09:51 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 2247 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1182 insertions(+), 1065 deletions(-) commit 554de0be2a9ef1e0b87c406de030c1d018184cf7 Author: Sébastien Wilmet Date: Wed Apr 20 17:24:46 2016 +0200 app: replace private accels functions by get_application_accels() It's like gtk_application_get_action_muxer(). https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplication.c | 25 +++---------------------- gtk/gtkapplicationprivate.h | 11 ++--------- gtk/gtkwindow.c | 15 +++++++++++---- 3 files changed, 16 insertions(+), 35 deletions(-) commit 3b988ce5239252b0a6c64e0a77eb8ed666f081b2 Author: Sébastien Wilmet Date: Wed Apr 20 17:13:26 2016 +0200 app: share function to normalise detailed action name Put the function in gtkactionmuxer.c, where gtk_print_action_and_target() is implemented. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkactionmuxer.c | 20 ++++++++++++++++++++ gtk/gtkactionmuxer.h | 4 +++- gtk/gtkapplication.c | 23 +---------------------- gtk/gtkapplicationaccels.c | 25 ++----------------------- 4 files changed, 26 insertions(+), 46 deletions(-) commit 3d182160bb366f441ef72b4d7365354d392661de Author: Sébastien Wilmet Date: Wed Apr 20 17:03:36 2016 +0200 app-accels: rename static functions Remove the "accels_" prefix from the remaining static functions. The prefix no longer makes sense since the whole file is devoted to accels. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplicationaccels.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit bce4a0abdefa01a10c43da09c10a3526d2d03941 Author: Sébastien Wilmet Date: Mon Apr 11 17:13:09 2016 +0200 app: extract GtkApplicationAccels private class This has several benefits: - Less code in GtkApplication. The accels handling is something self-contained, and GtkApplication now delegates the work. - For the accels functions, there is now a distinction between static functions and functions in the gtkapplicationaccelsprivate.h header, which makes the code easier to understand, because we have a good overview just by reading the header. - The struct _GtkApplicationPrivate is now easier to find instead of being in the middle of the file. https://bugzilla.gnome.org/show_bug.cgi?id=764879 docs/reference/gtk/Makefile.am | 1 + gtk/Makefile.am | 2 + gtk/gtkapplication.c | 436 +--------------------------------- gtk/gtkapplicationaccels.c | 478 ++++++++++++++++++++++++++++++++++++++ gtk/gtkapplicationaccelsprivate.h | 62 +++++ 5 files changed, 553 insertions(+), 426 deletions(-) commit e0c34fd028e249e5a52d2c8d90590c737f2aac4d Author: Sébastien Wilmet Date: Mon Apr 11 17:28:23 2016 +0200 app: write higher-level gtk_application_accels static functions These will become the functions present in the gtkapplicationaccelsprivate.h header. The gtk_application_accels functions deal with detailed_action_name's instead of action_and_target's. action_and_target is an implementation detail of Accels. The added function prototype is temporary, it'll be removed in a later commit. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplication.c | 215 ++++++++++++++++++++++++++++----------------------- 1 file changed, 119 insertions(+), 96 deletions(-) commit c574ef0954587282424c8ad3c62762c13fadce4b Author: Paolo Borelli Date: Thu Apr 21 22:54:55 2016 +0200 textiter: add unit test for forward_to_line_end Surprisingly we had no unit test for this method testsuite/gtk/textiter.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 73c91c285e11e47a15c60f420ad5e450f55ae3f7 Author: Matthias Clasen Date: Thu Apr 21 23:24:13 2016 -0400 Fix formatting The previous change was not quite using the right coding style. gtk/gtkmenusectionbox.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 0815b21ad4e0d05367fc709765593c00997f33a3 Author: Timm Bäder Date: Tue Apr 19 17:12:00 2016 +0200 listbox: Make sure page down/up move at least one row When the current cursor_row is taller than the page_size we get from the GtkAdjustment, the previous code would not actually cause any scrolling, so make sure we just take the row after or before the cursor_row in that case. https://bugzilla.gnome.org/show_bug.cgi?id=765261 gtk/gtklistbox.c | 53 +++++++++++++++++------------------------------------ 1 file changed, 17 insertions(+), 36 deletions(-) commit 7a7e3fc0e3460c5f58b1ec1a35ecd66bc9409910 Author: Matthias Clasen Date: Thu Apr 21 22:55:57 2016 -0400 Ad d new API to the docs docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit cf14fea5a87f7a6c4e1c97081ad6b5cd27cc83b1 Author: Frediano Ziglio Date: Thu Apr 21 14:30:58 2016 +0100 Save scancode inside GdkEventPrivate Windows save in hardware_keycode an information which is not so low level and some application require the hardware scancode. As Windows provides this information save it in GdkEventPrivate and provide a function to get this information. For no Windows system the function return the hardware_keycode instead. Signed-off-by: Frediano Ziglio https://bugzilla.gnome.org/show_bug.cgi?id=765259 gdk/broadway/gdkeventsource.c | 1 + gdk/gdkevents.c | 34 ++++++++++++++++++++++++++++++++++ gdk/gdkevents.h | 3 +++ gdk/gdkinternals.h | 4 ++++ gdk/mir/gdkmireventsource.c | 1 + gdk/quartz/gdkevents-quartz.c | 1 + gdk/wayland/gdkdevice-wayland.c | 1 + gdk/win32/gdkevents-win32.c | 2 ++ gdk/x11/gdkdevicemanager-core-x11.c | 1 + gdk/x11/gdkdevicemanager-xi2.c | 1 + 10 files changed, 49 insertions(+) commit c081ca2d4c589fb77e097ad5ee2a9978bd91d2ed Author: Benjamin Otte Date: Thu Apr 21 22:28:58 2016 +0200 cssshadowsvalue: Avoid allocating new value if not needed gtk/gtkcssshadowsvalue.c | 31 ++++++++++++++++++++++++++----- gtk/gtkcssshadowvalue.c | 15 +++++++++++++++ 2 files changed, 41 insertions(+), 5 deletions(-) commit f93eca560494ff9ad7657db611296ea961de2ace Author: Benjamin Otte Date: Thu Apr 21 22:28:40 2016 +0200 cssbordervalue: Avoid allocating new value if not needed gtk/gtkcssbordervalue.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 2fc0d6a91a0723d0b6b26b838cba521d479fa652 Author: Benjamin Otte Date: Thu Apr 21 22:28:14 2016 +0200 cssbgsizevalue: Avoid allocating new value if not needed gtk/gtkcssbgsizevalue.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 6d953cb08e0f5cdd2f11a71d6178410dc4976274 Author: Matthias Clasen Date: Thu Apr 21 14:21:14 2016 -0400 Add a dnd test using a window as icon This case is causing problems in firefox. Lets at least make sure that it doesn't crash in GTK+. tests/testdnd2.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) commit 3ed8ac034d0f8343e943f8418e7a5ac7f9ce9865 Author: Lapo Calamandrei Date: Thu Apr 21 17:01:45 2016 +0200 Adwaita: backdrop active button color tweaks gtk/theme/Adwaita/_drawing.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 3 files changed, 31 insertions(+), 31 deletions(-) commit d857ba3faf76960d40e2f095f8253adde8bb584a Author: Lapo Calamandrei Date: Thu Apr 21 16:51:24 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_drawing.scss | 86 ++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 48 deletions(-) commit 874d4ede6709b215998715590412770219fe9fba Author: Lapo Calamandrei Date: Thu Apr 21 16:43:35 2016 +0200 Adwaita: solid bg for disabled pushed button gtk/theme/Adwaita/_drawing.scss | 12 ++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 37 +++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++++++++-------------- 3 files changed, 50 insertions(+), 42 deletions(-) commit 517f33b1a6e302671ee7dd532bc8675a0e8a4bd5 Author: Lapo Calamandrei Date: Thu Apr 21 16:25:05 2016 +0200 Adwaita: spinbutton fixes reset background-color on backdrop disable buttons and entry node. gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit 22cd8e9d4fabd6006c29e8d3f921f1ca72c1c1f2 Author: Jonathan Matthew Date: Wed Mar 9 22:44:45 2016 +1000 gtkmenusectionbox: remove submenus when the parent item is removed https://bugzilla.gnome.org/show_bug.cgi?id=749405 gtk/gtkmenusectionbox.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit d6ac55102e3e3971d84d6d9d17b7efe8be3b6549 Author: Matthias Clasen Date: Tue Apr 19 23:32:26 2016 -0400 widget: Don't show widget resizes in the inspector Avoiding this sort of visual debugging in the inspector is the main reason we have per-display debug flags now. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d58885c9b94dccf4587a41ba486b8112f6413dda Author: Matthias Clasen Date: Tue Apr 19 23:24:54 2016 -0400 css gadget: Fix baseline debug We were not using the baseline that we're computing. gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37b70a97331a4b9896e557c938c5151b63894aff Author: Matthias Clasen Date: Tue Apr 19 23:23:59 2016 -0400 Use qdata for debug flags This avoids some overhead. gtk/gtkmain.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit c01befe5cc975e07b8d09fcf3dd814abfc5f940c Author: Matthias Clasen Date: Tue Apr 19 23:23:18 2016 -0400 css gadget: Don't get display flags twice This got more expensive now that we store them per-display, so don't get them twice in the same function. gtk/gtkcssgadget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3df2e0b26a6c3fe629ac4950ab2b55ebd07258da Author: Christian Hergert Date: Tue Apr 19 19:35:52 2016 -0700 debug: remove open-coded debug checks in gtktextsegment These runtime checks were being performed whether or not we were in a debug build. Using GTK_DEBUG_CHECK() will compile out of production builds, as it will result in something like: if (G_UNLIKELY(0)) which the optimizer can prune. https://bugzilla.gnome.org/show_bug.cgi?id=765284 gtk/gtktextsegment.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit f3e6d930a803b6d26b65e465c1cd7ea1407912a6 Author: Matthias Clasen Date: Tue Apr 19 21:09:51 2016 -0400 text tag: Add a va marshaller to ::event gtk/gtktexttag.c | 3 +++ 1 file changed, 3 insertions(+) commit c7bac914945e261c2b4e6d5936e6a667c284e674 Author: Matthias Clasen Date: Tue Apr 19 21:00:57 2016 -0400 text buffer: Add va marshallers for signals gtk/gtktextbuffer.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 3c3aa478f92d5d669adb9fc2e880821777738229 Author: Matthias Clasen Date: Tue Apr 19 21:00:20 2016 -0400 menushell: Add a va marshaller for ::insert gtk/gtkmenushell.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b2203964971b6bdff4b54fd51a58ad760f5caa5 Author: Lapo Calamandrei Date: Tue Apr 19 23:00:54 2016 +0200 Adwaita: use an image for backdrop button background which doesn't make the sliders flash during background transition. gtk/theme/Adwaita/_drawing.scss | 4 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 44 ++++++++++++++++---------------- 3 files changed, 46 insertions(+), 46 deletions(-) commit 5fc18c7167cacfe5d6344d7d0d3e1f496425621f Author: Lapo Calamandrei Date: Tue Apr 19 22:57:28 2016 +0200 Adwaita: link button style fix ensure the label color doesn't get overridden, fixes link button label being gray in backdrop. gtk/theme/Adwaita/_common.scss | 8 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 63 +++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 63 +++++++++++++++++++++++++------- 3 files changed, 107 insertions(+), 27 deletions(-) commit c16c9e7c3f1107aea1d2c7d59150db9cfcef46b7 Author: Lapo Calamandrei Date: Tue Apr 19 22:55:55 2016 +0200 Adwaita: scale with marks style fix reset background-color on the slider. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 24 ++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 24 ++++++++++++++++++++++++ 3 files changed, 52 insertions(+) commit 5199b66682359fcbfef2180343d15af6ea39d3ab Author: Lapo Calamandrei Date: Tue Apr 19 22:45:05 2016 +0200 Adwaita: fix switch styling ensure the last button has rounded corners and adapt to button mixin changes. gtk/theme/Adwaita/_common.